Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 25 of 30) sorted by relevance

12

/developtools/smartperf_host/ide/src/base-ui/utils/
DCSVFormater.ts30 let columns = obj.columns || { variable
42 if (columns.title.length) {
43 columns.title.map(function (n: unknown) {
59 if (columns.key.length) {
60 row = this.getCsvStr(columns, obj, n, row);
66 …'"' + (typeof columns.formatter === 'function' ? columns.formatter(key, n[key]) || n[key] : n[key]…
78 static getCsvStr(columns: unknown, obj: unknown, n: unknown, row: string): string {
80 columns.key.map(function (m: unknown, idx: number) {
108 (typeof columns.formatter === 'function' ? columns.formatter(m, n[m]) || n[m] : strItem) +
112 …row += '"' + (typeof columns.formatter === 'function' ? columns.formatter(m, n[m]) || n[m] : strIt…
[all …]
DExcelFormater.ts81 static createExcelRow(columns: unknown[], data: unknown): string {
84 for (let k = 0; k < columns.length; k++) {
86 let dataIndex = columns[k].getAttribute('data-index'); //@ts-ignore
87 let columnName = columns[k].getAttribute('title');
103 rowsXML += this.createExcelRow(columns, child);
119 dataSource: { columns: unknown[]; tables: unknown[]; sheetName: string }[],
126 dataSource: { columns: unknown[]; tables: unknown[]; sheetName: string }[],
132 sheets.push(this.createTableData(data.columns, data.tables, image));
137 static createTableData(columns: unknown[], dataSource: unknown[], image?: string): string {
139 let columnDatas = columns.map((column) => {
[all …]
/developtools/smartperf_host/ide/test/base-ui/untils/
DExcelFormater.test.ts26 const columns = [ constant
31 const result = ExcelFormater.createExcelRow(columns, data);
37 const columns = [ constant
47 const result = ExcelFormater.createExcelRow(columns, data);
59 const columns = [ constant
67 const result = ExcelFormater.createTableData(columns, dataSource);
79 const columns = ['Name', 'Age']; constant
80 const result = ExcelFormater.createTHead(columns);
86 const columns = ['Name', 'Age']; constant
88 const result = ExcelFormater.createTableRow(columns, data);
DCSVFormater.test.ts28 columns: {
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/sdk/
DTabUtil.ts19 let columns = showType.columns;
20 for (let i = 0; i < columns.length; i++) {
21 let column = columns[i];
DTabPaneSdkCounter.ts175 …for (let counterColumnsIndex = 0; counterColumnsIndex < showType.columns.length; counterColumnsInd…
177 this.columnMap[showType.columns[counterColumnsIndex].column] =
178 showType.columns[counterColumnsIndex].displayName;
179 if (showType.columns[counterColumnsIndex].showType.indexOf(3) > -1) {
180 selectSql += showType.columns[counterColumnsIndex].column + ',';
/developtools/smartperf_host/ide/test/trace/component/chart/
DSpSdkChart.test.ts50 columns: ''
59 columns: ''
68 columns: ''
77 columns: ''
/developtools/smartperf_host/ide/src/base-ui/table/
DLitTableHtml.ts566 columns: that.columns as unknown[], //@ts-ignore
582 if (that.columns === undefined) {
587 that.columns!.forEach((column: unknown) => {
607 export function recursionExportTableData(columns: unknown[], dataSource: unknown[]): string {
610 concatStr += columns
619 concatStr += recursionExportTableData(columns, item.children);
Dlit-table.ts54 public columns: Array<Element> | null | undefined;
229 columns: this.columns as unknown[],
246 if (this.columns === undefined) {
250 str += this.columns!.map((column) => {
258 str += recursionExportTableData(this.columns || [], dataSource);
263 this.columns = this.st!.assignedElements();
264 this.columns.forEach((column) => {
322 this.columns = this.st!.assignedElements();
328 this.resolvingArea(this.columns, 0, 0, area, rowElement);
361 …resolvingArea(columns: unknown, x: unknown, y: unknown, area: Array<unknown>, rowElement: HTMLDivE…
[all …]
DLitPageTable.ts49 public columns: Array<Element> | null | undefined;
248 this.columns = this.st!.assignedElements();
254 this.resolvingArea(this.columns, 0, 0, pageArea, rowElement);
286 …resolvingArea(columns: unknown, x: unknown, y: unknown, area: Array<unknown>, rowElement: HTMLDivE…
288 columns.forEach((a: unknown, i: unknown) => {
686 this?.columns?.forEach((column: unknown, index) => {
1004 this?.columns?.forEach((column: unknown) => {
1069 let dataIndex = this.columns![idx].getAttribute('data-index') || '1'; //@ts-ignore
1071 if ((this.columns![idx] as unknown).template) {
1075 (this.columns![idx] as unknown).template.render(rowObject.data).content.cloneNode(true)
[all …]
/developtools/smartperf_host/ide/src/trace/component/chart/
DSpSdkChart.ts41 showType.columns,
46 let countSql = this.createSql(startTime, innerTable.tableName, innerTable.columns); //@ts-ignore
61 showType.columns,
68 …countSql = this.createSql(startTime, innerTable.tableName, innerTable.columns, 'where slice_name l…
72 innerTable.columns,
80 countSql = this.createSql(startTime, innerTable.tableName, innerTable.columns);
121 …private createSliceSql(startTime: number, tableName: string, columns: Array<unknown>, where?: stri…
123 for (let i = 0; i < columns.length; i++) {
124 let column = columns[i]; //@ts-ignore
133 if (i === columns.length - 1) {
[all …]
/developtools/smartperf_host/ide/test/base-ui/table/
DLitTable.test.ts85 litTable.columns = litTable.columns || jest.fn(() => true);
243 litTable.columns.forEach = jest.fn(() => true);
265 litTable.columns = [tableColmn, tableColmn1];
302 litTable.columns.forEach = jest.fn(() => true);
354 litTable.columns = [htmlElement];
408 litTable.columns = [tableColmn, tableColmn1, tableColmn2];
473 litTable.columns = [tableColmn, tableColmn1, tableColmn2];
519 litTable.columns = [tableColmn, tableColmn1, tableColmn2];
544 litTable.columns = [tableColmn, tableColmn1, tableColmn2];
578 litTable.columns = [tableColmn, tableColmn1];
DLitPageTable.test.ts85 litTable.columns = litTable.columns || jest.fn(() => true);
269 litTable.columns.forEach = jest.fn(() => true);
291 litTable.columns = [tableColmn, tableColmn1];
327 litTable.columns.forEach = jest.fn(() => true);
374 litTable.columns = [tableColmn, tableColmn1, tableColmn2];
408 litTable.columns = [tableColmn, tableColmn1];
/developtools/smartperf_host/trace_streamer/src/table/base/
Dspan_join.cpp150 std::vector<TableBase::ColumnInfo> &columns) in GetColumns() argument
163 columns.emplace_back((reinterpret_cast<const char *>(sqlite3_column_text(stmt, 0))), in GetColumns()
317 std::string SpanJoin::CaclSpan::GetMergeColumns(std::vector<std::string> &columns) in GetMergeColumns() argument
320 int32_t size = columns.size(); in GetMergeColumns()
323 str += columns.at(i); in GetMergeColumns()
325 str += columns.at(i) + ", "; in GetMergeColumns()
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorker.ts155 let columns = parsed.columns; variable
159 for (let j = 0; j < columns.length; j++) {
161 obj[columns[j]] = values[i][j];
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/privateAttr/
DprivateAttr.hml97 …<picker type="multi-text" columns="{{columns}}" range="{{range}}" selected="{{selected}}" value="{…
112 …<picker-view type="multi-text" columns="{{columns}}" range="{{range}}" selected="{{selected}}"></p…
/developtools/smartperf_host/trace_streamer/src/table/base/include/
Dspan_join.h56 std::vector<TableBase::ColumnInfo> &columns);
67 static std::string GetMergeColumns(std::vector<std::string> &columns);
/developtools/smartperf_host/trace_streamer/src/table/ftrace/
Dcpu_measure_filter_table.cpp132 void CpuMeasureFilterTable::Cursor::FilterSorted(int32_t columns, unsigned char option, sqlite3_val… in FilterSorted() argument
141 switch (static_cast<Index>(columns)) { in FilterSorted()
/developtools/smartperf_host/ide/src/trace/component/schedulingAnalysis/
DTop20ThreadCpuUsage.ts243 let columns = this.getTableColumns(key);
245 columns = `
246 ${columns}
250 table.innerHTML = columns;
/developtools/ace_js2bundle/ace-loader/test/card/testcase/pages/inlineStyle/
DinlineStyle.hml18 <div style="grid-template-columns: 50px 100px 60px;">style_test10</div>
/developtools/ace_js2bundle/ace-loader/test/card/testcase/pages/exteriorStyle/
DexteriorStyle.css30 grid-template-columns: 50px 40px 80px;
/developtools/smartperf_host/ide/src/trace/database/logic-worker/
DProcedureLogicWorkerCommon.ts420 let columns = parse.columns;
424 for (let j = 0; j < columns.length; j++) {
426 object[columns[j]] = values[i][j];
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/sdk/
DTabPaneSdkCounter.test.ts149 columns: [{ showType: 'counter' }],
DTabPaneSdkSlice.test.ts150 columns: [{ showType: 'slice' }],
/developtools/ace_js2bundle/ace-loader/test/rich/testcase/pages/inlineStyle/
DinlineStyle.hml30 <div style="grid-template-columns: 50px 100px 60px;">style_test10</div>

12