@pisell/materials 6.5.7 → 6.5.9

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 (219) 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/appVersionControl/index.d.ts +0 -1
  8. package/es/components/cardPro/index.d.ts +3 -0
  9. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  10. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  11. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  12. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  13. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
  14. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  15. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  16. package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
  17. package/es/components/date-picker/datePickerCpt.d.ts +0 -1
  18. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  19. package/es/components/lowCodePage/index.d.ts +0 -1
  20. package/es/components/pisell-config-provider/index.d.ts +13 -0
  21. package/es/components/pisellAdjustPrice/index.d.ts +4 -0
  22. package/es/components/pisellCheckboxGroup/index.d.ts +40 -0
  23. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  24. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  25. package/es/components/pisellInput/index.d.ts +0 -1
  26. package/es/components/pisellLoading/index.d.ts +0 -1
  27. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  28. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  29. package/es/components/pisellModal/components/index.d.ts +0 -1
  30. package/es/components/pisellQRScanner/index.d.ts +24 -0
  31. package/es/components/pisellText/components/Amount/index.d.ts +20 -0
  32. package/es/components/pisellToast/index.d.ts +17 -0
  33. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  34. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  35. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  36. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  37. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  38. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  39. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  40. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  41. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  42. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  43. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  44. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  45. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  46. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -1
  47. package/es/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  48. package/es/components/productCard/components/Header/index.d.ts +3 -0
  49. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  50. package/es/components/productCard/components/Note/index.d.ts +0 -1
  51. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  52. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  53. package/es/components/productCard/components/Packages/index.d.ts +0 -1
  54. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  55. package/es/components/productCard/components/Sales/index.d.ts +3 -0
  56. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  57. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  58. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  59. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  60. package/es/components/productCard/components/Time/index.d.ts +0 -1
  61. package/es/components/qrcode/index.d.ts +0 -1
  62. package/es/components/select-time/index.d.ts +0 -1
  63. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  64. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  65. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  66. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  67. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  68. package/es/components/table/Table/fields/date/Show/index.d.ts +0 -1
  69. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  70. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  71. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  72. package/es/components/table/Table/fields/link/Show/index.d.ts +0 -1
  73. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  74. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  75. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  76. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  77. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  78. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  79. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  80. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  81. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  82. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  83. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  84. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  85. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  86. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  87. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  88. package/es/components/table/Table/utils.d.ts +1 -1
  89. package/es/components/table/index.js +1 -1
  90. package/es/components/versionSelect/index.d.ts +0 -1
  91. package/es/components/virtual-keyboard/Amount/index.d.ts +5 -0
  92. package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
  93. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  94. package/es/components/virtual-keyboard/Number/index.d.ts +5 -0
  95. package/es/components/virtual-keyboard/index.d.ts +25 -0
  96. package/es/utils/index.d.ts +1 -1
  97. package/es/utils/platform.d.ts +1 -1
  98. package/lib/components/appVersionControl/index.d.ts +0 -1
  99. package/lib/components/cardPro/index.d.ts +3 -0
  100. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -3
  101. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  102. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +0 -1
  103. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +0 -1
  104. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +0 -1
  105. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +0 -1
  106. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  107. package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
  108. package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
  109. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  110. package/lib/components/lowCodePage/index.d.ts +0 -1
  111. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  112. package/lib/components/pisellAdjustPrice/index.d.ts +4 -0
  113. package/lib/components/pisellCheckboxGroup/index.d.ts +40 -0
  114. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  115. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  116. package/lib/components/pisellInput/index.d.ts +0 -1
  117. package/lib/components/pisellLoading/index.d.ts +0 -1
  118. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  119. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  120. package/lib/components/pisellModal/components/index.d.ts +0 -1
  121. package/lib/components/pisellQRScanner/index.d.ts +24 -0
  122. package/lib/components/pisellText/components/Amount/index.d.ts +20 -0
  123. package/lib/components/pisellToast/index.d.ts +17 -0
  124. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  125. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  126. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  127. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +27 -0
  128. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  129. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  130. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  131. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  132. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  133. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  134. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  135. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  136. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  137. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -1
  138. package/lib/components/productCard/components/Header/EditButton/index.d.ts +0 -1
  139. package/lib/components/productCard/components/Header/index.d.ts +3 -0
  140. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  141. package/lib/components/productCard/components/Note/index.d.ts +0 -1
  142. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  143. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  144. package/lib/components/productCard/components/Packages/index.d.ts +0 -1
  145. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  146. package/lib/components/productCard/components/Sales/index.d.ts +3 -0
  147. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -1
  148. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +13 -0
  149. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +0 -1
  150. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -1
  151. package/lib/components/productCard/components/Time/index.d.ts +0 -1
  152. package/lib/components/qrcode/index.d.ts +0 -1
  153. package/lib/components/select-time/index.d.ts +0 -1
  154. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  155. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  156. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +0 -1
  157. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  158. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  159. package/lib/components/table/Table/fields/date/Show/index.d.ts +0 -1
  160. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  161. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  162. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  163. package/lib/components/table/Table/fields/link/Show/index.d.ts +0 -1
  164. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  165. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  166. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  167. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  168. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  169. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  170. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  171. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  172. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  173. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  174. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  175. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  176. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  177. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  178. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  179. package/lib/components/table/Table/utils.d.ts +1 -1
  180. package/lib/components/table/index.js +1 -1
  181. package/lib/components/versionSelect/index.d.ts +0 -1
  182. package/lib/components/virtual-keyboard/Amount/index.d.ts +5 -0
  183. package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
  184. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +25 -0
  185. package/lib/components/virtual-keyboard/Number/index.d.ts +5 -0
  186. package/lib/components/virtual-keyboard/index.d.ts +25 -0
  187. package/lib/utils/index.d.ts +1 -1
  188. package/lib/utils/platform.d.ts +1 -1
  189. package/package.json +1 -1
  190. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  191. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  192. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  193. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
  194. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  195. package/es/components/drag-sort-tree/index.d.ts +0 -5
  196. package/es/components/filter/types.d.ts +0 -45
  197. package/es/components/login-and-register/index.d.ts +0 -82
  198. package/es/components/pisellEmpty/index.d.ts +0 -19
  199. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  200. package/es/components/select/index.d.ts +0 -9
  201. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  202. package/es/components/table/Actions/index.d.ts +0 -17
  203. package/es/components/table/serve.d.ts +0 -13
  204. package/es/components/table/types.d.ts +0 -268
  205. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  206. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  207. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  208. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +0 -3
  209. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  210. package/lib/components/drag-sort-tree/index.d.ts +0 -5
  211. package/lib/components/filter/types.d.ts +0 -45
  212. package/lib/components/login-and-register/index.d.ts +0 -82
  213. package/lib/components/pisellEmpty/index.d.ts +0 -19
  214. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  215. package/lib/components/select/index.d.ts +0 -9
  216. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/function.d.ts +0 -7
  217. package/lib/components/table/Actions/index.d.ts +0 -17
  218. package/lib/components/table/serve.d.ts +0 -13
  219. package/lib/components/table/types.d.ts +0 -268
