@pisell/materials 6.11.19 → 6.11.20

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.
Files changed (152) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/meta.js +1 -1
  5. package/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
  8. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  9. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
  10. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  11. package/es/components/PisellCards/components/TextCard/types.d.ts +270 -0
  12. package/es/components/PisellCards/index.d.ts +0 -1
  13. package/es/components/PisellFields/index.d.ts +0 -1
  14. package/es/components/PisellLayouts/index.d.ts +0 -1
  15. package/es/components/PisellMetrics/index.d.ts +0 -1
  16. package/es/components/PisellSteps/PisellSteps.d.ts +14 -0
  17. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  18. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  19. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  20. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
  21. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  23. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  24. package/es/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  25. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  26. package/es/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  27. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  28. package/es/components/dataSourceComponents/fields/index.d.ts +15 -16
  29. package/es/components/date-picker/index.d.ts +0 -1
  30. package/es/components/drag-sort-tree/index.d.ts +5 -0
  31. package/es/components/iconfont/index.d.ts +8 -0
  32. package/es/components/login-and-register/index.d.ts +82 -0
  33. package/es/components/pisell-config-provider/index.d.ts +13 -0
  34. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
  35. package/es/components/pisellEmpty/index.d.ts +19 -0
  36. package/es/components/pisellFloorMapLayout/components/ItemLayer.d.ts +48 -0
  37. package/es/components/pisellGridPro/index.d.ts +4 -0
  38. package/es/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  39. package/es/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  40. package/es/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  41. package/es/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  42. package/es/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  43. package/es/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  44. package/es/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  45. package/es/components/pisellModal/components/index.d.ts +0 -1
  46. package/es/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
  47. package/es/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
  48. package/es/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
  49. package/es/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
  50. package/es/components/pisellTimeNavigator/types.d.ts +160 -0
  51. package/es/components/pisellTimeNavigator/utils/index.d.ts +30 -0
  52. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
  53. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +7 -0
  54. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  55. package/es/components/productCard/cartSkuCard/locales.d.ts +178 -0
  56. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  57. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  58. package/es/components/productCard/status.d.ts +32 -0
  59. package/es/components/productCard/types.d.ts +95 -0
  60. package/es/components/select-time/index.js +1 -0
  61. package/es/components/table/Actions/component/ViewMode/index.d.ts +9 -0
  62. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  63. package/es/components/table/Table/fields/index.d.ts +2 -3
  64. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  65. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  66. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  67. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  68. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  69. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  70. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  71. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  72. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  73. package/es/components/table/Table/utils.d.ts +1 -1
  74. package/es/components/table/types.d.ts +268 -0
  75. package/es/components/versionModal/index.d.ts +23 -0
  76. package/es/hooks/useResponsive.d.ts +1 -1
  77. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +290 -0
  78. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +8 -0
  79. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +26 -0
  80. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +21 -0
  81. package/lib/components/PisellCards/components/TextCard/types.d.ts +270 -0
  82. package/lib/components/PisellCards/index.d.ts +0 -1
  83. package/lib/components/PisellFields/index.d.ts +0 -1
  84. package/lib/components/PisellLayouts/index.d.ts +0 -1
  85. package/lib/components/PisellMetrics/index.d.ts +0 -1
  86. package/lib/components/PisellSteps/PisellSteps.d.ts +14 -0
  87. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  88. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  89. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  90. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +4 -0
  91. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +2 -2
  92. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  93. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  94. package/lib/components/dataSourceComponents/fields/RecordListWrapper/index.d.ts +1 -1
  95. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  96. package/lib/components/dataSourceComponents/fields/Tabs/index.d.ts +1 -2
  97. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  98. package/lib/components/dataSourceComponents/fields/index.d.ts +15 -16
  99. package/lib/components/date-picker/index.d.ts +0 -1
  100. package/lib/components/drag-sort-tree/index.d.ts +5 -0
  101. package/lib/components/iconfont/index.d.ts +8 -0
  102. package/lib/components/login-and-register/index.d.ts +82 -0
  103. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  104. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
  105. package/lib/components/pisellEmpty/index.d.ts +19 -0
  106. package/lib/components/pisellFloorMapLayout/components/ItemLayer.d.ts +48 -0
  107. package/lib/components/pisellGridPro/index.d.ts +4 -0
  108. package/lib/components/pisellHierarchicalSummaryList/PisellHierarchicalSummaryList.stories.d.ts +10 -0
  109. package/lib/components/pisellHierarchicalSummaryList/components/index.d.ts +1 -0
  110. package/lib/components/pisellHierarchicalSummaryList/hooks/index.d.ts +2 -0
  111. package/lib/components/pisellHierarchicalSummaryList/hooks/useExpandedKeys.d.ts +15 -0
  112. package/lib/components/pisellHierarchicalSummaryList/index.d.ts +5 -0
  113. package/lib/components/pisellHierarchicalSummaryList/types.d.ts +248 -0
  114. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +3 -0
  115. package/lib/components/pisellModal/components/index.d.ts +0 -1
  116. package/lib/components/pisellTimeNavigator/components/BackgroundLayer.d.ts +14 -0
  117. package/lib/components/pisellTimeNavigator/hooks/useDragInertia.d.ts +14 -0
  118. package/lib/components/pisellTimeNavigator/hooks/useRealtime.d.ts +5 -0
  119. package/lib/components/pisellTimeNavigator/hooks/useTimeAxis.d.ts +27 -0
  120. package/lib/components/pisellTimeNavigator/types.d.ts +160 -0
  121. package/lib/components/pisellTimeNavigator/utils/index.d.ts +30 -0
  122. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +29 -0
  123. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +7 -0
  124. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  125. package/lib/components/productCard/cartSkuCard/locales.d.ts +178 -0
  126. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  127. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  128. package/lib/components/productCard/status.d.ts +32 -0
  129. package/lib/components/productCard/types.d.ts +95 -0
  130. package/lib/components/select-time/index.js +1 -0
  131. package/lib/components/table/Actions/component/ViewMode/index.d.ts +9 -0
  132. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  133. package/lib/components/table/Table/fields/index.d.ts +2 -3
  134. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  135. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  136. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  137. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  138. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  139. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  140. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  141. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  142. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  143. package/lib/components/table/Table/utils.d.ts +1 -1
  144. package/lib/components/table/types.d.ts +268 -0
  145. package/lib/components/versionModal/index.d.ts +23 -0
  146. package/lib/hooks/useResponsive.d.ts +1 -1
  147. package/lowcode/floor-map-image-element/meta.ts +1 -1
  148. package/lowcode/floor-map-layout-provider/meta.ts +1 -1
  149. package/lowcode/pisell-floor-map-layout/meta.ts +1 -1
  150. package/lowcode/render-figma-style-round-table-card/meta.ts +1 -1
  151. package/lowcode/render-figma-style-table-card/meta.ts +1 -1
  152. package/package.json +1 -1
