@pisell/materials 6.2.24 → 6.2.26

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 (178) 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/index.js +1 -1
  5. package/build/lowcode/meta.js +7 -7
  6. package/build/lowcode/preview.js +146 -146
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +36 -27
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +41 -32
  11. package/es/components/DragSortList/index.js +6 -6
  12. package/es/components/classicLayout/index.js +4 -5
  13. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  14. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  15. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  16. package/es/components/icon/index.js +5 -5
  17. package/es/components/iconfont/index.js +1 -1
  18. package/es/components/list/index.js +6 -6
  19. package/es/components/pisellAdjustPrice/index.js +64 -8
  20. package/es/components/pisellAdjustPrice/index.less +35 -6
  21. package/es/components/pisellAdjustPrice/status.js +32 -0
  22. package/es/components/pisellAdjustPrice/type.js +1 -0
  23. package/es/components/pisellToast/index.js +3 -0
  24. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +61 -0
  25. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
  26. package/es/components/productCard/cartSkuCard/components/discountReason/index.js +51 -0
  27. package/es/components/productCard/cartSkuCard/components/holders/index.js +32 -0
  28. package/es/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  29. package/es/components/productCard/cartSkuCard/components/packages/index.js +52 -0
  30. package/es/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  31. package/es/components/productCard/cartSkuCard/components/packages/utils.js +40 -0
  32. package/es/components/productCard/cartSkuCard/components/resources/index.js +44 -0
  33. package/es/components/productCard/cartSkuCard/components/resources/index.less +20 -0
  34. package/es/components/productCard/cartSkuCard/components/sales/index.js +55 -0
  35. package/es/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  36. package/es/components/productCard/cartSkuCard/components/specs/index.js +43 -0
  37. package/es/components/productCard/cartSkuCard/components/specs/index.less +28 -0
  38. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +53 -0
  39. package/es/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
  40. package/es/components/productCard/cartSkuCard/index.js +195 -0
  41. package/es/components/productCard/cartSkuCard/index.less +69 -0
  42. package/es/components/productCard/cartSkuCard/locales.js +30 -0
  43. package/es/components/productCard/components/Header/index.js +4 -3
  44. package/es/components/productCard/components/Sales/index.js +2 -2
  45. package/es/components/productCard/index.js +2 -0
  46. package/es/components/qrcode/index.js +1 -1
  47. package/es/components/sort/components/InlineMenu/index.js +1 -1
  48. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  49. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  50. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  51. package/es/components/table/Header/Buttons/index.js +5 -5
  52. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  53. package/es/components/table/Table/SelectField/index.js +4 -4
  54. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  55. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  56. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  57. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  58. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  59. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  60. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  61. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  62. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  63. package/es/components/table/Table/utils.d.ts +1 -1
  64. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  65. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  66. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  67. package/es/components/translation/utils.js +5 -5
  68. package/es/components/virtual-keyboard/Amount/index.js +79 -7
  69. package/es/components/virtual-keyboard/Amount/index.less +39 -0
  70. package/es/components/virtual-keyboard/Amount/themeConfig.js +32 -0
  71. package/es/components/virtual-keyboard/Amount/types.js +1 -0
  72. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +38 -10
  73. package/es/components/virtual-keyboard/Keyboard/index.js +2 -2
  74. package/es/components/virtual-keyboard/Number/index.js +77 -7
  75. package/es/components/virtual-keyboard/Number/index.less +39 -0
  76. package/es/components/virtual-keyboard/Number/themeConfig.js +32 -0
  77. package/es/components/virtual-keyboard/Number/types.js +1 -0
  78. package/es/components/virtual-keyboard/VirtualKeyInput/index.js +10 -3
  79. package/es/components/virtual-keyboard/index.js +88 -3
  80. package/es/components/virtual-keyboard/index.less +33 -1
  81. package/es/hooks/useResponsive.js +2 -2
  82. package/es/utils/hoc.js +1 -1
  83. package/es/utils/miniRedux.js +8 -9
  84. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  85. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  86. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  87. package/lib/components/iconfont/index.js +1 -1
  88. package/lib/components/lowCodePage/index.js +1 -2
  89. package/lib/components/pisellAdjustPrice/index.js +119 -57
  90. package/lib/components/pisellAdjustPrice/index.less +35 -6
  91. package/lib/components/pisellAdjustPrice/status.js +60 -0
  92. package/lib/components/pisellAdjustPrice/type.js +17 -0
  93. package/lib/components/pisellToast/index.js +3 -0
  94. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +71 -0
  95. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
  96. package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +70 -0
  97. package/lib/components/productCard/cartSkuCard/components/holders/index.js +52 -0
  98. package/lib/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  99. package/lib/components/productCard/cartSkuCard/components/packages/index.js +73 -0
  100. package/lib/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  101. package/lib/components/productCard/cartSkuCard/components/packages/utils.js +44 -0
  102. package/lib/components/productCard/cartSkuCard/components/resources/index.js +73 -0
  103. package/lib/components/productCard/cartSkuCard/components/resources/index.less +20 -0
  104. package/lib/components/productCard/cartSkuCard/components/sales/index.js +76 -0
  105. package/lib/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  106. package/lib/components/productCard/cartSkuCard/components/specs/index.js +65 -0
  107. package/lib/components/productCard/cartSkuCard/components/specs/index.less +28 -0
  108. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +67 -0
  109. package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
  110. package/lib/components/productCard/cartSkuCard/index.js +216 -0
  111. package/lib/components/productCard/cartSkuCard/index.less +69 -0
  112. package/lib/components/productCard/cartSkuCard/locales.js +61 -0
  113. package/lib/components/productCard/components/Header/index.js +4 -3
  114. package/lib/components/productCard/components/Sales/index.js +2 -2
  115. package/lib/components/productCard/index.js +2 -0
  116. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  117. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  118. package/lib/components/table/Table/fields/utils/index.js +1 -2
  119. package/lib/components/table/Table/utils.d.ts +1 -1
  120. package/lib/components/virtual-keyboard/Amount/index.js +72 -16
  121. package/lib/components/virtual-keyboard/Amount/index.less +39 -0
  122. package/lib/components/virtual-keyboard/Amount/themeConfig.js +60 -0
  123. package/lib/components/virtual-keyboard/Amount/types.js +17 -0
  124. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +31 -8
  125. package/lib/components/virtual-keyboard/Keyboard/index.js +2 -1
  126. package/lib/components/virtual-keyboard/Number/index.js +65 -11
  127. package/lib/components/virtual-keyboard/Number/index.less +39 -0
  128. package/lib/components/virtual-keyboard/Number/themeConfig.js +60 -0
  129. package/lib/components/virtual-keyboard/Number/types.js +17 -0
  130. package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +34 -20
  131. package/lib/components/virtual-keyboard/index.js +60 -2
  132. package/lib/components/virtual-keyboard/index.less +33 -1
  133. package/lib/hooks/useResponsive.js +3 -6
  134. package/lowcode/_setters/antd-icon-setter/index.tsx +3 -2
  135. package/lowcode/pisell-adjust-price/meta.ts +168 -0
  136. package/lowcode/pisell-adjust-price/snippets.ts +1 -0
  137. package/lowcode/pisell-number-keyboard/meta.ts +167 -0
  138. package/lowcode/pisell-price-keyboard/meta.ts +167 -0
  139. package/lowcode/virtual-keyboard/meta.ts +131 -0
  140. package/package.json +1 -1
  141. package/dist/umd/materials.min.css +0 -1
  142. package/dist/umd/materials.min.js +0 -1
  143. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  144. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  145. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  146. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  147. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  148. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
  149. package/es/components/iconfont/index.d.ts +0 -8
  150. package/es/components/pisellAdjustPrice/index.d.ts +0 -9
  151. package/es/components/pisellToast/index.d.ts +0 -16
  152. package/es/components/productCard/components/Header/index.d.ts +0 -3
  153. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  154. package/es/components/productCard/index.d.ts +0 -5
  155. package/es/components/productCard/locales.d.ts +0 -84
  156. package/es/components/productCard/status.d.ts +0 -32
  157. package/es/components/productCard/types.d.ts +0 -84
  158. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -22
  159. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -19
  160. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  161. package/es/components/virtual-keyboard/Number/index.d.ts +0 -13
  162. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -11
  163. package/es/components/virtual-keyboard/index.d.ts +0 -14
  164. package/lib/components/iconfont/index.d.ts +0 -8
  165. package/lib/components/pisellAdjustPrice/index.d.ts +0 -9
  166. package/lib/components/pisellToast/index.d.ts +0 -16
  167. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  168. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  169. package/lib/components/productCard/index.d.ts +0 -5
  170. package/lib/components/productCard/locales.d.ts +0 -84
  171. package/lib/components/productCard/status.d.ts +0 -32
  172. package/lib/components/productCard/types.d.ts +0 -84
  173. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -22
  174. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -19
  175. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  176. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -13
  177. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -11
  178. package/lib/components/virtual-keyboard/index.d.ts +0 -14
