@pisell/materials 1.0.883 → 1.0.885
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/es/components/appVersionControl/index.d.ts +5 -0
- package/es/components/appVersionControl/index.d.ts.map +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts.map +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/BaseForm.js +6 -3
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +57 -0
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts.map +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts.map +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts.map +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts.map +1 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +11 -0
- package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts.map +1 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +11 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts.map +1 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts.map +1 -0
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +19 -0
- package/es/components/drag-sort-tree/TreeItem/index.d.ts.map +1 -0
- package/es/components/drag-sort-tree/index.d.ts +5 -0
- package/es/components/drag-sort-tree/index.d.ts.map +1 -0
- package/es/components/iconfont/index.d.ts +9 -0
- package/es/components/iconfont/index.d.ts.map +1 -0
- package/es/components/login-and-register/index.d.ts +83 -0
- package/es/components/login-and-register/index.d.ts.map +1 -0
- package/es/components/pisell-config-provider/index.d.ts +13 -0
- package/es/components/pisell-config-provider/index.d.ts.map +1 -0
- package/es/components/pisellAdjustPrice/index.d.ts +10 -0
- package/es/components/pisellAdjustPrice/index.d.ts.map +1 -0
- package/es/components/pisellEmpty/index.d.ts +20 -0
- package/es/components/pisellEmpty/index.d.ts.map +1 -0
- package/es/components/pisellGoodPassCard/index.d.ts +50 -0
- package/es/components/pisellGoodPassCard/index.d.ts.map +1 -0
- package/es/components/pisellToast/index.d.ts +17 -0
- package/es/components/pisellToast/index.d.ts.map +1 -0
- package/es/components/productCard/components/Action/index.d.ts +4 -0
- package/es/components/productCard/components/Action/index.d.ts.map +1 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts.map +1 -0
- package/es/components/productCard/components/Header/index.d.ts +4 -0
- package/es/components/productCard/components/Header/index.d.ts.map +1 -0
- package/es/components/productCard/components/Sales/index.d.ts +4 -0
- package/es/components/productCard/components/Sales/index.d.ts.map +1 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts.map +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +14 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts.map +1 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts.map +1 -0
- package/es/components/productCard/components/Time/index.d.ts +4 -0
- package/es/components/productCard/components/Time/index.d.ts.map +1 -0
- package/es/components/productCard/index.d.ts +6 -0
- package/es/components/productCard/index.d.ts.map +1 -0
- package/es/components/productCard/locales.d.ts +85 -0
- package/es/components/productCard/locales.d.ts.map +1 -0
- package/es/components/table/Actions/component/ExportImport/index.d.ts +8 -0
- package/es/components/table/Actions/component/ExportImport/index.d.ts.map +1 -0
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts +15 -0
- package/es/components/table/Gallery/components/GalleryItem/index.d.ts.map +1 -0
- package/es/components/table/Gallery/index.d.ts +6 -0
- package/es/components/table/Gallery/index.d.ts.map +1 -0
- package/es/components/table/Table/index.d.ts +5 -0
- package/es/components/table/Table/index.d.ts.map +1 -0
- package/es/components/table/Table/utils.d.ts +162 -0
- package/es/components/table/Table/utils.d.ts.map +1 -0
- package/es/components/table/hooks/useTableSetting.d.ts +23 -0
- package/es/components/table/hooks/useTableSetting.d.ts.map +1 -0
- package/es/components/table/hooks/useTransDataSource.d.ts +12 -0
- package/es/components/table/hooks/useTransDataSource.d.ts.map +1 -0
- package/es/components/table/types.d.ts +252 -0
- package/es/components/table/types.d.ts.map +1 -0
- package/es/components/translation/index.d.ts +15 -0
- package/es/components/translation/index.d.ts.map +1 -0
- package/es/components/versionModal/index.d.ts +24 -0
- package/es/components/versionModal/index.d.ts.map +1 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +23 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts.map +1 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +20 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts.map +1 -0
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +22 -0
- package/es/components/virtual-keyboard/Keyboard/index.d.ts.map +1 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +14 -0
- package/es/components/virtual-keyboard/Number/index.d.ts.map +1 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +12 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts.map +1 -0
- package/es/components/virtual-keyboard/index.d.ts +15 -0
- package/es/components/virtual-keyboard/index.d.ts.map +1 -0
- package/es/components/walletCard/index.d.ts +68 -0
- package/es/components/walletCard/index.d.ts.map +1 -0
- package/es/index.d.ts +142 -0
- package/es/index.d.ts.map +1 -0
- package/es/locales/en-US.d.ts +279 -0
- package/es/locales/en-US.d.ts.map +1 -0
- package/es/locales/zh-CN.d.ts +274 -0
- package/es/locales/zh-CN.d.ts.map +1 -0
- package/es/locales/zh-TW.d.ts +274 -0
- package/es/locales/zh-TW.d.ts.map +1 -0
- package/lib/components/appVersionControl/index.d.ts +5 -0
- package/lib/components/appVersionControl/index.d.ts.map +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts.map +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.js +5 -2
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +57 -0
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts.map +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts.map +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts.map +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts.map +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +11 -0
- package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts.map +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +11 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts.map +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts.map +1 -0
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +19 -0
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts.map +1 -0
- package/lib/components/drag-sort-tree/index.d.ts +5 -0
- package/lib/components/drag-sort-tree/index.d.ts.map +1 -0
- package/lib/components/iconfont/index.d.ts +9 -0
- package/lib/components/iconfont/index.d.ts.map +1 -0
- package/lib/components/login-and-register/index.d.ts +83 -0
- package/lib/components/login-and-register/index.d.ts.map +1 -0
- package/lib/components/pisell-config-provider/index.d.ts +13 -0
- package/lib/components/pisell-config-provider/index.d.ts.map +1 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +10 -0
- package/lib/components/pisellAdjustPrice/index.d.ts.map +1 -0
- package/lib/components/pisellEmpty/index.d.ts +20 -0
- package/lib/components/pisellEmpty/index.d.ts.map +1 -0
- package/lib/components/pisellGoodPassCard/index.d.ts +50 -0
- package/lib/components/pisellGoodPassCard/index.d.ts.map +1 -0
- package/lib/components/pisellToast/index.d.ts +17 -0
- package/lib/components/pisellToast/index.d.ts.map +1 -0
- package/lib/components/productCard/components/Action/index.d.ts +4 -0
- package/lib/components/productCard/components/Action/index.d.ts.map +1 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts.map +1 -0
- package/lib/components/productCard/components/Header/index.d.ts +4 -0
- package/lib/components/productCard/components/Header/index.d.ts.map +1 -0
- package/lib/components/productCard/components/Sales/index.d.ts +4 -0
- package/lib/components/productCard/components/Sales/index.d.ts.map +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +4 -0
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts.map +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +14 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts.map +1 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +19 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts.map +1 -0
- package/lib/components/productCard/components/Time/index.d.ts +4 -0
- package/lib/components/productCard/components/Time/index.d.ts.map +1 -0
- package/lib/components/productCard/index.d.ts +6 -0
- package/lib/components/productCard/index.d.ts.map +1 -0
- package/lib/components/productCard/locales.d.ts +85 -0
- package/lib/components/productCard/locales.d.ts.map +1 -0
- package/lib/components/table/Actions/component/ExportImport/index.d.ts +8 -0
- package/lib/components/table/Actions/component/ExportImport/index.d.ts.map +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +15 -0
- package/lib/components/table/Gallery/components/GalleryItem/index.d.ts.map +1 -0
- package/lib/components/table/Gallery/index.d.ts +6 -0
- package/lib/components/table/Gallery/index.d.ts.map +1 -0
- package/lib/components/table/Table/index.d.ts +5 -0
- package/lib/components/table/Table/index.d.ts.map +1 -0
- package/lib/components/table/Table/utils.d.ts +162 -0
- package/lib/components/table/Table/utils.d.ts.map +1 -0
- package/lib/components/table/hooks/useTableSetting.d.ts +23 -0
- package/lib/components/table/hooks/useTableSetting.d.ts.map +1 -0
- package/lib/components/table/hooks/useTransDataSource.d.ts +12 -0
- package/lib/components/table/hooks/useTransDataSource.d.ts.map +1 -0
- package/lib/components/table/types.d.ts +252 -0
- package/lib/components/table/types.d.ts.map +1 -0
- package/lib/components/translation/index.d.ts +15 -0
- package/lib/components/translation/index.d.ts.map +1 -0
- package/lib/components/versionModal/index.d.ts +24 -0
- package/lib/components/versionModal/index.d.ts.map +1 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +23 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts.map +1 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +20 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts.map +1 -0
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +22 -0
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts.map +1 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +14 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts.map +1 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +12 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts.map +1 -0
- package/lib/components/virtual-keyboard/index.d.ts +15 -0
- package/lib/components/virtual-keyboard/index.d.ts.map +1 -0
- package/lib/components/walletCard/index.d.ts +68 -0
- package/lib/components/walletCard/index.d.ts.map +1 -0
- package/lib/index.d.ts +142 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/locales/en-US.d.ts +279 -0
- package/lib/locales/en-US.d.ts.map +1 -0
- package/lib/locales/zh-CN.d.ts +274 -0
- package/lib/locales/zh-CN.d.ts.map +1 -0
- package/lib/locales/zh-TW.d.ts +274 -0
- package/lib/locales/zh-TW.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAKjD,OAAO,cAAc,CAAC;AAEtB,UAAU,wBAAwB;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,eAAe,EAAE,MAAM,CAAC;CACzB;AACD,UAAU,QAAQ;IAChB,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,6BAA6B,EAAE,GAAG,CAAC;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,YAAY,EAAE,GAAG,CAAC;IAClB,OAAO,EAAE,GAAG,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IAGpB,UAAU,EAAE,OAAO,CAAC;IAEpB,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhC,wBAAwB,EAAE,wBAAwB,EAAE,CAAC;IAErD,qBAAqB,EAAE,GAAG,EAAE,CAAC;CAC9B;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS;IACT,UAAU,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC5B,QAAQ;IACR,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE;QAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;QAAC,UAAU,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IAC3E,QAAQ;IACR,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,YAAY;IACZ,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,QAAQ,EAAE,KAAK,QAAQ,EAAE,CAAC;CAC7C;AAID,QAAA,MAAM,KAAK,UAAW,uBAAuB,gBA0G5C,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.less';
|
|
3
|
+
export interface PisellToastProps {
|
|
4
|
+
/** 提示内容 */
|
|
5
|
+
content: React.ReactNode;
|
|
6
|
+
/** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
|
|
7
|
+
duration?: number;
|
|
8
|
+
/** 是否展示action */
|
|
9
|
+
showAction?: boolean;
|
|
10
|
+
/** action文案 */
|
|
11
|
+
actionText?: string;
|
|
12
|
+
/** 关闭时触发的回调函数 */
|
|
13
|
+
onClose?: () => void;
|
|
14
|
+
}
|
|
15
|
+
declare const PisellToast: (props: PisellToastProps) => void;
|
|
16
|
+
export default PisellToast;
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,cAAc,CAAC;AAEtB,MAAM,WAAW,gBAAgB;IAC/B,YAAY;IACZ,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,iBAAiB;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,eAAe;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,QAAA,MAAM,WAAW,UAAW,gBAAgB,SAuB3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,MAAM,uBAAwB,GAAG,gBAgBtC,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,YAAY,iBAAkB,GAAG,gBAYtC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAQA,OAAO,cAAc,CAAC;AAItB,QAAA,MAAM,MAAM,UAAW,GAAG,gBA+GzB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAGA,OAAO,cAAc,CAAC;AAKtB,QAAA,MAAM,KAAK,yBAA0B,GAAG,uBA2BvC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
|
|
3
|
+
export default SelectHolder;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAIA,OAAO,cAAc,CAAC;AAEtB,QAAA,MAAM,YAAY,+JAYf,GAAG,gBAsIL,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
interface SelectHolderModalProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
onConfirm: (value: any) => void;
|
|
6
|
+
lists: any[];
|
|
7
|
+
value: any[];
|
|
8
|
+
holderMaxCount: number;
|
|
9
|
+
addHolderButtonText: string;
|
|
10
|
+
onAdd: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const SelectHolderModal: (props: SelectHolderModalProps) => JSX.Element;
|
|
13
|
+
export default SelectHolderModal;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAUA,OAAO,cAAc,CAAC;AAEtB,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IAChC,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,KAAK,EAAE,GAAG,EAAE,CAAC;IACb,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;IAC5B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,QAAA,MAAM,iBAAiB,UAAW,sBAAsB,gBAoKvD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
interface ResourceItem {
|
|
3
|
+
id: string | number;
|
|
4
|
+
label: string;
|
|
5
|
+
isError?: boolean;
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}
|
|
8
|
+
interface SelectResourceProps {
|
|
9
|
+
lists: ResourceItem[];
|
|
10
|
+
value: any;
|
|
11
|
+
onChange: (val: any) => void;
|
|
12
|
+
resourceMode?: 'multiple' | 'tags' | undefined;
|
|
13
|
+
maxLength?: number;
|
|
14
|
+
isParallelResource?: boolean;
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}
|
|
17
|
+
declare const SelectResource: ({ lists, value, onChange, resourceMode, allowClear, onClearResource, maxLength, isErrorResource, resourceErrorText, ...props }: SelectResourceProps) => JSX.Element;
|
|
18
|
+
export default SelectResource;
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAKA,OAAO,cAAc,CAAC;AAEtB,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,UAAU,mBAAmB;IAC3B,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,KAAK,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7B,YAAY,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAED,QAAA,MAAM,cAAc,mIAajB,mBAAmB,gBAsGrB,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import './index.less';
|
|
2
|
+
declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
|
|
3
|
+
export default Time;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAMA,OAAO,cAAc,CAAC;AAKtB,QAAA,MAAM,IAAI,4LAaP,GAAG,uBAuML,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAc/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAM3C,OAAO,cAAc,CAAC;AAEtB,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAiL3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
en: {
|
|
3
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
4
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
5
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
6
|
+
'pisell2.product.card.discount.reason': string;
|
|
7
|
+
'pisell2.product.card.discount.note': string;
|
|
8
|
+
'pisell2.product.card.edit': string;
|
|
9
|
+
'pisell2.product.card.discount.add.note': string;
|
|
10
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
11
|
+
'pisell2.product.card.confirm': string;
|
|
12
|
+
'pisell2.product.card.cancel': string;
|
|
13
|
+
'pisell2.product.card.note.pla': string;
|
|
14
|
+
'pisell2.product.card.items.package': string;
|
|
15
|
+
'pisell2.product.card.view-all': string;
|
|
16
|
+
'pisell2.product.card.view-less': string;
|
|
17
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
18
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
19
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
20
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
21
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
22
|
+
'pisell2.product.card.sales': string;
|
|
23
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
24
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
25
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
26
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
27
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
28
|
+
};
|
|
29
|
+
'zh-CN': {
|
|
30
|
+
'pisell2.product.card.edit': string;
|
|
31
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
32
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
33
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
34
|
+
'pisell2.product.card.discount.reason': string;
|
|
35
|
+
'pisell2.product.card.discount.note': string;
|
|
36
|
+
'pisell2.product.card.discount.add.note': string;
|
|
37
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
38
|
+
'pisell2.product.card.confirm': string;
|
|
39
|
+
'pisell2.product.card.cancel': string;
|
|
40
|
+
'pisell2.product.card.note.pla': string;
|
|
41
|
+
'pisell2.product.card.items.package': string;
|
|
42
|
+
'pisell2.product.card.view-all': string;
|
|
43
|
+
'pisell2.product.card.view-less': string;
|
|
44
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
45
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
46
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
47
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
48
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
49
|
+
'pisell2.product.card.sales': string;
|
|
50
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
51
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
52
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
53
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
54
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
55
|
+
};
|
|
56
|
+
'zh-HK': {
|
|
57
|
+
'pisell2.product.card.edit': string;
|
|
58
|
+
'pisell2.product.card.day': (val: number) => string;
|
|
59
|
+
'pisell2.product.card.day.event': (val: number) => string;
|
|
60
|
+
'pisell2.product.card.minute': (val: number) => string;
|
|
61
|
+
'pisell2.product.card.discount.reason': string;
|
|
62
|
+
'pisell2.product.card.discount.note': string;
|
|
63
|
+
'pisell2.product.card.discount.add.note': string;
|
|
64
|
+
'pisell2.product.card.discount.edit.note': string;
|
|
65
|
+
'pisell2.product.card.confirm': string;
|
|
66
|
+
'pisell2.product.card.cancel': string;
|
|
67
|
+
'pisell2.product.card.note.pla': string;
|
|
68
|
+
'pisell2.product.card.items.package': string;
|
|
69
|
+
'pisell2.product.card.view-all': string;
|
|
70
|
+
'pisell2.product.card.view-less': string;
|
|
71
|
+
'pisell2.product.card.add.holder.button.text': (val: string) => string;
|
|
72
|
+
'pisell2.product.card.add.holder.placeholder': (val: string) => string;
|
|
73
|
+
'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
|
|
74
|
+
'pisell2.product.card.add.holder.modal.title.1': string;
|
|
75
|
+
'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
|
|
76
|
+
'pisell2.product.card.sales': string;
|
|
77
|
+
'pisell2.product.card.add.holder.modal.cancel': string;
|
|
78
|
+
'pisell2.product.card.add.holder.modal.clear': string;
|
|
79
|
+
'pisell2.product.card.add.holder.modal.apply': string;
|
|
80
|
+
'pisell2.product.card.add.holder.modal.add': string;
|
|
81
|
+
'pisell2.product.card.closing-soon.warning': string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
export default _default;
|
|
85
|
+
//# sourceMappingURL=locales.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locales.d.ts","sourceRoot":"","sources":["locales.ts"],"names":[],"mappings":";;0CAIsC,MAAM;gDACA,MAAM;6CACT,MAAM;;;;;;;;;;;;6DAYU,MAAM;6DACN,MAAM;sEACG,MAAM,OAAO,MAAM;;mDAEtC,MAAM,UAAU,MAAM;;;;;;;;;;0CAU/B,MAAM;gDACA,MAAM;6CACT,MAAM;;;;;;;;;;;6DAWU,MAAM;6DACN,MAAM;sEACG,MAAM,OAAO,MAAM;;mDAEtC,MAAM,UAAU,MAAM;;;;;;;;;;0CAU/B,MAAM;gDACA,MAAM;6CACT,MAAM;;;;;;;;;;;6DAWU,MAAM;6DACN,MAAM;sEACG,MAAM,OAAO,MAAM;;mDAEtC,MAAM,UAAU,MAAM;;;;;;;;;AA1ErE,wBAkFC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ExportImportType } from '../../../types';
|
|
2
|
+
import './index.less';
|
|
3
|
+
declare type ExportImportProps = {
|
|
4
|
+
exportImport: ExportImportType;
|
|
5
|
+
};
|
|
6
|
+
declare const ExportImport: ({ exportImport }: ExportImportProps) => JSX.Element;
|
|
7
|
+
export default ExportImport;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAwB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAWxE,OAAO,cAAc,CAAC;AAEtB,aAAK,iBAAiB,GAAG;IACvB,YAAY,EAAE,gBAAgB,CAAC;CAChC,CAAC;AASF,QAAA,MAAM,YAAY,qBAAsB,iBAAiB,gBA6LxD,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { GallerySettingType, GallerySettingValueType } from "../../../types";
|
|
3
|
+
import "./index.less";
|
|
4
|
+
declare type GalleryItemProps = {
|
|
5
|
+
record: Record<string, any>;
|
|
6
|
+
gallery: GallerySettingType;
|
|
7
|
+
columnsMap: Map<string, Record<string, any>>;
|
|
8
|
+
index: number;
|
|
9
|
+
gallerySetting: GallerySettingValueType;
|
|
10
|
+
columns: Record<string, any>[];
|
|
11
|
+
onClick: React.MouseEventHandler<HTMLDivElement>;
|
|
12
|
+
};
|
|
13
|
+
declare const GalleryItem: (props: GalleryItemProps) => JSX.Element;
|
|
14
|
+
export default GalleryItem;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAQvC,OAAO,EAAE,kBAAkB,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AAE7E,OAAO,cAAc,CAAC;AAItB,aAAK,gBAAgB,GAAG;IACtB,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5B,OAAO,EAAE,kBAAkB,CAAC;IAC5B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,EAAE,uBAAuB,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAC/B,OAAO,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAA;CACjD,CAAC;AAEF,QAAA,MAAM,WAAW,UAAW,gBAAgB,gBAoI3C,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAKrE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAcvC,OAAO,cAAc,CAAC;;AAsKtB,wBAA6B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAiB7E,OAAO,cAAc,CAAC;;AA8MtB,wBAAmC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { GroupValue } from "../Actions/component/Group/PopoverContent";
|
|
2
|
+
import { FilterItemProps, FilterType } from "../../filter/types";
|
|
3
|
+
import { ColumnSettingType, DataSourceGroupType, GallerySettingValueType, ModeType, SortType } from "../types";
|
|
4
|
+
export declare const getHash: (obj: any) => any;
|
|
5
|
+
export declare const calcFilterSort: ({ dataSource, filter, sort, columns }: any) => any;
|
|
6
|
+
/**
|
|
7
|
+
* 合并列设置
|
|
8
|
+
* @param defaultColumns 默认列设置
|
|
9
|
+
* @param tableId 表ID
|
|
10
|
+
* @returns 合并后的列设置
|
|
11
|
+
*/
|
|
12
|
+
export declare const mergeColumnSetting: ({ columns, tableId, currentViewMode, }: {
|
|
13
|
+
columns: Record<string, any>[];
|
|
14
|
+
tableId?: string | undefined;
|
|
15
|
+
currentViewMode: ModeType;
|
|
16
|
+
}) => {
|
|
17
|
+
isShow: boolean;
|
|
18
|
+
}[] | ({
|
|
19
|
+
width: any;
|
|
20
|
+
isShow: any;
|
|
21
|
+
sortIndex: number;
|
|
22
|
+
} | {
|
|
23
|
+
isShow: boolean;
|
|
24
|
+
sortIndex: number;
|
|
25
|
+
})[];
|
|
26
|
+
/**
|
|
27
|
+
* 对数据源进行排序
|
|
28
|
+
* @param dataSource 数据源数组
|
|
29
|
+
* @param sortObj 排序对象,包含排序的键、值和类型
|
|
30
|
+
* @returns 排序后的数据源数组
|
|
31
|
+
*/
|
|
32
|
+
export declare const sortDataSource: (dataSource: Record<string, any>[], sortObj: {
|
|
33
|
+
sortKey: string;
|
|
34
|
+
sortValue: "asc" | "desc";
|
|
35
|
+
sortType: "date" | "string" | "number";
|
|
36
|
+
}) => Record<string, any>[];
|
|
37
|
+
/**
|
|
38
|
+
* 根据行键获取 ID
|
|
39
|
+
* @param item 记录对象
|
|
40
|
+
* @param rowKey 行键,可以是字符串或函数
|
|
41
|
+
* @returns 返回 ID
|
|
42
|
+
*/
|
|
43
|
+
export declare const getIdByRowKey: (item: Record<string, any>, rowKey: string | ((params: any) => string)) => any;
|
|
44
|
+
/**
|
|
45
|
+
* 根据分组条件对数据源进行分组
|
|
46
|
+
* @param dataSource 数据源
|
|
47
|
+
* @param group 分组条件
|
|
48
|
+
* @param rowKey 行键生成函数或字符串
|
|
49
|
+
* @returns 返回分组后的数据源
|
|
50
|
+
*/
|
|
51
|
+
export declare const groupDataSource: (dataSource: Record<string, any>[], group: GroupValue, rowKey: string | ((params: any) => string)) => Record<string, any>[];
|
|
52
|
+
declare type ViewSetting = {
|
|
53
|
+
order_by: string;
|
|
54
|
+
group_by: GroupValue;
|
|
55
|
+
column_setting: Record<string, any>[];
|
|
56
|
+
gallery_setting: GallerySettingValueType;
|
|
57
|
+
filters: any;
|
|
58
|
+
filter_setting: {
|
|
59
|
+
quickFilter: FilterItemProps[];
|
|
60
|
+
otherFilter: FilterItemProps[];
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* 本地存储的表格设置对象
|
|
65
|
+
*/
|
|
66
|
+
declare type TableSettingObjType = {
|
|
67
|
+
view_mode: ModeType;
|
|
68
|
+
currentSettingHash: string;
|
|
69
|
+
} & {
|
|
70
|
+
[K in ModeType]: ViewSetting;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* 将表格设置保存到本地存储
|
|
74
|
+
* @param tableId 表格id
|
|
75
|
+
* @param tableSettingObj 表格设置对象
|
|
76
|
+
*/
|
|
77
|
+
export declare const setTableSettingToLocalStorage: ({ tableId, tableSettingObj, currentViewMode, currentSettingHash, }: {
|
|
78
|
+
tableId: string;
|
|
79
|
+
tableSettingObj: Partial<ViewSetting & {
|
|
80
|
+
view_mode: ModeType;
|
|
81
|
+
}>;
|
|
82
|
+
currentViewMode: ModeType;
|
|
83
|
+
currentSettingHash: string;
|
|
84
|
+
}) => void;
|
|
85
|
+
export declare const clearTableSettingToLocalStorage: (tableId?: string) => void;
|
|
86
|
+
/**
|
|
87
|
+
* 从本地存储中获取表格设置, 全部配置
|
|
88
|
+
* @param tableId 表格ID
|
|
89
|
+
* @returns 表格设置对象
|
|
90
|
+
*/
|
|
91
|
+
export declare const getTableSettingFromLocalStorage: (tableId?: string) => Partial<TableSettingObjType>;
|
|
92
|
+
/**
|
|
93
|
+
* 从LocalStorage读取表当前视图模式
|
|
94
|
+
* @param tableId
|
|
95
|
+
*/
|
|
96
|
+
export declare const getCurrentViewModeFromLocalStorage: (tableId?: string) => ModeType | undefined;
|
|
97
|
+
/**
|
|
98
|
+
* 根据视图模式获取配置
|
|
99
|
+
* @param tableId
|
|
100
|
+
* @param currentViewMode
|
|
101
|
+
*/
|
|
102
|
+
export declare const getTableSettingByCurrentViewMode: (tableId: string, currentViewMode: ModeType) => ViewSetting | undefined;
|
|
103
|
+
/**
|
|
104
|
+
* 将表单值保存到本地存储中
|
|
105
|
+
* @param tableId 表单ID
|
|
106
|
+
* @param allValues 表单所有值
|
|
107
|
+
* @param keys 存储的键名
|
|
108
|
+
*/
|
|
109
|
+
export declare const setFormValuesToLocalStorage: ({ tableId, allValues, keys, currentViewMode, currentSettingHash, }: {
|
|
110
|
+
tableId?: string | undefined;
|
|
111
|
+
allValues?: Record<string, any> | undefined;
|
|
112
|
+
keys?: string[] | undefined;
|
|
113
|
+
currentViewMode: ModeType;
|
|
114
|
+
currentSettingHash: string;
|
|
115
|
+
}) => void;
|
|
116
|
+
/**
|
|
117
|
+
* 合并筛选设置
|
|
118
|
+
* @param list 列表数据
|
|
119
|
+
* @param quickFilterMaxLength 快速筛选最大长度
|
|
120
|
+
* @param tableId 表ID
|
|
121
|
+
* @returns 返回合并后的筛选设置
|
|
122
|
+
*/
|
|
123
|
+
export declare const mergeFilterSetting: ({ list, quickFilterMaxLength, tableId, sortButtonShow, currentViewMode, }: {
|
|
124
|
+
list: FilterItemProps[];
|
|
125
|
+
quickFilterMaxLength: number;
|
|
126
|
+
tableId?: string | undefined;
|
|
127
|
+
sortButtonShow: boolean;
|
|
128
|
+
currentViewMode: ModeType;
|
|
129
|
+
}) => {
|
|
130
|
+
quickFilter: FilterItemProps[];
|
|
131
|
+
otherFilter: FilterItemProps[];
|
|
132
|
+
notSortFilter: FilterItemProps[];
|
|
133
|
+
};
|
|
134
|
+
/**
|
|
135
|
+
* 过滤数据源
|
|
136
|
+
* @param dataSource 数据源
|
|
137
|
+
* @param filters 过滤条件
|
|
138
|
+
* @param filterLocalArr 本地过滤项
|
|
139
|
+
* @returns 过滤后的数据源
|
|
140
|
+
*/
|
|
141
|
+
export declare const filterDataSource: (dataSource: Record<string, any>[], filters: Record<string, any>, filterLocalArr: FilterItemProps[]) => Record<string, any>[];
|
|
142
|
+
/**
|
|
143
|
+
* 根据模式获取设置键数组
|
|
144
|
+
* @param filter 筛选器
|
|
145
|
+
* @param columnSetting 列设置
|
|
146
|
+
* @param dataSourceGroup 数据源分组
|
|
147
|
+
* @param sort 排序
|
|
148
|
+
* @param mode 模式,可选值为 "localStorage" 或 "remote"
|
|
149
|
+
* @returns 返回设置键数组
|
|
150
|
+
*/
|
|
151
|
+
export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourceGroup, sort, mode, currentViewMode, }: {
|
|
152
|
+
filter?: FilterType | undefined;
|
|
153
|
+
columnSetting?: ColumnSettingType | undefined;
|
|
154
|
+
dataSourceGroup?: DataSourceGroupType | undefined;
|
|
155
|
+
sort?: SortType | undefined;
|
|
156
|
+
mode: "" | "localStorage" | "remote";
|
|
157
|
+
currentViewMode: ModeType;
|
|
158
|
+
}) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting")[];
|
|
159
|
+
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
160
|
+
export declare const stringify: (obj: Record<string, any>) => string;
|
|
161
|
+
export {};
|
|
162
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["utils.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { FilterType } from "../../filter/types";
|
|
2
|
+
import { ColumnSettingType, DataSourceGroupType, GallerySettingType, GridViewType, ModeType, SortType, ExportImportModeType } from "../types";
|
|
3
|
+
declare type UseTableSettingProps = {
|
|
4
|
+
tableId?: string;
|
|
5
|
+
filter: FilterType;
|
|
6
|
+
columns: Record<string, any>[];
|
|
7
|
+
columnSetting?: ColumnSettingType;
|
|
8
|
+
dataSourceGroup?: DataSourceGroupType;
|
|
9
|
+
sort?: SortType;
|
|
10
|
+
view: GridViewType;
|
|
11
|
+
currentViewMode: ModeType;
|
|
12
|
+
gallery?: GallerySettingType;
|
|
13
|
+
currentSettingHash: string;
|
|
14
|
+
exportImport?: ExportImportModeType;
|
|
15
|
+
};
|
|
16
|
+
declare const useTableSetting: (params: UseTableSettingProps) => {
|
|
17
|
+
setTableSetting: (values: Record<string, any>) => void;
|
|
18
|
+
tableSetting: {
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
export default useTableSetting;
|
|
23
|
+
//# sourceMappingURL=useTableSetting.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTableSetting.d.ts","sourceRoot":"","sources":["useTableSetting.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAGlB,aAAK,oBAAoB,GAAG;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,UAAU,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAC/B,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,eAAe,CAAC,EAAE,mBAAmB,CAAC;IACtC,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,IAAI,EAAE,YAAY,CAAC;IACnB,eAAe,EAAE,QAAQ,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,EAAE,oBAAoB,CAAC;CACrC,CAAC;AAEF,QAAA,MAAM,eAAe,WAAY,oBAAoB;8BA+LJ,OAAO,MAAM,EAAE,GAAG,CAAC;;;;CAqBnE,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FormInstance } from "antd/es/form";
|
|
2
|
+
import { FilterType } from "../../filter/types";
|
|
3
|
+
declare type UseTransDataSourceParams = {
|
|
4
|
+
form: FormInstance;
|
|
5
|
+
localPagination: boolean;
|
|
6
|
+
dataSource: Record<string, any>[];
|
|
7
|
+
rowKey: string | ((params: any) => string);
|
|
8
|
+
filter: FilterType;
|
|
9
|
+
};
|
|
10
|
+
declare const useTransDataSource: (params: UseTransDataSourceParams) => Record<string, any>[];
|
|
11
|
+
export default useTransDataSource;
|
|
12
|
+
//# sourceMappingURL=useTransDataSource.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTransDataSource.d.ts","sourceRoot":"","sources":["useTransDataSource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAQ5C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD,aAAK,wBAAwB,GAAG;IAC9B,IAAI,EAAE,YAAY,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,CAAC;IAClC,MAAM,EAAE,MAAM,GAAG,CAAC,CAAC,MAAM,EAAE,GAAG,KAAK,MAAM,CAAC,CAAC;IAE3C,MAAM,EAAE,UAAU,CAAC;CACpB,CAAC;AACF,QAAA,MAAM,kBAAkB,WAAY,wBAAwB,0BAkF3D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|