@pisell/private-materials 3.0.96 → 3.0.97
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 +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +16 -9
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +15 -8
- package/es/components/booking/addons/index.d.ts +1 -1
- package/es/components/booking/addons/model.d.ts +1 -2
- package/es/components/booking/forms/forms.d.ts +1 -1
- package/es/components/booking/forms/index.d.ts +1 -1
- package/es/components/booking/forms/model.d.ts +1 -2
- package/es/components/booking/index.d.ts +1 -1
- package/es/components/booking/info/index.d.ts +1 -1
- package/es/components/booking/info/model.d.ts +1 -2
- package/es/components/booking/model.d.ts +1 -2
- package/es/components/booking/notes/index.d.ts +1 -1
- package/es/components/booking/notes/model.d.ts +1 -2
- package/es/components/booking/payments/index.d.ts +1 -1
- package/es/components/booking/payments/model.d.ts +1 -2
- package/es/components/eftpos/const.d.ts +38 -0
- package/es/components/eftpos/const.js +79 -0
- package/es/components/eftpos/device.d.ts +8 -0
- package/es/components/eftpos/device.js +30 -0
- package/es/components/eftpos/form/index.d.ts +16 -0
- package/es/components/eftpos/form/index.js +113 -0
- package/es/components/eftpos/index.d.ts +37 -0
- package/es/components/eftpos/index.js +274 -0
- package/es/components/eftpos/index.less +153 -0
- package/es/components/eftpos/locales.d.ts +75 -0
- package/es/components/eftpos/locales.js +98 -0
- package/es/components/eftpos/pos.d.ts +9 -0
- package/es/components/eftpos/pos.js +33 -0
- package/es/components/eftpos/surcharge/index.css +17 -0
- package/es/components/eftpos/surcharge/index.d.ts +8 -0
- package/es/components/eftpos/surcharge/index.js +111 -0
- package/es/components/eftpos/table.d.ts +17 -0
- package/es/components/eftpos/table.js +236 -0
- package/es/components/eftposPay/amount.d.ts +14 -0
- package/es/components/eftposPay/amount.js +253 -0
- package/es/components/eftposPay/component/alert/index.d.ts +6 -0
- package/es/components/eftposPay/component/alert/index.js +11 -0
- package/es/components/eftposPay/component/alert/index.less +29 -0
- package/es/components/eftposPay/component/alert/warn.d.ts +3 -0
- package/es/components/eftposPay/component/alert/warn.js +45 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/es/components/eftposPay/component/fail/failCustom.js +95 -0
- package/es/components/eftposPay/component/fail/index.d.ts +4 -0
- package/es/components/eftposPay/component/fail/index.js +105 -0
- package/es/components/eftposPay/component/fail/network.d.ts +4 -0
- package/es/components/eftposPay/component/fail/network.js +48 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +4 -0
- package/es/components/eftposPay/component/fail/unknow.js +43 -0
- package/es/components/eftposPay/component/header/index.d.ts +9 -0
- package/es/components/eftposPay/component/header/index.js +66 -0
- package/es/components/eftposPay/component/header/index.less +44 -0
- package/es/components/eftposPay/component/header/titlebar.d.ts +13 -0
- package/es/components/eftposPay/component/header/titlebar.js +39 -0
- package/es/components/eftposPay/component/header/titlebar.less +17 -0
- package/es/components/eftposPay/component/manual/index.d.ts +5 -0
- package/es/components/eftposPay/component/manual/index.js +91 -0
- package/es/components/eftposPay/component/manual/index.less +96 -0
- package/es/components/eftposPay/component/signature/index.d.ts +4 -0
- package/es/components/eftposPay/component/signature/index.js +63 -0
- package/es/components/eftposPay/component/step/index.d.ts +12 -0
- package/es/components/eftposPay/component/step/index.js +31 -0
- package/es/components/eftposPay/component/step/step.d.ts +9 -0
- package/es/components/eftposPay/component/step/step.js +23 -0
- package/es/components/eftposPay/const.d.ts +131 -0
- package/es/components/eftposPay/const.js +48 -0
- package/es/components/eftposPay/device.d.ts +14 -0
- package/es/components/eftposPay/device.js +124 -0
- package/es/components/eftposPay/device.less +61 -0
- package/es/components/eftposPay/eftpos/config.d.ts +11 -0
- package/es/components/eftposPay/eftpos/config.js +178 -0
- package/es/components/eftposPay/eftpos/const.d.ts +10 -0
- package/es/components/eftposPay/eftpos/const.js +139 -0
- package/es/components/eftposPay/eftpos/index.d.ts +7 -0
- package/es/components/eftposPay/eftpos/index.js +35 -0
- package/es/components/eftposPay/helper.d.ts +3 -0
- package/es/components/eftposPay/helper.js +35 -0
- package/es/components/eftposPay/hooks.d.ts +4 -0
- package/es/components/eftposPay/hooks.js +153 -0
- package/es/components/eftposPay/index.d.ts +7 -0
- package/es/components/eftposPay/index.js +188 -0
- package/es/components/eftposPay/index.less +273 -0
- package/es/components/eftposPay/locales.d.ts +264 -0
- package/es/components/eftposPay/locales.js +384 -0
- package/es/components/eftposPay/manufacturer.d.ts +6 -0
- package/es/components/eftposPay/manufacturer.js +32 -0
- package/es/components/eftposPay/pay.d.ts +10 -0
- package/es/components/eftposPay/pay.js +108 -0
- package/es/components/eftposPay/payo/config.d.ts +11 -0
- package/es/components/eftposPay/payo/config.js +357 -0
- package/es/components/eftposPay/payo/const.d.ts +6 -0
- package/es/components/eftposPay/payo/const.js +93 -0
- package/es/components/eftposPay/payo/hooks.d.ts +5 -0
- package/es/components/eftposPay/payo/hooks.js +84 -0
- package/es/components/eftposPay/payo/index.d.ts +7 -0
- package/es/components/eftposPay/payo/index.js +35 -0
- package/es/components/eftposPay/store/index.d.ts +239 -0
- package/es/components/eftposPay/store/index.js +304 -0
- package/es/components/eftposPay/store/useThunkReducer.d.ts +9 -0
- package/es/components/eftposPay/store/useThunkReducer.js +31 -0
- package/es/components/eftposPay/windcave/action.d.ts +8 -0
- package/es/components/eftposPay/windcave/action.js +104 -0
- package/es/components/eftposPay/windcave/const.d.ts +104 -0
- package/es/components/eftposPay/windcave/const.js +253 -0
- package/es/components/eftposPay/windcave/helper.d.ts +9 -0
- package/es/components/eftposPay/windcave/helper.js +314 -0
- package/es/components/eftposPay/windcave/hook.d.ts +14 -0
- package/es/components/eftposPay/windcave/hook.js +144 -0
- package/es/components/eftposPay/windcave/index.d.ts +8 -0
- package/es/components/eftposPay/windcave/index.js +49 -0
- package/es/components/eftposPay/windcave/pos.d.ts +8 -0
- package/es/components/eftposPay/windcave/pos.js +180 -0
- package/es/components/eftposPay/windcave/pwd.d.ts +8 -0
- package/es/components/eftposPay/windcave/pwd.js +124 -0
- package/es/components/eftposPay/windcave/receipet.d.ts +6 -0
- package/es/components/eftposPay/windcave/receipet.js +67 -0
- package/es/components/eftposPay/windcave/receiptAction.d.ts +11 -0
- package/es/components/eftposPay/windcave/receiptAction.js +326 -0
- package/es/components/eftposPay/windcave/timer.d.ts +17 -0
- package/es/components/eftposPay/windcave/timer.js +181 -0
- package/es/components/eftposPay/windcave/wait.d.ts +12 -0
- package/es/components/eftposPay/windcave/wait.js +139 -0
- package/es/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/es/components/eftposPay/windcave/windcave.js +283 -0
- package/es/components/schedules/index.d.ts +1 -1
- package/es/components/schedules/model.d.ts +1 -2
- package/es/hooks/usePrefix.d.ts +1 -0
- package/es/hooks/usePrefix.js +10 -0
- package/es/index.d.ts +2 -0
- package/es/index.js +3 -1
- package/lib/components/booking/addons/index.d.ts +1 -1
- package/lib/components/booking/addons/model.d.ts +1 -2
- package/lib/components/booking/forms/forms.d.ts +1 -1
- package/lib/components/booking/forms/index.d.ts +1 -1
- package/lib/components/booking/forms/model.d.ts +1 -2
- package/lib/components/booking/index.d.ts +1 -1
- package/lib/components/booking/info/index.d.ts +1 -1
- package/lib/components/booking/info/model.d.ts +1 -2
- package/lib/components/booking/model.d.ts +1 -2
- package/lib/components/booking/notes/index.d.ts +1 -1
- package/lib/components/booking/notes/model.d.ts +1 -2
- package/lib/components/booking/payments/index.d.ts +1 -1
- package/lib/components/booking/payments/model.d.ts +1 -2
- package/lib/components/eftpos/const.d.ts +38 -0
- package/lib/components/eftpos/const.js +108 -0
- package/lib/components/eftpos/device.d.ts +8 -0
- package/lib/components/eftpos/device.js +55 -0
- package/lib/components/eftpos/form/index.d.ts +16 -0
- package/lib/components/eftpos/form/index.js +124 -0
- package/lib/components/eftpos/index.d.ts +37 -0
- package/lib/components/eftpos/index.js +279 -0
- package/lib/components/eftpos/index.less +153 -0
- package/lib/components/eftpos/locales.d.ts +75 -0
- package/lib/components/eftpos/locales.js +116 -0
- package/lib/components/eftpos/pos.d.ts +9 -0
- package/lib/components/eftpos/pos.js +55 -0
- package/lib/components/eftpos/surcharge/index.css +17 -0
- package/lib/components/eftpos/surcharge/index.d.ts +8 -0
- package/lib/components/eftpos/surcharge/index.js +125 -0
- package/lib/components/eftpos/table.d.ts +17 -0
- package/lib/components/eftpos/table.js +235 -0
- package/lib/components/eftposPay/amount.d.ts +14 -0
- package/lib/components/eftposPay/amount.js +239 -0
- package/lib/components/eftposPay/component/alert/index.d.ts +6 -0
- package/lib/components/eftposPay/component/alert/index.js +38 -0
- package/lib/components/eftposPay/component/alert/index.less +29 -0
- package/lib/components/eftposPay/component/alert/warn.d.ts +3 -0
- package/lib/components/eftposPay/component/alert/warn.js +80 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/failCustom.js +117 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/index.js +121 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/network.js +65 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +4 -0
- package/lib/components/eftposPay/component/fail/unknow.js +72 -0
- package/lib/components/eftposPay/component/header/index.d.ts +9 -0
- package/lib/components/eftposPay/component/header/index.js +92 -0
- package/lib/components/eftposPay/component/header/index.less +44 -0
- package/lib/components/eftposPay/component/header/titlebar.d.ts +13 -0
- package/lib/components/eftposPay/component/header/titlebar.js +55 -0
- package/lib/components/eftposPay/component/header/titlebar.less +17 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +5 -0
- package/lib/components/eftposPay/component/manual/index.js +101 -0
- package/lib/components/eftposPay/component/manual/index.less +96 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +4 -0
- package/lib/components/eftposPay/component/signature/index.js +80 -0
- package/lib/components/eftposPay/component/step/index.d.ts +12 -0
- package/lib/components/eftposPay/component/step/index.js +71 -0
- package/lib/components/eftposPay/component/step/step.d.ts +9 -0
- package/lib/components/eftposPay/component/step/step.js +59 -0
- package/lib/components/eftposPay/const.d.ts +131 -0
- package/lib/components/eftposPay/const.js +86 -0
- package/lib/components/eftposPay/device.d.ts +14 -0
- package/lib/components/eftposPay/device.js +127 -0
- package/lib/components/eftposPay/device.less +61 -0
- package/lib/components/eftposPay/eftpos/config.d.ts +11 -0
- package/lib/components/eftposPay/eftpos/config.js +199 -0
- package/lib/components/eftposPay/eftpos/const.d.ts +10 -0
- package/lib/components/eftposPay/eftpos/const.js +165 -0
- package/lib/components/eftposPay/eftpos/index.d.ts +7 -0
- package/lib/components/eftposPay/eftpos/index.js +66 -0
- package/lib/components/eftposPay/helper.d.ts +3 -0
- package/lib/components/eftposPay/helper.js +62 -0
- package/lib/components/eftposPay/hooks.d.ts +4 -0
- package/lib/components/eftposPay/hooks.js +237 -0
- package/lib/components/eftposPay/index.d.ts +7 -0
- package/lib/components/eftposPay/index.js +189 -0
- package/lib/components/eftposPay/index.less +273 -0
- package/lib/components/eftposPay/locales.d.ts +264 -0
- package/lib/components/eftposPay/locales.js +304 -0
- package/lib/components/eftposPay/manufacturer.d.ts +6 -0
- package/lib/components/eftposPay/manufacturer.js +77 -0
- package/lib/components/eftposPay/pay.d.ts +10 -0
- package/lib/components/eftposPay/pay.js +120 -0
- package/lib/components/eftposPay/payo/config.d.ts +11 -0
- package/lib/components/eftposPay/payo/config.js +377 -0
- package/lib/components/eftposPay/payo/const.d.ts +6 -0
- package/lib/components/eftposPay/payo/const.js +112 -0
- package/lib/components/eftposPay/payo/hooks.d.ts +5 -0
- package/lib/components/eftposPay/payo/hooks.js +80 -0
- package/lib/components/eftposPay/payo/index.d.ts +7 -0
- package/lib/components/eftposPay/payo/index.js +63 -0
- package/lib/components/eftposPay/store/index.d.ts +239 -0
- package/lib/components/eftposPay/store/index.js +371 -0
- package/lib/components/eftposPay/store/useThunkReducer.d.ts +9 -0
- package/lib/components/eftposPay/store/useThunkReducer.js +53 -0
- package/lib/components/eftposPay/windcave/action.d.ts +8 -0
- package/lib/components/eftposPay/windcave/action.js +143 -0
- package/lib/components/eftposPay/windcave/const.d.ts +104 -0
- package/lib/components/eftposPay/windcave/const.js +300 -0
- package/lib/components/eftposPay/windcave/helper.d.ts +9 -0
- package/lib/components/eftposPay/windcave/helper.js +378 -0
- package/lib/components/eftposPay/windcave/hook.d.ts +14 -0
- package/lib/components/eftposPay/windcave/hook.js +139 -0
- package/lib/components/eftposPay/windcave/index.d.ts +8 -0
- package/lib/components/eftposPay/windcave/index.js +78 -0
- package/lib/components/eftposPay/windcave/pos.d.ts +8 -0
- package/lib/components/eftposPay/windcave/pos.js +197 -0
- package/lib/components/eftposPay/windcave/pwd.d.ts +8 -0
- package/lib/components/eftposPay/windcave/pwd.js +143 -0
- package/lib/components/eftposPay/windcave/receipet.d.ts +6 -0
- package/lib/components/eftposPay/windcave/receipet.js +93 -0
- package/lib/components/eftposPay/windcave/receiptAction.d.ts +11 -0
- package/lib/components/eftposPay/windcave/receiptAction.js +386 -0
- package/lib/components/eftposPay/windcave/timer.d.ts +17 -0
- package/lib/components/eftposPay/windcave/timer.js +126 -0
- package/lib/components/eftposPay/windcave/wait.d.ts +12 -0
- package/lib/components/eftposPay/windcave/wait.js +163 -0
- package/lib/components/eftposPay/windcave/windcave.d.ts +6 -0
- package/lib/components/eftposPay/windcave/windcave.js +283 -0
- package/lib/components/schedules/index.d.ts +1 -1
- package/lib/components/schedules/model.d.ts +1 -2
- package/lib/hooks/usePrefix.d.ts +1 -0
- package/lib/hooks/usePrefix.js +44 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.js +6 -0
- package/lowcode/eftpos/meta.ts +187 -0
- package/lowcode/eftpos-pay/meta.ts +122 -0
- package/package.json +4 -3
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
|
|
2
|
+
import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
|
|
3
|
+
const EftposMeta: ComponentMetadata = {
|
|
4
|
+
"componentName": "Eftpos",
|
|
5
|
+
"title": "Eftpos",
|
|
6
|
+
"docUrl": "",
|
|
7
|
+
"screenshot": "",
|
|
8
|
+
"devMode": "proCode",
|
|
9
|
+
"npm": {
|
|
10
|
+
"package": "@pisell/private-materials",
|
|
11
|
+
"version": "1.0.4",
|
|
12
|
+
"exportName": "Eftpos",
|
|
13
|
+
"main": "src/index.ts",
|
|
14
|
+
"destructuring": true,
|
|
15
|
+
"subName": ""
|
|
16
|
+
},
|
|
17
|
+
"configure": {
|
|
18
|
+
"props": [
|
|
19
|
+
{
|
|
20
|
+
"title": {
|
|
21
|
+
"label": {
|
|
22
|
+
"type": "i18n",
|
|
23
|
+
"en-US": "type",
|
|
24
|
+
"zh-CN": "type"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"name": "type",
|
|
28
|
+
"setter": ["JsonSetter", "VariableSetter"],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"title": {
|
|
32
|
+
"label": {
|
|
33
|
+
"type": "i18n",
|
|
34
|
+
"en-US": "name",
|
|
35
|
+
"zh-CN": "name"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"name": "name",
|
|
39
|
+
"setter": ["JsonSetter", "VariableSetter"],
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"title": {
|
|
43
|
+
"label": {
|
|
44
|
+
"type": "i18n",
|
|
45
|
+
"en-US": "tableSize",
|
|
46
|
+
"zh-CN": "tableSize"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"name": "tableSize",
|
|
50
|
+
"setter": ["JsonSetter", "VariableSetter"],
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"title": {
|
|
54
|
+
"label": {
|
|
55
|
+
"type": "i18n",
|
|
56
|
+
"en-US": "zIndex",
|
|
57
|
+
"zh-CN": "zIndex"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"name": "zIndex",
|
|
61
|
+
"setter": ["JsonSetter", "VariableSetter"],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"title": {
|
|
65
|
+
"label": {
|
|
66
|
+
"type": "i18n",
|
|
67
|
+
"en-US": "getField",
|
|
68
|
+
"zh-CN": "getField"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"name": "getField",
|
|
72
|
+
"setter": [ "FunctionSetter"],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"title": {
|
|
76
|
+
"label": {
|
|
77
|
+
"type": "i18n",
|
|
78
|
+
"en-US": "getComm",
|
|
79
|
+
"zh-CN": "getComm"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"name": "getComm",
|
|
83
|
+
"setter": ["FunctionSetter"],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"title": {
|
|
87
|
+
"label": {
|
|
88
|
+
"type": "i18n",
|
|
89
|
+
"en-US": "getEfdId",
|
|
90
|
+
"zh-CN": "getEfdId"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"name": "getEfdId",
|
|
94
|
+
"setter": [ "FunctionSetter"],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"title": {
|
|
98
|
+
"label": {
|
|
99
|
+
"type": "i18n",
|
|
100
|
+
"en-US": "getList",
|
|
101
|
+
"zh-CN": "getList"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"name": "getList",
|
|
105
|
+
"setter": ["FunctionSetter"],
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"title": {
|
|
109
|
+
"label": {
|
|
110
|
+
"type": "i18n",
|
|
111
|
+
"en-US": "onEdit",
|
|
112
|
+
"zh-CN": "onEdit"
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"name": "onEdit",
|
|
116
|
+
"setter": ["FunctionSetter"],
|
|
117
|
+
},
|
|
118
|
+
|
|
119
|
+
{
|
|
120
|
+
"title": {
|
|
121
|
+
"label": {
|
|
122
|
+
"type": "i18n",
|
|
123
|
+
"en-US": "onDel",
|
|
124
|
+
"zh-CN": "onDel"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"name": "onDel",
|
|
128
|
+
"setter": ["FunctionSetter"],
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
{
|
|
132
|
+
"title": {
|
|
133
|
+
"label": {
|
|
134
|
+
"type": "i18n",
|
|
135
|
+
"en-US": "onEditKey",
|
|
136
|
+
"zh-CN": "onEditKey"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"name": "onEditKey",
|
|
140
|
+
"setter": ["FunctionSetter"],
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"title": {
|
|
144
|
+
"label": {
|
|
145
|
+
"type": "i18n",
|
|
146
|
+
"en-US": "getPosComm",
|
|
147
|
+
"zh-CN": "getPosComm"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
"name": "getPosComm",
|
|
151
|
+
"setter": ["FunctionSetter"],
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"title": {
|
|
155
|
+
"label": {
|
|
156
|
+
"type": "i18n",
|
|
157
|
+
"en-US": "savePos",
|
|
158
|
+
"zh-CN": "savePos"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"name": "savePos",
|
|
162
|
+
"setter": ["FunctionSetter"],
|
|
163
|
+
},
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
],
|
|
167
|
+
"supports": {
|
|
168
|
+
"style": true,
|
|
169
|
+
},
|
|
170
|
+
"component": {}
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
const snippets: Snippet[] = [
|
|
174
|
+
{
|
|
175
|
+
"title": "Eftpos",
|
|
176
|
+
"screenshot": "",
|
|
177
|
+
"schema": {
|
|
178
|
+
"componentName": "Eftpos",
|
|
179
|
+
"props": {}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
];
|
|
183
|
+
|
|
184
|
+
export default {
|
|
185
|
+
...EftposMeta,
|
|
186
|
+
snippets
|
|
187
|
+
};
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { ComponentMetadata, Snippet } from '@alilc/lowcode-types';
|
|
2
|
+
|
|
3
|
+
const PayMeta: ComponentMetadata = {
|
|
4
|
+
componentName: 'EftposPay',
|
|
5
|
+
title: 'EftposPay',
|
|
6
|
+
docUrl: '',
|
|
7
|
+
screenshot: '',
|
|
8
|
+
devMode: 'proCode',
|
|
9
|
+
npm: {
|
|
10
|
+
package: '@pisell/private-materials',
|
|
11
|
+
version: '1.0.1',
|
|
12
|
+
exportName: 'EftposPay',
|
|
13
|
+
main: 'src/index.ts',
|
|
14
|
+
destructuring: true,
|
|
15
|
+
subName: '',
|
|
16
|
+
},
|
|
17
|
+
configure: {
|
|
18
|
+
props: [
|
|
19
|
+
{
|
|
20
|
+
title: {
|
|
21
|
+
label: {
|
|
22
|
+
type: 'i18n',
|
|
23
|
+
'en-US': 'type',
|
|
24
|
+
'zh-CN': 'type',
|
|
25
|
+
},
|
|
26
|
+
},
|
|
27
|
+
name: 'type',
|
|
28
|
+
setter: ['JsonSetter', 'VariableSetter'],
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
title: {
|
|
32
|
+
label: {
|
|
33
|
+
type: 'i18n',
|
|
34
|
+
'en-US': 'action',
|
|
35
|
+
'zh-CN': 'action',
|
|
36
|
+
},
|
|
37
|
+
},
|
|
38
|
+
name: 'action',
|
|
39
|
+
setter: ['JsonSetter', 'VariableSetter'],
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
title: {
|
|
43
|
+
label: {
|
|
44
|
+
type: 'i18n',
|
|
45
|
+
'en-US': 'mode',
|
|
46
|
+
'zh-CN': 'mode',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
name: 'mode',
|
|
50
|
+
setter: ['JsonSetter', 'VariableSetter'],
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
title: {
|
|
54
|
+
label: {
|
|
55
|
+
type: 'i18n',
|
|
56
|
+
'en-US': 'terminal',
|
|
57
|
+
'zh-CN': 'terminal',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
name: 'terminal',
|
|
61
|
+
setter: ['JsonSetter', 'VariableSetter'],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
title: {
|
|
65
|
+
label: {
|
|
66
|
+
type: 'i18n',
|
|
67
|
+
'en-US': 'onChangeStatus',
|
|
68
|
+
'zh-CN': 'onChangeStatus',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
name: 'onChangeStatus',
|
|
72
|
+
setter: ['FunctionSetter'],
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
title: {
|
|
76
|
+
label: {
|
|
77
|
+
type: 'i18n',
|
|
78
|
+
'en-US': 'getApi',
|
|
79
|
+
'zh-CN': 'getApi',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
name: 'getApi',
|
|
83
|
+
setter: ['FunctionSetter'],
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"title": {
|
|
87
|
+
"label": {
|
|
88
|
+
"type": "i18n",
|
|
89
|
+
"en-US": "params",
|
|
90
|
+
"zh-CN": "params"
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"name": "params",
|
|
94
|
+
"setter": ["JsonSetter", "VariableSetter"],
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
supports: {
|
|
98
|
+
style: true,
|
|
99
|
+
events: [
|
|
100
|
+
{
|
|
101
|
+
name: 'onLogin',
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
},
|
|
105
|
+
component: {},
|
|
106
|
+
},
|
|
107
|
+
};
|
|
108
|
+
const snippets: Snippet[] = [
|
|
109
|
+
{
|
|
110
|
+
title: 'EftposPay',
|
|
111
|
+
screenshot: '',
|
|
112
|
+
schema: {
|
|
113
|
+
componentName: 'EftposPay',
|
|
114
|
+
props: {},
|
|
115
|
+
},
|
|
116
|
+
},
|
|
117
|
+
];
|
|
118
|
+
|
|
119
|
+
export default {
|
|
120
|
+
...PayMeta,
|
|
121
|
+
snippets,
|
|
122
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.97",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -58,9 +58,10 @@
|
|
|
58
58
|
"ahooks": "^3.7.6",
|
|
59
59
|
"react-infinite-scroll-component": "^6.1.0",
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
|
+
"decimal.js": "^10.4.3",
|
|
61
62
|
"@pisell/utils": "1.0.27",
|
|
62
|
-
"@pisell/
|
|
63
|
-
"@pisell/
|
|
63
|
+
"@pisell/icon": "0.0.11",
|
|
64
|
+
"@pisell/date-picker": "1.0.91"
|
|
64
65
|
},
|
|
65
66
|
"peerDependencies": {
|
|
66
67
|
"react": "^18.0.0",
|