@@ -1 +0,0 @@
1
- .materials-grid{display:flex;flex-direction:column;height:100%;width:100%}.materials-grid-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-header .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-actions .left-wrap{align-items:center;display:flex;flex:1 1}.materials-grid-actions .left-wrap .pisell-lowcode-form-item{margin-bottom:0}.materials-grid-actions .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions .right-wrap .icon{cursor:pointer;transition:.2s}.materials-grid-actions .right-wrap .icon:hover{color:var(--theme-color)}.materials-grid-actions .right-wrap .button{align-items:center;display:flex;font-size:12px;height:28px;justify-content:center}.filter-dropdown-wrap{display:flex;flex-direction:column;max-height:400px;max-width:calc(100vw - 24px);min-width:250px;padding:4px;width:400px}.filter-dropdown-wrap .filter-dropdown-wrap-content{flex:1 1;overflow:auto}.filter-dropdown-wrap .filter-dropdown-drag-item{align-items:center;background:#f9fafb;background:var(--gray-50,#f9fafb);border-radius:8px;display:flex;margin-bottom:12px;padding:8px 12px 12px}.filter-dropdown-wrap .filter-dropdown-drag-item .dots-six-icon{color:#98a2b3;cursor:pointer;font-size:24px}.filter-dropdown-wrap .filter-dropdown-drag-item .pisell-lowcode-form-item{margin-bottom:0}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right{flex:1 1;margin-left:16px}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right .filter-dropdown-drag-item-title{color:#777;color:var(--text-text-2,#777);font-size:14px;font-style:normal;font-weight:600;line-height:20px}.filter-dropdown-container-wrap{border-bottom:1px solid #e2e2e2;border-bottom:1px solid var(--surface-surface-4,#e2e2e2);margin-bottom:20px;min-height:70px}.filter-dropdown-container-wrap:last-child{border:none}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap{align-items:center;color:#919191;color:var(--text-text-3,#919191);display:flex;font-size:16px;font-style:normal;font-weight:600;line-height:22px;margin-bottom:12px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-title{color:#101828;color:var(--gray-900,#101828);font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-right:6px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-icon-help{color:#98a2b3;color:var(--gray-400,#98a2b3);font-size:20px}.filter-dropdown-container-wrap .filter-dropdown-container-filter-wrap{min-height:80px}.materials-sort-list-empty{color:#5a5a5a;display:block;padding-top:22px;text-align:center}.materials-grid-summary{margin-bottom:16px}.grid-view-table-wrap{position:relative}.materials-grid-paginator{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:center;margin:0!important;padding:0 20px;width:100%}.materials-grid-paginator .pisell-lowcode-pagination-total-text{color:#667085;color:var(--gray-500,#667085);font-size:14px;font-style:normal;font-weight:500;margin-right:auto}.materials-grid-paginator .pisell-lowcode-pagination-item{border:1px solid #d0d5dd;border-radius:0;border-right:0;margin:0;position:relative}.materials-grid-paginator .pisell-lowcode-pagination-jump-next,.materials-grid-paginator .pisell-lowcode-pagination-jump-prev{border:1px solid #d0d5dd;border-radius:0;border-right:none;margin:0}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover .pisell-lowcode-pagination-item-link-icon{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active:hover{border-color:#d0d5dd!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active{background-color:rgba(0,0,0,.06)}.materials-grid-paginator .pisell-lowcode-pagination-item-active a{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-prev{align-items:center;border:1px solid #d0d5dd;border-radius:8px 0 0 8px;border-right:none;display:flex;justify-content:center;margin:0;min-width:auto}.materials-grid-paginator .pisell-lowcode-pagination-next{align-items:center;border:1px solid #d0d5dd;border-radius:0 8px 8px 0;display:flex;justify-content:center;margin:0;min-width:auto}.paginator-page-btn{align-items:center;border-radius:4px 4px 4px 4px;color:#344054;color:var(--gray-700,#344054);cursor:pointer;display:flex;font-size:12px;font-weight:400;justify-content:center;padding:10px 16px;transition:.2s;-ms-user-select:none;user-select:none}.paginator-page-btn .paginator-page-btn-text{font-weight:600}.paginator-page-btn .paginator-page-btn-left-icon,.paginator-page-btn .paginator-page-btn-right-icon{font-size:20px}.paginator-page-btn .paginator-page-btn-left-icon{margin-right:8px}.paginator-page-btn .paginator-page-btn-right-icon{margin-left:8px}.paginator-page-btn.left{margin-right:auto}.paginator-page-btn.left .icon{font-size:18px;margin-right:8px}.paginator-page-btn.right{margin-left:auto}.paginator-page-btn.right .icon{font-size:18px;margin-left:8px;transform:rotate(180deg)}.materials-grid-paginator-mini{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:space-between;margin:0!important;overflow:hidden;padding:0 20px;width:100%}.materials-grid-paginator-mini .paginator-page-btn{padding:8px}.materials-grid-paginator-mini .materials-grid-paginator-center{align-items:center;display:flex;gap:4px;justify-content:center}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-text{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:400}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-value{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:500}.materials-grid-paginator-mini .pisell-lowcode-pagination-next,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev{border:1px solid #d0d5dd;border-radius:8px;margin:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-left-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-left-icon{margin-right:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-right-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-right-icon{margin-left:0}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.materials-grid-table-header-cell{align-items:center;display:flex;height:44px;padding:0 14px}.materials-grid-table-header-cell .field-icon{color:#777;font-size:18px}.materials-grid-table-header-cell .materials-grid-table-header-cell-content{color:#1b1b1b;flex:auto;font-size:14px;font-weight:600;overflow:hidden;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.materials-grid-table-header-cell .actions{align-items:center;display:flex;gap:8px}.materials-grid-table-header-cell .actions .action{color:#ababab;cursor:pointer;font-size:14px}.editable-cell-value-wrap{height:100%;width:100%}.materials-grid-table-cell{height:1px;padding:0!important}.cell-provider{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:100%;justify-content:center;padding:12px;position:relative;width:100%}.cell-provider.focus{box-shadow:var(--theme-color) 0 0 0 1px!important}