@@ -0,0 +1,178 @@
1
+ declare const _default: {
2
+ en: {
3
+ 'pisell2.product.card.discount.reason': string;
4
+ 'pisell2.cart.sku-card.more': string;
5
+ 'pisell2.cart.sku-card.packages.title': string;
6
+ 'pisell2.cart.sku-card.sales.title': string;
7
+ 'pisell2.cart.sku-card.actions.delete': string;
8
+ 'pisell2.cart.sku-card.unassigned': string;
9
+ 'pisell2.cart.sku-card.gift.title': string;
10
+ 'pisell2.cart.sku-card.gift.select.title': string;
11
+ 'pisell2.cart.sku-card.gift.total': (num: number) => string;
12
+ 'pisell2.product.card.day': (val: number) => string;
13
+ 'pisell2.product.card.day.event': (val: number) => string;
14
+ 'pisell2.product.card.minute': (val: number) => string;
15
+ 'pisell2.product.card.discount.note': string;
16
+ 'pisell2.product.card.edit': string;
17
+ 'pisell2.product.card.discount.add.note': string;
18
+ 'pisell2.product.card.discount.edit.note': string;
19
+ 'pisell2.product.card.confirm': string;
20
+ 'pisell2.product.card.cancel': string;
21
+ 'pisell2.product.card.note.pla': string;
22
+ 'pisell2.product.card.items.package': string;
23
+ 'pisell2.product.card.view-all': string;
24
+ 'pisell2.product.card.view-less': string;
25
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
26
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
27
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
28
+ 'pisell2.product.card.add.holder.modal.title.1': string;
29
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
30
+ 'pisell2.product.card.sales': string;
31
+ 'pisell2.product.card.add.holder.modal.cancel': string;
32
+ 'pisell2.product.card.add.holder.modal.clear': string;
33
+ 'pisell2.product.card.add.holder.modal.apply': string;
34
+ 'pisell2.product.card.add.holder.modal.add': string;
35
+ 'pisell2.product.card.closing-soon.warning': string;
36
+ };
37
+ 'zh-CN': {
38
+ 'pisell2.product.card.discount.reason': string;
39
+ 'pisell2.cart.sku-card.more': string;
40
+ 'pisell2.cart.sku-card.packages.title': string;
41
+ 'pisell2.cart.sku-card.sales.title': string;
42
+ 'pisell2.cart.sku-card.actions.delete': string;
43
+ 'pisell2.cart.sku-card.unassigned': string;
44
+ 'pisell2.cart.sku-card.gift.title': string;
45
+ 'pisell2.cart.sku-card.gift.select.title': string;
46
+ 'pisell2.cart.sku-card.gift.total': (num: number) => string;
47
+ 'pisell2.product.card.edit': string;
48
+ 'pisell2.product.card.day': (val: number) => string;
49
+ 'pisell2.product.card.day.event': (val: number) => string;
50
+ 'pisell2.product.card.minute': (val: number) => string;
51
+ 'pisell2.product.card.discount.note': string;
52
+ 'pisell2.product.card.discount.add.note': string;
53
+ 'pisell2.product.card.discount.edit.note': string;
54
+ 'pisell2.product.card.confirm': string;
55
+ 'pisell2.product.card.cancel': string;
56
+ 'pisell2.product.card.note.pla': string;
57
+ 'pisell2.product.card.items.package': string;
58
+ 'pisell2.product.card.view-all': string;
59
+ 'pisell2.product.card.view-less': string;
60
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
61
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
62
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
63
+ 'pisell2.product.card.add.holder.modal.title.1': string;
64
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
65
+ 'pisell2.product.card.sales': string;
66
+ 'pisell2.product.card.add.holder.modal.cancel': string;
67
+ 'pisell2.product.card.add.holder.modal.clear': string;
68
+ 'pisell2.product.card.add.holder.modal.apply': string;
69
+ 'pisell2.product.card.add.holder.modal.add': string;
70
+ 'pisell2.product.card.closing-soon.warning': string;
71
+ };
72
+ 'zh-HK': {
73
+ 'pisell2.product.card.discount.reason': string;
74
+ 'pisell2.cart.sku-card.more': string;
75
+ 'pisell2.cart.sku-card.packages.title': string;
76
+ 'pisell2.cart.sku-card.sales.title': string;
77
+ 'pisell2.cart.sku-card.actions.delete': string;
78
+ 'pisell2.cart.sku-card.unassigned': string;
79
+ 'pisell2.cart.sku-card.gift.title': string;
80
+ 'pisell2.cart.sku-card.gift.select.title': string;
81
+ 'pisell2.cart.sku-card.gift.total': (num: number) => string;
82
+ 'pisell2.product.card.edit': string;
83
+ 'pisell2.product.card.day': (val: number) => string;
84
+ 'pisell2.product.card.day.event': (val: number) => string;
85
+ 'pisell2.product.card.minute': (val: number) => string;
86
+ 'pisell2.product.card.discount.note': string;
87
+ 'pisell2.product.card.discount.add.note': string;
88
+ 'pisell2.product.card.discount.edit.note': string;
89
+ 'pisell2.product.card.confirm': string;
90
+ 'pisell2.product.card.cancel': string;
91
+ 'pisell2.product.card.note.pla': string;
92
+ 'pisell2.product.card.items.package': string;
93
+ 'pisell2.product.card.view-all': string;
94
+ 'pisell2.product.card.view-less': string;
95
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
96
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
97
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
98
+ 'pisell2.product.card.add.holder.modal.title.1': string;
99
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
100
+ 'pisell2.product.card.sales': string;
101
+ 'pisell2.product.card.add.holder.modal.cancel': string;
102
+ 'pisell2.product.card.add.holder.modal.clear': string;
103
+ 'pisell2.product.card.add.holder.modal.apply': string;
104
+ 'pisell2.product.card.add.holder.modal.add': string;
105
+ 'pisell2.product.card.closing-soon.warning': string;
106
+ };
107
+ ja: {
108
+ 'pisell2.product.card.discount.reason': string;
109
+ 'pisell2.cart.sku-card.more': string;
110
+ 'pisell2.cart.sku-card.packages.title': string;
111
+ 'pisell2.cart.sku-card.sales.title': string;
112
+ 'pisell2.cart.sku-card.actions.delete': string;
113
+ 'pisell2.cart.sku-card.unassigned': string;
114
+ 'pisell2.cart.sku-card.gift.title': string;
115
+ 'pisell2.cart.sku-card.gift.select.title': string;
116
+ 'pisell2.cart.sku-card.gift.total': (num: number) => string;
117
+ 'pisell2.product.card.day': (val: number) => string;
118
+ 'pisell2.product.card.day.event': (val: number) => string;
119
+ 'pisell2.product.card.minute': (val: number) => string;
120
+ 'pisell2.product.card.discount.note': string;
121
+ 'pisell2.product.card.edit': string;
122
+ 'pisell2.product.card.discount.add.note': string;
123
+ 'pisell2.product.card.discount.edit.note': string;
124
+ 'pisell2.product.card.confirm': string;
125
+ 'pisell2.product.card.cancel': string;
126
+ 'pisell2.product.card.note.pla': string;
127
+ 'pisell2.product.card.items.package': string;
128
+ 'pisell2.product.card.view-all': string;
129
+ 'pisell2.product.card.view-less': string;
130
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
131
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
132
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
133
+ 'pisell2.product.card.add.holder.modal.title.1': string;
134
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
135
+ 'pisell2.product.card.sales': string;
136
+ 'pisell2.product.card.add.holder.modal.cancel': string;
137
+ 'pisell2.product.card.add.holder.modal.clear': string;
138
+ 'pisell2.product.card.add.holder.modal.apply': string;
139
+ 'pisell2.product.card.add.holder.modal.add': string;
140
+ 'pisell2.product.card.closing-soon.warning': string;
141
+ };
142
+ pt: {
143
+ 'pisell2.product.card.discount.reason': string;
144
+ 'pisell2.cart.sku-card.more': string;
145
+ 'pisell2.cart.sku-card.packages.title': string;
146
+ 'pisell2.cart.sku-card.sales.title': string;
147
+ 'pisell2.cart.sku-card.actions.delete': string;
148
+ 'pisell2.cart.sku-card.unassigned': string;
149
+ 'pisell2.cart.sku-card.gift.title': string;
150
+ 'pisell2.cart.sku-card.gift.select.title': string;
151
+ 'pisell2.cart.sku-card.gift.total': (num: number) => string;
152
+ 'pisell2.product.card.day': (val: number) => string;
153
+ 'pisell2.product.card.day.event': (val: number) => string;
154
+ 'pisell2.product.card.minute': (val: number) => string;
155
+ 'pisell2.product.card.discount.note': string;
156
+ 'pisell2.product.card.edit': string;
157
+ 'pisell2.product.card.discount.add.note': string;
158
+ 'pisell2.product.card.discount.edit.note': string;
159
+ 'pisell2.product.card.confirm': string;
160
+ 'pisell2.product.card.cancel': string;
161
+ 'pisell2.product.card.note.pla': string;
162
+ 'pisell2.product.card.items.package': string;
163
+ 'pisell2.product.card.view-all': string;
164
+ 'pisell2.product.card.view-less': string;
165
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
166
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
167
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
168
+ 'pisell2.product.card.add.holder.modal.title.1': string;
169
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
170
+ 'pisell2.product.card.sales': string;
171
+ 'pisell2.product.card.add.holder.modal.cancel': string;
172
+ 'pisell2.product.card.add.holder.modal.clear': string;
173
+ 'pisell2.product.card.add.holder.modal.apply': string;
174
+ 'pisell2.product.card.add.holder.modal.add': string;
175
+ 'pisell2.product.card.closing-soon.warning': string;
176
+ };
177
+ };
178
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ declare const DeleteButton: ({ onDelete }: any) => React.JSX.Element;
4
+ export default DeleteButton;
@@ -6,7 +6,7 @@
6
6
  * @Author: WangHan
