@deephaven/iris-grid 0.46.2-dynamic-import.0 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ColumnStatistics.d.ts.map +1 -1
- package/dist/ColumnStatistics.js +2 -2
- package/dist/ColumnStatistics.js.map +1 -1
- package/dist/FilterInputField.css +373 -1
- package/dist/FilterInputField.css.map +1 -1
- package/dist/IrisGrid.css.map +1 -1
- package/dist/IrisGrid.js +1 -1
- package/dist/IrisGrid.js.map +1 -1
- package/package.json +15 -15
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnStatistics.d.ts","sourceRoot":"","sources":["../src/ColumnStatistics.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAK9C,OAAO,KAAK,EACV,MAAM,EACN,gBAAgB,IAAI,mBAAmB,EACxC,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,iBAAiB,EAAgB,MAAM,kBAAkB,CAAC;AAEnE,OAAO,yBAAyB,CAAC;AACjC,OAAO,aAAa,MAAM,iBAAiB,CAAC;AAO5C,UAAU,SAAS;IACjB,SAAS,EAAE,GAAG,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,UAAU,qBAAqB;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,aAAa,CAAC;IACrB,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AACD,UAAU,qBAAqB;IAC7B,KAAK,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,cAAM,gBAAiB,SAAQ,SAAS,CACtC,qBAAqB,EACrB,q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,CAAC,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM;gBAUnC,KAAK,EAAE,qBAAqB;IAiBxC,iBAAiB,IAAI,IAAI;IAIzB,oBAAoB,IAAI,IAAI;IAM5B,iBAAiB,EAAE,iBAAiB,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;IAEjE,uBAAuB,IAAI,IAAI;IAgB/B,wBAAwB,IAAI,IAAI;IAYhC,gBAAgB,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI;IAoClD,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,IAAI;IAc/B,MAAM,IAAI,KAAK,CAAC,YAAY;CAwG7B;AAED,eAAe,gBAAgB,CAAC"}
|
package/dist/ColumnStatistics.js
CHANGED
|
@@ -50,7 +50,7 @@ class ColumnStatistics extends Component {
|
|
|
50
50
|
var {
|
|
51
51
|
model
|
|
52
52
|
} = this.props;
|
|
53
|
-
var numRows = model.rowCount - model.pendingRowCount;
|
|
53
|
+
var numRows = model.rowCount - model.pendingRowCount - model.floatingBottomRowCount - model.floatingTopRowCount;
|
|
54
54
|
this.setState({
|
|
55
55
|
numRows
|
|
56
56
|
});
|
|
@@ -98,7 +98,7 @@ class ColumnStatistics extends Component {
|
|
|
98
98
|
this.setState({
|
|
99
99
|
loading: false,
|
|
100
100
|
statistics,
|
|
101
|
-
numRows: model.rowCount - model.pendingRowCount
|
|
101
|
+
numRows: model.rowCount - model.pendingRowCount - model.floatingBottomRowCount - model.floatingTopRowCount
|
|
102
102
|
});
|
|
103
103
|
onStatistics();
|
|
104
104
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ColumnStatistics.js","names":["React","Component","classNames","FontAwesomeIcon","Button","CopyButton","LoadingSpinner","dhFreeze","dhRefresh","dhSortSlash","vsLock","Log","PromiseUtils","isExpandableGridModel","log","module","STATS_LABEL_OVERRIDES","SIZE","ColumnStatistics","getStatsLabel","operation","split","map","w","toUpperCase","substr","toLowerCase","join","constructor","props","handleError","bind","handleGenerateStatistics","handleStatistics","cancelablePromise","state","error","loading","statistics","numRows","componentDidMount","maybeGenerateStatistics","componentWillUnmount","cancel","model","rowCount","pendingRowCount","setState","isColumnStatisticsAvailable","AUTO_GENERATE_LIMIT","column","makeCancelable","columnStatistics","then","catch","stats","debug","onStatistics","statisticsMap","forEach","value","push","type","getType","uniqueValues","className","isCanceled","render","showGenerateStatistics","statisticElements","columnType","substring","lastIndexOf","description","i","length","formattedValue","displayString","name","statisticElement","rowCountLabel","hasExpandableRows","formattedRowCount","columnIndex","getColumnIndexByName","isColumnSortable","isColumnMovable","isColumnFrozen"],"sources":["../src/ColumnStatistics.tsx"],"sourcesContent":["import React, { Component, Key } from 'react';\nimport classNames from 'classnames';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Button, CopyButton, LoadingSpinner } from '@deephaven/components';\nimport { dhFreeze, dhRefresh, dhSortSlash, vsLock } from '@deephaven/icons';\nimport type {\n Column,\n ColumnStatistics as APIColumnStatistics,\n} from '@deephaven/jsapi-types';\nimport Log from '@deephaven/log';\nimport { CancelablePromise, PromiseUtils } from '@deephaven/utils';\nimport { isExpandableGridModel } from '@deephaven/grid';\nimport './ColumnStatistics.scss';\nimport IrisGridModel from './IrisGridModel';\n\nconst log = Log.module('ColumnStatistics');\nconst STATS_LABEL_OVERRIDES: Record<string, string> = {\n SIZE: 'Number of Rows',\n};\n\ninterface Statistic {\n operation: Key;\n className?: string;\n value: unknown;\n type: string;\n}\n\ninterface ColumnStatisticsProps {\n column: Column;\n model: IrisGridModel;\n onStatistics: () => void;\n}\ninterface ColumnStatisticsState {\n error: unknown;\n loading: boolean;\n statistics: Statistic[] | null;\n numRows: number;\n}\n\nclass ColumnStatistics extends Component<\n ColumnStatisticsProps,\n ColumnStatisticsState\n> {\n /** Automatically generate the statistics when the row count is below this threshold */\n static AUTO_GENERATE_LIMIT = 100000;\n\n static getStatsLabel(operation: string): string {\n return (\n STATS_LABEL_OVERRIDES[operation] ??\n operation\n .split(' ')\n .map(w => w[0].toUpperCase() + w.substr(1).toLowerCase())\n .join(' ')\n );\n }\n\n constructor(props: ColumnStatisticsProps) {\n super(props);\n\n this.handleError = this.handleError.bind(this);\n this.handleGenerateStatistics = this.handleGenerateStatistics.bind(this);\n this.handleStatistics = this.handleStatistics.bind(this);\n\n this.cancelablePromise = null;\n\n this.state = {\n error: null,\n loading: false,\n statistics: null,\n numRows: 0,\n };\n }\n\n componentDidMount(): void {\n this.maybeGenerateStatistics();\n }\n\n componentWillUnmount(): void {\n if (this.cancelablePromise) {\n this.cancelablePromise.cancel();\n }\n }\n\n cancelablePromise: CancelablePromise<APIColumnStatistics> | null;\n\n maybeGenerateStatistics(): void {\n const { model } = this.props;\n\n const numRows = model.rowCount - model.pendingRowCount;\n this.setState({ numRows });\n if (!model.isColumnStatisticsAvailable) {\n this.setState({ loading: false });\n } else if (numRows < ColumnStatistics.AUTO_GENERATE_LIMIT) {\n this.handleGenerateStatistics();\n }\n }\n\n handleGenerateStatistics(): void {\n this.setState({ loading: true });\n\n const { column, model } = this.props;\n\n this.cancelablePromise = PromiseUtils.makeCancelable(\n model.columnStatistics(column)\n );\n\n this.cancelablePromise.then(this.handleStatistics).catch(this.handleError);\n }\n\n handleStatistics(stats: APIColumnStatistics): void {\n log.debug('Received statistics', stats);\n\n const { model, onStatistics } = this.props;\n const statistics: Statistic[] = [];\n\n stats.statisticsMap.forEach((value, operation) => {\n statistics.push({\n operation: ColumnStatistics.getStatsLabel(operation),\n value,\n type: stats.getType(operation),\n });\n });\n\n stats.uniqueValues.forEach((value, operation) => {\n statistics.push({\n operation,\n className: 'column-statistics-unique-value',\n value,\n type: 'long',\n });\n });\n\n this.setState({\n loading: false,\n statistics,\n numRows: model.rowCount - model.pendingRowCount,\n });\n\n onStatistics();\n }\n\n handleError(error: Error): void {\n if (error != null && PromiseUtils.isCanceled(error)) {\n log.debug('Called handleError on a cancelled promise result');\n return;\n }\n\n log.error('Error generating statistics', error);\n this.setState({\n error,\n loading: false,\n statistics: null,\n });\n }\n\n render(): React.ReactElement {\n const { column, model } = this.props;\n const { error, loading, statistics, numRows } = this.state;\n const showGenerateStatistics =\n !loading &&\n error == null &&\n statistics == null &&\n model.isColumnStatisticsAvailable;\n const statisticElements = [];\n const columnType = column.type.substring(column.type.lastIndexOf('.') + 1);\n const description = column.description === null ? null : column.description;\n if (statistics != null) {\n for (let i = 0; i < statistics.length; i += 1) {\n const { operation, className, value, type } = statistics[i];\n const formattedValue = !type\n ? model.displayString(value, column.type, column.name)\n : model.displayString(value, type);\n const statisticElement = (\n <React.Fragment key={operation}>\n <div\n className={classNames('column-statistic-operation', className)}\n >\n {operation}\n </div>\n <div className=\"column-statistic-value\">{formattedValue}</div>\n </React.Fragment>\n );\n statisticElements.push(statisticElement);\n }\n }\n const rowCountLabel =\n isExpandableGridModel(model) && model.hasExpandableRows\n ? 'Expanded Rows'\n : 'Number of Rows';\n const formattedRowCount = model.displayString(numRows, 'long');\n const columnIndex = model.getColumnIndexByName(column.name);\n return (\n <div className=\"column-statistics\">\n <div className=\"column-statistics-title\">\n {column.name}\n <span className=\"column-statistics-type\"> ({columnType})</span>\n <CopyButton\n className=\"column-statistics-copy\"\n tooltip=\"Copy column name\"\n copy={column.name}\n />\n </div>\n {description != null && (\n <div className=\"column-statistics-description\">{description}</div>\n )}\n {columnIndex != null && !model.isColumnSortable(columnIndex) && (\n <div className=\"column-statistics-status\">\n <FontAwesomeIcon icon={dhSortSlash} className=\"mr-1\" />\n Not sortable\n </div>\n )}\n {columnIndex != null && !model.isColumnMovable(columnIndex) && (\n <div className=\"column-statistics-status\">\n <FontAwesomeIcon\n icon={model.isColumnFrozen(columnIndex) ? dhFreeze : vsLock}\n className=\"mr-1\"\n />\n {model.isColumnFrozen(columnIndex) ? 'Frozen' : 'Not movable'}\n </div>\n )}\n <div className=\"column-statistics-grid\">\n {statistics == null && (\n <>\n <div className=\"column-statistic-operation\">{rowCountLabel}</div>\n <div className=\"column-statistic-value\">{formattedRowCount}</div>\n </>\n )}\n\n {statisticElements}\n </div>\n {showGenerateStatistics && (\n <Button\n kind=\"ghost\"\n className=\"px-0\"\n onClick={this.handleGenerateStatistics}\n >\n Generate Stats\n </Button>\n )}\n {error != null && <div className=\"error-message\">{`${error}`}</div>}\n {statistics && !loading && (\n <Button\n kind=\"ghost\"\n className=\"px-0\"\n onClick={this.handleGenerateStatistics}\n icon={<FontAwesomeIcon icon={dhRefresh} className=\"mr-1\" />}\n >\n Refresh\n </Button>\n )}\n {loading && (\n <div className=\"column-statistics-loading\">\n <LoadingSpinner className=\"mr-2\" />\n Calculating Stats...\n </div>\n )}\n </div>\n );\n }\n}\n\nexport default ColumnStatistics;\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAa,OAAO;AAC7C,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,MAAM,EAAEC,UAAU,EAAEC,cAAc,QAAQ,uBAAuB;AAC1E,SAASC,QAAQ,EAAEC,SAAS,EAAEC,WAAW,EAAEC,MAAM,QAAQ,kBAAkB;AAK3E,OAAOC,GAAG,MAAM,gBAAgB;AAChC,SAA4BC,YAAY,QAAQ,kBAAkB;AAClE,SAASC,qBAAqB,QAAQ,iBAAiB;AAAC;AAAA;AAAA;AAAA;AAIxD,IAAMC,GAAG,GAAGH,GAAG,CAACI,MAAM,CAAC,kBAAkB,CAAC;AAC1C,IAAMC,qBAA6C,GAAG;EACpDC,IAAI,EAAE;AACR,CAAC;AAqBD,MAAMC,gBAAgB,SAASjB,SAAS,CAGtC;EACA;;EAGA,OAAOkB,aAAa,CAACC,SAAiB,EAAU;IAAA;IAC9C,gCACEJ,qBAAqB,CAACI,SAAS,CAAC,yEAChCA,SAAS,CACNC,KAAK,CAAC,GAAG,CAAC,CACVC,GAAG,CAACC,CAAC,IAAIA,CAAC,CAAC,CAAC,CAAC,CAACC,WAAW,EAAE,GAAGD,CAAC,CAACE,MAAM,CAA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,SAAS,EAAC;QAAM,EAAG,wBAErC;MAAA,EACD;IAAA,EACG;EAEV;AACF;AAAC,gBA5NKnB,gBAAgB,yBAKS,MAAM;AAyNrC,eAAeA,gBAAgB"}
|
|
1
|
+
{"version":3,"file":"ColumnStatistics.js","names":["React","Component","classNames","FontAwesomeIcon","Button","CopyButton","LoadingSpinner","dhFreeze","dhRefresh","dhSortSlash","vsLock","Log","PromiseUtils","isExpandableGridModel","log","module","STATS_LABEL_OVERRIDES","SIZE","ColumnStatistics","getStatsLabel","operation","split","map","w","toUpperCase","substr","toLowerCase","join","constructor","props","handleError","bind","handleGenerateStatistics","handleStatistics","cancelablePromise","state","error","loading","statistics","numRows","componentDidMount","maybeGenerateStatistics","componentWillUnmount","cancel","model","rowCount","pendingRowCount","floatingBottomRowCount","floatingTopRowCount","setState","isColumnStatisticsAvailable","AUTO_GENERATE_LIMIT","column","makeCancelable","columnStatistics","then","catch","stats","debug","onStatistics","statisticsMap","forEach","value","push","type","getType","uniqueValues","className","isCanceled","render","showGenerateStatistics","statisticElements","columnType","substring","lastIndexOf","description","i","length","formattedValue","displayString","name","statisticElement","rowCountLabel","hasExpandableRows","formattedRowCount","columnIndex","getColumnIndexByName","isColumnSortable","isColumnMovable","isColumnFrozen"],"sources":["../src/ColumnStatistics.tsx"],"sourcesContent":["import React, { Component, Key } from 'react';\nimport classNames from 'classnames';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { Button, CopyButton, LoadingSpinner } from '@deephaven/components';\nimport { dhFreeze, dhRefresh, dhSortSlash, vsLock } from '@deephaven/icons';\nimport type {\n Column,\n ColumnStatistics as APIColumnStatistics,\n} from '@deephaven/jsapi-types';\nimport Log from '@deephaven/log';\nimport { CancelablePromise, PromiseUtils } from '@deephaven/utils';\nimport { isExpandableGridModel } from '@deephaven/grid';\nimport './ColumnStatistics.scss';\nimport IrisGridModel from './IrisGridModel';\n\nconst log = Log.module('ColumnStatistics');\nconst STATS_LABEL_OVERRIDES: Record<string, string> = {\n SIZE: 'Number of Rows',\n};\n\ninterface Statistic {\n operation: Key;\n className?: string;\n value: unknown;\n type: string;\n}\n\ninterface ColumnStatisticsProps {\n column: Column;\n model: IrisGridModel;\n onStatistics: () => void;\n}\ninterface ColumnStatisticsState {\n error: unknown;\n loading: boolean;\n statistics: Statistic[] | null;\n numRows: number;\n}\n\nclass ColumnStatistics extends Component<\n ColumnStatisticsProps,\n ColumnStatisticsState\n> {\n /** Automatically generate the statistics when the row count is below this threshold */\n static AUTO_GENERATE_LIMIT = 100000;\n\n static getStatsLabel(operation: string): string {\n return (\n STATS_LABEL_OVERRIDES[operation] ??\n operation\n .split(' ')\n .map(w => w[0].toUpperCase() + w.substr(1).toLowerCase())\n .join(' ')\n );\n }\n\n constructor(props: ColumnStatisticsProps) {\n super(props);\n\n this.handleError = this.handleError.bind(this);\n this.handleGenerateStatistics = this.handleGenerateStatistics.bind(this);\n this.handleStatistics = this.handleStatistics.bind(this);\n\n this.cancelablePromise = null;\n\n this.state = {\n error: null,\n loading: false,\n statistics: null,\n numRows: 0,\n };\n }\n\n componentDidMount(): void {\n this.maybeGenerateStatistics();\n }\n\n componentWillUnmount(): void {\n if (this.cancelablePromise) {\n this.cancelablePromise.cancel();\n }\n }\n\n cancelablePromise: CancelablePromise<APIColumnStatistics> | null;\n\n maybeGenerateStatistics(): void {\n const { model } = this.props;\n\n const numRows =\n model.rowCount -\n model.pendingRowCount -\n model.floatingBottomRowCount -\n model.floatingTopRowCount;\n this.setState({ numRows });\n if (!model.isColumnStatisticsAvailable) {\n this.setState({ loading: false });\n } else if (numRows < ColumnStatistics.AUTO_GENERATE_LIMIT) {\n this.handleGenerateStatistics();\n }\n }\n\n handleGenerateStatistics(): void {\n this.setState({ loading: true });\n\n const { column, model } = this.props;\n\n this.cancelablePromise = PromiseUtils.makeCancelable(\n model.columnStatistics(column)\n );\n\n this.cancelablePromise.then(this.handleStatistics).catch(this.handleError);\n }\n\n handleStatistics(stats: APIColumnStatistics): void {\n log.debug('Received statistics', stats);\n\n const { model, onStatistics } = this.props;\n const statistics: Statistic[] = [];\n\n stats.statisticsMap.forEach((value, operation) => {\n statistics.push({\n operation: ColumnStatistics.getStatsLabel(operation),\n value,\n type: stats.getType(operation),\n });\n });\n\n stats.uniqueValues.forEach((value, operation) => {\n statistics.push({\n operation,\n className: 'column-statistics-unique-value',\n value,\n type: 'long',\n });\n });\n\n this.setState({\n loading: false,\n statistics,\n numRows:\n model.rowCount -\n model.pendingRowCount -\n model.floatingBottomRowCount -\n model.floatingTopRowCount,\n });\n\n onStatistics();\n }\n\n handleError(error: Error): void {\n if (error != null && PromiseUtils.isCanceled(error)) {\n log.debug('Called handleError on a cancelled promise result');\n return;\n }\n\n log.error('Error generating statistics', error);\n this.setState({\n error,\n loading: false,\n statistics: null,\n });\n }\n\n render(): React.ReactElement {\n const { column, model } = this.props;\n const { error, loading, statistics, numRows } = this.state;\n const showGenerateStatistics =\n !loading &&\n error == null &&\n statistics == null &&\n model.isColumnStatisticsAvailable;\n const statisticElements = [];\n const columnType = column.type.substring(column.type.lastIndexOf('.') + 1);\n const description = column.description === null ? null : column.description;\n if (statistics != null) {\n for (let i = 0; i < statistics.length; i += 1) {\n const { operation, className, value, type } = statistics[i];\n const formattedValue = !type\n ? model.displayString(value, column.type, column.name)\n : model.displayString(value, type);\n const statisticElement = (\n <React.Fragment key={operation}>\n <div\n className={classNames('column-statistic-operation', className)}\n >\n {operation}\n </div>\n <div className=\"column-statistic-value\">{formattedValue}</div>\n </React.Fragment>\n );\n statisticElements.push(statisticElement);\n }\n }\n const rowCountLabel =\n isExpandableGridModel(model) && model.hasExpandableRows\n ? 'Expanded Rows'\n : 'Number of Rows';\n const formattedRowCount = model.displayString(numRows, 'long');\n const columnIndex = model.getColumnIndexByName(column.name);\n return (\n <div className=\"column-statistics\">\n <div className=\"column-statistics-title\">\n {column.name}\n <span className=\"column-statistics-type\"> ({columnType})</span>\n <CopyButton\n className=\"column-statistics-copy\"\n tooltip=\"Copy column name\"\n copy={column.name}\n />\n </div>\n {description != null && (\n <div className=\"column-statistics-description\">{description}</div>\n )}\n {columnIndex != null && !model.isColumnSortable(columnIndex) && (\n <div className=\"column-statistics-status\">\n <FontAwesomeIcon icon={dhSortSlash} className=\"mr-1\" />\n Not sortable\n </div>\n )}\n {columnIndex != null && !model.isColumnMovable(columnIndex) && (\n <div className=\"column-statistics-status\">\n <FontAwesomeIcon\n icon={model.isColumnFrozen(columnIndex) ? dhFreeze : vsLock}\n className=\"mr-1\"\n />\n {model.isColumnFrozen(columnIndex) ? 'Frozen' : 'Not movable'}\n </div>\n )}\n <div className=\"column-statistics-grid\">\n {statistics == null && (\n <>\n <div className=\"column-statistic-operation\">{rowCountLabel}</div>\n <div className=\"column-statistic-value\">{formattedRowCount}</div>\n </>\n )}\n\n {statisticElements}\n </div>\n {showGenerateStatistics && (\n <Button\n kind=\"ghost\"\n className=\"px-0\"\n onClick={this.handleGenerateStatistics}\n >\n Generate Stats\n </Button>\n )}\n {error != null && <div className=\"error-message\">{`${error}`}</div>}\n {statistics && !loading && (\n <Button\n kind=\"ghost\"\n className=\"px-0\"\n onClick={this.handleGenerateStatistics}\n icon={<FontAwesomeIcon icon={dhRefresh} className=\"mr-1\" />}\n >\n Refresh\n </Button>\n )}\n {loading && (\n <div className=\"column-statistics-loading\">\n <LoadingSpinner className=\"mr-2\" />\n Calculating Stats...\n </div>\n )}\n </div>\n );\n }\n}\n\nexport default ColumnStatistics;\n"],"mappings":";;;AAAA,OAAOA,KAAK,IAAIC,SAAS,QAAa,OAAO;AAC7C,OAAOC,UAAU,MAAM,YAAY;AACnC,SAASC,eAAe,QAAQ,gCAAgC;AAChE,SAASC,MAAM,EAAEC,UAAU,EAAEC,cAAc,QAAQ,uBAAuB;AAC1E,SAASC,QAAQ,EAAEC,SAAS,EAAEC,WAAW,EAAEC,MAAM,QAAQ,kBAAkB;AAK3E,OAAOC,GAAG,MAAM,gBAAgB;AAChC,SAA4BC,YAAY,QAAQ,kBAAk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AEpE,EAEAb,iBAAiB;MAAA,EACd,EACLD,sBAAsB,iBACrB,KAAC,MAAM;QACL,IAAI,EAAC,OAAO;QACZ,SAAS,EAAC,MAAM;QAChB,OAAO,EAAE,IAAI,CAACtC,wBAAyB;QAAA,UACxC;MAED,EACD,EACAI,KAAK,IAAI,IAAI,iBAAI;QAAK,SAAS,EAAC,eAAe;QAAA,oBAAKA,KAAK;MAAA,EAAS,EAClEE,UAAU,IAAI,CAACD,OAAO,iBACrB,KAAC,MAAM;QACL,IAAI,EAAC,OAAO;QACZ,SAAS,EAAC,MAAM;QAChB,OAAO,EAAE,IAAI,CAACL,wBAAyB;QACvC,IAAI,eAAE,KAAC,eAAe;UAAC,IAAI,EAAExB,SAAU;UAAC,SAAS,EAAC;QAAM,EAAI;QAAA,UAC7D;MAED,EACD,EACA6B,OAAO,iBACN;QAAK,SAAS,EAAC,2BAA2B;QAAA,wBACxC,KAAC,cAAc;UAAC,SAAS,EAAC;QAAM,EAAG,wBAErC;MAAA,EACD;IAAA,EACG;EAEV;AACF;AAAC,gBApOKnB,gBAAgB,yBAKS,MAAM;AAiOrC,eAAeA,gBAAgB"}
|
|
@@ -1,3 +1,361 @@
|
|
|
1
|
+
/* stylelint-disable scss/at-import-no-partial-leading-underscore */
|
|
2
|
+
/* stylelint-disable */
|
|
3
|
+
/* stylelint-disable scss/at-import-no-partial-leading-underscore */
|
|
4
|
+
:export {
|
|
5
|
+
grid-bg: #211f22;
|
|
6
|
+
font: 12px Fira Sans, sans-serif;
|
|
7
|
+
white: #f0f0ee;
|
|
8
|
+
black: #1a171a;
|
|
9
|
+
header-bg: #2d2a2e;
|
|
10
|
+
header-color: #f0f0ee;
|
|
11
|
+
header-height: 30px;
|
|
12
|
+
header-separator-color: #211f22;
|
|
13
|
+
header-separator-hover-color: #929192;
|
|
14
|
+
header-hidden-separator-hover-color: #4878ea;
|
|
15
|
+
header-sort-bar-color: #aa9af4;
|
|
16
|
+
header-reverse-bar-color: #548d29;
|
|
17
|
+
header-bar-casing-color: #211f22;
|
|
18
|
+
header-font: 600 12px Fira Sans, sans-serif;
|
|
19
|
+
row-height: 19px;
|
|
20
|
+
row-background-colors: #373438 #2d2a2e;
|
|
21
|
+
selection-color: rgba(118, 217, 228, 0.09);
|
|
22
|
+
selection-outline-color: #76d9e4;
|
|
23
|
+
selection-outline-casing-color: #211f22;
|
|
24
|
+
row-hover-bg: #4b494c;
|
|
25
|
+
selected-row-hover-bg: rgba(118, 217, 228, 0.25);
|
|
26
|
+
scroll-bar-active-selection-tick-color: rgba(118, 217, 228, 0.5);
|
|
27
|
+
scroll-bar-bg: #322f33;
|
|
28
|
+
scroll-bar-hover-bg: #373438;
|
|
29
|
+
scroll-bar-casing-color: #555356;
|
|
30
|
+
scroll-bar-corner-color: #322f33;
|
|
31
|
+
scroll-bar-color: #5b5a5c;
|
|
32
|
+
scroll-bar-hover-color: #929192;
|
|
33
|
+
scroll-bar-active-color: #c0bfbf;
|
|
34
|
+
text-color: #f0f0ee;
|
|
35
|
+
hyperlink-color: #4878ea;
|
|
36
|
+
positive-number-color: #9edc6f;
|
|
37
|
+
negative-number-color: #f95d84;
|
|
38
|
+
zero-number-color: #fcd65b;
|
|
39
|
+
date-color: #fcd65b;
|
|
40
|
+
pending-text-color: #fde38d;
|
|
41
|
+
error-text-color: #f95d84;
|
|
42
|
+
null-string-color: #929192;
|
|
43
|
+
filter-bar-active-bg: #425175;
|
|
44
|
+
filter-bar-active-color: #4878ea;
|
|
45
|
+
filter-bar-expanded-bg: #373438;
|
|
46
|
+
filter-bar-expanded-active-bg: #313849;
|
|
47
|
+
filter-bar-expanded-active-cell-bg: #374d80;
|
|
48
|
+
filter-bar-separator-color: #929192;
|
|
49
|
+
filter-bar-error-color: #f95d84;
|
|
50
|
+
filter-icon-color: #4878ea;
|
|
51
|
+
scrim-color: #211f22;
|
|
52
|
+
context-menu-sort-icon-color: #aa9af4;
|
|
53
|
+
context-menu-reverse-icon-color: #548d29;
|
|
54
|
+
linker-column-hover-bg: rgba(118, 217, 228, 0.09);
|
|
55
|
+
tree-line-color: #5b5a5c;
|
|
56
|
+
tree-marker-color: #c0bfbf;
|
|
57
|
+
tree-marker-hover-color: #fcfcfa;
|
|
58
|
+
grouped-column-divider-color: #1a171a;
|
|
59
|
+
floating-grid-row-color: #555356;
|
|
60
|
+
floating-row-background-colors: #403e41;
|
|
61
|
+
floating-divider-inner-color: #403e41;
|
|
62
|
+
floating-divider-outer-color: #211f22;
|
|
63
|
+
overflow-button-color: #c0bfbf;
|
|
64
|
+
overflow-button-hover-color: #fcfcfa;
|
|
65
|
+
zero-line-color: #5b5a5c;
|
|
66
|
+
positive-bar-color: #9edc6f;
|
|
67
|
+
negative-bar-color: #f95d84;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.iris-grid {
|
|
71
|
+
width: 100%;
|
|
72
|
+
height: 100%;
|
|
73
|
+
position: relative;
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: row;
|
|
76
|
+
overflow: hidden;
|
|
77
|
+
}
|
|
78
|
+
.iris-grid .iris-grid-column {
|
|
79
|
+
flex: 1 1;
|
|
80
|
+
min-width: 0;
|
|
81
|
+
transition: all 0.2s;
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
position: relative;
|
|
85
|
+
}
|
|
86
|
+
.iris-grid .table-sidebar {
|
|
87
|
+
height: 100%;
|
|
88
|
+
flex: 0 0 320px;
|
|
89
|
+
width: 320px;
|
|
90
|
+
max-width: 320px;
|
|
91
|
+
background: #403e41;
|
|
92
|
+
box-shadow: -4px 0 8px rgba(26, 23, 26, 0.45);
|
|
93
|
+
z-index: 1;
|
|
94
|
+
position: absolute;
|
|
95
|
+
right: 0;
|
|
96
|
+
}
|
|
97
|
+
.iris-grid .table-sidebar .pushing-view,
|
|
98
|
+
.iris-grid .table-sidebar .popping-view,
|
|
99
|
+
.iris-grid .table-sidebar .main-view {
|
|
100
|
+
background: #403e41;
|
|
101
|
+
}
|
|
102
|
+
.iris-grid .table-sidebar.slide-left-enter-done {
|
|
103
|
+
position: relative;
|
|
104
|
+
}
|
|
105
|
+
.iris-grid .table-sidebar .navigation-content {
|
|
106
|
+
overflow-y: auto;
|
|
107
|
+
}
|
|
108
|
+
.iris-grid .section-title {
|
|
109
|
+
padding: 1rem 0;
|
|
110
|
+
font-weight: 500;
|
|
111
|
+
text-align: left;
|
|
112
|
+
}
|
|
113
|
+
.iris-grid .section-footer {
|
|
114
|
+
flex-grow: 2;
|
|
115
|
+
display: flex;
|
|
116
|
+
justify-content: flex-end;
|
|
117
|
+
margin-bottom: 1rem;
|
|
118
|
+
}
|
|
119
|
+
.iris-grid .grid-wrapper {
|
|
120
|
+
flex: 1 1 0;
|
|
121
|
+
max-width: 100%;
|
|
122
|
+
max-height: 100%;
|
|
123
|
+
min-width: 0;
|
|
124
|
+
min-height: 0;
|
|
125
|
+
position: relative;
|
|
126
|
+
font: 12px fira sans, sans-serif;
|
|
127
|
+
font-feature-settings: "tnum";
|
|
128
|
+
transition: all 0.2s;
|
|
129
|
+
}
|
|
130
|
+
.iris-grid .grid-wrapper .grid-settings-button {
|
|
131
|
+
position: absolute;
|
|
132
|
+
top: 0;
|
|
133
|
+
right: 0;
|
|
134
|
+
height: 30px;
|
|
135
|
+
width: 30px;
|
|
136
|
+
background-color: #2d2a2e;
|
|
137
|
+
border-bottom: 1px solid #211f22;
|
|
138
|
+
transition: transform 0.2s ease-out, opacity 0.2s ease-out;
|
|
139
|
+
}
|
|
140
|
+
.iris-grid .grid-wrapper .grid-settings-button .btn {
|
|
141
|
+
height: 100%;
|
|
142
|
+
width: 100%;
|
|
143
|
+
}
|
|
144
|
+
.iris-grid .grid-wrapper .grid-settings-button .btn::after {
|
|
145
|
+
border-radius: 0;
|
|
146
|
+
}
|
|
147
|
+
.iris-grid .grid-wrapper .grid-settings-button .btn:focus::after {
|
|
148
|
+
box-shadow: none;
|
|
149
|
+
}
|
|
150
|
+
.iris-grid .grid-wrapper .grid-settings-button.is-menu-shown {
|
|
151
|
+
opacity: 0;
|
|
152
|
+
}
|
|
153
|
+
.iris-grid .grid-wrapper .grid-cell-input-field {
|
|
154
|
+
color: #f0f0ee;
|
|
155
|
+
background: #373438;
|
|
156
|
+
}
|
|
157
|
+
.iris-grid .grid-wrapper .grid-cell-input-field:focus {
|
|
158
|
+
box-shadow: 0 0 0 2px #76d9e4, 0 0 0 5px rgba(118, 217, 228, 0.25);
|
|
159
|
+
}
|
|
160
|
+
.iris-grid .grid-wrapper .grid-cell-input-field.error {
|
|
161
|
+
color: #f95d84;
|
|
162
|
+
}
|
|
163
|
+
.iris-grid .grid-wrapper .grid-cell-input-field.error:focus {
|
|
164
|
+
box-shadow: 0 0 0 2px #f95d84, 0 0 0 5px rgba(249, 93, 132, 0.25);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.iris-grid-loading {
|
|
168
|
+
position: absolute;
|
|
169
|
+
top: 0;
|
|
170
|
+
bottom: 0;
|
|
171
|
+
left: 0;
|
|
172
|
+
right: 0;
|
|
173
|
+
display: flex;
|
|
174
|
+
flex-direction: column;
|
|
175
|
+
justify-content: center;
|
|
176
|
+
align-content: center;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.iris-grid-loading-status {
|
|
180
|
+
display: flex;
|
|
181
|
+
position: absolute;
|
|
182
|
+
bottom: 0;
|
|
183
|
+
left: 0;
|
|
184
|
+
z-index: 30;
|
|
185
|
+
min-width: min(320px, 100%);
|
|
186
|
+
}
|
|
187
|
+
.iris-grid-loading-status .iris-grid-loading-status-bar {
|
|
188
|
+
position: relative;
|
|
189
|
+
padding: 5px;
|
|
190
|
+
background: #2d2a2e;
|
|
191
|
+
color: #c0bfbf;
|
|
192
|
+
border-top: 1px solid #5b5a5c;
|
|
193
|
+
border-right: 1px solid #5b5a5c;
|
|
194
|
+
overflow: hidden;
|
|
195
|
+
word-wrap: break-word;
|
|
196
|
+
z-index: 2;
|
|
197
|
+
flex-grow: 1;
|
|
198
|
+
}
|
|
199
|
+
.iris-grid-loading-status .iris-grid-loading-status-bar::after {
|
|
200
|
+
content: "";
|
|
201
|
+
position: absolute;
|
|
202
|
+
bottom: 0;
|
|
203
|
+
left: 0;
|
|
204
|
+
width: 100%;
|
|
205
|
+
height: 2px;
|
|
206
|
+
z-index: -1;
|
|
207
|
+
background: #4878ea;
|
|
208
|
+
transform-origin: 0% 50%;
|
|
209
|
+
opacity: 0;
|
|
210
|
+
}
|
|
211
|
+
.iris-grid-loading-status .iris-grid-loading-status-bar.show::after {
|
|
212
|
+
opacity: 1;
|
|
213
|
+
animation: 1.5s indeterminateAnimation infinite linear;
|
|
214
|
+
}
|
|
215
|
+
@keyframes indeterminateAnimation {
|
|
216
|
+
0% {
|
|
217
|
+
transform: translateX(-50%) scaleX(0.5);
|
|
218
|
+
}
|
|
219
|
+
50% {
|
|
220
|
+
transform: translateX(0) scaleX(0.5);
|
|
221
|
+
}
|
|
222
|
+
100% {
|
|
223
|
+
transform: translateX(100%) scaleX(0.2);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
.iris-grid-loading-status .iris-grid-btn-cancel {
|
|
227
|
+
z-index: 1;
|
|
228
|
+
opacity: 0;
|
|
229
|
+
border: 1px solid #5b5a5c;
|
|
230
|
+
border-left: 0;
|
|
231
|
+
border-bottom: 0;
|
|
232
|
+
padding: 0 7px 2px 4px;
|
|
233
|
+
background: #2d2a2e;
|
|
234
|
+
color: #c0bfbf;
|
|
235
|
+
transform: translateX(-100%);
|
|
236
|
+
transition: all 0.1s ease-out 0s;
|
|
237
|
+
white-space: nowrap;
|
|
238
|
+
outline-offset: -1px;
|
|
239
|
+
outline: #4878ea;
|
|
240
|
+
}
|
|
241
|
+
.iris-grid-loading-status .iris-grid-btn-cancel:hover {
|
|
242
|
+
color: #f0f0ee;
|
|
243
|
+
background: #f95d84;
|
|
244
|
+
}
|
|
245
|
+
.iris-grid-loading-status .iris-grid-btn-cancel:focus {
|
|
246
|
+
outline: 1px solid #4878ea;
|
|
247
|
+
}
|
|
248
|
+
.iris-grid-loading-status .iris-grid-btn-cancel:active {
|
|
249
|
+
background: #f83666;
|
|
250
|
+
}
|
|
251
|
+
.iris-grid-loading-status .iris-grid-btn-cancel:active:focus {
|
|
252
|
+
outline-color: #f95d84;
|
|
253
|
+
}
|
|
254
|
+
.iris-grid-loading-status .iris-grid-btn-cancel.show {
|
|
255
|
+
opacity: 1;
|
|
256
|
+
transform: translateX(0);
|
|
257
|
+
transition: all 0.25s ease-out 0.1s;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.advanced-filter-button-container {
|
|
261
|
+
background: none;
|
|
262
|
+
}
|
|
263
|
+
.advanced-filter-button-container .advanced-filter-button {
|
|
264
|
+
height: 23px;
|
|
265
|
+
margin: 0;
|
|
266
|
+
}
|
|
267
|
+
.advanced-filter-button-container .advanced-filter-button .filter-solid {
|
|
268
|
+
opacity: 0;
|
|
269
|
+
transition: 0.15s opacity;
|
|
270
|
+
}
|
|
271
|
+
.advanced-filter-button-container .advanced-filter-button .filter-light {
|
|
272
|
+
opacity: 1;
|
|
273
|
+
transition: 0.15s opacity;
|
|
274
|
+
}
|
|
275
|
+
.advanced-filter-button-container .advanced-filter-button.filter-set .filter-solid, .advanced-filter-button-container .advanced-filter-button:hover .filter-solid {
|
|
276
|
+
opacity: 1;
|
|
277
|
+
}
|
|
278
|
+
.advanced-filter-button-container .advanced-filter-button.filter-set .filter-light, .advanced-filter-button-container .advanced-filter-button:hover .filter-light {
|
|
279
|
+
opacity: 0;
|
|
280
|
+
}
|
|
281
|
+
.advanced-filter-button-container .advanced-filter-button:hover {
|
|
282
|
+
color: #403e41;
|
|
283
|
+
}
|
|
284
|
+
.advanced-filter-button-container .advanced-filter-button:hover .filter-solid {
|
|
285
|
+
color: #4878ea;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.advanced-filter-menu-popper {
|
|
289
|
+
background: #403e41;
|
|
290
|
+
}
|
|
291
|
+
.advanced-filter-menu-popper .popper-content .advanced-filter-creator {
|
|
292
|
+
max-height: 550px;
|
|
293
|
+
overflow-y: auto;
|
|
294
|
+
background: #403e41;
|
|
295
|
+
width: 320px;
|
|
296
|
+
box-shadow: none;
|
|
297
|
+
}
|
|
298
|
+
.advanced-filter-menu-popper .popper-content .popper-arrow {
|
|
299
|
+
border-color: #403e41;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.advanced-filter-menu-container {
|
|
303
|
+
pointer-events: none;
|
|
304
|
+
visibility: hidden;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.iris-grid-bar {
|
|
308
|
+
overflow: hidden;
|
|
309
|
+
flex: 0 0 auto;
|
|
310
|
+
}
|
|
311
|
+
.iris-grid-bar.iris-grid-bar-horizontal-enter {
|
|
312
|
+
max-height: 0;
|
|
313
|
+
}
|
|
314
|
+
.iris-grid-bar.iris-grid-bar-horizontal-enter-active {
|
|
315
|
+
transition: background-color 1s ease-in, max-height 0.15s ease-in;
|
|
316
|
+
max-height: 250px;
|
|
317
|
+
}
|
|
318
|
+
.iris-grid-bar.iris-grid-bar-horizontal-enter-done {
|
|
319
|
+
max-height: 250px;
|
|
320
|
+
}
|
|
321
|
+
.iris-grid-bar.iris-grid-bar-horizontal-exit {
|
|
322
|
+
max-height: 250px;
|
|
323
|
+
transition: max-height 0.15s ease-out;
|
|
324
|
+
}
|
|
325
|
+
.iris-grid-bar.iris-grid-bar-horizontal-exit-active, .iris-grid-bar.iris-grid-bar-horizontal-exit-done {
|
|
326
|
+
max-height: 0;
|
|
327
|
+
}
|
|
328
|
+
.iris-grid-bar.iris-grid-bar-vertical-enter {
|
|
329
|
+
max-width: 0;
|
|
330
|
+
}
|
|
331
|
+
.iris-grid-bar.iris-grid-bar-vertical-enter-active {
|
|
332
|
+
transition: background-color 1s ease-in, max-width 0.15s ease-in;
|
|
333
|
+
max-width: 320px;
|
|
334
|
+
}
|
|
335
|
+
.iris-grid-bar.iris-grid-bar-vertical-enter-done {
|
|
336
|
+
max-width: 320px;
|
|
337
|
+
}
|
|
338
|
+
.iris-grid-bar.iris-grid-bar-vertical-exit {
|
|
339
|
+
max-width: 320px;
|
|
340
|
+
transition: max-width 0.15s ease-out;
|
|
341
|
+
}
|
|
342
|
+
.iris-grid-bar.iris-grid-bar-vertical-exit-active, .iris-grid-bar.iris-grid-bar-vertical-exit-done {
|
|
343
|
+
max-width: 0;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.iris-grid-bar-primary {
|
|
347
|
+
background-color: #343e5d;
|
|
348
|
+
}
|
|
349
|
+
.iris-grid-bar-primary.iris-grid-bar-horizontal-enter, .iris-grid-bar-primary.iris-grid-bar-vertical-enter {
|
|
350
|
+
background-color: #4878ea;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.link-hover-tooltip {
|
|
354
|
+
text-align: left;
|
|
355
|
+
max-width: 500px;
|
|
356
|
+
overflow-wrap: break-word;
|
|
357
|
+
}
|
|
358
|
+
|
|
1
359
|
/* stylelint-disable scss/at-import-no-partial-leading-underscore */
|
|
2
360
|
.iris-grid-input-autosized-wrapper {
|
|
3
361
|
position: absolute;
|
|
@@ -18,12 +376,19 @@
|
|
|
18
376
|
width: auto;
|
|
19
377
|
height: 100%;
|
|
20
378
|
border: 1px solid;
|
|
21
|
-
padding:
|
|
379
|
+
padding: 3px 2px 3px 3px;
|
|
22
380
|
margin-right: 24px;
|
|
23
381
|
overflow: hidden;
|
|
24
382
|
visibility: hidden;
|
|
25
383
|
white-space: nowrap;
|
|
26
384
|
grid-area: 1/1;
|
|
385
|
+
font: 12px fira sans, sans-serif;
|
|
386
|
+
font-feature-settings: "tnum";
|
|
387
|
+
}
|
|
388
|
+
@-moz-document url-prefix("") {
|
|
389
|
+
.iris-grid-input-autosized-wrapper::after {
|
|
390
|
+
font-feature-settings: normal;
|
|
391
|
+
}
|
|
27
392
|
}
|
|
28
393
|
.iris-grid-input-autosized-wrapper .iris-grid-input-field {
|
|
29
394
|
position: absolute;
|
|
@@ -34,6 +399,13 @@
|
|
|
34
399
|
height: 100%;
|
|
35
400
|
padding: 3px 2px 3px 3px;
|
|
36
401
|
border-radius: 1px;
|
|
402
|
+
font: 12px fira sans, sans-serif;
|
|
403
|
+
font-feature-settings: "tnum";
|
|
404
|
+
}
|
|
405
|
+
@-moz-document url-prefix("") {
|
|
406
|
+
.iris-grid-input-autosized-wrapper .iris-grid-input-field {
|
|
407
|
+
font-feature-settings: normal;
|
|
408
|
+
}
|
|
37
409
|
}
|
|
38
410
|
.iris-grid-input-autosized-wrapper .iris-grid-input-field.iris-grid-has-filter {
|
|
39
411
|
background: #313849;
|