@pisell/materials 2.2.87 → 2.2.88
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 +7 -7
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +13 -13
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +12 -12
- package/es/components/batch-editor/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +78 -0
- package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
- package/es/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
- package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +20 -19
- package/es/components/date-picker/datePickerCpt.d.ts +1 -0
- package/es/components/date-picker/index.d.ts +1 -0
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/es/components/drag-sort-tree/index.d.ts +4 -0
- package/es/components/filter/index.d.ts +1 -0
- package/es/components/iconfont/index.d.ts +8 -0
- package/es/components/list/index.d.ts +1 -0
- package/es/components/login-and-register/index.d.ts +82 -0
- package/es/components/lowCodePage/index.d.ts +1 -0
- package/es/components/page/index.d.ts +1 -0
- package/es/components/pisell-config-provider/index.d.ts +12 -0
- package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/es/components/pisellAdjustPrice/index.d.ts +1 -0
- package/es/components/pisellEmpty/index.d.ts +19 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/es/components/pisellInput/index.d.ts +1 -0
- package/es/components/pisellLoading/index.d.ts +1 -0
- package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
- package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
- package/es/components/pisellModal/components/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +93 -0
- package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
- package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
- package/es/components/productCard/components/Header/index.d.ts +1 -0
- package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/es/components/productCard/components/Note/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Sales/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/es/components/productCard/locales.d.ts +84 -0
- package/es/components/productCard/status.d.ts +32 -0
- package/es/components/productCard/types.d.ts +84 -0
- package/es/components/qrcode/index.d.ts +1 -0
- package/es/components/select-time/index.d.ts +0 -1
- package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
- package/es/components/table/Actions/component/Group/index.d.ts +1 -0
- package/es/components/table/Actions/index.d.ts +1 -0
- package/es/components/table/BasicTable/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
- package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/es/components/table/Table/SelectField/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/date/index.d.ts +1 -0
- package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/index.d.ts +3 -2
- package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/link/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/number/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
- package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/search/index.d.ts +1 -0
- package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/fields/select/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
- package/es/components/table/Table/fields/text/index.d.ts +1 -0
- package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/table/View/index.d.ts +1 -0
- package/es/components/table/types.d.ts +251 -0
- package/es/components/versionSelect/index.d.ts +1 -0
- package/es/components/virtual-keyboard/Amount/index.d.ts +4 -30
- package/es/components/virtual-keyboard/Amount/index.js +73 -6
- package/es/components/virtual-keyboard/Amount/index.less +39 -0
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Amount/themeConfig.js +32 -0
- package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
- package/es/components/virtual-keyboard/Amount/types.js +1 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +4 -11
- package/es/components/virtual-keyboard/Number/index.js +77 -7
- package/es/components/virtual-keyboard/Number/index.less +39 -0
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Number/themeConfig.js +32 -0
- package/es/components/virtual-keyboard/Number/types.d.ts +25 -0
- package/es/components/virtual-keyboard/Number/types.js +1 -0
- package/es/components/virtual-keyboard/index.d.ts +11 -0
- package/es/components/virtual-keyboard/index.js +88 -3
- package/es/components/virtual-keyboard/index.less +33 -1
- package/es/locales/en-US.d.ts +278 -0
- package/es/locales/zh-CN.d.ts +273 -0
- package/es/locales/zh-TW.d.ts +273 -0
- package/es/utils/index.d.ts +1 -1
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/batch-editor/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
- package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +78 -0
- package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
- package/lib/components/dataSourceComponents/fields/Select/index.d.ts +2 -1
- package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +20 -19
- package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
- package/lib/components/date-picker/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
- package/lib/components/drag-sort-tree/index.d.ts +4 -0
- package/lib/components/filter/index.d.ts +1 -0
- package/lib/components/iconfont/index.d.ts +8 -0
- package/lib/components/list/index.d.ts +1 -0
- package/lib/components/login-and-register/index.d.ts +82 -0
- package/lib/components/lowCodePage/index.d.ts +1 -0
- package/lib/components/page/index.d.ts +1 -0
- package/lib/components/pisell-config-provider/index.d.ts +12 -0
- package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
- package/lib/components/pisellEmpty/index.d.ts +19 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
- package/lib/components/pisellInput/index.d.ts +1 -0
- package/lib/components/pisellLoading/index.d.ts +1 -0
- package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
- package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
- package/lib/components/pisellModal/components/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +1 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +93 -0
- package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
- package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
- package/lib/components/productCard/components/Header/index.d.ts +1 -0
- package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
- package/lib/components/productCard/components/Note/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
- package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Sales/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
- package/lib/components/productCard/locales.d.ts +84 -0
- package/lib/components/productCard/status.d.ts +32 -0
- package/lib/components/productCard/types.d.ts +84 -0
- package/lib/components/qrcode/index.d.ts +1 -0
- package/lib/components/select-time/index.d.ts +0 -1
- package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
- package/lib/components/table/Actions/index.d.ts +1 -0
- package/lib/components/table/BasicTable/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
- package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
- package/lib/components/table/Table/SelectField/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/date/index.d.ts +1 -0
- package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/index.d.ts +3 -2
- package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/link/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/number/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
- package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/search/index.d.ts +1 -0
- package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/fields/select/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
- package/lib/components/table/Table/fields/text/index.d.ts +1 -0
- package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
- package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/table/View/index.d.ts +1 -0
- package/lib/components/table/types.d.ts +251 -0
- package/lib/components/versionSelect/index.d.ts +1 -0
- package/lib/components/virtual-keyboard/Amount/index.d.ts +4 -30
- package/lib/components/virtual-keyboard/Amount/index.js +68 -17
- package/lib/components/virtual-keyboard/Amount/index.less +39 -0
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Amount/themeConfig.js +60 -0
- package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
- package/lib/components/virtual-keyboard/Amount/types.js +17 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +4 -11
- package/lib/components/virtual-keyboard/Number/index.js +65 -11
- package/lib/components/virtual-keyboard/Number/index.less +39 -0
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Number/themeConfig.js +60 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +25 -0
- package/lib/components/virtual-keyboard/Number/types.js +17 -0
- package/lib/components/virtual-keyboard/index.d.ts +11 -0
- package/lib/components/virtual-keyboard/index.js +60 -2
- package/lib/components/virtual-keyboard/index.less +33 -1
- package/lib/locales/en-US.d.ts +278 -0
- package/lib/locales/zh-CN.d.ts +273 -0
- package/lib/locales/zh-TW.d.ts +273 -0
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/platform.d.ts +1 -1
- package/lowcode/pisell-number-keyboard/meta.ts +167 -0
- package/lowcode/pisell-price-keyboard/meta.ts +167 -0
- package/lowcode/virtual-keyboard/meta.ts +131 -0
- package/package.json +1 -1
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"table-filter-search": string;
|
|
3
|
+
"table-filter-clear": string;
|
|
4
|
+
"table-filter-filter": string;
|
|
5
|
+
"table-filter-min": string;
|
|
6
|
+
"table-filter-max": string;
|
|
7
|
+
"table-pagination-previous": string;
|
|
8
|
+
"table-pagination-next": string;
|
|
9
|
+
"table-pagination-total": (current: string, total: string) => string;
|
|
10
|
+
"select-dropdown-render-select-all": string;
|
|
11
|
+
"select-dropdown-render-search": string;
|
|
12
|
+
"sort-button-text": string;
|
|
13
|
+
"sort-oldest-to-newest": string;
|
|
14
|
+
"sort-newest-to-oldest": string;
|
|
15
|
+
"sort-a-z": string;
|
|
16
|
+
"sort-z-a": string;
|
|
17
|
+
"sort-from-morning-to-night": string;
|
|
18
|
+
"sort-from-evening-to-morning": string;
|
|
19
|
+
"sort-0-9": string;
|
|
20
|
+
"sort-9-0": string;
|
|
21
|
+
"table-action-filter-button": string;
|
|
22
|
+
"table-action-filter-quick-filter": string;
|
|
23
|
+
"table-action-filter-quick-filter-tip": (count: number) => string;
|
|
24
|
+
"table-action-filter-other-filter": string;
|
|
25
|
+
"table-action-filter-other-filter-tip": () => string;
|
|
26
|
+
"table-action-group-by-title": string;
|
|
27
|
+
"table-action-group-by-title-tip": string;
|
|
28
|
+
"table-action-column-title": string;
|
|
29
|
+
"table-column-group-records": string;
|
|
30
|
+
"table-column-group-lock-tip": string;
|
|
31
|
+
"table-column-drag-sort-disabled-tip": string;
|
|
32
|
+
"table-action-filter-no-filter": string;
|
|
33
|
+
"table-action-range-picker-presets-today": string;
|
|
34
|
+
"table-action-range-picker-presets-yesterday": string;
|
|
35
|
+
"table-action-range-picker-presets-last-3-day": string;
|
|
36
|
+
"table-action-range-picker-presets-last-7-day": string;
|
|
37
|
+
"table-action-range-picker-presets-last-14-day": string;
|
|
38
|
+
"table-action-range-picker-presets-last-30-day": string;
|
|
39
|
+
"table-action-range-picker-presets-last-90-day": string;
|
|
40
|
+
"virtual-keyboard-time-now": string;
|
|
41
|
+
"virtual-keyboard-time-ok": string;
|
|
42
|
+
'batch-editor-batch-edit': string;
|
|
43
|
+
'batch-editor-actions': string;
|
|
44
|
+
'batch-editor-remove': string;
|
|
45
|
+
'batch-editor-price': string;
|
|
46
|
+
'batch-editor-cancel': string;
|
|
47
|
+
'batch-editor-search': string;
|
|
48
|
+
'batch-editor-confirm': string;
|
|
49
|
+
'batch-editor-batch-remove': string;
|
|
50
|
+
'batch-editor-what-price': string;
|
|
51
|
+
'batch-editor-quick-edit': string;
|
|
52
|
+
'batch-editor-quick-edit-title': (product: string, num: string) => string;
|
|
53
|
+
'batch-editor-quick-edit-title-2': (product: string) => string;
|
|
54
|
+
'table-action-export-import-export-success': string;
|
|
55
|
+
'table-action-export-import-button': string;
|
|
56
|
+
'table-action-export-import-export-range': string;
|
|
57
|
+
'table-action-export-import-current-page': string;
|
|
58
|
+
'table-action-export-import-all-records': string;
|
|
59
|
+
'table-action-export-import-selected-records': string;
|
|
60
|
+
'table-action-export-import-selected': string;
|
|
61
|
+
'table-action-export-import-item': (length: number) => string;
|
|
62
|
+
'table-action-export-import-product': string;
|
|
63
|
+
'table-action-export-import-table-text-input-title': string;
|
|
64
|
+
'table-action-export-import-table-text-input-describe': string;
|
|
65
|
+
'table-action-export-import-table-error-file': string;
|
|
66
|
+
'table-action-export-import-import-success': string;
|
|
67
|
+
'table-action-export-import-import-phone': string;
|
|
68
|
+
'table-action-export-import-table-success-download': string;
|
|
69
|
+
'table-action-export-import-table-textimport-product': string;
|
|
70
|
+
'table-action-export-import-table-text-product-template': string;
|
|
71
|
+
'table-action-export-import-table-text-click-download': string;
|
|
72
|
+
'table-action-export-import-table-text-edit-file': string;
|
|
73
|
+
'table-action-export-import-button-import': string;
|
|
74
|
+
'table-action-export-import-cancel': string;
|
|
75
|
+
'table-action-export-import-file-completed': string;
|
|
76
|
+
'table-action-export-import-file-processing': string;
|
|
77
|
+
'table-action-export-import-file-pending': string;
|
|
78
|
+
'table-action-export-import-file-refresh': string;
|
|
79
|
+
'table-action-export-import-export-title': string;
|
|
80
|
+
'table-action-export-import-file-hint': string;
|
|
81
|
+
'table-action-export-import-file-name': string;
|
|
82
|
+
'table-action-export-import-file-content': string;
|
|
83
|
+
'table-action-export-import-file-content-all': string;
|
|
84
|
+
'table-action-export-import-file-content-part': string;
|
|
85
|
+
'table-action-export-import-file-status': string;
|
|
86
|
+
'table-action-export-import-file-account': string;
|
|
87
|
+
'table-action-export-import-file-created': string;
|
|
88
|
+
'table-action-export-import-file-record': (length: number) => string;
|
|
89
|
+
'table-action-export-import-import-title': string;
|
|
90
|
+
'table-action-export-import-log-hint': string;
|
|
91
|
+
'table-action-export-import-log-name': string;
|
|
92
|
+
'table-action-export-import-log-result': string;
|
|
93
|
+
'table-action-export-import-log-ok': (num: number) => string;
|
|
94
|
+
'table-action-export-import-log-err': (num: number) => string;
|
|
95
|
+
'table-action-export-import-log-check': string;
|
|
96
|
+
'table-action-export-import-log-detail-title': string;
|
|
97
|
+
'table-action-export-import-log-err-log': string;
|
|
98
|
+
'table-action-export-import-log-copy': string;
|
|
99
|
+
'table-action-export-import-table-success-copy': string;
|
|
100
|
+
'drag-sort-tree-unavailable-today-tip': string;
|
|
101
|
+
'date-picker-today': string;
|
|
102
|
+
'date-picker-yesterday': string;
|
|
103
|
+
'date-picker-tomorrow': string;
|
|
104
|
+
'date-picker-next_monday': string;
|
|
105
|
+
'date-picker-last_friday': string;
|
|
106
|
+
'date-picker-first_day_of_this_month': string;
|
|
107
|
+
'date-picker-last_day_of_this_month': string;
|
|
108
|
+
'date-picker-first_day_of_next_month': string;
|
|
109
|
+
'date-picker-last_day_of_last_month': string;
|
|
110
|
+
'date-picker-invalid-date': string;
|
|
111
|
+
"date-picker-apply": string;
|
|
112
|
+
'date-picker-shortcut-custom': string;
|
|
113
|
+
'pisell-input-copy-success': string;
|
|
114
|
+
'pisell-input-copy': string;
|
|
115
|
+
'pisell-empty-description-no-data': string;
|
|
116
|
+
'pisell-information-entry-input-search': string;
|
|
117
|
+
'pisell-information-entry-input-confirm': string;
|
|
118
|
+
'pisell-information-entry-scan-exit': string;
|
|
119
|
+
'pisell-wallet-pass-card-detail': string;
|
|
120
|
+
'pisell-wallet-pass-card-edit': string;
|
|
121
|
+
'pisell-wallet-pass-card-name': string;
|
|
122
|
+
'pisell-wallet-pass-card-store-name': string;
|
|
123
|
+
'pisell-wallet-pass-card-balance': string;
|
|
124
|
+
'pisell-wallet-pass-card-redeem': string;
|
|
125
|
+
'pisell-wallet-pass-card-code': string;
|
|
126
|
+
'pisell-wallet-pass-card-valid-to': string;
|
|
127
|
+
'pisell-wallet-pass-card-confirm': string;
|
|
128
|
+
'pisell-wallet-pass-card-cancel': string;
|
|
129
|
+
'pisell-wallet-pass-card-required': string;
|
|
130
|
+
'pisell-wallet-pass-card-expireDate': string;
|
|
131
|
+
'pisell-adjust-price-price-override': string;
|
|
132
|
+
'pisell-adjust-price-discount': string;
|
|
133
|
+
'pisell-adjust-price-discount-amount': string;
|
|
134
|
+
'pisell-adjust-price-discount-percentage': string;
|
|
135
|
+
'pisell-adjust-price-total-after-discount': string;
|
|
136
|
+
'pisell-adjust-price-discount-can-be-maximum': string;
|
|
137
|
+
'pisell-discount-card-title': string;
|
|
138
|
+
'pisell-discount-card-unit': string;
|
|
139
|
+
'pisell-data-source-table-add': string;
|
|
140
|
+
'pisell-data-source-table-edit': string;
|
|
141
|
+
'pisell-data-source-table-detail': string;
|
|
142
|
+
'pisell-data-source-table-delete': string;
|
|
143
|
+
'pisell-record-view-available': string;
|
|
144
|
+
'pisell-record-view-unavailable': string;
|
|
145
|
+
'pisell-data-source-form-required-message': string;
|
|
146
|
+
'pisell-data-source-form-email-message': string;
|
|
147
|
+
'pisell-data-source-form-domain-message': string;
|
|
148
|
+
'pisell-data-source-form-url-message': string;
|
|
149
|
+
'pisell-data-source-form-phone-message': string;
|
|
150
|
+
'pisell-data-source-form-min-length-message': (minLength: number) => string;
|
|
151
|
+
'pisell-data-source-form-max-length-message': (maxLength: number) => string;
|
|
152
|
+
'pisell-data-source-form-min-value-message': (minValue: number) => string;
|
|
153
|
+
'pisell-data-source-form-max-value-message': (maxValue: number) => string;
|
|
154
|
+
'pisell-data-source-form-mobile-message': string;
|
|
155
|
+
'pisell-number-format-thousand': string;
|
|
156
|
+
'pisell-number-format-million': string;
|
|
157
|
+
'pisell-number-format-billion': string;
|
|
158
|
+
'walletCard-done': string;
|
|
159
|
+
'walletCard-qrcode': string;
|
|
160
|
+
'walletCard-barcode': string;
|
|
161
|
+
'pisell-upload-button': string;
|
|
162
|
+
'pisell-upload-setting-size-error': (maxSize: number) => string;
|
|
163
|
+
'pisell-upload-setting-type-error': (type: string) => string;
|
|
164
|
+
'pisell-upload-count-error': (count: number) => string;
|
|
165
|
+
'pisell-upload-error': (name: string) => string;
|
|
166
|
+
'pisell-upload-multilingual-title': string;
|
|
167
|
+
'pisell-upload-multilingual-item-title-original': string;
|
|
168
|
+
'pisell-upload-multilingual-item-title-en': string;
|
|
169
|
+
'pisell-upload-multilingual-item-title-zh-CN': string;
|
|
170
|
+
'pisell-upload-multilingual-item-title-zh-HK': string;
|
|
171
|
+
'pisell-color-picker-default': string;
|
|
172
|
+
'pisell-action-get-data': string;
|
|
173
|
+
'pisell-action-delete-success': string;
|
|
174
|
+
'pisell-action-delete-failed': string;
|
|
175
|
+
'walletCard-piont': string;
|
|
176
|
+
'walletCard-rechargeable': string;
|
|
177
|
+
'walletCard-voucher': string;
|
|
178
|
+
'walletCard-discount': string;
|
|
179
|
+
'pisellQrcode-done': string;
|
|
180
|
+
'pisellQrcode-qrcode': string;
|
|
181
|
+
'pisell-delete-confirm-title': string;
|
|
182
|
+
'pisell-delete-confirm-content': string;
|
|
183
|
+
'pisell-delete-confirm-ok': string;
|
|
184
|
+
'pisell-delete-confirm-cancel': string;
|
|
185
|
+
'pisell-design-mode-action-disabled': string;
|
|
186
|
+
'pisell-translation-original': string;
|
|
187
|
+
'pisell-version-modal-title': string;
|
|
188
|
+
'pisell-version-modal-current-version': string;
|
|
189
|
+
'pisell-version-modal-version': string;
|
|
190
|
+
'pisell-version-modal-update-notes': string;
|
|
191
|
+
'pisell-version-modal-patch': string;
|
|
192
|
+
'pisell-version-modal-minor': string;
|
|
193
|
+
'pisell-version-modal-major': string;
|
|
194
|
+
'pisell-version-modal-custom': string;
|
|
195
|
+
'pisell-version-modal-cancel': string;
|
|
196
|
+
'pisell-version-modal-confirm': string;
|
|
197
|
+
'pisell-version-modal-describe-update-notes': string;
|
|
198
|
+
'pisell-version-modal-version-error': string;
|
|
199
|
+
'pisell-version-modal-version-required': string;
|
|
200
|
+
'pisell-version-modal-based-on-version': string;
|
|
201
|
+
'subdomain-error-too-short': string;
|
|
202
|
+
'subdomain-error-too-long': string;
|
|
203
|
+
'subdomain-error-pattern': string;
|
|
204
|
+
'subdomain-error-numbers-only': string;
|
|
205
|
+
'subdomain-error-hyphen-ends': string;
|
|
206
|
+
'subdomain-error-consecutive-hyphens': string;
|
|
207
|
+
'pisell-icon-select-placeholder': string;
|
|
208
|
+
'pisell-icon-select-outlined': string;
|
|
209
|
+
'pisell-icon-select-filled': string;
|
|
210
|
+
'pisell-icon-select-two-tone': string;
|
|
211
|
+
'pisell-icon-select-iconfont': string;
|
|
212
|
+
'pisell-icon-select-search': string;
|
|
213
|
+
'pisell-icon-select-select': string;
|
|
214
|
+
'pisell-lowcode-app-version-control-live': string;
|
|
215
|
+
'pisell-lowcode-app-version-control-draft': string;
|
|
216
|
+
'pisell-lowcode-app-version-control-deprecated': string;
|
|
217
|
+
'pisell-lowcode-app-version-control-new-version': string;
|
|
218
|
+
'pisell-lowcode-app-version-control-promote-to-live': string;
|
|
219
|
+
'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
|
|
220
|
+
'pisell-lowcode-app-version-control-promote-version-describe': string;
|
|
221
|
+
'pisell-lowcode-app-version-control-promote-version-ok': string;
|
|
222
|
+
'pisell-lowcode-app-version-control-promote-version-cancel': string;
|
|
223
|
+
'pisell-lowcode-app-version-control-version-exists': string;
|
|
224
|
+
'pisell-lowcode-drop-sort-add': string;
|
|
225
|
+
'pisell-lowcode-navigation-menu-add-sub-menu': string;
|
|
226
|
+
'pisell-lowcode-navigation-menu-add-page': string;
|
|
227
|
+
'pisell-lowcode-navigation-menu-add-page-tip': string;
|
|
228
|
+
'pisell-lowcode-navigation-menu-tag-base': string;
|
|
229
|
+
'pisell-lowcode-navigation-menu-tag-proCode': string;
|
|
230
|
+
'pisell-lowcode-navigation-menu-tag-pisell1': string;
|
|
231
|
+
'pisell-lowcode-navigation-menu-tag-group': string;
|
|
232
|
+
'pisell-lowcode-navigation-menu-tag-sub-menu': string;
|
|
233
|
+
'pisell-lowcode-navigation-menu-tag-custom': string;
|
|
234
|
+
'pisell-data-source-form-app-identifier-pattern': string;
|
|
235
|
+
'pisell-data-source-form-app-identifier-start-with-letter': string;
|
|
236
|
+
'pisell-data-source-form-app-identifier-special-ends': string;
|
|
237
|
+
'pisell-data-source-form-app-identifier-consecutive-special': string;
|
|
238
|
+
"qrscanner-loading": string;
|
|
239
|
+
"qrscanner-success": string;
|
|
240
|
+
"qrscanner-success-qrcode": string;
|
|
241
|
+
"qrscanner-success-barcode": string;
|
|
242
|
+
"qrscanner-error-upload-image": string;
|
|
243
|
+
"qrscanner-error-load-failed": string;
|
|
244
|
+
"qrscanner-error-no-code": string;
|
|
245
|
+
"qrscanner-error-camera-init": string;
|
|
246
|
+
"qrscanner-error-process-image": string;
|
|
247
|
+
'pisell-login-and-register-title': string;
|
|
248
|
+
'pisell-login-and-register-subtitle': string;
|
|
249
|
+
'pisell-login-and-register-email-label': string;
|
|
250
|
+
'pisell-login-and-register-email-placeholder': string;
|
|
251
|
+
'pisell-login-and-register-password-label': string;
|
|
252
|
+
'pisell-login-and-register-password-placeholder': string;
|
|
253
|
+
'pisell-login-and-register-email-error': string;
|
|
254
|
+
'pisell-login-and-register-email-error-valid': string;
|
|
255
|
+
'pisell-login-and-register-password-error': string;
|
|
256
|
+
'pisell-login-and-register-login': string;
|
|
257
|
+
'pisell-login-and-register-google': string;
|
|
258
|
+
'pisell-login-and-register-facebook': string;
|
|
259
|
+
'pisell-login-and-register-apple': string;
|
|
260
|
+
'pisell-login-and-register-sign-up': string;
|
|
261
|
+
'pisell-login-and-register-login-tab': string;
|
|
262
|
+
'pisell-login-and-register-register-tab': string;
|
|
263
|
+
'pisell-login-and-register-register-email-placeholder': string;
|
|
264
|
+
'pisell-login-and-register-register-password-placeholder': string;
|
|
265
|
+
'pisell-login-and-register-register-button-text': string;
|
|
266
|
+
'pisell-login-and-register-remember-me': string;
|
|
267
|
+
'pisell-login-and-register-forgot-password': string;
|
|
268
|
+
'pisell2.text.goodpass.product-vouchers': string;
|
|
269
|
+
'pisell2.text.goodpass.last-settlement': string;
|
|
270
|
+
'pisell2.text.goodpass.view-more': string;
|
|
271
|
+
'pisell2.text.goodpass.save': string;
|
|
272
|
+
};
|
|
273
|
+
export default _default;
|
package/lib/utils/index.d.ts
CHANGED
package/lib/utils/platform.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isMobile: () =>
|
|
1
|
+
export declare const isMobile: () => boolean;
|
|
@@ -54,6 +54,173 @@ const PisellNumberKeyboardMeta: ComponentMetadata = {
|
|
|
54
54
|
propType: "string",
|
|
55
55
|
setter: "PisellI18nSetter",
|
|
56
56
|
},
|
|
57
|
+
{
|
|
58
|
+
name: 'selectType',
|
|
59
|
+
title: { label: '选择类型', tip: 'selectType | 选择类型' },
|
|
60
|
+
setter: {
|
|
61
|
+
componentName: 'RadioGroupSetter',
|
|
62
|
+
props: {
|
|
63
|
+
options: [
|
|
64
|
+
{ title: 'Light', value: 'light' },
|
|
65
|
+
{ title: 'Dark', value: 'dark' },
|
|
66
|
+
],
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
defaultValue: 'light',
|
|
70
|
+
extraProps: {
|
|
71
|
+
onChange: (value: string, target: any) => {
|
|
72
|
+
// 根据主题切换自动设置颜色
|
|
73
|
+
const isLight = value === 'light';
|
|
74
|
+
|
|
75
|
+
target.getProps().setPropValue('backgroundColor', isLight ? '#ffffff' : 'rgba(0, 0, 0, 0.70)');
|
|
76
|
+
target.getProps().setPropValue('containerBackgroundColor', isLight ? '#d0d5dd' : 'rgba(0, 0, 0, 0.40)');
|
|
77
|
+
target.getProps().setPropValue('buttonBackgroundColor', '#ffffff');
|
|
78
|
+
target.getProps().setPropValue('textColor', "#000000");
|
|
79
|
+
target.getProps().setPropValue('resetButtonBackgroundColor', '#ffffff');
|
|
80
|
+
target.getProps().setPropValue('resetButtonTextColor', "#d92d20");
|
|
81
|
+
target.getProps().setPropValue('doneButtonBackgroundColor', "#4ca30d");
|
|
82
|
+
target.getProps().setPropValue('doneButtonTextColor', "#ffffff");
|
|
83
|
+
target.getProps().setPropValue('isDoneButtonFollowTheme', true);
|
|
84
|
+
target.getProps().setPropValue('keyboardBackgroundColor', isLight ? '#f9f9f9' : 'rgba(0, 0, 0, 0.40)');
|
|
85
|
+
target.getProps().setPropValue('keyboardButtonBackgroundColor', '#ffffff');
|
|
86
|
+
target.getProps().setPropValue('keyboardButtonTextColor', '#000000');
|
|
87
|
+
target.getProps().setPropValue('keyboardButtonHoverColor', '#f5f5f5');
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
name: "backgroundColor",
|
|
93
|
+
title: {
|
|
94
|
+
label: "背景色",
|
|
95
|
+
tip: "backgroundColor | 背景色",
|
|
96
|
+
},
|
|
97
|
+
propType: "string",
|
|
98
|
+
setter: "ColorSetter",
|
|
99
|
+
defaultValue: "#ffffff",
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
name: "containerBackgroundColor",
|
|
103
|
+
title: {
|
|
104
|
+
label: "容器背景色",
|
|
105
|
+
tip: "containerBackgroundColor | 容器背景色",
|
|
106
|
+
},
|
|
107
|
+
propType: "string",
|
|
108
|
+
setter: "ColorSetter",
|
|
109
|
+
defaultValue: "#d0d5dd",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: "buttonBackgroundColor",
|
|
113
|
+
title: {
|
|
114
|
+
label: "按钮背景色",
|
|
115
|
+
tip: "buttonBackgroundColor | 按钮背景色",
|
|
116
|
+
},
|
|
117
|
+
propType: "string",
|
|
118
|
+
setter: "ColorSetter",
|
|
119
|
+
defaultValue: "#ffffff",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
name: "textColor",
|
|
123
|
+
title: {
|
|
124
|
+
label: "文本颜色",
|
|
125
|
+
tip: "textColor | 文本颜色",
|
|
126
|
+
},
|
|
127
|
+
propType: "string",
|
|
128
|
+
setter: "ColorSetter",
|
|
129
|
+
defaultValue: "#000000",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
name: "resetButtonBackgroundColor",
|
|
133
|
+
title: {
|
|
134
|
+
label: "重置按钮背景色",
|
|
135
|
+
tip: "resetButtonBackgroundColor | 重置按钮背景色",
|
|
136
|
+
},
|
|
137
|
+
propType: "string",
|
|
138
|
+
setter: "ColorSetter",
|
|
139
|
+
defaultValue: "#ffffff",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
name: "resetButtonTextColor",
|
|
143
|
+
title: {
|
|
144
|
+
label: "重置按钮文本颜色",
|
|
145
|
+
tip: "resetButtonTextColor | 重置按钮文本颜色",
|
|
146
|
+
},
|
|
147
|
+
propType: "string",
|
|
148
|
+
setter: "ColorSetter",
|
|
149
|
+
defaultValue: "#d92d20",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
name: 'isDoneButtonFollowTheme',
|
|
153
|
+
title: { label: 'Done按钮颜色跟随主题色', tip: 'isDoneButtonFollowTheme | Done按钮颜色跟随主题色' },
|
|
154
|
+
propType: 'bool',
|
|
155
|
+
defaultValue: true,
|
|
156
|
+
setter: 'BoolSetter'
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: "doneButtonBackgroundColor",
|
|
160
|
+
title: {
|
|
161
|
+
label: "Done按钮背景色",
|
|
162
|
+
tip: "doneButtonBackgroundColor | Done按钮背景色",
|
|
163
|
+
},
|
|
164
|
+
propType: "string",
|
|
165
|
+
setter: "ColorSetter",
|
|
166
|
+
defaultValue: "#4ca30d",
|
|
167
|
+
condition(target: any) {
|
|
168
|
+
return !target.getProps().getPropValue("isDoneButtonFollowTheme");
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
name: "doneButtonTextColor",
|
|
173
|
+
title: {
|
|
174
|
+
label: "Done按钮文本颜色",
|
|
175
|
+
tip: "doneButtonTextColor | Done按钮文本颜色",
|
|
176
|
+
},
|
|
177
|
+
propType: "string",
|
|
178
|
+
setter: "ColorSetter",
|
|
179
|
+
defaultValue: "#ffffff",
|
|
180
|
+
condition(target: any) {
|
|
181
|
+
return !target.getProps().getPropValue("isDoneButtonFollowTheme");
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
name: "keyboardBackgroundColor",
|
|
186
|
+
title: {
|
|
187
|
+
label: "键盘背景色",
|
|
188
|
+
tip: "keyboardBackgroundColor | 键盘背景色",
|
|
189
|
+
},
|
|
190
|
+
propType: "string",
|
|
191
|
+
setter: "ColorSetter",
|
|
192
|
+
defaultValue: "#f9f9f9",
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
name: "keyboardButtonBackgroundColor",
|
|
196
|
+
title: {
|
|
197
|
+
label: "键盘按钮背景色",
|
|
198
|
+
tip: "keyboardButtonBackgroundColor | 键盘按钮背景色",
|
|
199
|
+
},
|
|
200
|
+
propType: "string",
|
|
201
|
+
setter: "ColorSetter",
|
|
202
|
+
defaultValue: "#ffffff",
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
name: "keyboardButtonTextColor",
|
|
206
|
+
title: {
|
|
207
|
+
label: "键盘按钮文本颜色",
|
|
208
|
+
tip: "keyboardButtonTextColor | 键盘按钮文本颜色",
|
|
209
|
+
},
|
|
210
|
+
propType: "string",
|
|
211
|
+
setter: "ColorSetter",
|
|
212
|
+
defaultValue: "#000000",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
name: "keyboardButtonHoverColor",
|
|
216
|
+
title: {
|
|
217
|
+
label: "键盘按钮悬停颜色",
|
|
218
|
+
tip: "keyboardButtonHoverColor | 键盘按钮悬停颜色",
|
|
219
|
+
},
|
|
220
|
+
propType: "string",
|
|
221
|
+
setter: "ColorSetter",
|
|
222
|
+
defaultValue: "#f5f5f5",
|
|
223
|
+
},
|
|
57
224
|
],
|
|
58
225
|
configure: {
|
|
59
226
|
supports: {
|
|
@@ -130,6 +130,173 @@ const PisellPriceKeyboardMeta: ComponentMetadata = {
|
|
|
130
130
|
},
|
|
131
131
|
],
|
|
132
132
|
},
|
|
133
|
+
{
|
|
134
|
+
name: 'selectType',
|
|
135
|
+
title: { label: '选择类型', tip: 'selectType | 选择类型' },
|
|
136
|
+
setter: {
|
|
137
|
+
componentName: 'RadioGroupSetter',
|
|
138
|
+
props: {
|
|
139
|
+
options: [
|
|
140
|
+
{ title: 'Light', value: 'light' },
|
|
141
|
+
{ title: 'Dark', value: 'dark' },
|
|
142
|
+
],
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
defaultValue: 'light',
|
|
146
|
+
extraProps: {
|
|
147
|
+
onChange: (value: string, target: any) => {
|
|
148
|
+
// 根据主题切换自动设置颜色
|
|
149
|
+
const isLight = value === 'light';
|
|
150
|
+
|
|
151
|
+
target.getProps().setPropValue('backgroundColor', isLight ? '#ffffff' : 'rgba(0, 0, 0, 0.70)');
|
|
152
|
+
target.getProps().setPropValue('containerBackgroundColor', isLight ? '#d0d5dd' : 'rgba(0, 0, 0, 0.40)');
|
|
153
|
+
target.getProps().setPropValue('buttonBackgroundColor', '#ffffff');
|
|
154
|
+
target.getProps().setPropValue('textColor', "#000000");
|
|
155
|
+
target.getProps().setPropValue('resetButtonBackgroundColor', '#ffffff');
|
|
156
|
+
target.getProps().setPropValue('resetButtonTextColor', "#d92d20");
|
|
157
|
+
target.getProps().setPropValue('doneButtonBackgroundColor', "#4ca30d");
|
|
158
|
+
target.getProps().setPropValue('doneButtonTextColor', "#ffffff");
|
|
159
|
+
target.getProps().setPropValue('isDoneButtonFollowTheme', true);
|
|
160
|
+
target.getProps().setPropValue('keyboardBackgroundColor', isLight ? '#f9f9f9' : 'rgba(0, 0, 0, 0.40)');
|
|
161
|
+
target.getProps().setPropValue('keyboardButtonBackgroundColor', '#ffffff');
|
|
162
|
+
target.getProps().setPropValue('keyboardButtonTextColor', '#000000');
|
|
163
|
+
target.getProps().setPropValue('keyboardButtonHoverColor', '#f5f5f5');
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
name: "backgroundColor",
|
|
169
|
+
title: {
|
|
170
|
+
label: "背景色",
|
|
171
|
+
tip: "backgroundColor | 背景色",
|
|
172
|
+
},
|
|
173
|
+
propType: "string",
|
|
174
|
+
setter: "ColorSetter",
|
|
175
|
+
defaultValue: "#ffffff",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: "containerBackgroundColor",
|
|
179
|
+
title: {
|
|
180
|
+
label: "容器背景色",
|
|
181
|
+
tip: "containerBackgroundColor | 容器背景色",
|
|
182
|
+
},
|
|
183
|
+
propType: "string",
|
|
184
|
+
setter: "ColorSetter",
|
|
185
|
+
defaultValue: "#d0d5dd",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
name: "buttonBackgroundColor",
|
|
189
|
+
title: {
|
|
190
|
+
label: "按钮背景色",
|
|
191
|
+
tip: "buttonBackgroundColor | 按钮背景色",
|
|
192
|
+
},
|
|
193
|
+
propType: "string",
|
|
194
|
+
setter: "ColorSetter",
|
|
195
|
+
defaultValue: "#ffffff",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: "textColor",
|
|
199
|
+
title: {
|
|
200
|
+
label: "文本颜色",
|
|
201
|
+
tip: "textColor | 文本颜色",
|
|
202
|
+
},
|
|
203
|
+
propType: "string",
|
|
204
|
+
setter: "ColorSetter",
|
|
205
|
+
defaultValue: "#000000",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
name: "resetButtonBackgroundColor",
|
|
209
|
+
title: {
|
|
210
|
+
label: "重置按钮背景色",
|
|
211
|
+
tip: "resetButtonBackgroundColor | 重置按钮背景色",
|
|
212
|
+
},
|
|
213
|
+
propType: "string",
|
|
214
|
+
setter: "ColorSetter",
|
|
215
|
+
defaultValue: "#ffffff",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
name: "resetButtonTextColor",
|
|
219
|
+
title: {
|
|
220
|
+
label: "重置按钮文本颜色",
|
|
221
|
+
tip: "resetButtonTextColor | 重置按钮文本颜色",
|
|
222
|
+
},
|
|
223
|
+
propType: "string",
|
|
224
|
+
setter: "ColorSetter",
|
|
225
|
+
defaultValue: "#d92d20",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: 'isDoneButtonFollowTheme',
|
|
229
|
+
title: { label: 'Done按钮颜色跟随主题色', tip: 'isDoneButtonFollowTheme | Done按钮颜色跟随主题色' },
|
|
230
|
+
propType: 'bool',
|
|
231
|
+
defaultValue: true,
|
|
232
|
+
setter: 'BoolSetter'
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
name: "doneButtonBackgroundColor",
|
|
236
|
+
title: {
|
|
237
|
+
label: "Done按钮背景色",
|
|
238
|
+
tip: "doneButtonBackgroundColor | Done按钮背景色",
|
|
239
|
+
},
|
|
240
|
+
propType: "string",
|
|
241
|
+
setter: "ColorSetter",
|
|
242
|
+
defaultValue: "#4ca30d",
|
|
243
|
+
condition(target: any) {
|
|
244
|
+
return !target.getProps().getPropValue("isDoneButtonFollowTheme");
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
name: "doneButtonTextColor",
|
|
249
|
+
title: {
|
|
250
|
+
label: "Done按钮文本颜色",
|
|
251
|
+
tip: "doneButtonTextColor | Done按钮文本颜色",
|
|
252
|
+
},
|
|
253
|
+
propType: "string",
|
|
254
|
+
setter: "ColorSetter",
|
|
255
|
+
defaultValue: "#ffffff",
|
|
256
|
+
condition(target: any) {
|
|
257
|
+
return !target.getProps().getPropValue("isDoneButtonFollowTheme");
|
|
258
|
+
},
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: "keyboardBackgroundColor",
|
|
262
|
+
title: {
|
|
263
|
+
label: "键盘背景色",
|
|
264
|
+
tip: "keyboardBackgroundColor | 键盘背景色",
|
|
265
|
+
},
|
|
266
|
+
propType: "string",
|
|
267
|
+
setter: "ColorSetter",
|
|
268
|
+
defaultValue: "#f9f9f9",
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
name: "keyboardButtonBackgroundColor",
|
|
272
|
+
title: {
|
|
273
|
+
label: "键盘按钮背景色",
|
|
274
|
+
tip: "keyboardButtonBackgroundColor | 键盘按钮背景色",
|
|
275
|
+
},
|
|
276
|
+
propType: "string",
|
|
277
|
+
setter: "ColorSetter",
|
|
278
|
+
defaultValue: "#ffffff",
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
name: "keyboardButtonTextColor",
|
|
282
|
+
title: {
|
|
283
|
+
label: "键盘按钮文本颜色",
|
|
284
|
+
tip: "keyboardButtonTextColor | 键盘按钮文本颜色",
|
|
285
|
+
},
|
|
286
|
+
propType: "string",
|
|
287
|
+
setter: "ColorSetter",
|
|
288
|
+
defaultValue: "#000000",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: "keyboardButtonHoverColor",
|
|
292
|
+
title: {
|
|
293
|
+
label: "键盘按钮悬停颜色",
|
|
294
|
+
tip: "keyboardButtonHoverColor | 键盘按钮悬停颜色",
|
|
295
|
+
},
|
|
296
|
+
propType: "string",
|
|
297
|
+
setter: "ColorSetter",
|
|
298
|
+
defaultValue: "#f5f5f5",
|
|
299
|
+
},
|
|
133
300
|
],
|
|
134
301
|
configure: {
|
|
135
302
|
supports: {
|