@pisell/materials 6.3.17 → 6.3.18
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 +5 -5
- package/build/lowcode/preview.js +144 -144
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +23 -23
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +23 -23
- package/es/components/TimeResourceSelector/index.d.ts +21 -0
- package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
- package/es/components/auto-resize-text/auto-text-size-standalone.js +258 -0
- package/es/components/auto-resize-text/index.d.ts +6 -0
- package/es/components/auto-resize-text/index.js +40 -0
- package/es/components/cardPro/index.js +10 -3
- package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +16 -16
- package/es/components/iconfont/index.js +1 -1
- package/es/components/keyboard/index.d.ts +22 -0
- package/es/components/keyboard/index.js +159 -0
- package/es/components/keyboard/index.less +44 -0
- package/es/components/page/index.js +5 -2
- package/es/components/pisell-config-provider/context.d.ts +2 -0
- package/es/components/pisell-config-provider/index.d.ts +1 -0
- package/es/components/pisellAdjustPrice/index.js +5 -1
- package/es/components/pisellAdjustPrice/type.d.ts +2 -0
- package/es/components/pisellCardList/index.d.ts +32 -2
- package/es/components/pisellCardList/index.js +39 -2
- package/es/components/pisellCardList/index.less +9 -1
- package/es/components/pisellCheckboxGroup/index.d.ts +3 -0
- package/es/components/pisellCheckboxGroup/index.js +9 -4
- package/es/components/pisellCheckboxGroup/index.less +28 -1
- package/es/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
- package/es/components/pisellGoodPassCard/index.d.ts +1 -0
- package/es/components/pisellGoodPassCard/index.js +17 -5
- package/es/components/pisellText/components/Amount/index.js +2 -1
- package/es/components/pisellToast/index.d.ts +1 -0
- package/es/components/pisellToast/index.js +4 -0
- package/es/components/pisellToast/squareToast/index.d.ts +15 -0
- package/es/components/pisellToast/squareToast/index.js +28 -0
- package/es/components/pisellToast/squareToast/index.less +60 -0
- package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/es/components/pisellToast/squareToast/methods.js +136 -0
- package/es/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/es/components/pisellToast/squareToast/renderImperatively.js +190 -0
- package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/es/components/pisellToast/squareToast/toast.js +60 -0
- package/es/components/pisellWalletPassCard/index.d.ts +53 -1
- package/es/components/pisellWalletPassCard/index.js +333 -73
- package/es/components/pisellWalletPassCard/index.less +47 -9
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +80 -0
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.js +82 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.js +56 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.js +29 -0
- package/es/components/productCard/cartSkuCard/components/Note/index.less +27 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +28 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +94 -0
- package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +117 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.js +51 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.js +49 -0
- package/es/components/productCard/cartSkuCard/components/holders/index.less +47 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.js +52 -0
- package/es/components/productCard/cartSkuCard/components/packages/index.less +22 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
- package/es/components/productCard/cartSkuCard/components/packages/utils.js +40 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.js +39 -0
- package/es/components/productCard/cartSkuCard/components/resources/index.less +19 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.js +57 -0
- package/es/components/productCard/cartSkuCard/components/sales/index.less +22 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.js +44 -0
- package/es/components/productCard/cartSkuCard/components/specs/index.less +34 -0
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.js +360 -0
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.less +74 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.js +54 -0
- package/es/components/productCard/cartSkuCard/components/timeRange/index.less +38 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
- package/es/components/productCard/cartSkuCard/index.js +194 -0
- package/es/components/productCard/cartSkuCard/index.less +33 -0
- package/es/components/productCard/cartSkuCard/locales.d.ts +99 -0
- package/es/components/productCard/cartSkuCard/locales.js +33 -0
- package/es/components/productCard/components/Action/index.js +14 -1
- package/es/components/productCard/components/Action/index.less +3 -0
- package/es/components/productCard/components/Header/index.js +23 -8
- package/es/components/productCard/components/Header/index.less +16 -1
- package/es/components/productCard/components/Sales/index.js +2 -2
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +3 -1
- package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
- package/es/components/productCard/index.d.ts +3 -1
- package/es/components/productCard/index.js +7 -2
- package/es/components/productCard/index.less +6 -0
- package/es/components/productCard/locales.js +3 -0
- package/es/components/productCard/status.js +1 -0
- package/es/components/productCard/types.d.ts +1 -0
- package/es/components/productCard/utils.js +8 -1
- package/es/components/select-time/index.d.ts +14 -0
- package/es/components/table/Table/AddFieldModal/index.d.ts +1 -0
- package/es/components/table/Table/AddFieldModal/index.js +13 -13
- package/es/components/table/Table/AddFieldModal/index.less +11 -11
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +5 -1
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.js +21 -7
- package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.less +9 -5
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +4 -0
- package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +44 -25
- package/es/components/virtual-keyboard/Number/index.js +4 -1
- package/es/components/virtual-keyboard/Number/types.d.ts +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/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
- package/es/components/virtualInput/BaseVirtualInput/index.js +163 -0
- package/es/components/virtualInput/BaseVirtualInput/index.less +77 -0
- package/es/components/virtualInput/index.d.ts +24 -0
- package/es/components/virtualInput/index.js +60 -0
- package/es/components/virtualInput/index.less +42 -0
- package/es/index.d.ts +5 -1
- package/es/index.js +5 -2
- package/es/locales/en-US.d.ts +19 -2
- package/es/locales/en-US.js +29 -6
- package/es/locales/zh-CN.d.ts +19 -2
- package/es/locales/zh-CN.js +29 -6
- package/es/locales/zh-TW.d.ts +19 -2
- package/es/locales/zh-TW.js +28 -6
- package/lib/components/TimeResourceSelector/index.d.ts +21 -0
- package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
- package/lib/components/auto-resize-text/auto-text-size-standalone.js +273 -0
- package/lib/components/auto-resize-text/index.d.ts +6 -0
- package/lib/components/auto-resize-text/index.js +71 -0
- package/lib/components/cardPro/index.js +3 -2
- package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +16 -16
- package/lib/components/iconfont/index.js +1 -1
- package/lib/components/keyboard/index.d.ts +22 -0
- package/lib/components/keyboard/index.js +223 -0
- package/lib/components/keyboard/index.less +44 -0
- package/lib/components/page/index.js +3 -2
- package/lib/components/pisell-config-provider/context.d.ts +2 -0
- package/lib/components/pisell-config-provider/index.d.ts +1 -0
- package/lib/components/pisellAdjustPrice/index.js +4 -0
- package/lib/components/pisellAdjustPrice/type.d.ts +2 -0
- package/lib/components/pisellCardList/index.d.ts +32 -2
- package/lib/components/pisellCardList/index.js +39 -2
- package/lib/components/pisellCardList/index.less +9 -1
- package/lib/components/pisellCheckboxGroup/index.d.ts +3 -0
- package/lib/components/pisellCheckboxGroup/index.js +6 -1
- package/lib/components/pisellCheckboxGroup/index.less +28 -1
- package/lib/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
- package/lib/components/pisellGoodPassCard/index.d.ts +1 -0
- package/lib/components/pisellGoodPassCard/index.js +31 -4
- package/lib/components/pisellText/components/Amount/index.js +2 -1
- package/lib/components/pisellToast/index.d.ts +1 -0
- package/lib/components/pisellToast/index.js +10 -1
- package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
- package/lib/components/pisellToast/squareToast/index.js +58 -0
- package/lib/components/pisellToast/squareToast/index.less +60 -0
- package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
- package/lib/components/pisellToast/squareToast/methods.js +150 -0
- package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
- package/lib/components/pisellToast/squareToast/renderImperatively.js +162 -0
- package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
- package/lib/components/pisellToast/squareToast/toast.js +88 -0
- package/lib/components/pisellWalletPassCard/index.d.ts +53 -1
- package/lib/components/pisellWalletPassCard/index.js +257 -59
- package/lib/components/pisellWalletPassCard/index.less +47 -9
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +80 -0
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.js +71 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.js +77 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.js +56 -0
- package/lib/components/productCard/cartSkuCard/components/Note/index.less +27 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +28 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +83 -0
- package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +117 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +70 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.js +64 -0
- package/lib/components/productCard/cartSkuCard/components/holders/index.less +47 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.js +73 -0
- package/lib/components/productCard/cartSkuCard/components/packages/index.less +22 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
- package/lib/components/productCard/cartSkuCard/components/packages/utils.js +44 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.js +71 -0
- package/lib/components/productCard/cartSkuCard/components/resources/index.less +19 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.js +77 -0
- package/lib/components/productCard/cartSkuCard/components/sales/index.less +22 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.js +66 -0
- package/lib/components/productCard/cartSkuCard/components/specs/index.less +34 -0
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.js +373 -0
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.less +74 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +68 -0
- package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +38 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
- package/lib/components/productCard/cartSkuCard/index.js +229 -0
- package/lib/components/productCard/cartSkuCard/index.less +33 -0
- package/lib/components/productCard/cartSkuCard/locales.d.ts +99 -0
- package/lib/components/productCard/cartSkuCard/locales.js +64 -0
- package/lib/components/productCard/components/Action/index.js +9 -0
- package/lib/components/productCard/components/Action/index.less +3 -0
- package/lib/components/productCard/components/Header/index.js +21 -11
- package/lib/components/productCard/components/Header/index.less +16 -1
- package/lib/components/productCard/components/Sales/index.js +2 -2
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -1
- package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
- package/lib/components/productCard/index.d.ts +3 -1
- package/lib/components/productCard/index.js +7 -2
- package/lib/components/productCard/index.less +6 -0
- package/lib/components/productCard/locales.js +12 -3
- package/lib/components/productCard/status.js +1 -0
- package/lib/components/productCard/types.d.ts +1 -0
- package/lib/components/productCard/utils.js +8 -1
- package/lib/components/select-time/index.d.ts +14 -0
- package/lib/components/table/Table/AddFieldModal/index.d.ts +1 -0
- package/lib/components/table/Table/AddFieldModal/index.js +9 -9
- package/lib/components/table/Table/AddFieldModal/index.less +11 -11
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +5 -1
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.js +19 -2
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.less +9 -5
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +4 -0
- package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +45 -27
- package/lib/components/virtual-keyboard/Number/index.js +3 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +1 -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/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
- package/lib/components/virtualInput/BaseVirtualInput/index.js +179 -0
- package/lib/components/virtualInput/BaseVirtualInput/index.less +77 -0
- package/lib/components/virtualInput/index.d.ts +24 -0
- package/lib/components/virtualInput/index.js +102 -0
- package/lib/components/virtualInput/index.less +42 -0
- package/lib/index.d.ts +5 -1
- package/lib/index.js +11 -0
- package/lib/locales/en-US.d.ts +19 -2
- package/lib/locales/en-US.js +24 -5
- package/lib/locales/zh-CN.d.ts +19 -2
- package/lib/locales/zh-CN.js +24 -5
- package/lib/locales/zh-TW.d.ts +19 -2
- package/lib/locales/zh-TW.js +23 -5
- package/package.json +4 -4
- package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -12
- package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -12
package/lib/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __export(src_exports, {
|
|
|
35
35
|
AppVersionControl: () => import_appVersionControl.default,
|
|
36
36
|
AutoComplete: () => import_auto_complete.default,
|
|
37
37
|
AutoCompleteNumber: () => import_auto_complete_number.default,
|
|
38
|
+
AutoResizeText: () => import_auto_resize_text.default,
|
|
38
39
|
Avatar: () => import_antd.Avatar,
|
|
39
40
|
Badge: () => import_badge.default,
|
|
40
41
|
BaseTranslation: () => import_BaseTranslation.default,
|
|
@@ -97,6 +98,7 @@ __export(src_exports, {
|
|
|
97
98
|
InputNumber: () => import_antd.InputNumber,
|
|
98
99
|
InputNumberRange: () => import_input_number_range.default,
|
|
99
100
|
JsonWrapper: () => import_JsonWrapperProvider.default,
|
|
101
|
+
Keyboard: () => import_keyboard.default,
|
|
100
102
|
List: () => import_list.default,
|
|
101
103
|
LowCodePage: () => import_lowCodePage.default,
|
|
102
104
|
Mentions: () => import_antd.Mentions,
|
|
@@ -194,6 +196,7 @@ __export(src_exports, {
|
|
|
194
196
|
TreeSelect: () => import_tree_select.default,
|
|
195
197
|
Typography: () => import_typography.default,
|
|
196
198
|
Upload: () => import_upload.default,
|
|
199
|
+
VirtualInput: () => import_virtualInput.default,
|
|
197
200
|
VirtualKeyboard: () => import_virtual_keyboard.default,
|
|
198
201
|
VirtualKeyboardTime: () => import_Time.default,
|
|
199
202
|
WalletCard: () => import_walletCard.default,
|
|
@@ -203,6 +206,7 @@ __export(src_exports, {
|
|
|
203
206
|
message: () => import_antd.message,
|
|
204
207
|
notification: () => import_antd.notification,
|
|
205
208
|
usePisellConfig: () => import_usePisellConfig.default,
|
|
209
|
+
useToast: () => import_pisellToast.useToast,
|
|
206
210
|
version: () => import_antd.version
|
|
207
211
|
});
|
|
208
212
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -345,6 +349,9 @@ var import_section_footers = __toESM(require("./components/section-footers"));
|
|
|
345
349
|
var import_productCard = __toESM(require("./components/productCard"));
|
|
346
350
|
var import_collapse = __toESM(require("./components/collapse"));
|
|
347
351
|
var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard"));
|
|
352
|
+
var import_keyboard = __toESM(require("./components/keyboard"));
|
|
353
|
+
var import_virtualInput = __toESM(require("./components/virtualInput"));
|
|
354
|
+
var import_auto_resize_text = __toESM(require("./components/auto-resize-text"));
|
|
348
355
|
// Annotate the CommonJS export names for ESM import in node:
|
|
349
356
|
0 && (module.exports = {
|
|
350
357
|
Affix,
|
|
@@ -353,6 +360,7 @@ var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard
|
|
|
353
360
|
AppVersionControl,
|
|
354
361
|
AutoComplete,
|
|
355
362
|
AutoCompleteNumber,
|
|
363
|
+
AutoResizeText,
|
|
356
364
|
Avatar,
|
|
357
365
|
Badge,
|
|
358
366
|
BaseTranslation,
|
|
@@ -415,6 +423,7 @@ var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard
|
|
|
415
423
|
InputNumber,
|
|
416
424
|
InputNumberRange,
|
|
417
425
|
JsonWrapper,
|
|
426
|
+
Keyboard,
|
|
418
427
|
List,
|
|
419
428
|
LowCodePage,
|
|
420
429
|
Mentions,
|
|
@@ -512,6 +521,7 @@ var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard
|
|
|
512
521
|
TreeSelect,
|
|
513
522
|
Typography,
|
|
514
523
|
Upload,
|
|
524
|
+
VirtualInput,
|
|
515
525
|
VirtualKeyboard,
|
|
516
526
|
VirtualKeyboardTime,
|
|
517
527
|
WalletCard,
|
|
@@ -521,5 +531,6 @@ var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard
|
|
|
521
531
|
message,
|
|
522
532
|
notification,
|
|
523
533
|
usePisellConfig,
|
|
534
|
+
useToast,
|
|
524
535
|
version
|
|
525
536
|
});
|
package/lib/locales/en-US.d.ts
CHANGED
|
@@ -273,12 +273,19 @@ declare const _default: {
|
|
|
273
273
|
'pisell-login-and-register-register-button-text': string;
|
|
274
274
|
'pisell-login-and-register-remember-me': string;
|
|
275
275
|
'pisell-login-and-register-forgot-password': string;
|
|
276
|
-
'pisell2.wallet-card.add-holder-tip': string;
|
|
277
|
-
'pisell2.wallet-card.add-holder-button-text': string;
|
|
278
276
|
'pisell2.text.goodpass.product-vouchers': string;
|
|
279
277
|
'pisell2.text.goodpass.last-settlement': string;
|
|
280
278
|
'pisell2.text.goodpass.view-more': string;
|
|
281
279
|
'pisell2.text.goodpass.save': string;
|
|
280
|
+
'pisell-wallet-pass-card-status-used': string;
|
|
281
|
+
'pisell-wallet-pass-card-status-expired': string;
|
|
282
|
+
'pisell-wallet-pass-card-status-disabled': string;
|
|
283
|
+
'pisell-wallet-pass-card-status-conflict': string;
|
|
284
|
+
'pisell-wallet-pass-card-status-lastPayment': string;
|
|
285
|
+
'pisell-wallet-pass-card-reset': string;
|
|
286
|
+
'pisell-wallet-pass-card-done': string;
|
|
287
|
+
'pisell2.wallet-card.add-holder-tip': string;
|
|
288
|
+
'pisell2.wallet-card.add-holder-button-text': string;
|
|
282
289
|
'pisell-camera-no-camera-accessible': string;
|
|
283
290
|
'pisell-camera-permission-denied': string;
|
|
284
291
|
'pisell-camera-switch-camera': string;
|
|
@@ -289,5 +296,15 @@ declare const _default: {
|
|
|
289
296
|
'pisell-upload-camera-capture': string;
|
|
290
297
|
'pisell-upload-camera-retake': string;
|
|
291
298
|
'pisell-upload-camera-use': string;
|
|
299
|
+
'pisell-list-tab-group-default': string;
|
|
300
|
+
'pisell-list-empty-text-default': string;
|
|
301
|
+
'pisell-list-load-more': string;
|
|
302
|
+
'pisell-list-view-less': string;
|
|
303
|
+
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
304
|
+
'pisell-list-scroll-down': string;
|
|
305
|
+
'pisell-list-scroll-right': string;
|
|
306
|
+
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
307
|
+
'pisell-list-pagination-previous': string;
|
|
308
|
+
'pisell-list-pagination-next': string;
|
|
292
309
|
};
|
|
293
310
|
export default _default;
|
package/lib/locales/en-US.js
CHANGED
|
@@ -153,7 +153,7 @@ var en_US_default = {
|
|
|
153
153
|
"pisell-wallet-pass-card-name": "Name",
|
|
154
154
|
"pisell-wallet-pass-card-store-name": "StoreName",
|
|
155
155
|
"pisell-wallet-pass-card-balance": "Balance",
|
|
156
|
-
"pisell-wallet-pass-card-redeem": "
|
|
156
|
+
"pisell-wallet-pass-card-redeem": "use",
|
|
157
157
|
"pisell-wallet-pass-card-code": "Code",
|
|
158
158
|
"pisell-wallet-pass-card-valid-to": "Valid to",
|
|
159
159
|
"pisell-wallet-pass-card-valid": "Valid",
|
|
@@ -325,13 +325,21 @@ var en_US_default = {
|
|
|
325
325
|
"pisell-login-and-register-register-button-text": "Create account",
|
|
326
326
|
"pisell-login-and-register-remember-me": "Remember me",
|
|
327
327
|
"pisell-login-and-register-forgot-password": "Forgot password?",
|
|
328
|
-
//
|
|
329
|
-
"pisell2.wallet-card.add-holder-tip": "To ensure your benefits, please\r\nassign a holder to activate this card.",
|
|
330
|
-
"pisell2.wallet-card.add-holder-button-text": "Set Holder",
|
|
328
|
+
// 商品券组件
|
|
331
329
|
"pisell2.text.goodpass.product-vouchers": "Promotions & Vouchers",
|
|
332
330
|
"pisell2.text.goodpass.last-settlement": "(Last payment)",
|
|
333
331
|
"pisell2.text.goodpass.view-more": "View More",
|
|
334
332
|
"pisell2.text.goodpass.save": "Save",
|
|
333
|
+
// 钱包卡片组件
|
|
334
|
+
"pisell-wallet-pass-card-status-used": "Used",
|
|
335
|
+
"pisell-wallet-pass-card-status-expired": "Expired",
|
|
336
|
+
"pisell-wallet-pass-card-status-disabled": "Disabled",
|
|
337
|
+
"pisell-wallet-pass-card-status-conflict": "Conflict",
|
|
338
|
+
"pisell-wallet-pass-card-status-lastPayment": "Last Payment",
|
|
339
|
+
"pisell-wallet-pass-card-reset": "Reset",
|
|
340
|
+
"pisell-wallet-pass-card-done": "Done",
|
|
341
|
+
"pisell2.wallet-card.add-holder-tip": "To ensure your benefits, please\r\nassign a holder to activate this card.",
|
|
342
|
+
"pisell2.wallet-card.add-holder-button-text": "Set Holder",
|
|
335
343
|
// 相机组件
|
|
336
344
|
"pisell-camera-no-camera-accessible": "No camera accessible",
|
|
337
345
|
"pisell-camera-permission-denied": "Permission denied",
|
|
@@ -343,5 +351,16 @@ var en_US_default = {
|
|
|
343
351
|
"pisell-upload-camera-local-files": "Local Files",
|
|
344
352
|
"pisell-upload-camera-capture": "Capture",
|
|
345
353
|
"pisell-upload-camera-retake": "Retake",
|
|
346
|
-
"pisell-upload-camera-use": "Use photo"
|
|
354
|
+
"pisell-upload-camera-use": "Use photo",
|
|
355
|
+
// 列表组件
|
|
356
|
+
"pisell-list-tab-group-default": "Field",
|
|
357
|
+
"pisell-list-empty-text-default": "No data available",
|
|
358
|
+
"pisell-list-load-more": "Load More",
|
|
359
|
+
"pisell-list-view-less": "View Less",
|
|
360
|
+
"pisell-list-pagination-total": (start, end, total) => `Showing ${start}-${end} of ${total} items`,
|
|
361
|
+
"pisell-list-scroll-down": "Scroll Down",
|
|
362
|
+
"pisell-list-scroll-right": "Scroll Right",
|
|
363
|
+
"pisell-list-pagination-page-of": (current, total) => `Page ${current} of ${total}`,
|
|
364
|
+
"pisell-list-pagination-previous": "Previous",
|
|
365
|
+
"pisell-list-pagination-next": "Next"
|
|
347
366
|
};
|
package/lib/locales/zh-CN.d.ts
CHANGED
|
@@ -268,12 +268,19 @@ declare const _default: {
|
|
|
268
268
|
'pisell-login-and-register-register-button-text': string;
|
|
269
269
|
'pisell-login-and-register-remember-me': string;
|
|
270
270
|
'pisell-login-and-register-forgot-password': string;
|
|
271
|
-
'pisell2.wallet-card.add-holder-tip': string;
|
|
272
|
-
'pisell2.wallet-card.add-holder-button-text': string;
|
|
273
271
|
'pisell2.text.goodpass.product-vouchers': string;
|
|
274
272
|
'pisell2.text.goodpass.last-settlement': string;
|
|
275
273
|
'pisell2.text.goodpass.view-more': string;
|
|
276
274
|
'pisell2.text.goodpass.save': string;
|
|
275
|
+
'pisell-wallet-pass-card-status-used': string;
|
|
276
|
+
'pisell-wallet-pass-card-status-expired': string;
|
|
277
|
+
'pisell-wallet-pass-card-status-disabled': string;
|
|
278
|
+
'pisell-wallet-pass-card-status-conflict': string;
|
|
279
|
+
'pisell-wallet-pass-card-status-lastPayment': string;
|
|
280
|
+
'pisell-wallet-pass-card-reset': string;
|
|
281
|
+
'pisell-wallet-pass-card-done': string;
|
|
282
|
+
'pisell2.wallet-card.add-holder-tip': string;
|
|
283
|
+
'pisell2.wallet-card.add-holder-button-text': string;
|
|
277
284
|
'pisell-camera-no-camera-accessible': string;
|
|
278
285
|
'pisell-camera-permission-denied': string;
|
|
279
286
|
'pisell-camera-switch-camera': string;
|
|
@@ -284,5 +291,15 @@ declare const _default: {
|
|
|
284
291
|
'pisell-upload-camera-capture': string;
|
|
285
292
|
'pisell-upload-camera-retake': string;
|
|
286
293
|
'pisell-upload-camera-use': string;
|
|
294
|
+
'pisell-list-tab-group-default': string;
|
|
295
|
+
'pisell-list-empty-text-default': string;
|
|
296
|
+
'pisell-list-load-more': string;
|
|
297
|
+
'pisell-list-view-less': string;
|
|
298
|
+
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
299
|
+
'pisell-list-scroll-down': string;
|
|
300
|
+
'pisell-list-scroll-right': string;
|
|
301
|
+
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
302
|
+
'pisell-list-pagination-previous': string;
|
|
303
|
+
'pisell-list-pagination-next': string;
|
|
287
304
|
};
|
|
288
305
|
export default _default;
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -153,7 +153,7 @@ var zh_CN_default = {
|
|
|
153
153
|
"pisell-wallet-pass-card-name": "商品名称",
|
|
154
154
|
"pisell-wallet-pass-card-store-name": "共享店铺名称",
|
|
155
155
|
"pisell-wallet-pass-card-balance": "余额",
|
|
156
|
-
"pisell-wallet-pass-card-redeem": "
|
|
156
|
+
"pisell-wallet-pass-card-redeem": "使用",
|
|
157
157
|
"pisell-wallet-pass-card-code": "识别码编号",
|
|
158
158
|
"pisell-wallet-pass-card-valid-to": "有效期至",
|
|
159
159
|
"pisell-wallet-pass-card-valid": "有效期",
|
|
@@ -316,13 +316,21 @@ var zh_CN_default = {
|
|
|
316
316
|
"pisell-login-and-register-register-button-text": "创建账户",
|
|
317
317
|
"pisell-login-and-register-remember-me": "记住我",
|
|
318
318
|
"pisell-login-and-register-forgot-password": "忘记密码?",
|
|
319
|
-
//
|
|
320
|
-
"pisell2.wallet-card.add-holder-tip": "为确保您的权益,此卡\r\n需指定使用人后方可激活使用。",
|
|
321
|
-
"pisell2.wallet-card.add-holder-button-text": "添加持有人",
|
|
319
|
+
// 商品券
|
|
322
320
|
"pisell2.text.goodpass.product-vouchers": "优惠促销",
|
|
323
321
|
"pisell2.text.goodpass.last-settlement": "(上次结算)",
|
|
324
322
|
"pisell2.text.goodpass.view-more": "查看更多",
|
|
325
323
|
"pisell2.text.goodpass.save": "节省",
|
|
324
|
+
// 钱包卡片组件
|
|
325
|
+
"pisell-wallet-pass-card-status-used": "已使用",
|
|
326
|
+
"pisell-wallet-pass-card-status-expired": "已过期",
|
|
327
|
+
"pisell-wallet-pass-card-status-disabled": "已禁用",
|
|
328
|
+
"pisell-wallet-pass-card-status-conflict": "冲突",
|
|
329
|
+
"pisell-wallet-pass-card-status-lastPayment": "上次结算",
|
|
330
|
+
"pisell-wallet-pass-card-reset": "清空",
|
|
331
|
+
"pisell-wallet-pass-card-done": "保存",
|
|
332
|
+
"pisell2.wallet-card.add-holder-tip": "为确保您的权益,此卡\r\n需指定使用人后方可激活使用。",
|
|
333
|
+
"pisell2.wallet-card.add-holder-button-text": "添加持有人",
|
|
326
334
|
// 相机组件
|
|
327
335
|
"pisell-camera-no-camera-accessible": "没有找到摄像头",
|
|
328
336
|
"pisell-camera-permission-denied": "没有权限使用摄像头",
|
|
@@ -334,5 +342,16 @@ var zh_CN_default = {
|
|
|
334
342
|
"pisell-upload-camera-local-files": "本地文件",
|
|
335
343
|
"pisell-upload-camera-capture": "拍摄/拍照",
|
|
336
344
|
"pisell-upload-camera-retake": "重拍",
|
|
337
|
-
"pisell-upload-camera-use": "使用照片"
|
|
345
|
+
"pisell-upload-camera-use": "使用照片",
|
|
346
|
+
// 列表组件
|
|
347
|
+
"pisell-list-tab-group-default": "字段",
|
|
348
|
+
"pisell-list-empty-text-default": "暂无数据",
|
|
349
|
+
"pisell-list-load-more": "查看更多",
|
|
350
|
+
"pisell-list-view-less": "查看更少",
|
|
351
|
+
"pisell-list-pagination-total": (start, end, total) => `显示第 ${start}-${end} 条,共 ${total} 条`,
|
|
352
|
+
"pisell-list-scroll-down": "向下滚动",
|
|
353
|
+
"pisell-list-scroll-right": "向右滚动",
|
|
354
|
+
"pisell-list-pagination-page-of": (current, total) => `第 ${current} 页 共 ${total} 页`,
|
|
355
|
+
"pisell-list-pagination-previous": "上一页",
|
|
356
|
+
"pisell-list-pagination-next": "下一页"
|
|
338
357
|
};
|
package/lib/locales/zh-TW.d.ts
CHANGED
|
@@ -268,12 +268,19 @@ declare const _default: {
|
|
|
268
268
|
'pisell-login-and-register-register-button-text': string;
|
|
269
269
|
'pisell-login-and-register-remember-me': string;
|
|
270
270
|
'pisell-login-and-register-forgot-password': string;
|
|
271
|
-
'pisell2.wallet-card.add-holder-tip': string;
|
|
272
|
-
'pisell2.wallet-card.add-holder-button-text': string;
|
|
273
271
|
'pisell2.text.goodpass.product-vouchers': string;
|
|
274
272
|
'pisell2.text.goodpass.last-settlement': string;
|
|
275
273
|
'pisell2.text.goodpass.view-more': string;
|
|
276
274
|
'pisell2.text.goodpass.save': string;
|
|
275
|
+
'pisell-wallet-pass-card-status-used': string;
|
|
276
|
+
'pisell-wallet-pass-card-status-expired': string;
|
|
277
|
+
'pisell-wallet-pass-card-status-disabled': string;
|
|
278
|
+
'pisell-wallet-pass-card-status-conflict': string;
|
|
279
|
+
'pisell-wallet-pass-card-status-lastPayment': string;
|
|
280
|
+
'pisell-wallet-pass-card-reset': string;
|
|
281
|
+
'pisell-wallet-pass-card-done': string;
|
|
282
|
+
'pisell2.wallet-card.add-holder-tip': string;
|
|
283
|
+
'pisell2.wallet-card.add-holder-button-text': string;
|
|
277
284
|
'pisell-camera-no-camera-accessible': string;
|
|
278
285
|
'pisell-camera-permission-denied': string;
|
|
279
286
|
'pisell-camera-switch-camera': string;
|
|
@@ -284,5 +291,15 @@ declare const _default: {
|
|
|
284
291
|
'pisell-upload-camera-capture': string;
|
|
285
292
|
'pisell-upload-camera-retake': string;
|
|
286
293
|
'pisell-upload-camera-use': string;
|
|
294
|
+
'pisell-list-tab-group-default': string;
|
|
295
|
+
'pisell-list-empty-text-default': string;
|
|
296
|
+
'pisell-list-load-more': string;
|
|
297
|
+
'pisell-list-view-less': string;
|
|
298
|
+
'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
|
|
299
|
+
'pisell-list-scroll-down': string;
|
|
300
|
+
'pisell-list-scroll-right': string;
|
|
301
|
+
'pisell-list-pagination-page-of': (current: number, total: number) => string;
|
|
302
|
+
'pisell-list-pagination-previous': string;
|
|
303
|
+
'pisell-list-pagination-next': string;
|
|
287
304
|
};
|
|
288
305
|
export default _default;
|
package/lib/locales/zh-TW.js
CHANGED
|
@@ -153,7 +153,7 @@ var zh_TW_default = {
|
|
|
153
153
|
"pisell-wallet-pass-card-name": "商品名稱",
|
|
154
154
|
"pisell-wallet-pass-card-store-name": "共享店鋪名稱",
|
|
155
155
|
"pisell-wallet-pass-card-balance": "餘額",
|
|
156
|
-
"pisell-wallet-pass-card-redeem": "
|
|
156
|
+
"pisell-wallet-pass-card-redeem": "使用",
|
|
157
157
|
"pisell-wallet-pass-card-code": "識別碼編號",
|
|
158
158
|
"pisell-wallet-pass-card-valid-to": "有效期至",
|
|
159
159
|
"pisell-wallet-pass-card-valid": "有效期",
|
|
@@ -318,13 +318,20 @@ var zh_TW_default = {
|
|
|
318
318
|
"pisell-login-and-register-register-button-text": "創建帳戶",
|
|
319
319
|
"pisell-login-and-register-remember-me": "記住我",
|
|
320
320
|
"pisell-login-and-register-forgot-password": "忘記密碼?",
|
|
321
|
-
// 钱包卡片组件
|
|
322
|
-
"pisell2.wallet-card.add-holder-tip": "為確保您的權益,此卡\r\n需指定使用人後方可激活使用。",
|
|
323
|
-
"pisell2.wallet-card.add-holder-button-text": "添加使用人",
|
|
324
321
|
"pisell2.text.goodpass.product-vouchers": "優惠促銷",
|
|
325
322
|
"pisell2.text.goodpass.last-settlement": "(上次結算)",
|
|
326
323
|
"pisell2.text.goodpass.view-more": "查看更多",
|
|
327
324
|
"pisell2.text.goodpass.save": "節省",
|
|
325
|
+
// 钱包卡片组件
|
|
326
|
+
"pisell-wallet-pass-card-status-used": "已使用",
|
|
327
|
+
"pisell-wallet-pass-card-status-expired": "已過期",
|
|
328
|
+
"pisell-wallet-pass-card-status-disabled": "已禁用",
|
|
329
|
+
"pisell-wallet-pass-card-status-conflict": "衝突",
|
|
330
|
+
"pisell-wallet-pass-card-status-lastPayment": "上次結算",
|
|
331
|
+
"pisell-wallet-pass-card-reset": "清空",
|
|
332
|
+
"pisell-wallet-pass-card-done": "保存",
|
|
333
|
+
"pisell2.wallet-card.add-holder-tip": "為確保您的權益,此卡\r\n需指定使用人後方可激活使用。",
|
|
334
|
+
"pisell2.wallet-card.add-holder-button-text": "添加使用人",
|
|
328
335
|
// 相机组件
|
|
329
336
|
"pisell-camera-no-camera-accessible": "沒有找到攝像頭",
|
|
330
337
|
"pisell-camera-permission-denied": "沒有權限使用攝像頭",
|
|
@@ -336,5 +343,16 @@ var zh_TW_default = {
|
|
|
336
343
|
"pisell-upload-camera-local-files": "本地文件",
|
|
337
344
|
"pisell-upload-camera-capture": "拍攝/拍照",
|
|
338
345
|
"pisell-upload-camera-retake": "重拍",
|
|
339
|
-
"pisell-upload-camera-use": "使用照片"
|
|
346
|
+
"pisell-upload-camera-use": "使用照片",
|
|
347
|
+
// 列表組件
|
|
348
|
+
"pisell-list-tab-group-default": "字段",
|
|
349
|
+
"pisell-list-empty-text-default": "暫無數據",
|
|
350
|
+
"pisell-list-load-more": "查看更多",
|
|
351
|
+
"pisell-list-view-less": "查看更少",
|
|
352
|
+
"pisell-list-pagination-total": (start, end, total) => `顯示第 ${start}-${end} 條,共 ${total} 條`,
|
|
353
|
+
"pisell-list-scroll-down": "向下滾動",
|
|
354
|
+
"pisell-list-scroll-right": "向右滾動",
|
|
355
|
+
"pisell-list-pagination-page-of": (current, total) => `第 ${current} 頁 共 ${total} 頁`,
|
|
356
|
+
"pisell-list-pagination-previous": "上一頁",
|
|
357
|
+
"pisell-list-pagination-next": "下一頁"
|
|
340
358
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.18",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"react-barcode": "^1.5.3",
|
|
73
73
|
"vod-js-sdk-v6": "^1.4.11",
|
|
74
74
|
"react-camera-pro": "1.4.0",
|
|
75
|
-
"@pisell/date-picker": "3.0.
|
|
76
|
-
"@pisell/
|
|
77
|
-
"@pisell/
|
|
75
|
+
"@pisell/date-picker": "3.0.7",
|
|
76
|
+
"@pisell/utils": "3.0.4",
|
|
77
|
+
"@pisell/icon": "0.0.11"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"react": "^18.0.0",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface VariablesContextType {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
variables?: Record<string, any>;
|
|
5
|
-
registerVariable?: (value: Record<string, any>) => void;
|
|
6
|
-
parseVariable?: (str: string, localVariables?: Record<string, any>) => any;
|
|
7
|
-
registerValueVariable?: (componentId: string, value: Record<string, any>) => void;
|
|
8
|
-
registerFunctionVariable?: (componentId: string, value: Record<string, any>) => void;
|
|
9
|
-
subscribeVariables?: (listener: (allVariables: Record<string, any>, updateVariables: Record<string, any>) => void) => () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const VariablesContext: import("react").Context<VariablesContextType>;
|
|
12
|
-
export default VariablesContext;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export interface VariablesContextType {
|
|
3
|
-
children?: React.ReactNode;
|
|
4
|
-
variables?: Record<string, any>;
|
|
5
|
-
registerVariable?: (value: Record<string, any>) => void;
|
|
6
|
-
parseVariable?: (str: string, localVariables?: Record<string, any>) => any;
|
|
7
|
-
registerValueVariable?: (componentId: string, value: Record<string, any>) => void;
|
|
8
|
-
registerFunctionVariable?: (componentId: string, value: Record<string, any>) => void;
|
|
9
|
-
subscribeVariables?: (listener: (allVariables: Record<string, any>, updateVariables: Record<string, any>) => void) => () => void;
|
|
10
|
-
}
|
|
11
|
-
export declare const VariablesContext: import("react").Context<VariablesContextType>;
|
|
12
|
-
export default VariablesContext;
|