@epam/uui 4.6.0 → 4.6.1-alpha.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/bundle-stats.json +1 -1
- package/components/inputs/TextInput.d.ts +1 -1
- package/components/pickers/DataPickerFooter.d.ts +1 -1
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/docs/common.d.ts +1 -2
- package/components/pickers/docs/common.d.ts.map +1 -1
- package/components/tables/Presets/Preset.d.ts +1 -1
- package/components/tables/Presets/Preset.d.ts.map +1 -1
- package/components/tables/Presets/Presets.d.ts +1 -2
- package/components/tables/Presets/Presets.d.ts.map +1 -1
- package/components/tables/types.d.ts +0 -19
- package/components/tables/types.d.ts.map +1 -1
- package/index.js +44 -46
- package/index.js.map +1 -1
- package/package.json +6 -6
- package/styles.css +613 -613
- package/styles.css.map +1 -1
|
@@ -7,7 +7,7 @@ export interface TextInputMods extends IHasEditMode {
|
|
|
7
7
|
size?: ControlSize;
|
|
8
8
|
}
|
|
9
9
|
export declare function applyTextInputMods(mods: TextInputMods): string[];
|
|
10
|
-
export declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProps & TextInputMods, "id" | "value" | "cx" | "onClick" | "rawProps" | "tabIndex" | "isDisabled" | "name" | "onValueChange" | "isInvalid" | "validationMessage" | "validationProps" | "isReadonly" | "isRequired" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "caption" | "dropdownIcon" | "icon" | "iconPosition" | "onIconClick" | "placeholder" | "type" | "
|
|
10
|
+
export declare const TextInput: React.ForwardRefExoticComponent<Pick<TextInputProps & TextInputMods, "id" | "value" | "cx" | "onClick" | "rawProps" | "tabIndex" | "isDisabled" | "name" | "onValueChange" | "isInvalid" | "validationMessage" | "validationProps" | "isReadonly" | "isRequired" | "isOpen" | "isDropdown" | "toggleDropdownOpening" | "caption" | "dropdownIcon" | "icon" | "iconPosition" | "onIconClick" | "placeholder" | "type" | "getValueChangeAnalyticsEvent" | "prefix" | "inputMode" | "maxLength" | "onCancel" | "onAccept" | "onKeyDown" | "onFocus" | "onBlur" | "autoFocus" | "autoComplete" | "suffix" | "acceptIcon" | "cancelIcon" | "inputCx" | "renderInput" | keyof TextInputMods> & React.RefAttributes<any>>;
|
|
11
11
|
export declare class SearchInput extends React.Component<TextInputProps & TextInputMods & IEditableDebouncerOptions, {}> {
|
|
12
12
|
render(): JSX.Element;
|
|
13
13
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { PropsWithChildren } from 'react';
|
|
2
|
-
import { PickerFooterProps } from
|
|
2
|
+
import { PickerFooterProps } from "@epam/uui-core";
|
|
3
3
|
import { SizeMod } from '../types';
|
|
4
4
|
declare type DataPickerFooterProps<TItem, TId> = PickerFooterProps<TItem, TId> & SizeMod & {
|
|
5
5
|
hideShowOnlySelected?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPickerFooter.d.ts","sourceRoot":"","sources":["../../../components/pickers/DataPickerFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DataPickerFooter.d.ts","sourceRoot":"","sources":["../../../components/pickers/DataPickerFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAAY,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAK7D,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAGnC,aAAK,qBAAqB,CAAC,KAAK,EAAE,GAAG,IAAI,iBAAiB,CAAC,KAAK,EAAE,GAAG,CAAC,GAAG,OAAO,GAAG;IAC/E,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAqDF,eAAO,MAAM,gBAAgB,6HAAmC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ArrayDataSource, LazyDataSource, AsyncDataSource } from
|
|
1
|
+
import { ArrayDataSource, LazyDataSource, AsyncDataSource, PickerBaseOptions } from "@epam/uui-core";
|
|
2
2
|
import { DocBuilder, PropSamplesCreationContext } from '@epam/uui-docs';
|
|
3
|
-
import { PickerBaseOptions } from '@epam/uui-components';
|
|
4
3
|
export declare const getDataSourceExamples: (ctx: PropSamplesCreationContext) => ({
|
|
5
4
|
name: string;
|
|
6
5
|
isDefault: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../components/pickers/docs/common.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../components/pickers/docs/common.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACrG,OAAO,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,gBAAgB,CAAC;AAOxE,eAAO,MAAM,qBAAqB,QAAS,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;IAgCpE,CAAC;AAEF,eAAO,MAAM,oBAAoB,yCAkDkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Preset.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Preset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Preset.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Preset.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AACrD,OAAO,EAAoB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAMhE,UAAU,YAAY;IAClB,MAAM,EAAE,YAAY,CAAC;IACrB,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,eAAe,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAChD,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,YAAY,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,CAAC;IAC7C,cAAc,EAAE,MAAM,IAAI,CAAC;CAC9B;AAED,eAAO,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAmHzC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { DataTableState } from
|
|
3
|
-
import { IPresetsApi, ITablePreset } from '../types';
|
|
2
|
+
import { DataTableState, IPresetsApi, ITablePreset } from "@epam/uui-core";
|
|
4
3
|
interface IPresetsProps extends IPresetsApi {
|
|
5
4
|
presets: ITablePreset[];
|
|
6
5
|
tableState: DataTableState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Presets.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Presets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,
|
|
1
|
+
{"version":3,"file":"Presets.d.ts","sourceRoot":"","sources":["../../../../components/tables/Presets/Presets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AACpD,OAAO,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAM3E,UAAU,aAAc,SAAQ,WAAW;IACvC,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,UAAU,EAAE,cAAc,CAAC;CAC9B;AAiDD,eAAO,MAAM,OAAO,2CAA0B,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ColumnsConfig } from '@epam/uui-core';
|
|
2
1
|
import { ControlSize } from '..';
|
|
3
2
|
export interface DataTableCellMods {
|
|
4
3
|
size?: ControlSize | '60';
|
|
@@ -7,22 +6,4 @@ export interface DataTableCellMods {
|
|
|
7
6
|
isLastColumn?: boolean;
|
|
8
7
|
alignActions?: 'top' | 'center';
|
|
9
8
|
}
|
|
10
|
-
export interface ITablePreset<TFilter = Record<string, any>> {
|
|
11
|
-
name: string;
|
|
12
|
-
id: number | null;
|
|
13
|
-
filter: TFilter;
|
|
14
|
-
isReadonly?: boolean;
|
|
15
|
-
columnsConfig: ColumnsConfig;
|
|
16
|
-
}
|
|
17
|
-
export interface IPresetsApi {
|
|
18
|
-
getActivePresetId(): number;
|
|
19
|
-
isDefaultPresetActive(): boolean;
|
|
20
|
-
choosePreset(preset: ITablePreset): void;
|
|
21
|
-
createNewPreset(name: string): void;
|
|
22
|
-
resetToDefault(): void;
|
|
23
|
-
hasPresetChanged(preset: ITablePreset): boolean;
|
|
24
|
-
duplicatePreset(preset: ITablePreset): void;
|
|
25
|
-
deletePreset(preset: ITablePreset): void;
|
|
26
|
-
updatePreset(preset: ITablePreset): void;
|
|
27
|
-
}
|
|
28
9
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/tables/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/tables/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAEjC,MAAM,WAAW,iBAAiB;IAC9B,IAAI,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC1B,OAAO,CAAC,EAAE,GAAG,GAAG,IAAI,GAAG,IAAI,CAAC;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;CACnC"}
|
package/index.js
CHANGED
|
@@ -638,7 +638,7 @@ function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
|
638
638
|
/***/ (function(module, exports, __webpack_require__) {
|
|
639
639
|
|
|
640
640
|
// extracted by mini-css-extract-plugin
|
|
641
|
-
module.exports = {"line-height-12":"
|
|
641
|
+
module.exports = {"line-height-12":"_2xpYL","lineHeight12":"_2xpYL","line-height-18":"_31SBa","lineHeight18":"_31SBa","line-height-24":"_2KhnX","lineHeight24":"_2KhnX","line-height-30":"_144KI","lineHeight30":"_144KI","font-size-10":"_3iACg","fontSize10":"_3iACg","font-size-12":"_2sZRD","fontSize12":"_2sZRD","font-size-14":"_1ewYW","fontSize14":"_1ewYW","font-size-16":"_3yO2Z","fontSize16":"_3yO2Z","font-size-18":"_1EDCP","fontSize18":"_1EDCP","font-size-24":"_3hfS6","fontSize24":"_3hfS6","v-padding-2":"_3Nwuh","vPadding2":"_3Nwuh","v-padding-3":"UOkAO","vPadding3":"UOkAO","v-padding-5":"_2iHMo","vPadding5":"_2iHMo","v-padding-6":"nkyyf","vPadding6":"nkyyf","v-padding-8":"_1-YIK","vPadding8":"_1-YIK","v-padding-9":"_1fl3C","vPadding9":"_1fl3C","v-padding-11":"_3SsLj","vPadding11":"_3SsLj","v-padding-12":"O9yvr","vPadding12":"O9yvr","v-padding-14":"_3SSOz","vPadding14":"_3SSOz","v-padding-15":"_3fAi2","vPadding15":"_3fAi2","v-padding-17":"_2iQqB","vPadding17":"_2iQqB","v-padding-18":"NopTU","vPadding18":"NopTU","v-padding-23":"Z5Tnn","vPadding23":"Z5Tnn","v-padding-24":"RQrX8","vPadding24":"RQrX8"};
|
|
642
642
|
|
|
643
643
|
/***/ }),
|
|
644
644
|
|
|
@@ -892,7 +892,7 @@ module.exports = {"line-height-12":"_16du_","lineHeight12":"_16du_","line-height
|
|
|
892
892
|
/***/ (function(module, exports, __webpack_require__) {
|
|
893
893
|
|
|
894
894
|
// extracted by mini-css-extract-plugin
|
|
895
|
-
module.exports = {"root":"
|
|
895
|
+
module.exports = {"root":"iACG2","mode-solid":"bsYTz","modeSolid":"bsYTz","mode-outline":"Pe8RT","modeOutline":"Pe8RT","mode-none":"Hg-7j","modeNone":"Hg-7j","mode-ghost":"_1TbEg","modeGhost":"_1TbEg","size-24":"_3DFu1","size24":"_3DFu1","size-30":"_3l7Ek","size30":"_3l7Ek","size-36":"_1mj14","size36":"_1mj14","size-42":"_3s1wU","size42":"_3s1wU","size-48":"NEXZu","size48":"NEXZu"};
|
|
896
896
|
|
|
897
897
|
/***/ }),
|
|
898
898
|
|
|
@@ -941,7 +941,7 @@ exports.Button = (0, uui_core_1.withMods)(uui_components_1.Button, applyButtonMo
|
|
|
941
941
|
/***/ (function(module, exports, __webpack_require__) {
|
|
942
942
|
|
|
943
943
|
// extracted by mini-css-extract-plugin
|
|
944
|
-
module.exports = {"root":"
|
|
944
|
+
module.exports = {"root":"AKQCK"};
|
|
945
945
|
|
|
946
946
|
/***/ }),
|
|
947
947
|
|
|
@@ -981,7 +981,7 @@ exports.IconButton = (0, uui_core_1.withMods)(uui_components_1.IconButton, apply
|
|
|
981
981
|
/***/ (function(module, exports, __webpack_require__) {
|
|
982
982
|
|
|
983
983
|
// extracted by mini-css-extract-plugin
|
|
984
|
-
module.exports = {"root":"
|
|
984
|
+
module.exports = {"root":"_1UhPI","size-18":"_26a3U","size18":"_26a3U","size-24":"U2tcI","size24":"U2tcI","size-30":"_2jeIN","size30":"_2jeIN","size-36":"_1uzPu","size36":"_1uzPu","size-42":"_32Fym","size42":"_32Fym","size-48":"_3-Ozz","size48":"_3-Ozz"};
|
|
985
985
|
|
|
986
986
|
/***/ }),
|
|
987
987
|
|
|
@@ -1027,7 +1027,7 @@ exports.LinkButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyLink
|
|
|
1027
1027
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1028
1028
|
|
|
1029
1029
|
// extracted by mini-css-extract-plugin
|
|
1030
|
-
module.exports = {"root":"
|
|
1030
|
+
module.exports = {"root":"_1DwO0","uui-notification":"klX3l","uuiNotification":"klX3l","size-36":"_3Q2TK","size36":"_3Q2TK","size-48":"_2H9iu","size48":"_2H9iu","size-60":"PQ7FF","size60":"PQ7FF"};
|
|
1031
1031
|
|
|
1032
1032
|
/***/ }),
|
|
1033
1033
|
|
|
@@ -1070,7 +1070,7 @@ exports.TabButton = (0, uui_core_1.withMods)(uui_components_1.Button, applyTabBu
|
|
|
1070
1070
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1071
1071
|
|
|
1072
1072
|
// extracted by mini-css-extract-plugin
|
|
1073
|
-
module.exports = {"root":"
|
|
1073
|
+
module.exports = {"root":"XTHCb"};
|
|
1074
1074
|
|
|
1075
1075
|
/***/ }),
|
|
1076
1076
|
|
|
@@ -1186,7 +1186,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1186
1186
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1187
1187
|
|
|
1188
1188
|
// extracted by mini-css-extract-plugin
|
|
1189
|
-
module.exports = {"root":"
|
|
1189
|
+
module.exports = {"root":"_39HlP","size-18":"_3DrIE","size18":"_3DrIE","size-12":"_2QyT8","size12":"_2QyT8"};
|
|
1190
1190
|
|
|
1191
1191
|
/***/ }),
|
|
1192
1192
|
|
|
@@ -1234,7 +1234,7 @@ exports.Checkbox = (0, uui_core_1.withMods)(uui_components_1.Checkbox, applyChec
|
|
|
1234
1234
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1235
1235
|
|
|
1236
1236
|
// extracted by mini-css-extract-plugin
|
|
1237
|
-
module.exports = {"root":"
|
|
1237
|
+
module.exports = {"root":"_3M7fs","size-18":"_1cGle","size18":"_1cGle","size-12":"HEig-","size12":"HEig-"};
|
|
1238
1238
|
|
|
1239
1239
|
/***/ }),
|
|
1240
1240
|
|
|
@@ -1275,7 +1275,7 @@ exports.RadioInput = (0, uui_core_1.withMods)(uui_components_1.RadioInput, apply
|
|
|
1275
1275
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1276
1276
|
|
|
1277
1277
|
// extracted by mini-css-extract-plugin
|
|
1278
|
-
module.exports = {"root":"
|
|
1278
|
+
module.exports = {"root":"e5jcO","size-12":"c_XAb","size12":"c_XAb","size-18":"_3ffz4","size18":"_3ffz4","size-24":"_56WlR","size24":"_56WlR"};
|
|
1279
1279
|
|
|
1280
1280
|
/***/ }),
|
|
1281
1281
|
|
|
@@ -1316,7 +1316,7 @@ exports.Switch = (0, uui_core_1.withMods)(uui_components_1.Switch, applySwitchMo
|
|
|
1316
1316
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1317
1317
|
|
|
1318
1318
|
// extracted by mini-css-extract-plugin
|
|
1319
|
-
module.exports = {"root":"
|
|
1319
|
+
module.exports = {"root":"_1-hFt","mode-form":"P2J4G","modeForm":"P2J4G","mode-cell":"_3ECgn","modeCell":"_3ECgn","size-24":"_3Q_Wb","size24":"_3Q_Wb","size-30":"WolfJ","size30":"WolfJ","size-36":"_21woT","size36":"_21woT","size-42":"VMh0Q","size42":"VMh0Q","size-48":"_1TLse","size48":"_1TLse"};
|
|
1320
1320
|
|
|
1321
1321
|
/***/ }),
|
|
1322
1322
|
|
|
@@ -1403,7 +1403,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1403
1403
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1404
1404
|
|
|
1405
1405
|
// extracted by mini-css-extract-plugin
|
|
1406
|
-
module.exports = {"root":"
|
|
1406
|
+
module.exports = {"root":"_1o_1O","mode-block":"x2k4_","modeBlock":"x2k4_","mode-inline":"_18OuA","modeInline":"_18OuA","padding-0":"_9WDOa","padding0":"_9WDOa","padding-6":"mpS_f","padding6":"mpS_f","padding-12":"_1hU-z","padding12":"_1hU-z","padding-18":"_1XeeK","padding18":"_1XeeK"};
|
|
1407
1407
|
|
|
1408
1408
|
/***/ }),
|
|
1409
1409
|
|
|
@@ -1447,7 +1447,7 @@ exports.Accordion = (0, uui_core_1.withMods)(uui_components_1.Accordion, applyAc
|
|
|
1447
1447
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1448
1448
|
|
|
1449
1449
|
// extracted by mini-css-extract-plugin
|
|
1450
|
-
module.exports = {"root":"
|
|
1450
|
+
module.exports = {"root":"_3BFBY"};
|
|
1451
1451
|
|
|
1452
1452
|
/***/ }),
|
|
1453
1453
|
|
|
@@ -1501,7 +1501,7 @@ exports.FlexCell = (0, uui_core_1.withMods)(uui_components_1.FlexCell, function
|
|
|
1501
1501
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1502
1502
|
|
|
1503
1503
|
// extracted by mini-css-extract-plugin
|
|
1504
|
-
module.exports = {"root":"
|
|
1504
|
+
module.exports = {"root":"_1CW1I","top-shadow":"_25NN8","topShadow":"_25NN8","size-24":"ezUK7","size24":"ezUK7","size-30":"_3E7gf","size30":"_3E7gf","size-36":"l3r5F","size36":"l3r5F","size-42":"_3cMmI","size42":"_3cMmI","size-48":"_1hCcd","size48":"_1hCcd","padding-6":"_1kGRj","padding6":"_1kGRj","padding-12":"_1nUpl","padding12":"_1nUpl","padding-18":"_3264S","padding18":"_3264S","padding-24":"_2P6SA","padding24":"_2P6SA","margin-24":"_2D_5R","margin24":"_2D_5R","margin-12":"n6xiI","margin12":"n6xiI","vPadding-12":"Em-6k","vPadding12":"Em-6k","vPadding-18":"_1QYBX","vPadding18":"_1QYBX","vPadding-24":"_2JiC0","vPadding24":"_2JiC0","vPadding-36":"_3zubq","vPadding36":"_3zubq","vPadding-48":"_3gu6u","vPadding48":"_3gu6u","spacing-6":"_2P8vo","spacing6":"_2P8vo","spacing-12":"_13LC6","spacing12":"_13LC6","spacing-18":"_2gqva","spacing18":"_2gqva","border-bottom":"xuy9h","borderBottom":"xuy9h"};
|
|
1505
1505
|
|
|
1506
1506
|
/***/ }),
|
|
1507
1507
|
|
|
@@ -1561,7 +1561,7 @@ exports.FlexSpacer = uui_components_1.FlexSpacer;
|
|
|
1561
1561
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1562
1562
|
|
|
1563
1563
|
// extracted by mini-css-extract-plugin
|
|
1564
|
-
module.exports = {"root":"
|
|
1564
|
+
module.exports = {"root":"_1Pxq5","background":"_3ie4-","margin-24":"_1YG0c","margin24":"_1YG0c","padding-12":"_1Oa90","padding12":"_1Oa90","padding-24":"_36g0Z","padding24":"_36g0Z","shadow":"_227OR"};
|
|
1565
1565
|
|
|
1566
1566
|
/***/ }),
|
|
1567
1567
|
|
|
@@ -1619,7 +1619,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
1619
1619
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1620
1620
|
|
|
1621
1621
|
// extracted by mini-css-extract-plugin
|
|
1622
|
-
module.exports = {"root":"
|
|
1622
|
+
module.exports = {"root":"WpItM"};
|
|
1623
1623
|
|
|
1624
1624
|
/***/ }),
|
|
1625
1625
|
|
|
@@ -1659,7 +1659,7 @@ exports.IconContainer = (0, uui_core_1.withMods)(uui_components_1.IconContainer,
|
|
|
1659
1659
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1660
1660
|
|
|
1661
1661
|
// extracted by mini-css-extract-plugin
|
|
1662
|
-
module.exports = {"root":"
|
|
1662
|
+
module.exports = {"root":"_1-NQh","size-24":"_27TYl","size24":"_27TYl","size-30":"_24bPn","size30":"_24bPn","size-36":"_1aQ2s","size36":"_1aQ2s","size-42":"eeqm5","size42":"eeqm5","size-48":"_2Pwo6","size48":"_2Pwo6"};
|
|
1663
1663
|
|
|
1664
1664
|
/***/ }),
|
|
1665
1665
|
|
|
@@ -1705,7 +1705,7 @@ exports.LabeledInput = (0, uui_core_1.withMods)(uui_components_1.LabeledInput, a
|
|
|
1705
1705
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1706
1706
|
|
|
1707
1707
|
// extracted by mini-css-extract-plugin
|
|
1708
|
-
module.exports = {"root":"
|
|
1708
|
+
module.exports = {"root":"_1Hoi1"};
|
|
1709
1709
|
|
|
1710
1710
|
/***/ }),
|
|
1711
1711
|
|
|
@@ -1862,7 +1862,7 @@ exports.Dropdown = Dropdown;
|
|
|
1862
1862
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1863
1863
|
|
|
1864
1864
|
// extracted by mini-css-extract-plugin
|
|
1865
|
-
module.exports = {"root":"
|
|
1865
|
+
module.exports = {"root":"_3-exo"};
|
|
1866
1866
|
|
|
1867
1867
|
/***/ }),
|
|
1868
1868
|
|
|
@@ -1901,7 +1901,7 @@ exports.DropdownContainer = (0, uui_core_1.withMods)(uui_components_1.DropdownCo
|
|
|
1901
1901
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1902
1902
|
|
|
1903
1903
|
// extracted by mini-css-extract-plugin
|
|
1904
|
-
module.exports = {"menuRoot":"
|
|
1904
|
+
module.exports = {"menuRoot":"_35muG","bodyRoot":"_3KIBI","submenuRootItem":"_22bcq","iconAfter":"_2LzJm","iconCheck":"_2GkoG","splitterRoot":"_3P42z","splitter":"Kyfo6","headerRoot":"_21Qxy","itemRoot":"_3f3dM","icon":"raLY4","link":"_1nb7f"};
|
|
1905
1905
|
|
|
1906
1906
|
/***/ }),
|
|
1907
1907
|
|
|
@@ -2055,7 +2055,7 @@ exports.DropdownMenuSwitchButton = DropdownMenuSwitchButton;
|
|
|
2055
2055
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2056
2056
|
|
|
2057
2057
|
// extracted by mini-css-extract-plugin
|
|
2058
|
-
module.exports = {"modal-blocker":"
|
|
2058
|
+
module.exports = {"modal-blocker":"_2QeBI","modalBlocker":"_2QeBI","animateModalBlocker":"cBJTA","blocker-overlay":"_3PNS7","blockerOverlay":"_3PNS7","modal":"_2sJR6","modal-footer":"_1Y-zH","modalFooter":"_1Y-zH","border-top":"OGoS8","borderTop":"OGoS8","modal-header":"_2hDgr","modalHeader":"_2hDgr"};
|
|
2059
2059
|
|
|
2060
2060
|
/***/ }),
|
|
2061
2061
|
|
|
@@ -2131,7 +2131,7 @@ exports.ModalFooter = ModalFooter;
|
|
|
2131
2131
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2132
2132
|
|
|
2133
2133
|
// extracted by mini-css-extract-plugin
|
|
2134
|
-
module.exports = {"root":"
|
|
2134
|
+
module.exports = {"root":"_3Rp4_","icon-wrapper":"_1Bbwo","iconWrapper":"_1Bbwo","notification-wrapper":"_1_Lp7","notificationWrapper":"_1_Lp7","action-wrapper":"Enjpe","actionWrapper":"Enjpe","action-link":"Rwy9N","actionLink":"Rwy9N","close-icon":"_1EMWq","closeIcon":"_1EMWq","main-path":"_36j2Q","mainPath":"_36j2Q","content":"_3HN7L","clear-button":"_2xuN4","clearButton":"_2xuN4"};
|
|
2135
2135
|
|
|
2136
2136
|
/***/ }),
|
|
2137
2137
|
|
|
@@ -2235,7 +2235,7 @@ exports.ClearNotification = ClearNotification;
|
|
|
2235
2235
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2236
2236
|
|
|
2237
2237
|
// extracted by mini-css-extract-plugin
|
|
2238
|
-
module.exports = {"root":"
|
|
2238
|
+
module.exports = {"root":"_1EdI-"};
|
|
2239
2239
|
|
|
2240
2240
|
/***/ }),
|
|
2241
2241
|
|
|
@@ -2295,7 +2295,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
2295
2295
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2296
2296
|
|
|
2297
2297
|
// extracted by mini-css-extract-plugin
|
|
2298
|
-
module.exports = {"body":"
|
|
2298
|
+
module.exports = {"body":"_3i8Df","modal":"_2YrdR","search":"_1-eMe","checkbox":"_9x2r7","search-wrapper":"_7fys7","searchWrapper":"_7fys7","search-size-24":"naDi6","searchSize24":"naDi6","search-size-30":"o2uQY","searchSize30":"o2uQY","search-size-36":"Kw2zP","searchSize36":"Kw2zP","search-size-42":"_1x0jk","searchSize42":"_1x0jk","no-found-size-24":"_2-Hgi","noFoundSize24":"_2-Hgi","no-found-size-30":"_1Yums","noFoundSize30":"_1Yums","no-found-size-36":"_3n-O3","noFoundSize36":"_3n-O3","no-found-size-42":"_2424q","noFoundSize42":"_2424q"};
|
|
2299
2299
|
|
|
2300
2300
|
/***/ }),
|
|
2301
2301
|
|
|
@@ -2361,7 +2361,7 @@ exports.DataPickerBody = DataPickerBody;
|
|
|
2361
2361
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2362
2362
|
|
|
2363
2363
|
// extracted by mini-css-extract-plugin
|
|
2364
|
-
module.exports = {"footer-wrapper":"
|
|
2364
|
+
module.exports = {"footer-wrapper":"_1mcwX","footerWrapper":"_1mcwX"};
|
|
2365
2365
|
|
|
2366
2366
|
/***/ }),
|
|
2367
2367
|
|
|
@@ -2423,7 +2423,7 @@ exports.DataPickerFooter = react_1.default.memo(DataPickerFooterImpl);
|
|
|
2423
2423
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2424
2424
|
|
|
2425
2425
|
// extracted by mini-css-extract-plugin
|
|
2426
|
-
module.exports = {"header":"
|
|
2426
|
+
module.exports = {"header":"_3xeO0","close":"_eFBc"};
|
|
2427
2427
|
|
|
2428
2428
|
/***/ }),
|
|
2429
2429
|
|
|
@@ -2464,7 +2464,7 @@ exports.DataPickerHeader = react_1.default.memo(DataPickerHeaderImpl);
|
|
|
2464
2464
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2465
2465
|
|
|
2466
2466
|
// extracted by mini-css-extract-plugin
|
|
2467
|
-
module.exports = {"render-item":"
|
|
2467
|
+
module.exports = {"render-item":"_3S9J3","renderItem":"_3S9J3","icon-wrapper":"_3AUQ5","iconWrapper":"_3AUQ5","picker-row":"_3BeAF","pickerRow":"_3BeAF"};
|
|
2468
2468
|
|
|
2469
2469
|
/***/ }),
|
|
2470
2470
|
|
|
@@ -2533,7 +2533,7 @@ exports.DataPickerRow = DataPickerRow;
|
|
|
2533
2533
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2534
2534
|
|
|
2535
2535
|
// extracted by mini-css-extract-plugin
|
|
2536
|
-
module.exports = {"done":"
|
|
2536
|
+
module.exports = {"done":"_3jhKE"};
|
|
2537
2537
|
|
|
2538
2538
|
/***/ }),
|
|
2539
2539
|
|
|
@@ -2575,7 +2575,7 @@ exports.MobileDropdownWrapper = MobileDropdownWrapper;
|
|
|
2575
2575
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2576
2576
|
|
|
2577
2577
|
// extracted by mini-css-extract-plugin
|
|
2578
|
-
module.exports = {"panel":"
|
|
2578
|
+
module.exports = {"panel":"_2ec1k","footer-wrapper":"_1ejy4","footerWrapper":"_1ejy4","footer-size-24":"_24sQc","footerSize24":"_24sQc","footer-size-30":"_5TzYH","footerSize30":"_5TzYH","footer-size-36":"_3U5qn","footerSize36":"_3U5qn","footer-size-42":"_5w8Q4","footerSize42":"_5w8Q4","footer-size-48":"Lcbf8","footerSize48":"Lcbf8"};
|
|
2579
2579
|
|
|
2580
2580
|
/***/ }),
|
|
2581
2581
|
|
|
@@ -2676,7 +2676,7 @@ exports.PickerInput = PickerInput;
|
|
|
2676
2676
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2677
2677
|
|
|
2678
2678
|
// extracted by mini-css-extract-plugin
|
|
2679
|
-
module.exports = {"root":"
|
|
2679
|
+
module.exports = {"root":"_2uFBT","multiline-vertical-padding-24":"_2TZXd","multilineVerticalPadding24":"_2TZXd","multiline-vertical-padding-30":"_16rOQ","multilineVerticalPadding30":"_16rOQ","multiline-vertical-padding-36":"_35VfP","multilineVerticalPadding36":"_35VfP","multiline-vertical-padding-42":"_2Cue-","multilineVerticalPadding42":"_2Cue-","multiline-vertical-padding-48":"_14-Pt","multilineVerticalPadding48":"_14-Pt"};
|
|
2680
2680
|
|
|
2681
2681
|
/***/ }),
|
|
2682
2682
|
|
|
@@ -2797,7 +2797,7 @@ exports.PickerList = PickerList;
|
|
|
2797
2797
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2798
2798
|
|
|
2799
2799
|
// extracted by mini-css-extract-plugin
|
|
2800
|
-
module.exports = {"row":"
|
|
2800
|
+
module.exports = {"row":"_2kZjf"};
|
|
2801
2801
|
|
|
2802
2802
|
/***/ }),
|
|
2803
2803
|
|
|
@@ -2855,7 +2855,7 @@ exports.PickerListItem = PickerListItem;
|
|
|
2855
2855
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2856
2856
|
|
|
2857
2857
|
// extracted by mini-css-extract-plugin
|
|
2858
|
-
module.exports = {"sub-header-wrapper":"
|
|
2858
|
+
module.exports = {"sub-header-wrapper":"_35nJ5","subHeaderWrapper":"_35nJ5","switch":"_2JGuF"};
|
|
2859
2859
|
|
|
2860
2860
|
/***/ }),
|
|
2861
2861
|
|
|
@@ -2964,7 +2964,7 @@ exports.PickerModal = PickerModal;
|
|
|
2964
2964
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2965
2965
|
|
|
2966
2966
|
// extracted by mini-css-extract-plugin
|
|
2967
|
-
module.exports = {"root":"
|
|
2967
|
+
module.exports = {"root":"_1hzmW","mode-form":"_308Lp","modeForm":"_308Lp","mode-cell":"_1F8es","modeCell":"_1F8es","size-24":"uljv0","size24":"uljv0","size-30":"_2_BMb","size30":"_2_BMb","size-36":"BWNDR","size36":"BWNDR","size-42":"_3R37x","size42":"_3R37x","size-48":"_2ZQfN","size48":"_2ZQfN"};
|
|
2968
2968
|
|
|
2969
2969
|
/***/ }),
|
|
2970
2970
|
|
|
@@ -3071,7 +3071,7 @@ var tslib_1 = __webpack_require__(/*! tslib */ "../node_modules/tslib/tslib.es6.
|
|
|
3071
3071
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3072
3072
|
|
|
3073
3073
|
// extracted by mini-css-extract-plugin
|
|
3074
|
-
module.exports = {"cell":"
|
|
3074
|
+
module.exports = {"cell":"_3BnYM","wrapper":"crC05","align-widgets-top":"_2tTue","alignWidgetsTop":"_2tTue","size-24":"_1TCK2","size24":"_1TCK2","folding-arrow":"_3hHxc","foldingArrow":"_3hHxc","size-30":"_2Y5H7","size30":"_2Y5H7","size-36":"_3xiTV","size36":"_3xiTV","size-42":"_1V4_j","size42":"_1V4_j","size-48":"_2NuMv","size48":"_2NuMv","size-60":"_1TmUx","size60":"_1TmUx","align-widgets-center":"oTI5w","alignWidgetsCenter":"oTI5w","padding-12":"aNpgp","padding12":"aNpgp","padding-24":"_3etiJ","padding24":"_3etiJ","padding-left-12":"_1L73X","paddingLeft12":"_1L73X","padding-left-24":"_2b0R7","paddingLeft24":"_2b0R7","padding-right-24":"_1BPp4","paddingRight24":"_1BPp4","drag-handle":"_2EfKP","dragHandle":"_2EfKP","checkbox":"_1wYZY","indent":"StmR2","folding-arrow-12":"_2QE96","foldingArrow12":"_2QE96","folding-arrow-18":"gVcNn","foldingArrow18":"gVcNn"};
|
|
3075
3075
|
|
|
3076
3076
|
/***/ }),
|
|
3077
3077
|
|
|
@@ -3137,7 +3137,7 @@ exports.DataTableCell = DataTableCell;
|
|
|
3137
3137
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3138
3138
|
|
|
3139
3139
|
// extracted by mini-css-extract-plugin
|
|
3140
|
-
module.exports = {"container":"
|
|
3140
|
+
module.exports = {"container":"_3WYBz","target":"-xfJ_","panel":"_3-iGo","divider":"MXYOr","input":"_23w3e","notification":"_3XmZ9"};
|
|
3141
3141
|
|
|
3142
3142
|
/***/ }),
|
|
3143
3143
|
|
|
@@ -3225,7 +3225,7 @@ exports.Preset = Preset;
|
|
|
3225
3225
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3226
3226
|
|
|
3227
3227
|
// extracted by mini-css-extract-plugin
|
|
3228
|
-
module.exports = {"row":"
|
|
3228
|
+
module.exports = {"row":"_2M21y"};
|
|
3229
3229
|
|
|
3230
3230
|
/***/ }),
|
|
3231
3231
|
|
|
@@ -3247,19 +3247,17 @@ var layout_1 = __webpack_require__(/*! ../../layout */ "./components/layout/inde
|
|
|
3247
3247
|
var Preset_1 = __webpack_require__(/*! ./Preset */ "./components/tables/Presets/Preset.tsx");
|
|
3248
3248
|
var Presets_scss_1 = (0, tslib_1.__importDefault)(__webpack_require__(/*! ./Presets.scss */ "./components/tables/Presets/Presets.scss"));
|
|
3249
3249
|
var PresetsImpl = function (_a) {
|
|
3250
|
-
var tableState = _a.tableState, presets = _a.presets, createNewPreset = _a.createNewPreset,
|
|
3251
|
-
var newPresetTitle =
|
|
3252
|
-
var activePresetId = getActivePresetId();
|
|
3250
|
+
var tableState = _a.tableState, presets = _a.presets, createNewPreset = _a.createNewPreset, activePresetId = _a.activePresetId, isDefaultPresetActive = _a.isDefaultPresetActive, hasPresetChanged = _a.hasPresetChanged, resetToDefault = _a.resetToDefault, choosePreset = _a.choosePreset, duplicatePreset = _a.duplicatePreset, deletePreset = _a.deletePreset, updatePreset = _a.updatePreset;
|
|
3251
|
+
var newPresetTitle = "New preset";
|
|
3253
3252
|
var saveNewPreset = (0, react_1.useCallback)(function () {
|
|
3254
3253
|
createNewPreset(newPresetTitle);
|
|
3255
3254
|
}, [createNewPreset, newPresetTitle]);
|
|
3256
3255
|
var activePreset = presets.find(function (p) { return p.id === activePresetId; });
|
|
3257
3256
|
var hasActivePresetChanged = (0, react_1.useMemo)(function () {
|
|
3258
|
-
return !isDefaultPresetActive()
|
|
3259
|
-
&& hasPresetChanged(activePreset);
|
|
3257
|
+
return !isDefaultPresetActive && hasPresetChanged(activePreset);
|
|
3260
3258
|
}, [isDefaultPresetActive, activePreset, tableState.filter]);
|
|
3261
|
-
return (react_1.default.createElement(layout_1.FlexRow, { spacing:
|
|
3262
|
-
react_1.default.createElement(index_1.Button, { size:
|
|
3259
|
+
return (react_1.default.createElement(layout_1.FlexRow, { spacing: "6", size: "48", padding: "18", cx: Presets_scss_1.default.row },
|
|
3260
|
+
react_1.default.createElement(index_1.Button, { size: "24", caption: "Default", mode: isDefaultPresetActive ? 'solid' : 'outline', onClick: isDefaultPresetActive ? null : resetToDefault }),
|
|
3263
3261
|
presets.map(function (preset) { return (react_1.default.createElement(Preset_1.Preset, { preset: preset, isActive: preset.id === activePresetId, hasChanged: preset.id === activePresetId && hasActivePresetChanged, choosePreset: choosePreset, duplicatePreset: duplicatePreset, deletePreset: deletePreset, updatePreset: updatePreset, resetToDefault: resetToDefault, key: preset.id })); }),
|
|
3264
3262
|
hasActivePresetChanged && (react_1.default.createElement(index_1.Button, { caption: "Save as ".concat(newPresetTitle), onClick: saveNewPreset, color: 'accent', mode: 'solid', size: '24' }))));
|
|
3265
3263
|
};
|
|
@@ -3351,7 +3349,7 @@ var EditMode;
|
|
|
3351
3349
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3352
3350
|
|
|
3353
3351
|
// extracted by mini-css-extract-plugin
|
|
3354
|
-
module.exports = {"root":"
|
|
3352
|
+
module.exports = {"root":"_4cy3D"};
|
|
3355
3353
|
|
|
3356
3354
|
/***/ }),
|
|
3357
3355
|
|
|
@@ -3398,7 +3396,7 @@ exports.Text = (0, uui_core_1.withMods)(uui_components_1.Text, applyTextMods);
|
|
|
3398
3396
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3399
3397
|
|
|
3400
3398
|
// extracted by mini-css-extract-plugin
|
|
3401
|
-
module.exports = {"container":"
|
|
3399
|
+
module.exports = {"container":"DRfI2","loading-word":"RCoOQ","loadingWord":"RCoOQ","animated-loading":"_2Ig9G","animatedLoading":"_2Ig9G","skeleton_loading":"_3h9yj","skeletonLoading":"_3h9yj"};
|
|
3402
3400
|
|
|
3403
3401
|
/***/ }),
|
|
3404
3402
|
|
|
@@ -3482,7 +3480,7 @@ exports.Avatar = (0, uui_core_1.withMods)(uui_components_1.Avatar, function () {
|
|
|
3482
3480
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3483
3481
|
|
|
3484
3482
|
// extracted by mini-css-extract-plugin
|
|
3485
|
-
module.exports = {"root":"
|
|
3483
|
+
module.exports = {"root":"_1Dd2t","size-18":"_3sA4L","size18":"_3sA4L","fill-transparent":"_1zyFX","fillTransparent":"_1zyFX","size-24":"_2uBsY","size24":"_2uBsY","size-30":"_1Exme","size30":"_1Exme","size-36":"_1_Aap","size36":"_1_Aap","size-42":"ZFMWK","size42":"ZFMWK","size-48":"_2cIzA","size48":"_2cIzA","fill-solid":"_2TFXi","fillSolid":"_2TFXi"};
|
|
3486
3484
|
|
|
3487
3485
|
/***/ }),
|
|
3488
3486
|
|
|
@@ -3540,7 +3538,7 @@ exports.Badge = (0, uui_core_1.withMods)(uui_components_1.Button, applyBadgeMods
|
|
|
3540
3538
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3541
3539
|
|
|
3542
3540
|
// extracted by mini-css-extract-plugin
|
|
3543
|
-
module.exports = {"root":"
|
|
3541
|
+
module.exports = {"root":"_1VYRb","size-18":"_35EWD","size18":"_35EWD","size-24":"_2TcNx","size24":"_2TcNx","size-30":"rswbK","size30":"rswbK","size-36":"_2LItj","size36":"_2LItj","size-42":"_3pbfP","size42":"_3pbfP","size-48":"_25zr0","size48":"_25zr0"};
|
|
3544
3542
|
|
|
3545
3543
|
/***/ }),
|
|
3546
3544
|
|