@@ -37,7 +37,7 @@ pe=function e(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,o=Obj
37
37
  *
38
38
  * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
39
39
  * Released under the MIT license
40
- */!function(a){var i;if(void 0===(o="function"==typeof(r=a)?r.call(t,n,t,e):r)||(e.exports=o),i=!0,e.exports=a(),!(i=!0)){var l=window.Cookies,c=window.Cookies=a();c.noConflict=function(){return window.Cookies=l,c}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(r){function o(){}function a(t,n,a){if("undefined"!=typeof document){"number"==typeof(a=e({path:"/"},o.defaults,a)).expires&&(a.expires=new Date(1*new Date+864e5*a.expires)),a.expires=a.expires?a.expires.toUTCString():"";try{var i=JSON.stringify(n);/^[\{\[]/.test(i)&&(n=i)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var l="";for(var c in a)a[c]&&(l+="; "+c,!0!==a[c]&&(l+="="+a[c].split(";")[0]));return document.cookie=t+"="+n+l}}function i(e,n){if("undefined"!=typeof document){for(var o={},a=document.cookie?document.cookie.split("; "):[],i=0;i<a.length;i++){var l=a[i].split("="),c=l.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var s=t(l[0]);if(c=(r.read||r)(c,s)||t(c),n)try{c=JSON.parse(c)}catch(e){}if(o[s]=c,e===s)break}catch(e){}}return e?o[e]:o}}return o.set=a,o.get=function(e){return i(e,!1)},o.getJSON=function(e){return i(e,!0)},o.remove=function(t,n){a(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}return n((function(){}))}))},,,,,,function(e,t,n){var r=n(175),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,l=r?r.toStringTag:void 0;function c(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[l]=n:delete e[l]),o}e.exports=c},function(e,t){var n,r=Object.prototype.toString;function o(e){return r.call(e)}e.exports=o},function(e,t,n){var r=n(122),o=n(363),a=n(364),i=n(365),l=n(366),c=n(367);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=c,e.exports=s},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){var r=n(123),o,a=Array.prototype.splice;function i(e){var t=this.__data__,n=r(t,e),o;return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}e.exports=i},function(e,t,n){var r=n(123);function o(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=o},function(e,t,n){var r=n(123);function o(e){return r(this.__data__,e)>-1}e.exports=o},function(e,t,n){var r=n(123);function o(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}e.exports=o},function(e,t,n){var r=n(122);function o(){this.__data__=new r,this.size=0}e.exports=o},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){var r=n(122),o=n(176),a=n(266),i=200;function l(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}e.exports=l},function(e,t,n){var r=n(177),o=n(369),a=n(94),i=n(265),l=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,s=Function.prototype,u=Object.prototype,d=s.toString,f=u.hasOwnProperty,p=RegExp("^"+d.call(f).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(e){return!(!a(e)||o(e))&&(r(e)?p:c).test(i(e));var t}e.exports=h},function(e,t,n){var r=n(370),o=(a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",a;function i(e){return!!o&&o in e}e.exports=i},function(e,t,n){var r,o=n(77)["__core-js_shared__"];e.exports=o},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){var r=n(373),o=n(122),a=n(176);function i(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}e.exports=i},function(e,t,n){var r=n(374),o=n(375),a=n(376),i=n(377),l=n(378);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=l,e.exports=c},function(e,t,n){var r=n(124);function o(){this.__data__=r?r(null):{},this.size=0}e.exports=o},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){var r=n(124),o="__lodash_hash_undefined__",a,i=Object.prototype.hasOwnProperty;function l(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return i.call(t,e)?t[e]:void 0}e.exports=l},function(e,t,n){var r=n(124),o,a=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}e.exports=i},function(e,t,n){var r=n(124),o="__lodash_hash_undefined__";function a(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}e.exports=a},function(e,t,n){var r=n(125);function o(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}e.exports=o},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){var r=n(125);function o(e){return r(this,e).get(e)}e.exports=o},function(e,t,n){var r=n(125);function o(e){return r(this,e).has(e)}e.exports=o},function(e,t,n){var r=n(125);function o(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}e.exports=o},function(e,t,n){var r,o=n(77).Uint8Array;e.exports=o},function(e,t,n){var r=n(386),o=n(267),a=n(178),i=n(218),l=n(268),c=n(219),s,u=Object.prototype.hasOwnProperty;function d(e,t){var n=a(e),s=!n&&o(e),d=!n&&!s&&i(e),f=!n&&!s&&!d&&c(e),p=n||s||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!u.call(e,v)||p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}e.exports=d},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){var r=n(110),o=n(106),a="[object Arguments]";function i(e){return o(e)&&r(e)==a}e.exports=i},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){var r=n(110),o=n(220),a=n(106),i="[object Arguments]",l="[object Array]",c="[object Boolean]",s="[object Date]",u="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",m="[object RegExp]",v="[object Set]",g="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",w="[object DataView]",O,M="[object Float64Array]",x="[object Int8Array]",E="[object Int16Array]",j="[object Int32Array]",A="[object Uint8Array]",C="[object Uint8ClampedArray]",S="[object Uint16Array]",_="[object Uint32Array]",T={};function P(e){return a(e)&&o(e.length)&&!!T[r(e)]}T["[object Float32Array]"]=T[M]=T[x]=T[E]=T[j]=T[A]=T[C]=T[S]=T[_]=!0,T[i]=T[l]=T[y]=T[c]=T[w]=T[s]=T[u]=T[d]=T[f]=T[p]=T[h]=T[m]=T[v]=T[g]=T[b]=!1,e.exports=P},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){(function(e){var r=n(217),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i,l=a&&a.exports===o&&r.process,c=function(){try{var e=a&&a.require&&a.require("util").types;return e||l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=c}).call(this,n(88)(e))},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t},l=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(31),u=n(9),d=i(n(0)),f=c(n(8)),p=c(n(895)),h=n(83),m=c(n(42)),v=c(n(902)),g=c(n(1020)),b=c(n(1023)),y=n(126),w=c(n(1025)),O=c(n(1068)),M=c(n(1069)),x=c(n(1070)),E=c(n(1071)),j=c(n(1072)),A=n(107);n(1073);var C={defaultViewMode:"grid",multiple:!1,modeList:[]},S=(0,A.Provider)((0,d.forwardRef)((function(e,t){var n,o,a,i,c,S=e.dataSource,_=e.columns,T=e.dispatch,P=e.style,D=e.filter,I=e.sort,k=e.buttons,N=e.actionButtons,z=e.title,R=e.showTitle,L=void 0===R||R,B=e.subTitle,V=e.showSubTitle,H=void 0===V||V,F=e.summary,$=e.onValuesChange,U=e.columnSetting,W=e.dataSourceGroup,Y=e.localSettings,G=e.view,Q=void 0===G?C:G,q=e.gallery,X=e.currentSettingKey,K=e.exportImport,Z=e.currentComponentId,J=e.tabs,ee=l(e,["dataSource","columns","dispatch","style","filter","sort","buttons","actionButtons","title","showTitle","subTitle","showSubTitle","summary","onValuesChange","columnSetting","dataSourceGroup","localSettings","view","gallery","currentSettingKey","exportImport","currentComponentId","tabs"]),te=(0,h.useSharedState)(A.Context),ne=u.Form.useForm()[0],re=Q.defaultViewMode,oe=Q.multiple,ae=u.Form.useWatch("view_mode",{form:ne,preserve:!0}),ie=(0,m.default)(),le=(0,d.useRef)(null),ce=(0,d.useRef)({}),se=(0,d.useRef)({}),ue=(0,d.useRef)({}),de=((0,s.useSize)(le)||{}).width,fe=(0,s.useDebounce)(de,{wait:100}),pe=null===(n=null==ie?void 0:ie.appHelper)||void 0===n?void 0:n.utils,he=(0,d.useMemo)((function(){var e;return null===(e=null==pe?void 0:pe.isTerminal)||void 0===e?void 0:e.call(pe)}),[pe]),me=(0,d.useMemo)((function(){return"design"===e.__designMode?"designMode-mock-table-id":(null==e?void 0:e.currentComponentId)||e.__id}),[e.__id,e.__designMode,null==e?void 0:e.currentComponentId]),ve=(0,d.useMemo)((function(){return _.filter((function(e){return!e.hidden}))}),[_]),ge=(0,d.useMemo)((function(){return new Map(ve.map((function(e){return[e.key,(0,A.formatColumn)(e)]})))}),[ve]),be=(0,E.default)({sort:I,originColumnsMap:ge}),ye=(0,x.default)({filter:D,originColumnsMap:ge}),we=(0,M.default)({dataSourceGroup:W,originColumnsMap:ge}),Oe=(0,d.useMemo)((function(){var e=(0,y.getCurrentViewModeFromLocalStorage)(me);return oe?ae||e:ae||re}),[ae,re,oe]),Me=(0,d.useMemo)((function(){var e;return ve.map((function(e){return r(r({},e),{title:void 0})}))}),[ve]),xe=(0,d.useMemo)((function(){return X||(0,y.getHash)(Me)||""}),[X,JSON.stringify(Me)]);(0,d.useEffect)((function(){var e;(0,y.getTableSettingFromLocalStorage)(me).currentSettingHash!==xe&&(0,y.clearTableSettingToLocalStorage)(me)}),[xe,me]),(0,d.useEffect)((function(){fe&&te.dispatch({type:"setTableWidth",payload:fe||{}})}),[fe]);var Ee=(0,O.default)({tableId:me,filter:ye,columns:ve,columnSetting:U,dataSourceGroup:we,sort:be,view:Q,currentViewMode:Oe,gallery:q,currentSettingHash:xe,localSettings:Y}),je=Ee.setTableSetting,Ae=Ee.tableSetting,Ce=(0,j.default)({filter:ye,columnSetting:U,dataSourceGroup:we,sort:be,currentViewMode:Oe});(0,d.useEffect)((function(){te.dispatch({type:"setUtils",payload:pe||{}}),te.dispatch({type:"setIsTerminal",payload:he})}),[pe,he]),(0,d.useEffect)((function(){te.dispatch({type:"setDefaultColumns",payload:(0,y.mergeColumnSetting)({columns:ve,tableId:me,currentViewMode:Oe})}),te.dispatch({type:"setOriginColumns",payload:ve})}),[ve,me,Oe]),(0,d.useEffect)((function(){te.dispatch({type:"setDataSource",payload:S}),te.dispatch({type:"setOriginDataSource",payload:S})}),[S]),(0,d.useEffect)((function(){te.dispatch({type:"setTableId",payload:me})}),[me]),(0,d.useEffect)((function(){var e;te.dispatch({type:"setLocalPagination",payload:null===(e=null==ee?void 0:ee.pagination)||void 0===e?void 0:e.localPagination})}),[null===(o=null==ee?void 0:ee.pagination)||void 0===o?void 0:o.localPagination]),(0,d.useEffect)((function(){setTimeout((function(){document.body.id="body"}),200)}),[]);var Se=(0,d.useMemo)((function(){var e,t,n;return((null==ye?void 0:ye.list)||[]).reduce((function(e,t){var n,o;return r(r({},e),((n={})[t.name]=null===(o=null==t?void 0:t.other)||void 0===o?void 0:o.defaultValue,n))}),{pagination:{page:(null===(e=ee.pagination)||void 0===e?void 0:e.current)||1,size:(null===(t=ee.pagination)||void 0===t?void 0:t.pageSize)||10}})}),[JSON.stringify(null==ye?void 0:ye.list),null===(a=ee.pagination)||void 0===a?void 0:a.current,null===(i=ee.pagination)||void 0===i?void 0:i.pageSize]);return se.current=Se,ce.current=Ae,ue.current=r(r({},Se),Ae),(0,d.useImperativeHandle)(t,(function(){return le.current&&(le.current.formInstance=ne,le.current.getCachedFilters=function(){try{if(!me)return{};var e=(0,y.getTableSettingByCurrentViewMode)(me,Oe);return(null==e?void 0:e.filters)||{}}catch(e){return{}}}),le.current})),(0,d.useEffect)((function(){ne.setFieldsValue(ue.current)}),[Oe]),(0,d.useEffect)((function(){ne.setFieldValue("column_setting",{}),ne.setFieldValue("column_setting",ce.current.column_setting)}),[(0,y.stringify)(Me)]),(0,d.useEffect)((function(){ne.setFieldsValue(ue.current)}),[(0,y.stringify)(D)]),d.default.createElement(u.Form,{form:ne,layout:"vertical",onValuesChange:function e(t,n){var o,a=r(r({},ne.getFieldsValue(!0)),n.filters||{}),i=r(r({},t),t.filters||{}),l;if("pagination"!==Object.keys(t)[0])a.pagination=r(r({},a.pagination),{page:1});else if(null===(o=null==ee?void 0:ee.pagination)||void 0===o?void 0:o.localPagination)return;je(a),ne.setFieldsValue({pagination:a.pagination}),Ce(t,n)&&(null==$||$((0,y.omit)(i,["filters"]),a))},className:"materials-grid-form-wrap"},d.default.createElement("div",{className:(0,f.default)("materials-grid",{"materials-grid-terminal":he}),style:P,ref:le},d.default.createElement(g.default,{title:z,showTitle:L,subTitle:B,showSubTitle:H,buttons:k}),(null==J?void 0:J.show)&&d.default.createElement(u.Form.Item,{name:"tabs",noStyle:!0},d.default.createElement(p.default,r({},J))),d.default.createElement(v.default,{view:Q,buttons:N,columnSetting:U,dataSourceGroup:we,filter:ye,sort:be,tableId:me,localPagination:null===(c=null==ee?void 0:ee.pagination)||void 0===c?void 0:c.localPagination,gallery:q,exportImport:K}),d.default.createElement(b.default,{summary:F}),d.default.createElement(w.default,r({},e,{filter:ye,sort:be,setTableSetting:je,dataSourceGroup:we}))))})));t.default=(0,d.forwardRef)(S)},function(e,t,n){"use strict";
40
+ */!function(a){var i;if(void 0===(o="function"==typeof(r=a)?r.call(t,n,t,e):r)||(e.exports=o),i=!0,e.exports=a(),!(i=!0)){var l=window.Cookies,c=window.Cookies=a();c.noConflict=function(){return window.Cookies=l,c}}}((function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(r){function o(){}function a(t,n,a){if("undefined"!=typeof document){"number"==typeof(a=e({path:"/"},o.defaults,a)).expires&&(a.expires=new Date(1*new Date+864e5*a.expires)),a.expires=a.expires?a.expires.toUTCString():"";try{var i=JSON.stringify(n);/^[\{\[]/.test(i)&&(n=i)}catch(e){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var l="";for(var c in a)a[c]&&(l+="; "+c,!0!==a[c]&&(l+="="+a[c].split(";")[0]));return document.cookie=t+"="+n+l}}function i(e,n){if("undefined"!=typeof document){for(var o={},a=document.cookie?document.cookie.split("; "):[],i=0;i<a.length;i++){var l=a[i].split("="),c=l.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var s=t(l[0]);if(c=(r.read||r)(c,s)||t(c),n)try{c=JSON.parse(c)}catch(e){}if(o[s]=c,e===s)break}catch(e){}}return e?o[e]:o}}return o.set=a,o.get=function(e){return i(e,!1)},o.getJSON=function(e){return i(e,!0)},o.remove=function(t,n){a(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}return n((function(){}))}))},,,,,,function(e,t,n){var r=n(175),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,l=r?r.toStringTag:void 0;function c(e){var t=a.call(e,l),n=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=i.call(e);return r&&(t?e[l]=n:delete e[l]),o}e.exports=c},function(e,t){var n,r=Object.prototype.toString;function o(e){return r.call(e)}e.exports=o},function(e,t,n){var r=n(122),o=n(363),a=n(364),i=n(365),l=n(366),c=n(367);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=a,s.prototype.get=i,s.prototype.has=l,s.prototype.set=c,e.exports=s},function(e,t){function n(){this.__data__=[],this.size=0}e.exports=n},function(e,t,n){var r=n(123),o,a=Array.prototype.splice;function i(e){var t=this.__data__,n=r(t,e),o;return!(n<0)&&(n==t.length-1?t.pop():a.call(t,n,1),--this.size,!0)}e.exports=i},function(e,t,n){var r=n(123);function o(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=o},function(e,t,n){var r=n(123);function o(e){return r(this.__data__,e)>-1}e.exports=o},function(e,t,n){var r=n(123);function o(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}e.exports=o},function(e,t,n){var r=n(122);function o(){this.__data__=new r,this.size=0}e.exports=o},function(e,t){function n(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e.exports=n},function(e,t){function n(e){return this.__data__.get(e)}e.exports=n},function(e,t){function n(e){return this.__data__.has(e)}e.exports=n},function(e,t,n){var r=n(122),o=n(176),a=n(266),i=200;function l(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}e.exports=l},function(e,t,n){var r=n(177),o=n(369),a=n(94),i=n(265),l=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,s=Function.prototype,u=Object.prototype,d=s.toString,f=u.hasOwnProperty,p=RegExp("^"+d.call(f).replace(l,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(e){return!(!a(e)||o(e))&&(r(e)?p:c).test(i(e));var t}e.exports=h},function(e,t,n){var r=n(370),o=(a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"",a;function i(e){return!!o&&o in e}e.exports=i},function(e,t,n){var r,o=n(77)["__core-js_shared__"];e.exports=o},function(e,t){function n(e,t){return null==e?void 0:e[t]}e.exports=n},function(e,t,n){var r=n(373),o=n(122),a=n(176);function i(){this.size=0,this.__data__={hash:new r,map:new(a||o),string:new r}}e.exports=i},function(e,t,n){var r=n(374),o=n(375),a=n(376),i=n(377),l=n(378);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=o,c.prototype.get=a,c.prototype.has=i,c.prototype.set=l,e.exports=c},function(e,t,n){var r=n(124);function o(){this.__data__=r?r(null):{},this.size=0}e.exports=o},function(e,t){function n(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=n},function(e,t,n){var r=n(124),o="__lodash_hash_undefined__",a,i=Object.prototype.hasOwnProperty;function l(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return i.call(t,e)?t[e]:void 0}e.exports=l},function(e,t,n){var r=n(124),o,a=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return r?void 0!==t[e]:a.call(t,e)}e.exports=i},function(e,t,n){var r=n(124),o="__lodash_hash_undefined__";function a(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}e.exports=a},function(e,t,n){var r=n(125);function o(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}e.exports=o},function(e,t){function n(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=n},function(e,t,n){var r=n(125);function o(e){return r(this,e).get(e)}e.exports=o},function(e,t,n){var r=n(125);function o(e){return r(this,e).has(e)}e.exports=o},function(e,t,n){var r=n(125);function o(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}e.exports=o},function(e,t,n){var r,o=n(77).Uint8Array;e.exports=o},function(e,t,n){var r=n(386),o=n(267),a=n(178),i=n(218),l=n(268),c=n(219),s,u=Object.prototype.hasOwnProperty;function d(e,t){var n=a(e),s=!n&&o(e),d=!n&&!s&&i(e),f=!n&&!s&&!d&&c(e),p=n||s||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)!t&&!u.call(e,v)||p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||l(v,m))||h.push(v);return h}e.exports=d},function(e,t){function n(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=n},function(e,t,n){var r=n(110),o=n(106),a="[object Arguments]";function i(e){return o(e)&&r(e)==a}e.exports=i},function(e,t){function n(){return!1}e.exports=n},function(e,t,n){var r=n(110),o=n(220),a=n(106),i="[object Arguments]",l="[object Array]",c="[object Boolean]",s="[object Date]",u="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",m="[object RegExp]",v="[object Set]",g="[object String]",b="[object WeakMap]",y="[object ArrayBuffer]",w="[object DataView]",O,M="[object Float64Array]",x="[object Int8Array]",E="[object Int16Array]",j="[object Int32Array]",A="[object Uint8Array]",C="[object Uint8ClampedArray]",S="[object Uint16Array]",_="[object Uint32Array]",T={};function P(e){return a(e)&&o(e.length)&&!!T[r(e)]}T["[object Float32Array]"]=T[M]=T[x]=T[E]=T[j]=T[A]=T[C]=T[S]=T[_]=!0,T[i]=T[l]=T[y]=T[c]=T[w]=T[s]=T[u]=T[d]=T[f]=T[p]=T[h]=T[m]=T[v]=T[g]=T[b]=!1,e.exports=P},function(e,t){function n(e){return function(t){return e(t)}}e.exports=n},function(e,t,n){(function(e){var r=n(217),o=t&&!t.nodeType&&t,a=o&&"object"==typeof e&&e&&!e.nodeType&&e,i,l=a&&a.exports===o&&r.process,c=function(){try{var e=a&&a.require&&a.require("util").types;return e||l&&l.binding&&l.binding("util")}catch(e){}}();e.exports=c}).call(this,n(88)(e))},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function e(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return a(t,e),t},l=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n},c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(31),u=n(9),d=i(n(0)),f=c(n(8)),p=c(n(895)),h=n(83),m=c(n(42)),v=c(n(902)),g=c(n(1020)),b=c(n(1023)),y=n(126),w=c(n(1025)),O=c(n(1068)),M=c(n(1069)),x=c(n(1070)),E=c(n(1071)),j=c(n(1072)),A=n(107);n(1073);var C={defaultViewMode:"grid",multiple:!1,modeList:[]},S=(0,A.Provider)((0,d.forwardRef)((function(e,t){var n,o,a,i,c,S=e.dataSource,_=e.columns,T=e.dispatch,P=e.style,D=e.filter,I=e.sort,k=e.buttons,N=e.actionButtons,z=e.title,R=e.showTitle,L=void 0===R||R,B=e.subTitle,V=e.showSubTitle,H=void 0===V||V,F=e.summary,$=e.onValuesChange,U=e.columnSetting,W=e.dataSourceGroup,Y=e.localSettings,G=e.view,Q=void 0===G?C:G,q=e.gallery,X=e.currentSettingKey,K=e.exportImport,Z=e.currentComponentId,J=e.tabs,ee=l(e,["dataSource","columns","dispatch","style","filter","sort","buttons","actionButtons","title","showTitle","subTitle","showSubTitle","summary","onValuesChange","columnSetting","dataSourceGroup","localSettings","view","gallery","currentSettingKey","exportImport","currentComponentId","tabs"]),te=(0,h.useSharedState)(A.Context),ne=u.Form.useForm()[0],re=Q.defaultViewMode,oe=Q.multiple,ae=u.Form.useWatch("view_mode",{form:ne,preserve:!0}),ie=(0,m.default)(),le=(0,d.useRef)(null),ce=(0,d.useRef)({}),se=(0,d.useRef)({}),ue=(0,d.useRef)({}),de=((0,s.useSize)(le)||{}).width,fe=(0,s.useDebounce)(de,{wait:100}),pe=null===(n=null==ie?void 0:ie.appHelper)||void 0===n?void 0:n.utils,he=(0,d.useMemo)((function(){var e;return null===(e=null==pe?void 0:pe.isTerminal)||void 0===e?void 0:e.call(pe)}),[pe]),me=(0,d.useMemo)((function(){return"design"===e.__designMode?"designMode-mock-table-id":(null==e?void 0:e.currentComponentId)||e.__id}),[e.__id,e.__designMode,null==e?void 0:e.currentComponentId]),ve=(0,d.useMemo)((function(){return _.filter((function(e){return!e.hidden}))}),[_]),ge=(0,d.useMemo)((function(){return new Map(ve.map((function(e){return[e.key,(0,A.formatColumn)(e)]})))}),[ve]),be=(0,E.default)({sort:I,originColumnsMap:ge}),ye=(0,x.default)({filter:D,originColumnsMap:ge}),we=(0,M.default)({dataSourceGroup:W,originColumnsMap:ge}),Oe=(0,d.useMemo)((function(){var e=(0,y.getCurrentViewModeFromLocalStorage)(me);return oe?ae||e:ae||re}),[ae,re,oe]),Me=(0,d.useMemo)((function(){var e;return ve.map((function(e){return r(r({},e),{title:void 0})}))}),[ve]),xe=(0,d.useMemo)((function(){return X||(0,y.getHash)(Me)||""}),[X,JSON.stringify(Me)]);(0,d.useEffect)((function(){var e;(0,y.getTableSettingFromLocalStorage)(me).currentSettingHash!==xe&&(0,y.clearTableSettingToLocalStorage)(me)}),[xe,me]),(0,d.useEffect)((function(){fe&&te.dispatch({type:"setTableWidth",payload:fe||{}})}),[fe]);var Ee=(0,O.default)({tableId:me,filter:ye,columns:ve,columnSetting:U,dataSourceGroup:we,sort:be,view:Q,currentViewMode:Oe,gallery:q,currentSettingHash:xe,localSettings:Y}),je=Ee.setTableSetting,Ae=Ee.tableSetting,Ce=(0,j.default)({filter:ye,columnSetting:U,dataSourceGroup:we,sort:be,currentViewMode:Oe});(0,d.useEffect)((function(){te.dispatch({type:"setUtils",payload:(0,y.omit)(pe,["pisellos"])||{}}),te.dispatch({type:"setIsTerminal",payload:he})}),[pe,he]),(0,d.useEffect)((function(){te.dispatch({type:"setDefaultColumns",payload:(0,y.mergeColumnSetting)({columns:ve,tableId:me,currentViewMode:Oe})}),te.dispatch({type:"setOriginColumns",payload:ve})}),[ve,me,Oe]),(0,d.useEffect)((function(){te.dispatch({type:"setDataSource",payload:S}),te.dispatch({type:"setOriginDataSource",payload:S})}),[S]),(0,d.useEffect)((function(){te.dispatch({type:"setTableId",payload:me})}),[me]),(0,d.useEffect)((function(){var e;te.dispatch({type:"setLocalPagination",payload:null===(e=null==ee?void 0:ee.pagination)||void 0===e?void 0:e.localPagination})}),[null===(o=null==ee?void 0:ee.pagination)||void 0===o?void 0:o.localPagination]),(0,d.useEffect)((function(){setTimeout((function(){document.body.id="body"}),200)}),[]);var Se=(0,d.useMemo)((function(){var e,t,n;return((null==ye?void 0:ye.list)||[]).reduce((function(e,t){var n,o;return r(r({},e),((n={})[t.name]=null===(o=null==t?void 0:t.other)||void 0===o?void 0:o.defaultValue,n))}),{pagination:{page:(null===(e=ee.pagination)||void 0===e?void 0:e.current)||1,size:(null===(t=ee.pagination)||void 0===t?void 0:t.pageSize)||10}})}),[JSON.stringify(null==ye?void 0:ye.list),null===(a=ee.pagination)||void 0===a?void 0:a.current,null===(i=ee.pagination)||void 0===i?void 0:i.pageSize]);return se.current=Se,ce.current=Ae,ue.current=r(r({},Se),Ae),(0,d.useImperativeHandle)(t,(function(){return le.current&&(le.current.formInstance=ne,le.current.getCachedFilters=function(){try{if(!me)return{};var e=(0,y.getTableSettingByCurrentViewMode)(me,Oe);return(null==e?void 0:e.filters)||{}}catch(e){return{}}}),le.current})),(0,d.useEffect)((function(){ne.setFieldsValue(ue.current)}),[Oe]),(0,d.useEffect)((function(){ne.setFieldValue("column_setting",{}),ne.setFieldValue("column_setting",ce.current.column_setting)}),[(0,y.stringify)(Me)]),(0,d.useEffect)((function(){ne.setFieldsValue(ue.current)}),[(0,y.stringify)(D)]),d.default.createElement(u.Form,{form:ne,layout:"vertical",onValuesChange:function e(t,n){var o,a=r(r({},ne.getFieldsValue(!0)),n.filters||{}),i=r(r({},t),t.filters||{}),l;if("pagination"!==Object.keys(t)[0])a.pagination=r(r({},a.pagination),{page:1});else if(null===(o=null==ee?void 0:ee.pagination)||void 0===o?void 0:o.localPagination)return;je(a),ne.setFieldsValue({pagination:a.pagination}),Ce(t,n)&&(null==$||$((0,y.omit)(i,["filters"]),a))},className:"materials-grid-form-wrap"},d.default.createElement("div",{className:(0,f.default)("materials-grid",{"materials-grid-terminal":he}),style:P,ref:le},d.default.createElement(g.default,{title:z,showTitle:L,subTitle:B,showSubTitle:H,buttons:k}),(null==J?void 0:J.show)&&d.default.createElement(u.Form.Item,{name:"tabs",noStyle:!0},d.default.createElement(p.default,r({},J))),d.default.createElement(v.default,{view:Q,buttons:N,columnSetting:U,dataSourceGroup:we,filter:ye,sort:be,tableId:me,localPagination:null===(c=null==ee?void 0:ee.pagination)||void 0===c?void 0:c.localPagination,gallery:q,exportImport:K}),d.default.createElement(b.default,{summary:F}),d.default.createElement(w.default,r({},e,{filter:ye,sort:be,setTableSetting:je,dataSourceGroup:we}))))})));t.default=(0,d.forwardRef)(S)},function(e,t,n){"use strict";
41
41
  /** @license React v16.13.1
42
42
  * react-is.production.min.js
43
43
  *
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { AppVersionControlProps } from './types';
3
2
  import './index.less';
4
3
  declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: (props: any) => JSX.Element;
3
+ export default _default;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
- dataSourceKey: string | undefined;
4
- dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
2
+ dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
5
4
  };
6
5
  export default useDataSourceKey;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
22
+ title: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
23
  pagination: {
24
24
  total: number;
25
25
  current: number;
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
28
28
  showSizeChanger: boolean;
29
29
  };
30
30
  columns: import("./useColumns").Column[];
31
- subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
31
+ subTitle: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
32
  buttons: any[] | null;
33
33
  filter: any;
34
34
  onRow: (record: any) => any;
@@ -69,7 +69,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
69
69
  useCustomAction: boolean;
70
70
  actionType: string;
71
71
  openMode: "modal" | "drawer";
72
- openContentSize: "large" | "small" | "middle";
72
+ openContentSize: "large" | "middle" | "small";
73
73
  openTitle: string;
74
74
  key: string;
75
75
  } | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { JsonProps } from "./type";
3
2
  import "./ReadPretty.less";
4
3
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PasswordProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const CameraPopover: (props: {
3
2
  onLocalFileClick: () => void;
4
3
  onCameraChange: (file: any) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { UploadProps } from './type';
3
2
  import './ReadPretty.less';
4
3
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
@@ -59,7 +59,11 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<import("./Input/type").InputProps> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
63
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
+ } & {
65
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
66
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
63
67
  JSON: import("react").FC<any>;
64
68
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
65
69
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -80,10 +84,6 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
80
84
  fieldKey?: string | undefined;
81
85
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
82
86
  }) | (import("react").FC<{}> & {
83
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
84
- } & {
85
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
87
87
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
88
88
  } & {
89
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -97,5 +97,5 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
97
97
  dataSource?: any;
98
98
  }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
99
  onChange: (value: string) => void;
100
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
100
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
101
  export { getFieldComponent, formFieldMap };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
3
2
  import { Dayjs } from 'dayjs';
4
3
  import './index.less';
@@ -0,0 +1,18 @@
1
+ import './index.less';
2
+ import { ValueProps, SortType } from '../types';
3
+ declare type IdType = string | number;
4
+ declare type TreeItemProps = {
5
+ id: string | number;
6
+ key: string | number;
7
+ item: ValueProps | any;
8
+ depth: number;
9
+ lists: any[];
10
+ childrenProps?: SortType;
11
+ sensors?: any;
12
+ expandedKeys?: IdType[];
13
+ setExpandedKeys?: any;
14
+ onSelectKeys?: (ids: IdType) => void;
15
+ onChange?: (value: any[]) => void;
16
+ };
17
+ declare const TreeItem: (props: TreeItemProps) => JSX.Element;
18
+ export default TreeItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type LowCodePageProps = {
3
2
  id: number;
4
3
  };
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from './context';
3
+ interface PisellConfigProviderType {
4
+ platform?: PisellContextType['platform'];
5
+ children: React.ReactNode;
6
+ /** 货币符号 */
7
+ symbol?: string;
8
+ /** 当前语言环境 */
9
+ locale?: string;
10
+ getSymbolic?: () => string;
11
+ }
12
+ declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
13
+ export default PisellConfigProvider;
@@ -0,0 +1,4 @@
1
+ import './index.less';
2
+ import { PisellAdjustPriceProps } from './type';
3
+ declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
4
+ export default PisellAdjustPrice;
@@ -0,0 +1,40 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from '../pisell-config-provider/context';
3
+ import './index.less';
4
+ export interface PisellCheckboxGroupOption {
5
+ label: string;
6
+ value: string;
7
+ disabled?: boolean;
8
+ error?: boolean;
9
+ [key: string]: any;
10
+ }
11
+ declare type PisellCheckboxGroupValue = string | string[] | any;
12
+ export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivElement> {
13
+ platform?: PisellContextType['platform'];
14
+ direction?: 'horizontal' | 'vertical';
15
+ fullWidth?: boolean;
16
+ gap?: number;
17
+ padding?: number;
18
+ options: PisellCheckboxGroupOption[];
19
+ onChange?: (value: PisellCheckboxGroupValue, item: PisellCheckboxGroupOption) => void;
20
+ value?: PisellCheckboxGroupValue;
21
+ renderOption?: (option: PisellCheckboxGroupOption, active: boolean, index: number) => React.ReactNode;
22
+ rowKey?: string;
23
+ mode?: 'multiple' | 'single';
24
+ iconPosition?: 'left' | 'right' | 'hide';
25
+ optionClassName?: string;
26
+ optionActiveClassName?: string;
27
+ onChangeDebounce?: boolean;
28
+ onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: PisellCheckboxGroupOption) => void;
29
+ showActiveBackground?: boolean;
30
+ }
31
+ /**
32
+ * @title: PisellCheckboxGroup
33
+ * @description: 选中组件
34
+ * @param {PisellCheckboxGroupProps} props
35
+ * @return {*}
36
+ * @Author: zhiwei.Wang
37
+ * @Date: 2024-08-16 10:34
38
+ */
39
+ declare const PisellCheckboxGroup: (props: PisellCheckboxGroupProps) => JSX.Element;
40
+ export default PisellCheckboxGroup;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  export interface ScanProps {
4
3
  onChange: (val: string) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps, ButtonProps } from 'antd';
3
2
  import { PisellContextType } from "../../../pisell-config-provider/context";
4
3
  export interface CopyProps extends InputProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from '../pisell-config-provider/context';
4
3
  declare const PisellInput: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SpinProps } from 'antd';
3
2
  import './index.less';
4
3
  declare type MaskType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  export interface IpadModalProps extends PcModalProps {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  import './index.less';
4
3
  export interface MobileModalProps extends PcModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import IpadModal from './IpadModal';
3
2
  import MobileModal from './MobileModal';
4
3
  import PcModal from './PcModal';
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface PisellQRScannerProps {
4
+ /** 是否可见 */
5
+ visible: boolean;
6
+ /** 是否显示上传图片按钮 */
7
+ showUpload?: boolean;
8
+ /** 关闭回调 */
9
+ onClose: () => void;
10
+ /** 扫码成功回调 */
11
+ onScan: (value: string) => void;
12
+ /**
13
+ * 样式属性,可选
14
+ * 注意: 不应传入renderMode等不必要属性
15
+ */
16
+ style?: React.CSSProperties;
17
+ /** 类名,可选 */
18
+ className?: string;
19
+ }
20
+ /**
21
+ * 二维码扫描组件
22
+ */
23
+ declare const PisellQRScanner: React.FC<PisellQRScannerProps>;
24
+ export default PisellQRScanner;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { PisellContextType } from '../../../pisell-config-provider/context';
3
+ export interface AmountProps extends React.HTMLAttributes<HTMLSpanElement> {
4
+ /** 平台 */
5
+ platform?: PisellContextType['platform'];
6
+ /** 当前数值 */
7
+ value?: number | string;
8
+ /** 小数点后位数 默认是小数点后2位 */
9
+ precision?: number;
10
+ /** 显示货币符号 指的是 ¥$ 等货币符号等显隐,默认是展示 */
11
+ showCurrencySymbol?: boolean;
12
+ /** 千分位 指的是长金额的千分位逗号隔开,比如“123, 245, 315” 这种展现形式,默认是关闭 */
13
+ useThousandsSeparator?: boolean;
14
+ /** 整数位隐藏小数 指的是如果价格为整数,后面的".00" 将被省略以节省页面空间 */
15
+ hideDecimalForWholeNumbers?: boolean;
16
+ /** 货币符号 */
17
+ symbol?: string;
18
+ }
19
+ declare const Amount: (props: AmountProps) => JSX.Element;
20
+ export default Amount;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface PisellToastProps {
4
+ /** 提示内容 */
5
+ content: React.ReactNode;
6
+ /** 自动关闭的延时,单位秒。设为 0 时不自动关闭 */
7
+ duration?: number;
8
+ /** 是否展示action */
9
+ showAction?: boolean;
10
+ /** action文案 */
11
+ actionText?: string;
12
+ /** 关闭时触发的回调函数 */
13
+ onClose?: () => void;
14
+ }
15
+ declare const PisellToast: (props: PisellToastProps) => void;
16
+ export { useToast } from './squareToast';
17
+ export default PisellToast;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
3
+ export default Footer;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
+ export default MultiDay;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Note: (props: any) => JSX.Element | null;
3
+ export default Note;
@@ -0,0 +1,27 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface IProps {
4
+ isShowImage?: boolean;
5
+ dataSource: {
6
+ image?: string;
7
+ bundle?: any[];
8
+ options?: any[];
9
+ product_option_string?: string;
10
+ name?: string;
11
+ symbol?: string;
12
+ price?: string | number;
13
+ total?: number;
14
+ origin_total?: number;
15
+ num?: number;
16
+ holder_id?: any;
17
+ };
18
+ style?: React.CSSProperties;
19
+ /** 作为主商品卡片展示
20
+ * 1. 影响商品数量 tag 的位置
21
+ * 2. isMain 且 type 为 a5,展示holder
22
+ */
23
+ isMainProduct?: boolean;
24
+ type?: 'a2' | 'a5';
25
+ }
26
+ declare const BasicInfo: (props: IProps) => JSX.Element;
27
+ export default BasicInfo;
@@ -0,0 +1,2 @@
1
+ declare const DiscountReason: (props: any) => JSX.Element;
2
+ export default DiscountReason;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Holders: (props: any) => JSX.Element | null;
3
+ export default Holders;
@@ -0,0 +1,10 @@
1
+ import './index.less';
2
+ interface IProps {
3
+ isShowImage?: boolean;
4
+ dataSource: {
5
+ bundle?: any[];
6
+ symbol?: string;
7
+ };
8
+ }
9
+ declare const Packages: ({ isShowImage, dataSource }: IProps) => JSX.Element | null;
10
+ export default Packages;
@@ -0,0 +1,20 @@
1
+ /**
2
+ * @title: 金额是否是负
3
+ * @description:
4
+ * @param {string} type
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2024-11-22 10:01
8
+ */
9
+ export declare const minusSign: (item: any, type?: string) => "" | "-";
10
+ /**
11
+ * @title: 金额格式化
12
+ * @description:
13
+ * @param {number} price
14
+ * @param {string} amountSymbol
15
+ * @param {number} digit
16
+ * @return {*}
17
+ * @Author: WangHan
18
+ * @Date: 2024-11-22 10:58
19
+ */
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Resources: (props: any) => JSX.Element | null;
3
+ export default Resources;
@@ -0,0 +1,12 @@
1
+ import './index.less';
2
+ interface IProps {
3
+ hideDivider?: boolean;
4
+ dataSource: {
5
+ symbol?: string;
6
+ relation_products?: any[];
7
+ bundle?: any[];
8
+ };
9
+ isShowImage?: boolean;
10
+ }
11
+ declare const Sales: ({ hideDivider, dataSource, isShowImage }: IProps) => JSX.Element | null;
12
+ export default Sales;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Specs: (props: any) => JSX.Element | null;
3
+ export default Specs;
@@ -0,0 +1,6 @@
1
+ import 'dayjs/locale/zh-cn';
2
+ import 'dayjs/locale/en';
3
+ import 'dayjs/locale/zh-tw';
4
+ import './index.less';
5
+ declare const TimeRange: (props: any) => JSX.Element | null;
6
+ export default TimeRange;
@@ -0,0 +1,10 @@
1
+ import './index.less';
2
+ import { ProductCardTypes } from '../types';
3
+ interface ISKUCardProps extends ProductCardTypes {
4
+ type: 'a2' | 'a5';
5
+ rightActions: any[];
6
+ escapeDom?: string;
7
+ }
8
+ export declare const PREFIX = "pisell-cart-sku-card";
9
+ declare const CartSkuCard: (props: ISKUCardProps) => JSX.Element;
10
+ export default CartSkuCard;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
4
3
  export default Footer;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const EditButton: ({ onEdit }: any) => JSX.Element;
4
3
  export default EditButton;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Header: (props: any) => JSX.Element;
3
+ export default Header;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
3
  export default MultiDay;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Note: (props: any) => JSX.Element | null;
4
3
  export default Note;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
4
3
  export default Options;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Packages: ({ item, isShowPackageNote }: any) => JSX.Element | null;
4
3
  export default Packages;
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
3
+ export default Sales;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
4
3
  export default SelectHolder;