@pisell/materials 1.0.714 → 1.0.716
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +7 -7
- package/build/lowcode/preview.js +17 -13
- package/build/lowcode/render/default/view.js +24 -24
- package/build/lowcode/view.js +24 -24
- package/es/components/DragSortList/index.js +6 -6
- package/es/components/MultipleContainersSortList/index.js +11 -13
- package/es/components/Pagination/index.js +1 -1
- package/es/components/TimeResourceSelector/index.js +3 -3
- package/es/components/appVersionControl/index.js +5 -5
- package/es/components/badge/index.js +5 -5
- package/es/components/batch-editor/index.js +12 -12
- package/es/components/browserSelect/index.js +6 -6
- package/es/components/buttonGroupEdit/index.js +6 -7
- package/es/components/buttonGroupPreview/index.js +8 -7
- package/es/components/classicLayout/index.js +4 -5
- package/es/components/collapse/index.js +5 -5
- package/es/components/cropPhoto/index.js +5 -5
- package/es/components/customSelect/index.js +5 -5
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +11 -11
- package/es/components/dataSourceComponents/dataSourceForm/formItem.js +1 -1
- package/es/components/dataSourceComponents/dataSourceForm/provider/jsonWrapper/JsonWrapperProvider.js +5 -5
- package/es/components/dataSourceComponents/dataSourceForm/serve.js +7 -7
- package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.js +8 -8
- package/es/components/dataSourceComponents/dataSourceForm/utils.js +10 -10
- package/es/components/dataSourceComponents/dataSourceMenu/Basic.js +12 -6
- package/es/components/dataSourceComponents/dataSourceMenu/index.js +2 -2
- package/es/components/dataSourceComponents/dataSourceShow/utils.js +7 -7
- package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +7 -7
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.js +14 -14
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +5 -5
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +1 -1
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +6 -6
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +13 -13
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +9 -9
- package/es/components/dataSourceComponents/dataSourceWrapper/BaseWrapper.js +1 -1
- package/es/components/dataSourceComponents/fields/DatePicker/WithMode.js +5 -5
- package/es/components/dataSourceComponents/fields/Input/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Email/WithMode.js +2 -2
- package/es/components/dataSourceComponents/fields/Input.Json/WithMode.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +4 -5
- package/es/components/dataSourceComponents/fields/Input.Mobile/serve.js +8 -8
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.js +1 -1
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.js +4 -4
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +8 -8
- package/es/components/dataSourceComponents/fields/Input.Subdomain/WithMode.js +7 -7
- package/es/components/dataSourceComponents/fields/Input.Subdomain/serve.js +2 -2
- package/es/components/dataSourceComponents/fields/TimePicker/WithMode.js +5 -5
- package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.js +7 -7
- package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +47 -48
- package/es/components/dataSourceComponents/fields/Upload/serve.js +4 -4
- package/es/components/dataSourceComponents/fields/Upload/shopUploadServe.js +9 -9
- package/es/components/dataSourceComponents/fields/Upload/utils.js +3 -3
- package/es/components/dataSourceComponents/fields/utils.js +4 -4
- package/es/components/dataSourceComponents/hooks/useActions.js +12 -12
- package/es/components/dataSourceComponents/hooks/useParseActionsVariable.js +6 -6
- package/es/components/dataSourceComponents/hooks/usePlatform.js +2 -2
- package/es/components/dataSourceComponents/provider/actions/ActionsProvider.js +5 -5
- package/es/components/dataSourceComponents/provider/dataSource/DataSourceProvider.js +5 -5
- package/es/components/dataSourceComponents/provider/variables/VariablesProvider.js +8 -8
- package/es/components/dataSourceComponents/provider/variables/utils.js +3 -3
- package/es/components/date-picker/datePickerCpt.js +10 -10
- package/es/components/date-picker/hooks/useMediaQuery.js +1 -1
- package/es/components/drag-sort-tree/TreeItem/index.js +10 -10
- package/es/components/drag-sort-tree/index.js +6 -6
- package/es/components/drawer/index.js +6 -6
- package/es/components/filter/components/Dropdown/index.js +10 -10
- package/es/components/filter/components/FilterButton/index.js +7 -7
- package/es/components/filter/index.js +1 -1
- package/es/components/form/index.js +3 -3
- package/es/components/icon/index.js +5 -5
- package/es/components/iconSelect/index.js +2 -2
- package/es/components/iconSelect/utils.js +2 -2
- package/es/components/iconfont/index.js +0 -1
- package/es/components/input-number-range/index.js +6 -6
- package/es/components/list/index.js +6 -6
- package/es/components/login-and-register/index.js +10 -10
- package/es/components/organizationTenantSwitcher/index.js +1 -1
- package/es/components/page/index.js +11 -13
- package/es/components/pisell-config-provider/context.js +3 -3
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.js +2 -2
- package/es/components/pisellAdjustPrice/index.js +6 -6
- package/es/components/pisellAlert/index.js +2 -2
- package/es/components/pisellAnchor/index.js +6 -6
- package/es/components/pisellAvatar/index.js +5 -5
- package/es/components/pisellCard/index.js +5 -5
- package/es/components/pisellCheckboxGroup/index.js +9 -7
- package/es/components/pisellCountdown/index.js +8 -8
- package/es/components/pisellCountdown/utils.js +1 -1
- package/es/components/pisellCustomCheckboxGroup/index.js +1 -1
- package/es/components/pisellDatePicker/datePickerCpt.js +4 -4
- package/es/components/pisellDraggable/components/Action/Action.js +5 -5
- package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.js +5 -5
- package/es/components/pisellDraggable/components/TreeItem/TreeItem.js +5 -5
- package/es/components/pisellDraggable/index.js +10 -10
- package/es/components/pisellDraggable/utilities.js +5 -5
- package/es/components/pisellDropSort/PisellDropSort.js +1 -1
- package/es/components/pisellDropSort/components/SortableItem/index.js +5 -5
- package/es/components/pisellFloatingPanel/index.js +6 -6
- package/es/components/pisellHeaderProgressBar/index.js +5 -5
- package/es/components/pisellImageCarousels/index.js +5 -5
- package/es/components/pisellInformationEntry/Input/index.js +1 -1
- package/es/components/pisellInformationEntry/Scan/index.js +2 -2
- package/es/components/pisellInformationEntry/hooks/useTerminalPeripherals.js +5 -5
- package/es/components/pisellInformationEntry/index.js +6 -6
- package/es/components/pisellInformationEntry/utils.js +2 -2
- package/es/components/pisellInput/components/BankCard/index.js +5 -5
- package/es/components/pisellInput/components/Copy/index.js +5 -5
- package/es/components/pisellInput/components/SecurityCode/index.js +2 -2
- package/es/components/pisellLayout/content.js +7 -7
- package/es/components/pisellLayout/footer.js +5 -5
- package/es/components/pisellLayout/header.js +5 -5
- package/es/components/pisellLayout/sider.js +2 -2
- package/es/components/pisellList01/index.js +2 -2
- package/es/components/pisellModal/components/MobileModal/index.js +3 -3
- package/es/components/pisellModal/components/PcModal/index.js +7 -7
- package/es/components/pisellModal/components/functions/index.js +5 -5
- package/es/components/pisellNavigationMenu/PisellNavigationMenu.js +8 -8
- package/es/components/pisellQRScanner/index.js +15 -7
- package/es/components/pisellQrcode/index.js +1 -1
- package/es/components/pisellRow/index.js +5 -5
- package/es/components/pisellScan/index.js +6 -6
- package/es/components/pisellSectionHeaders/index.js +5 -5
- package/es/components/pisellTags/index.js +9 -5
- package/es/components/pisellViewGrid/index.js +5 -5
- package/es/components/pisellWalletPassCard/index.js +5 -5
- package/es/components/productCard/components/MultiDay/index.js +7 -7
- package/es/components/productCard/components/MultiDay/utils.js +7 -5
- package/es/components/productCard/components/Packages/components/collapsibleList/index.js +1 -1
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +2 -2
- package/es/components/productCard/components/Packages/index.js +5 -5
- package/es/components/productCard/components/Sales/index.js +5 -5
- package/es/components/productCard/components/Time/components/Like/index.js +1 -1
- package/es/components/productCard/components/Time/index.js +5 -5
- package/es/components/productCard/hooks/useOpenNote.js +1 -1
- package/es/components/productCard/index.js +11 -11
- package/es/components/productCard/utils.js +3 -3
- package/es/components/profileMenu/index.js +6 -6
- package/es/components/qrcode/index.js +1 -1
- package/es/components/record-view/index.js +1 -1
- package/es/components/select/index.js +6 -6
- package/es/components/select-time/index.js +2 -2
- package/es/components/sort/components/InlineMenu/index.js +1 -1
- package/es/components/sort/index.js +5 -5
- package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
- package/es/components/table/Actions/component/ColumnsSetting/PopoverContent.js +7 -7
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.js +8 -8
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.js +9 -9
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.js +1 -1
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/Detail.js +5 -5
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.js +7 -7
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.js +7 -7
- package/es/components/table/Actions/component/ExportImport/index.js +3 -3
- package/es/components/table/Actions/component/Group/PopoverContent.js +2 -2
- package/es/components/table/Actions/component/ViewMode/index.js +1 -1
- package/es/components/table/BasicTable/index.js +9 -9
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
- package/es/components/table/Gallery/components/VirtualGrid/index.js +5 -5
- package/es/components/table/Gallery/index.js +1 -1
- package/es/components/table/Header/Buttons/index.js +5 -5
- package/es/components/table/Table/AddFieldModal/index.js +6 -6
- package/es/components/table/Table/SelectField/index.js +4 -4
- package/es/components/table/Table/fields/date/Edit/index.js +1 -1
- package/es/components/table/Table/fields/link/Edit/index.js +5 -5
- package/es/components/table/Table/fields/oldRangePicker/Edit/index.js +7 -7
- package/es/components/table/Table/fields/oldRangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/rangePicker/Edit/index.js +7 -7
- package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
- package/es/components/table/Table/fields/search/Edit/index.js +2 -2
- package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
- package/es/components/table/Table/fields/text/Show/index.js +4 -4
- package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
- package/es/components/table/Table/index.js +11 -11
- package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
- package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
- package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
- package/es/components/table/Table/tableConfig/body/index.js +6 -6
- package/es/components/table/Table/tableConfig/header/index.js +5 -5
- package/es/components/table/Table/utils.js +13 -8
- package/es/components/table/TableFilter/numberFilter.js +7 -7
- package/es/components/table/TableFilter/selectFilter.js +1 -1
- package/es/components/table/Tabs/index.js +5 -5
- package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
- package/es/components/table/hooks/useTableSetting.js +13 -14
- package/es/components/table/hooks/useTransColumns.js +9 -9
- package/es/components/table/hooks/useTransDataSource.js +1 -1
- package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
- package/es/components/table/hooks/useTransFilterSetting.js +5 -5
- package/es/components/table/hooks/useTransSortSetting.js +5 -5
- package/es/components/table/hooks/useTriggerValuesChange.js +2 -2
- package/es/components/table/index.js +13 -13
- package/es/components/table/model.js +5 -5
- package/es/components/table/serve.js +9 -9
- package/es/components/table/utils.js +3 -3
- package/es/components/tabs/index.js +7 -5
- package/es/components/translation/index.js +10 -10
- package/es/components/translation/utils.js +5 -5
- package/es/components/versionModal/index.js +1 -1
- package/es/components/versionSelect/index.js +1 -1
- package/es/components/virtual-keyboard/Amount/index.js +1 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +3 -3
- package/es/components/virtual-keyboard/Keyboard/index.js +8 -8
- package/es/components/virtual-keyboard/Number/index.js +1 -1
- package/es/components/virtual-keyboard/Time/index.js +4 -4
- package/es/components/virtual-keyboard/VirtualInput/index.js +1 -1
- package/es/components/virtual-keyboard/VirtualKeyInput/index.js +4 -4
- package/es/components/walletCard/index.js +10 -8
- package/es/hooks/useCssVariables.js +1 -1
- package/es/hooks/useEngineContext.js +5 -5
- package/es/hooks/useResponsive.js +2 -2
- package/es/hooks/useSetRequest.js +2 -2
- package/es/hooks/useTranslationOriginal.js +2 -2
- package/es/locales/en-US.js +5 -5
- package/es/locales/index.js +1 -1
- package/es/locales/zh-CN.js +5 -5
- package/es/utils/hoc.js +1 -1
- package/es/utils/mergeWith.js +1 -1
- package/es/utils/miniRedux.js +8 -9
- package/lib/components/appVersionControl/utils.js +4 -8
- package/lib/components/buttonGroupEdit/index.js +7 -14
- package/lib/components/dataSourceComponents/dataSourceForm/utils.js +3 -6
- package/lib/components/dataSourceComponents/dataSourceMenu/Basic.js +10 -4
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +2 -4
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +1 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +1 -2
- package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.js +2 -4
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +2 -4
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +1 -2
- package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +1 -2
- package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.js +2 -4
- package/lib/components/dataSourceComponents/fields/InputNumber/utils.js +2 -4
- package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.js +4 -8
- package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +4 -8
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.js +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.js +1 -2
- package/lib/components/dataSourceComponents/fields/Upload/utils.js +11 -22
- package/lib/components/dataSourceComponents/hooks/useActions.js +3 -6
- package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.js +1 -2
- package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +1 -2
- package/lib/components/dataSourceComponents/provider/variables/utils.js +2 -4
- package/lib/components/date-picker/datePickerCpt.js +1 -2
- package/lib/components/drag-sort-tree/TreeItem/index.js +1 -2
- package/lib/components/drag-sort-tree/index.js +1 -2
- package/lib/components/filter/index.js +1 -2
- package/lib/components/form/index.js +1 -4
- package/lib/components/iconSelect/index.js +1 -2
- package/lib/components/iconSelect/utils.js +1 -2
- package/lib/components/lowCodePage/index.js +1 -2
- package/lib/components/pisell-config-provider/context.js +1 -1
- package/lib/components/pisellAnchor/index.js +5 -10
- package/lib/components/pisellCheckboxGroup/index.js +1 -2
- package/lib/components/pisellDatePicker/datePickerCpt.js +1 -2
- package/lib/components/pisellDraggable/index.js +3 -6
- package/lib/components/pisellQRScanner/index.js +9 -18
- package/lib/components/productCard/components/AmountFooter/index.js +1 -2
- package/lib/components/productCard/components/MultiDay/index.js +1 -2
- package/lib/components/productCard/utils.js +1 -2
- package/lib/components/profileMenu/index.js +1 -2
- package/lib/components/select/index.js +2 -4
- package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.js +1 -2
- package/lib/components/table/Actions/component/ExportImport/index.js +1 -2
- package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
- package/lib/components/table/Table/fields/oldRangePicker/filterUtil/index.js +4 -8
- package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
- package/lib/components/table/Table/fields/utils/index.js +1 -2
- package/lib/components/table/Table/utils.js +10 -17
- package/lib/components/table/hooks/useTransColumns.js +1 -2
- package/lib/components/table/utils.js +7 -7
- package/lib/components/tabs/index.js +59 -62
- package/lib/components/versionModal/index.js +2 -4
- package/lib/components/versionSelect/index.js +6 -12
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +2 -4
- package/lib/components/walletCard/index.js +4 -8
- package/lib/hooks/useCssVariables.js +1 -2
- package/lib/hooks/useResponsive.js +3 -6
- package/package.json +3 -3
- package/dist/umd/materials.min.css +0 -1
- package/dist/umd/materials.min.js +0 -1
- package/dist/umd/static/DotsSix.57d66266.svg +0 -1
- package/dist/umd/static/arrow-left.e542294f.svg +0 -1
- package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
- package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
- package/dist/umd/static/help-circle.31c9be40.svg +0 -1
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
|
@@ -61,8 +61,7 @@ var SelectBase = (0, import_react.forwardRef)((props, ref) => {
|
|
|
61
61
|
const [state, setState] = (0, import_ahooks.useControllableValue)(props);
|
|
62
62
|
const [searchValue, setSearchValue] = (0, import_react.useState)("");
|
|
63
63
|
const filteredOptions = (0, import_react.useMemo)(() => {
|
|
64
|
-
if (!searchValue)
|
|
65
|
-
return options;
|
|
64
|
+
if (!searchValue) return options;
|
|
66
65
|
return (options || []).filter(
|
|
67
66
|
(option) => {
|
|
68
67
|
var _a;
|
|
@@ -99,8 +98,7 @@ var SelectBase = (0, import_react.forwardRef)((props, ref) => {
|
|
|
99
98
|
}, [mode, selectAll, isShowDropdown]);
|
|
100
99
|
const checkboxChecked = (0, import_react.useMemo)(() => {
|
|
101
100
|
var _a, _b, _c;
|
|
102
|
-
if (mode !== "multiple")
|
|
103
|
-
return false;
|
|
101
|
+
if (mode !== "multiple") return false;
|
|
104
102
|
return (state == null ? void 0 : state.length) === (filteredOptions == null ? void 0 : filteredOptions.length) && ((_a = state == null ? void 0 : state.sort()) == null ? void 0 : _a.join("")) === ((_c = (_b = filteredOptions == null ? void 0 : filteredOptions.map((item) => item.value)) == null ? void 0 : _b.sort()) == null ? void 0 : _c.join(""));
|
|
105
103
|
}, [state, filteredOptions]);
|
|
106
104
|
const dropdownRender = (0, import_react.useCallback)(
|
|
@@ -92,8 +92,7 @@ var PopoverContent = (props) => {
|
|
|
92
92
|
return `${item.key}-${(_a = item.dataIndex) == null ? void 0 : _a.toString()}`;
|
|
93
93
|
},
|
|
94
94
|
onChange: (list) => {
|
|
95
|
-
if (!(0, import_utils.isFixedOrderValid)(list))
|
|
96
|
-
return;
|
|
95
|
+
if (!(0, import_utils.isFixedOrderValid)(list)) return;
|
|
97
96
|
onChange == null ? void 0 : onChange(
|
|
98
97
|
list.map((item, index) => ({
|
|
99
98
|
...item,
|
|
@@ -96,8 +96,7 @@ var ExportImport = ({ exportImport }) => {
|
|
|
96
96
|
return types.includes(value) ? 900 : import_status.defaultOptions.importValue ? 600 : 400;
|
|
97
97
|
}, [value]);
|
|
98
98
|
const _title = (0, import_react.useMemo)(() => {
|
|
99
|
-
if (!value)
|
|
100
|
-
return null;
|
|
99
|
+
if (!value) return null;
|
|
101
100
|
const types = import_status.defaultOptions.okShowButtonTypes;
|
|
102
101
|
const lang = (0, import_locale.getCurrentLocale)();
|
|
103
102
|
const isEn = lang === "en-US" || lang === "en";
|
|
@@ -40,17 +40,14 @@ function filterUtil_default({
|
|
|
40
40
|
key,
|
|
41
41
|
item
|
|
42
42
|
}) {
|
|
43
|
-
if (!value)
|
|
44
|
-
return true;
|
|
43
|
+
if (!value) return true;
|
|
45
44
|
const valueDayjsObj = (0, import_dayjs.default)(value);
|
|
46
45
|
if (!valueDayjsObj.isValid()) {
|
|
47
46
|
return true;
|
|
48
47
|
}
|
|
49
48
|
const dataValue = (0, import_utils2.getValueByKeys)(item, key);
|
|
50
|
-
if ((0, import_utils.isUndefined)(dataValue))
|
|
51
|
-
return false;
|
|
49
|
+
if ((0, import_utils.isUndefined)(dataValue)) return false;
|
|
52
50
|
const dataDayjsObj = (0, import_dayjs.default)(dataValue);
|
|
53
|
-
if (!dataDayjsObj.isValid())
|
|
54
|
-
return false;
|
|
51
|
+
if (!dataDayjsObj.isValid()) return false;
|
|
55
52
|
return dataDayjsObj.isSame(valueDayjsObj, "day");
|
|
56
53
|
}
|
|
@@ -43,19 +43,15 @@ function filterUtil_default({
|
|
|
43
43
|
key,
|
|
44
44
|
item
|
|
45
45
|
}) {
|
|
46
|
-
if (!value)
|
|
47
|
-
|
|
48
|
-
if ((value == null ? void 0 : value.length) !== 2)
|
|
49
|
-
return true;
|
|
46
|
+
if (!value) return true;
|
|
47
|
+
if ((value == null ? void 0 : value.length) !== 2) return true;
|
|
50
48
|
const valueDayjsObj = value.map((item2) => (0, import_dayjs.default)(item2 || ""));
|
|
51
49
|
if (valueDayjsObj.some((item2) => !item2.isValid())) {
|
|
52
50
|
return true;
|
|
53
51
|
}
|
|
54
52
|
const dataValue = (0, import_utils2.getValueByKeys)(item, key);
|
|
55
|
-
if ((0, import_utils.isUndefined)(dataValue))
|
|
56
|
-
return false;
|
|
53
|
+
if ((0, import_utils.isUndefined)(dataValue)) return false;
|
|
57
54
|
const dataDayjsObj = (0, import_dayjs.default)(dataValue);
|
|
58
|
-
if (!dataDayjsObj.isValid())
|
|
59
|
-
return false;
|
|
55
|
+
if (!dataDayjsObj.isValid()) return false;
|
|
60
56
|
return isDateInRange(dataDayjsObj, valueDayjsObj);
|
|
61
57
|
}
|
|
@@ -43,19 +43,15 @@ function filterUtil_default({
|
|
|
43
43
|
key,
|
|
44
44
|
item
|
|
45
45
|
}) {
|
|
46
|
-
if (!value)
|
|
47
|
-
|
|
48
|
-
if ((value == null ? void 0 : value.length) !== 2)
|
|
49
|
-
return true;
|
|
46
|
+
if (!value) return true;
|
|
47
|
+
if ((value == null ? void 0 : value.length) !== 2) return true;
|
|
50
48
|
const valueDayjsObj = value.map((item2) => (0, import_dayjs.default)(item2 || ""));
|
|
51
49
|
if (valueDayjsObj.some((item2) => !item2.isValid())) {
|
|
52
50
|
return true;
|
|
53
51
|
}
|
|
54
52
|
const dataValue = (0, import_utils2.getValueByKeys)(item, key);
|
|
55
|
-
if ((0, import_utils.isUndefined)(dataValue))
|
|
56
|
-
return false;
|
|
53
|
+
if ((0, import_utils.isUndefined)(dataValue)) return false;
|
|
57
54
|
const dataDayjsObj = (0, import_dayjs.default)(dataValue);
|
|
58
|
-
if (!dataDayjsObj.isValid())
|
|
59
|
-
return false;
|
|
55
|
+
if (!dataDayjsObj.isValid()) return false;
|
|
60
56
|
return isDateInRange(dataDayjsObj, valueDayjsObj);
|
|
61
57
|
}
|
|
@@ -25,8 +25,7 @@ module.exports = __toCommonJS(utils_exports);
|
|
|
25
25
|
var import_utils = require("@pisell/utils");
|
|
26
26
|
var getValueByKeys = (obj, keys) => {
|
|
27
27
|
var _a;
|
|
28
|
-
if (!keys)
|
|
29
|
-
return keys;
|
|
28
|
+
if (!keys) return keys;
|
|
30
29
|
if ((0, import_utils.isString)(keys)) {
|
|
31
30
|
keys = [keys];
|
|
32
31
|
}
|
|
@@ -92,8 +92,7 @@ var calcFilterSort = ({ dataSource, filter, sort, columns }) => {
|
|
|
92
92
|
const newDataSource = dataSource.filter((item) => {
|
|
93
93
|
return Object.keys(filter || {}).every((f) => {
|
|
94
94
|
var _a, _b;
|
|
95
|
-
if (!((_a = filter[f]) == null ? void 0 : _a.length))
|
|
96
|
-
return true;
|
|
95
|
+
if (!((_a = filter[f]) == null ? void 0 : _a.length)) return true;
|
|
97
96
|
const columnDetail = columnMap[f];
|
|
98
97
|
if (((_b = columnDetail.filters) == null ? void 0 : _b.length) > 0) {
|
|
99
98
|
return filterFnMap["filters"](
|
|
@@ -132,8 +131,7 @@ var calcFilterSort = ({ dataSource, filter, sort, columns }) => {
|
|
|
132
131
|
return newDataSource;
|
|
133
132
|
};
|
|
134
133
|
var getColumnsFromLocalStorage = (tableId, currentViewMode) => {
|
|
135
|
-
if (!tableId)
|
|
136
|
-
return {};
|
|
134
|
+
if (!tableId) return {};
|
|
137
135
|
const { column_setting } = getTableSettingByCurrentViewMode(tableId, currentViewMode) || {};
|
|
138
136
|
const col = column_setting;
|
|
139
137
|
if (col) {
|
|
@@ -153,11 +151,10 @@ var mergeColumnSetting = ({
|
|
|
153
151
|
tableId,
|
|
154
152
|
currentViewMode
|
|
155
153
|
}) => {
|
|
156
|
-
if (!tableId)
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}));
|
|
154
|
+
if (!tableId) return columns.map((item) => ({
|
|
155
|
+
...item,
|
|
156
|
+
isShow: true
|
|
157
|
+
}));
|
|
161
158
|
const colKeyMap = getColumnsFromLocalStorage(tableId, currentViewMode);
|
|
162
159
|
const newColumns = columns.map((item, index) => {
|
|
163
160
|
const col = colKeyMap[item.key];
|
|
@@ -251,8 +248,7 @@ var setTableSettingToLocalStorage = ({
|
|
|
251
248
|
currentViewMode,
|
|
252
249
|
currentSettingHash
|
|
253
250
|
}) => {
|
|
254
|
-
if (!tableId)
|
|
255
|
-
return;
|
|
251
|
+
if (!tableId) return;
|
|
256
252
|
const originData = localStorage.getItem(getTableKey(tableId));
|
|
257
253
|
let newData = {};
|
|
258
254
|
if (originData && (0, import_utils.isJson)(originData)) {
|
|
@@ -278,13 +274,11 @@ var setTableSettingToLocalStorage = ({
|
|
|
278
274
|
};
|
|
279
275
|
};
|
|
280
276
|
var clearTableSettingToLocalStorage = (tableId) => {
|
|
281
|
-
if (!tableId)
|
|
282
|
-
return;
|
|
277
|
+
if (!tableId) return;
|
|
283
278
|
localStorage.removeItem(getTableKey(tableId));
|
|
284
279
|
};
|
|
285
280
|
var getTableSettingFromLocalStorage = (tableId) => {
|
|
286
|
-
if (!tableId)
|
|
287
|
-
return {};
|
|
281
|
+
if (!tableId) return {};
|
|
288
282
|
const originData = localStorage.getItem(getTableKey(tableId));
|
|
289
283
|
if (originData && (0, import_utils.isJson)(originData)) {
|
|
290
284
|
return JSON.parse(originData);
|
|
@@ -306,8 +300,7 @@ var setFormValuesToLocalStorage = ({
|
|
|
306
300
|
currentViewMode,
|
|
307
301
|
currentSettingHash
|
|
308
302
|
}) => {
|
|
309
|
-
if (!tableId)
|
|
310
|
-
return;
|
|
303
|
+
if (!tableId) return;
|
|
311
304
|
let obj = {};
|
|
312
305
|
keys == null ? void 0 : keys.forEach((key) => {
|
|
313
306
|
obj[key] = allValues == null ? void 0 : allValues[key];
|
|
@@ -79,8 +79,7 @@ var useTransColumns = (params) => {
|
|
|
79
79
|
const groupField = (_a = group == null ? void 0 : group[0]) == null ? void 0 : _a.field;
|
|
80
80
|
const groupFieldRender = (0, import_react.useCallback)(
|
|
81
81
|
(text, record) => {
|
|
82
|
-
if (!groupField)
|
|
83
|
-
return void 0;
|
|
82
|
+
if (!groupField) return void 0;
|
|
84
83
|
const { children } = record;
|
|
85
84
|
const fieldCol = columns.find(
|
|
86
85
|
(item) => `${item.dataIndex}` === groupField
|
|
@@ -23,14 +23,14 @@ __export(utils_exports, {
|
|
|
23
23
|
});
|
|
24
24
|
module.exports = __toCommonJS(utils_exports);
|
|
25
25
|
var Request = class {
|
|
26
|
+
request = {
|
|
27
|
+
get: void 0,
|
|
28
|
+
post: void 0,
|
|
29
|
+
put: void 0,
|
|
30
|
+
remove: void 0,
|
|
31
|
+
custom: void 0
|
|
32
|
+
};
|
|
26
33
|
constructor() {
|
|
27
|
-
this.request = {
|
|
28
|
-
get: void 0,
|
|
29
|
-
post: void 0,
|
|
30
|
-
put: void 0,
|
|
31
|
-
remove: void 0,
|
|
32
|
-
custom: void 0
|
|
33
|
-
};
|
|
34
34
|
}
|
|
35
35
|
setRequest(val) {
|
|
36
36
|
this.request = val;
|
|
@@ -40,71 +40,68 @@ var import_classnames = __toESM(require("classnames"));
|
|
|
40
40
|
var import_index = require("./index.less");
|
|
41
41
|
var prefix = "pisell-lowcode-";
|
|
42
42
|
var Tabs = class extends import_react.Component {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
activeKey: this.props.activeKey ?? this.props.defaultActiveKey
|
|
47
|
-
};
|
|
48
|
-
this._handleChange = (key) => {
|
|
49
|
-
this.setActiveKey(key);
|
|
50
|
-
};
|
|
51
|
-
// 编辑器里可以通过 this.$(refId).setActiveKey(key) 调用
|
|
52
|
-
this.setActiveKey = (key) => {
|
|
53
|
-
const { onChange = () => {
|
|
54
|
-
} } = this.props;
|
|
55
|
-
this.setState({ activeKey: key });
|
|
56
|
-
onChange(key);
|
|
57
|
-
};
|
|
58
|
-
// 编辑器里可以通过 this.$(refId).getActiveKey() 调用
|
|
59
|
-
this.getActiveKey = () => {
|
|
60
|
-
return this.state.activeKey;
|
|
61
|
-
};
|
|
62
|
-
this.renderIconLabelTabBar = (props, DefaultTabBar) => {
|
|
63
|
-
var _a;
|
|
64
|
-
const { items, sidebarWidth } = this.props;
|
|
65
|
-
let wrapStyle = {
|
|
66
|
-
gap: props.tabBarGutter
|
|
67
|
-
};
|
|
68
|
-
if (["left", "right"].includes(props.tabPosition)) {
|
|
69
|
-
wrapStyle = {
|
|
70
|
-
...wrapStyle,
|
|
71
|
-
width: sidebarWidth || 130
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
75
|
-
"div",
|
|
76
|
-
{
|
|
77
|
-
className: (0, import_classnames.default)(
|
|
78
|
-
"pisell-lowcode-tabs-nav",
|
|
79
|
-
`${prefix}tab-bar-wrap`,
|
|
80
|
-
`${prefix}tab-bar-wrap-${props.tabPosition}`,
|
|
81
|
-
(_a = this.props) == null ? void 0 : _a.className
|
|
82
|
-
),
|
|
83
|
-
style: wrapStyle
|
|
84
|
-
},
|
|
85
|
-
this.filterHiddenTabs(items).map((item) => {
|
|
86
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
87
|
-
"div",
|
|
88
|
-
{
|
|
89
|
-
className: (0, import_classnames.default)(`${prefix}tab-bar-item`, {
|
|
90
|
-
[`${prefix}tab-bar-item-active`]: item.key === props.activeKey
|
|
91
|
-
}),
|
|
92
|
-
key: item.key,
|
|
93
|
-
onClick: (e) => props.onTabClick(item.key, e)
|
|
94
|
-
},
|
|
95
|
-
/* @__PURE__ */ import_react.default.createElement("span", { className: `${prefix}tab-bar-label` }, item.label)
|
|
96
|
-
);
|
|
97
|
-
}),
|
|
98
|
-
props.extra
|
|
99
|
-
);
|
|
100
|
-
};
|
|
101
|
-
this.filterHiddenTabs = (tabs) => {
|
|
102
|
-
return tabs.filter((item) => !item.hidden);
|
|
103
|
-
};
|
|
104
|
-
}
|
|
43
|
+
state = {
|
|
44
|
+
activeKey: this.props.activeKey ?? this.props.defaultActiveKey
|
|
45
|
+
};
|
|
105
46
|
componentDidMount() {
|
|
106
47
|
document.body.id = "body";
|
|
107
48
|
}
|
|
49
|
+
_handleChange = (key) => {
|
|
50
|
+
this.setActiveKey(key);
|
|
51
|
+
};
|
|
52
|
+
// 编辑器里可以通过 this.$(refId).setActiveKey(key) 调用
|
|
53
|
+
setActiveKey = (key) => {
|
|
54
|
+
const { onChange = () => {
|
|
55
|
+
} } = this.props;
|
|
56
|
+
this.setState({ activeKey: key });
|
|
57
|
+
onChange(key);
|
|
58
|
+
};
|
|
59
|
+
// 编辑器里可以通过 this.$(refId).getActiveKey() 调用
|
|
60
|
+
getActiveKey = () => {
|
|
61
|
+
return this.state.activeKey;
|
|
62
|
+
};
|
|
63
|
+
renderIconLabelTabBar = (props, DefaultTabBar) => {
|
|
64
|
+
var _a;
|
|
65
|
+
const { items, sidebarWidth } = this.props;
|
|
66
|
+
let wrapStyle = {
|
|
67
|
+
gap: props.tabBarGutter
|
|
68
|
+
};
|
|
69
|
+
if (["left", "right"].includes(props.tabPosition)) {
|
|
70
|
+
wrapStyle = {
|
|
71
|
+
...wrapStyle,
|
|
72
|
+
width: sidebarWidth || 130
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
76
|
+
"div",
|
|
77
|
+
{
|
|
78
|
+
className: (0, import_classnames.default)(
|
|
79
|
+
"pisell-lowcode-tabs-nav",
|
|
80
|
+
`${prefix}tab-bar-wrap`,
|
|
81
|
+
`${prefix}tab-bar-wrap-${props.tabPosition}`,
|
|
82
|
+
(_a = this.props) == null ? void 0 : _a.className
|
|
83
|
+
),
|
|
84
|
+
style: wrapStyle
|
|
85
|
+
},
|
|
86
|
+
this.filterHiddenTabs(items).map((item) => {
|
|
87
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
88
|
+
"div",
|
|
89
|
+
{
|
|
90
|
+
className: (0, import_classnames.default)(`${prefix}tab-bar-item`, {
|
|
91
|
+
[`${prefix}tab-bar-item-active`]: item.key === props.activeKey
|
|
92
|
+
}),
|
|
93
|
+
key: item.key,
|
|
94
|
+
onClick: (e) => props.onTabClick(item.key, e)
|
|
95
|
+
},
|
|
96
|
+
/* @__PURE__ */ import_react.default.createElement("span", { className: `${prefix}tab-bar-label` }, item.label)
|
|
97
|
+
);
|
|
98
|
+
}),
|
|
99
|
+
props.extra
|
|
100
|
+
);
|
|
101
|
+
};
|
|
102
|
+
filterHiddenTabs = (tabs) => {
|
|
103
|
+
return tabs.filter((item) => !item.hidden);
|
|
104
|
+
};
|
|
108
105
|
render() {
|
|
109
106
|
const { props } = this;
|
|
110
107
|
const { activeKey } = this.state;
|
|
@@ -50,10 +50,8 @@ var parseVersion = (version) => {
|
|
|
50
50
|
var isVersionValid = (customVersion, currentVersion) => {
|
|
51
51
|
const [cMajor, cMinor, cPatch] = parseVersion(customVersion);
|
|
52
52
|
const [liveMajor, liveMinor, livePatch] = parseVersion(currentVersion);
|
|
53
|
-
if (cMajor > liveMajor)
|
|
54
|
-
|
|
55
|
-
if (cMajor === liveMajor && cMinor > liveMinor)
|
|
56
|
-
return true;
|
|
53
|
+
if (cMajor > liveMajor) return true;
|
|
54
|
+
if (cMajor === liveMajor && cMinor > liveMinor) return true;
|
|
57
55
|
if (cMajor === liveMajor && cMinor === liveMinor && cPatch > livePatch)
|
|
58
56
|
return true;
|
|
59
57
|
return false;
|
|
@@ -39,21 +39,15 @@ var import_pisellTags = __toESM(require("../pisellTags"));
|
|
|
39
39
|
var import_locales = require("../../locales");
|
|
40
40
|
var import_index = require("./index.less");
|
|
41
41
|
var getStatusColor = (status) => {
|
|
42
|
-
if (status === "live")
|
|
43
|
-
|
|
44
|
-
if (status === "
|
|
45
|
-
return "gray";
|
|
46
|
-
if (status === "deprecated")
|
|
47
|
-
return "error";
|
|
42
|
+
if (status === "live") return "success";
|
|
43
|
+
if (status === "draft") return "gray";
|
|
44
|
+
if (status === "deprecated") return "error";
|
|
48
45
|
return "gray";
|
|
49
46
|
};
|
|
50
47
|
var getStatusText = (status) => {
|
|
51
|
-
if (status === "live")
|
|
52
|
-
|
|
53
|
-
if (status === "
|
|
54
|
-
return (0, import_locales.getText)("pisell-lowcode-app-version-control-draft");
|
|
55
|
-
if (status === "deprecated")
|
|
56
|
-
return (0, import_locales.getText)("pisell-lowcode-app-version-control-deprecated");
|
|
48
|
+
if (status === "live") return (0, import_locales.getText)("pisell-lowcode-app-version-control-live");
|
|
49
|
+
if (status === "draft") return (0, import_locales.getText)("pisell-lowcode-app-version-control-draft");
|
|
50
|
+
if (status === "deprecated") return (0, import_locales.getText)("pisell-lowcode-app-version-control-deprecated");
|
|
57
51
|
};
|
|
58
52
|
var VersionSelect = (props) => {
|
|
59
53
|
const { versions, value, onChange, ...rest } = props;
|
|
@@ -182,14 +182,12 @@ var BaseNumberKeyboard = (props) => {
|
|
|
182
182
|
};
|
|
183
183
|
const handleChangeValue = (val) => {
|
|
184
184
|
const detail = checkValue(val);
|
|
185
|
-
if (detail)
|
|
186
|
-
return;
|
|
185
|
+
if (detail) return;
|
|
187
186
|
setValue(val);
|
|
188
187
|
};
|
|
189
188
|
const actions = {
|
|
190
189
|
".": (val) => {
|
|
191
|
-
if (value.includes("."))
|
|
192
|
-
return;
|
|
190
|
+
if (value.includes(".")) return;
|
|
193
191
|
actions.default(val);
|
|
194
192
|
},
|
|
195
193
|
delete: () => {
|
|
@@ -84,12 +84,9 @@ var DEFAULT_PROPS = {
|
|
|
84
84
|
]
|
|
85
85
|
};
|
|
86
86
|
var toBooleanValue = (value) => {
|
|
87
|
-
if (value === void 0)
|
|
88
|
-
|
|
89
|
-
if (value ===
|
|
90
|
-
return false;
|
|
91
|
-
if (value === 1 || value === "1")
|
|
92
|
-
return true;
|
|
87
|
+
if (value === void 0) return false;
|
|
88
|
+
if (value === 0 || value === "0") return false;
|
|
89
|
+
if (value === 1 || value === "1") return true;
|
|
93
90
|
return !!value;
|
|
94
91
|
};
|
|
95
92
|
var useCodeModal = (cardNo, onCodeClick) => {
|
|
@@ -176,8 +173,7 @@ var CardContent = ({ items, symbol }) => {
|
|
|
176
173
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-list" }, (items || []).map((item, index) => /* @__PURE__ */ import_react.default.createElement(CardItem, { key: index, item, symbol })));
|
|
177
174
|
};
|
|
178
175
|
var CodeDisplay = ({ codeType, cardNo }) => {
|
|
179
|
-
if (!cardNo)
|
|
180
|
-
return null;
|
|
176
|
+
if (!cardNo) return null;
|
|
181
177
|
return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-code" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-code-qrcode" }, codeType === "barCode" ? /* @__PURE__ */ import_react.default.createElement(import_react_barcode.default, { value: cardNo, displayValue: false, height: 114, width: 3 }) : /* @__PURE__ */ import_react.default.createElement(import_antd.QRCode, { size: 250, value: cardNo, bordered: false }), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-code-qrcode-value" }, cardNo)));
|
|
182
178
|
};
|
|
183
179
|
var blockEvent = (e) => {
|
|
@@ -26,8 +26,7 @@ var import_react = require("react");
|
|
|
26
26
|
var useCssVariables = (props) => {
|
|
27
27
|
const { variables, ref } = props;
|
|
28
28
|
(0, import_react.useEffect)(() => {
|
|
29
|
-
if (!ref)
|
|
30
|
-
return;
|
|
29
|
+
if (!ref) return;
|
|
31
30
|
Object.entries(variables).forEach(([key, value]) => {
|
|
32
31
|
ref.current.style.setProperty(key, value);
|
|
33
32
|
});
|
|
@@ -35,8 +35,7 @@ var responsiveConfig = {
|
|
|
35
35
|
function handleResize() {
|
|
36
36
|
const oldInfo = info;
|
|
37
37
|
calculate();
|
|
38
|
-
if (oldInfo === info)
|
|
39
|
-
return;
|
|
38
|
+
if (oldInfo === info) return;
|
|
40
39
|
for (const subscriber of subscribers) {
|
|
41
40
|
subscriber();
|
|
42
41
|
}
|
|
@@ -58,8 +57,7 @@ function calculate() {
|
|
|
58
57
|
}
|
|
59
58
|
function configResponsive(config) {
|
|
60
59
|
responsiveConfig = config;
|
|
61
|
-
if (info)
|
|
62
|
-
calculate();
|
|
60
|
+
if (info) calculate();
|
|
63
61
|
}
|
|
64
62
|
function useResponsive() {
|
|
65
63
|
if (import_utils.isBrowser && !listening) {
|
|
@@ -70,8 +68,7 @@ function useResponsive() {
|
|
|
70
68
|
}
|
|
71
69
|
const [state, setState] = (0, import_react.useState)(info);
|
|
72
70
|
(0, import_react.useEffect)(() => {
|
|
73
|
-
if (!import_utils.isBrowser)
|
|
74
|
-
return;
|
|
71
|
+
if (!import_utils.isBrowser) return;
|
|
75
72
|
if (!listening) {
|
|
76
73
|
window.addEventListener("resize", handleResize);
|
|
77
74
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.716",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"react-barcode": "^1.5.3",
|
|
73
73
|
"vod-js-sdk-v6": "^1.4.11",
|
|
74
74
|
"@pisell/date-picker": "1.0.115",
|
|
75
|
-
"@pisell/
|
|
76
|
-
"@pisell/
|
|
75
|
+
"@pisell/utils": "1.0.43",
|
|
76
|
+
"@pisell/icon": "0.0.10"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
79
|
"react": "^18.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.materials-grid{display:flex;flex-direction:column;height:100%;width:100%}.materials-grid-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-header .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-actions .left-wrap{align-items:center;display:flex;flex:1 1}.materials-grid-actions .left-wrap .pisell-lowcode-form-item{margin-bottom:0}.materials-grid-actions .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions .right-wrap .icon{cursor:pointer;transition:.2s}.materials-grid-actions .right-wrap .icon:hover{color:var(--theme-color)}.materials-grid-actions .right-wrap .button{align-items:center;display:flex;font-size:12px;height:28px;justify-content:center}.filter-dropdown-wrap{display:flex;flex-direction:column;max-height:400px;max-width:calc(100vw - 24px);min-width:250px;padding:4px;width:400px}.filter-dropdown-wrap .filter-dropdown-wrap-content{flex:1 1;overflow:auto}.filter-dropdown-wrap .filter-dropdown-drag-item{align-items:center;background:#f9fafb;background:var(--gray-50,#f9fafb);border-radius:8px;display:flex;margin-bottom:12px;padding:8px 12px 12px}.filter-dropdown-wrap .filter-dropdown-drag-item .dots-six-icon{color:#98a2b3;cursor:pointer;font-size:24px}.filter-dropdown-wrap .filter-dropdown-drag-item .pisell-lowcode-form-item{margin-bottom:0}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right{flex:1 1;margin-left:16px}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right .filter-dropdown-drag-item-title{color:#777;color:var(--text-text-2,#777);font-size:14px;font-style:normal;font-weight:600;line-height:20px}.filter-dropdown-container-wrap{border-bottom:1px solid #e2e2e2;border-bottom:1px solid var(--surface-surface-4,#e2e2e2);margin-bottom:20px;min-height:70px}.filter-dropdown-container-wrap:last-child{border:none}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap{align-items:center;color:#919191;color:var(--text-text-3,#919191);display:flex;font-size:16px;font-style:normal;font-weight:600;line-height:22px;margin-bottom:12px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-title{color:#101828;color:var(--gray-900,#101828);font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-right:6px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-icon-help{color:#98a2b3;color:var(--gray-400,#98a2b3);font-size:20px}.filter-dropdown-container-wrap .filter-dropdown-container-filter-wrap{min-height:80px}.materials-sort-list-empty{color:#5a5a5a;display:block;padding-top:22px;text-align:center}.materials-grid-summary{margin-bottom:16px}.grid-view-table-wrap{position:relative}.materials-grid-paginator{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:center;margin:0!important;padding:0 20px;width:100%}.materials-grid-paginator .pisell-lowcode-pagination-total-text{color:#667085;color:var(--gray-500,#667085);font-size:14px;font-style:normal;font-weight:500;margin-right:auto}.materials-grid-paginator .pisell-lowcode-pagination-item{border:1px solid #d0d5dd;border-radius:0;border-right:0;margin:0;position:relative}.materials-grid-paginator .pisell-lowcode-pagination-jump-next,.materials-grid-paginator .pisell-lowcode-pagination-jump-prev{border:1px solid #d0d5dd;border-radius:0;border-right:none;margin:0}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover .pisell-lowcode-pagination-item-link-icon{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active:hover{border-color:#d0d5dd!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active{background-color:rgba(0,0,0,.06)}.materials-grid-paginator .pisell-lowcode-pagination-item-active a{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-prev{align-items:center;border:1px solid #d0d5dd;border-radius:8px 0 0 8px;border-right:none;display:flex;justify-content:center;margin:0;min-width:auto}.materials-grid-paginator .pisell-lowcode-pagination-next{align-items:center;border:1px solid #d0d5dd;border-radius:0 8px 8px 0;display:flex;justify-content:center;margin:0;min-width:auto}.paginator-page-btn{align-items:center;border-radius:4px 4px 4px 4px;color:#344054;color:var(--gray-700,#344054);cursor:pointer;display:flex;font-size:12px;font-weight:400;justify-content:center;padding:10px 16px;transition:.2s;-ms-user-select:none;user-select:none}.paginator-page-btn .paginator-page-btn-text{font-weight:600}.paginator-page-btn .paginator-page-btn-left-icon,.paginator-page-btn .paginator-page-btn-right-icon{font-size:20px}.paginator-page-btn .paginator-page-btn-left-icon{margin-right:8px}.paginator-page-btn .paginator-page-btn-right-icon{margin-left:8px}.paginator-page-btn.left{margin-right:auto}.paginator-page-btn.left .icon{font-size:18px;margin-right:8px}.paginator-page-btn.right{margin-left:auto}.paginator-page-btn.right .icon{font-size:18px;margin-left:8px;transform:rotate(180deg)}.materials-grid-paginator-mini{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:space-between;margin:0!important;overflow:hidden;padding:0 20px;width:100%}.materials-grid-paginator-mini .paginator-page-btn{padding:8px}.materials-grid-paginator-mini .materials-grid-paginator-center{align-items:center;display:flex;gap:4px;justify-content:center}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-text{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:400}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-value{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:500}.materials-grid-paginator-mini .pisell-lowcode-pagination-next,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev{border:1px solid #d0d5dd;border-radius:8px;margin:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-left-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-left-icon{margin-right:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-right-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-right-icon{margin-left:0}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.materials-grid-table-header-cell{align-items:center;display:flex;height:44px;padding:0 14px}.materials-grid-table-header-cell .field-icon{color:#777;font-size:18px}.materials-grid-table-header-cell .materials-grid-table-header-cell-content{color:#1b1b1b;flex:auto;font-size:14px;font-weight:600;overflow:hidden;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.materials-grid-table-header-cell .actions{align-items:center;display:flex;gap:8px}.materials-grid-table-header-cell .actions .action{color:#ababab;cursor:pointer;font-size:14px}.editable-cell-value-wrap{height:100%;width:100%}.materials-grid-table-cell{height:1px;padding:0!important}.cell-provider{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:100%;justify-content:center;padding:12px;position:relative;width:100%}.cell-provider.focus{box-shadow:var(--theme-color) 0 0 0 1px!important}
|