7
7
  * @Date: 2024-11-22 10:01
8
8
  */
9
- export declare const minusSign: (item: any, type?: string) => "-" | "";
9
+ export declare const minusSign: (item: any, type?: string) => "" | "-";
10
10
  /**
11
11
  * @title: 金额格式化
12
12
  * @description:
@@ -0,0 +1,32 @@
1
+ import { ProductCardTypes, bundleType, optionType, productType } from './types';
2
+ /**
3
+ * @title: 套餐数据
4
+ * @description:
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2025-01-02 23:21
8
+ */
9
+ export declare const defaultBundle: bundleType;
10
+ /**
11
+ * @description: 单规格
12
+ * @return {*}
13
+ * @Author: WangHan
14
+ * @Date: 2025-01-02 23:00
15
+ */
16
+ export declare const defaultOption: optionType;
17
+ /**
18
+ * @title: 商品商品类型
19
+ * @description:
20
+ * @return {*}
21
+ * @Author: WangHan
22
+ * @Date: 2025-01-02 22:48
23
+ */
24
+ export declare const defaultProduct: productType;
25
+ /**
26
+ * @title: 默认数据
27
+ * @description:
28
+ * @return {*}
29
+ * @Author: WangHan
30
+ * @Date: 2024-12-12 16:49
31
+ */
32
+ export declare const defaultValue: ProductCardTypes;
@@ -0,0 +1,95 @@
1
+ export declare type bundleType = {
2
+ id: number;
3
+ name: string;
4
+ num: number;
5
+ price: number;
6
+ total: number;
7
+ origin_total?: number;
8
+ price_type?: string;
9
+ options?: optionType[];
10
+ };
11
+ /**
12
+ * @description:
13
+ * @return {*}
14
+ * @Author: WangHan
15
+ * @Date: 2025-01-02 23:00
16
+ */
17
+ export declare type optionType = {
18
+ id: number;
19
+ name: string;
20
+ num: number;
21
+ price: number;
22
+ total: number;
23
+ origin_total?: number;
24
+ };
25
+ /**
26
+ * @title: 商品商品类型
27
+ * @description:
28
+ * @return {*}
29
+ * @Author: WangHan
30
+ * @Date: 2025-01-02 22:48
31
+ */
32
+ export declare type productType = {
33
+ _id: string | number;
34
+ id: number;
35
+ name: string;
36
+ price: number;
37
+ total: number;
38
+ num: number;
39
+ origin_total?: number;
40
+ image?: string;
41
+ isShowNote?: boolean;
42
+ note?: string;
43
+ like_status?: string;
44
+ bundle?: bundleType[];
45
+ options?: optionType[];
46
+ isShowAction?: boolean;
47
+ actionText?: string;
48
+ errorMessage?: string;
49
+ product_option_string?: string;
50
+ discount_reason?: string;
51
+ relation_products?: any[];
52
+ resource_id?: string | number;
53
+ relation_form_name?: string;
54
+ holder_title?: string;
55
+ start_date?: string;
56
+ end_date?: string;
57
+ is_show_duration?: boolean;
58
+ is_show_week?: boolean;
59
+ promotions?: any[];
60
+ isGift?: boolean;
61
+ giftData?: any;
62
+ };
63
+ /**
64
+ * 排序总配置
65
+ */
66
+ export declare type ProductCardTypes = {
67
+ dataSource: productType;
68
+ isShowImage?: boolean;
69
+ isShowOriginalPrice?: boolean;
70
+ isShowHolder?: boolean;
71
+ isShowNote?: boolean;
72
+ isShowPackageNote?: boolean;
73
+ isShowDelete?: boolean;
74
+ isShowEditProduct?: boolean;
75
+ isShowAmountFooter?: boolean;
76
+ disabledEdit?: boolean;
77
+ locale?: string;
78
+ symbol?: string;
79
+ isShowChangeHolder?: boolean;
80
+ isShowChangeResource?: boolean;
81
+ isShowChangeDate?: boolean;
82
+ disabledClick?: boolean;
83
+ disabledEditClick?: boolean;
84
+ onAction?: (val: any) => void;
85
+ onDelete?: (val: any) => void;
86
+ onNote?: (val: any) => void;
87
+ onLike?: (val: any) => void;
88
+ onCard?: (val: any) => void;
89
+ onChangeResource?: (val: any) => void;
90
+ onPromotion?: (val: any) => void;
91
+ onEditProduct?: (val: any) => void;
92
+ onGift?: (val: any) => void;
93
+ osWarnTips?: Array<string>;
94
+ [key: string]: any;
95
+ };
@@ -104,6 +104,7 @@ var SelectTime = function SelectTime(props) {
104
104
  onOpenChange: onOpenChange,
105
105
  trigger: ["click"]
106
106
  }, popoverProps), /*#__PURE__*/React.createElement(TimePicker, _extends({
107
+ key: previewValueString || '',
107
108
  format: "HH:mm",
108
109
  size: "large",
109
110
  inputReadOnly: true,
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { GridViewType, ModeType } from "../../../types";
3
+ declare type ViewModeProps = {
4
+ view: GridViewType;
5
+ value?: ModeType;
6
+ onChange?: (value: ModeType) => void;
7
+ };
8
+ declare const ViewMode: (props: ViewModeProps) => React.JSX.Element;
9
+ export default ViewMode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -198,12 +197,12 @@ export declare const fieldList: ({
198
197
  field_icon: string;
199
198
  field_name: string;
200
199
  field_type: string;
201
- default_value: boolean;
200
+ default_value: string;
202
201
  } | {
203
202
  field_icon: string;
204
203
  field_name: string;
205
204
  field_type: string;
206
- default_value: string;
205
+ default_value: boolean;
207
206
  } | {
208
207
  field_icon: string;
209
208
  field_name: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("view_mode" | "column_setting" | "order_by" | "group_by" | "gallery_setting" | "filters" | "filter_setting")[];
158
+ }) => ("filters" | "filter_setting" | "column_setting" | "gallery_setting" | "view_mode" | "group_by" | "order_by")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};