@owp/core 2.4.0 → 2.5.0

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 (656) hide show
  1. package/assets/fonts/material-design-icons/MaterialIconsOutlined-Regular.woff2 +0 -0
  2. package/assets/fonts/material-design-icons/MaterialIconsOutlined.css +36 -0
  3. package/assets/fonts/pretendard/pretendard-subset.css +98 -0
  4. package/assets/fonts/pretendard/woff-subset/Pretendard-Black.subset.woff +0 -0
  5. package/assets/fonts/pretendard/woff-subset/Pretendard-Bold.subset.woff +0 -0
  6. package/assets/fonts/pretendard/woff-subset/Pretendard-ExtraBold.subset.woff +0 -0
  7. package/assets/fonts/pretendard/woff-subset/Pretendard-ExtraLight.subset.woff +0 -0
  8. package/assets/fonts/pretendard/woff-subset/Pretendard-Light.subset.woff +0 -0
  9. package/assets/fonts/pretendard/woff-subset/Pretendard-Medium.subset.woff +0 -0
  10. package/assets/fonts/pretendard/woff-subset/Pretendard-Regular.subset.woff +0 -0
  11. package/assets/fonts/pretendard/woff-subset/Pretendard-SemiBold.subset.woff +0 -0
  12. package/assets/fonts/pretendard/woff-subset/Pretendard-Thin.subset.woff +0 -0
  13. package/assets/fonts/pretendard/woff2-subset/Pretendard-Black.subset.woff2 +0 -0
  14. package/assets/fonts/pretendard/woff2-subset/Pretendard-Bold.subset.woff2 +0 -0
  15. package/assets/fonts/pretendard/woff2-subset/Pretendard-ExtraBold.subset.woff2 +0 -0
  16. package/assets/fonts/pretendard/woff2-subset/Pretendard-ExtraLight.subset.woff2 +0 -0
  17. package/assets/fonts/pretendard/woff2-subset/Pretendard-Light.subset.woff2 +0 -0
  18. package/assets/fonts/pretendard/woff2-subset/Pretendard-Medium.subset.woff2 +0 -0
  19. package/assets/fonts/pretendard/woff2-subset/Pretendard-Regular.subset.woff2 +0 -0
  20. package/assets/fonts/pretendard/woff2-subset/Pretendard-SemiBold.subset.woff2 +0 -0
  21. package/assets/fonts/pretendard/woff2-subset/Pretendard-Thin.subset.woff2 +0 -0
  22. package/assets/icons/feather.svg +1314 -0
  23. package/assets/icons/heroicons-outline.svg +1 -0
  24. package/assets/icons/heroicons-solid.svg +1 -0
  25. package/assets/icons/material-outline.svg +3586 -0
  26. package/assets/icons/material-solid.svg +3586 -0
  27. package/assets/icons/material-twotone.svg +3586 -0
  28. package/assets/icons/owp_sb.svg +35 -0
  29. package/dist/_virtual/_virtual_owp-exceljs-browser-source.js +5 -0
  30. package/dist/_virtual/_virtual_owp-exceljs-browser-source.js.map +1 -0
  31. package/dist/_virtual/index10.js +2 -2
  32. package/dist/_virtual/index12.js +2 -2
  33. package/dist/_virtual/index13.js +2 -2
  34. package/dist/_virtual/index14.js +2 -2
  35. package/dist/_virtual/index15.js +2 -2
  36. package/dist/_virtual/index17.js +5 -2
  37. package/dist/_virtual/index17.js.map +1 -1
  38. package/dist/_virtual/index18.js +4 -4
  39. package/dist/_virtual/index19.js +4 -4
  40. package/dist/_virtual/index20.js +2 -5
  41. package/dist/_virtual/index20.js.map +1 -1
  42. package/dist/_virtual/index5.js +2 -2
  43. package/dist/components/OwpCommonCode/OwpCommonCodeRadioGroup.js +38 -38
  44. package/dist/components/OwpCommonCode/OwpCommonCodeRadioGroup.js.map +1 -1
  45. package/dist/components/OwpFieldHelperText/OwpFieldHelperText.js +34 -0
  46. package/dist/components/OwpFieldHelperText/OwpFieldHelperText.js.map +1 -0
  47. package/dist/components/OwpMrtTable/OwpMrtTable.js +98 -104
  48. package/dist/components/OwpMrtTable/OwpMrtTable.js.map +1 -1
  49. package/dist/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.js +10 -9
  50. package/dist/components/OwpMrtTable/internal/OwpMrtTableNoDataOverlay.js.map +1 -1
  51. package/dist/components/OwpRequiredHelperText/OwpRequiredHelperText.js +38 -0
  52. package/dist/components/OwpRequiredHelperText/OwpRequiredHelperText.js.map +1 -0
  53. package/dist/components/OwpTable/OwpDataTable.js +171 -177
  54. package/dist/components/OwpTable/OwpDataTable.js.map +1 -1
  55. package/dist/components/OwpTable/OwpFieldTable.js +99 -0
  56. package/dist/components/OwpTable/OwpFieldTable.js.map +1 -0
  57. package/dist/components/OwpTable/OwpTable.js +62 -68
  58. package/dist/components/OwpTable/OwpTable.js.map +1 -1
  59. package/dist/components/OwpTextField/OwpTextMaskField.js +138 -87
  60. package/dist/components/OwpTextField/OwpTextMaskField.js.map +1 -1
  61. package/dist/components/OwpTreeGrid/internal/OwpTreeGridNoDataOverlay.js +6 -5
  62. package/dist/components/OwpTreeGrid/internal/OwpTreeGridNoDataOverlay.js.map +1 -1
  63. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js +66 -69
  64. package/dist/components/OwpTreeGrid/internal/treeGridRuntime.js.map +1 -1
  65. package/dist/constants/treeGrid.js +36 -5
  66. package/dist/constants/treeGrid.js.map +1 -1
  67. package/dist/constants.js +25 -19
  68. package/dist/contexts/OwpAppProvider.js.map +1 -1
  69. package/dist/hooks/useCurrentUserSeq.js +20 -6
  70. package/dist/hooks/useCurrentUserSeq.js.map +1 -1
  71. package/dist/hooks/useLogoSrc.js +9 -9
  72. package/dist/hooks/useLogoSrc.js.map +1 -1
  73. package/dist/hooks/useNavigationActiveRouteRemount.js +38 -0
  74. package/dist/hooks/useNavigationActiveRouteRemount.js.map +1 -0
  75. package/dist/hooks.js +50 -49
  76. package/dist/index.js +74 -70
  77. package/dist/index.js.map +1 -1
  78. package/dist/layout/Layout.js +37 -36
  79. package/dist/layout/Layout.js.map +1 -1
  80. package/dist/layout/components/navigation/vertical/types/NavVerticalCollapse.js +61 -51
  81. package/dist/layout/components/navigation/vertical/types/NavVerticalCollapse.js.map +1 -1
  82. package/dist/layout/components/navigation/vertical/types/NavVerticalGroup.js +35 -27
  83. package/dist/layout/components/navigation/vertical/types/NavVerticalGroup.js.map +1 -1
  84. package/dist/layout/components/navigation/vertical/types/NavVerticalItem.js +34 -27
  85. package/dist/layout/components/navigation/vertical/types/NavVerticalItem.js.map +1 -1
  86. package/dist/layout/components/toggles/NavigationSearchToggle.js +3 -3
  87. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE128/index.js +1 -1
  88. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE39/index.js +1 -1
  89. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/CODE93/index.js +1 -1
  90. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/constants.js +1 -1
  91. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/EAN_UPC/index.js +1 -1
  92. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/GenericBarcode/index.js +1 -1
  93. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/constants.js +1 -1
  94. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/ITF/index.js +1 -1
  95. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/MSI/index.js +1 -1
  96. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/codabar/index.js +1 -1
  97. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/barcodes/pharmacode/index.js +1 -1
  98. package/dist/node_modules/.pnpm/jsbarcode@3.12.1/node_modules/jsbarcode/bin/renderers/index.js +1 -1
  99. package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +1 -1
  100. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +1 -1
  101. package/dist/owp-app.css +1 -1
  102. package/dist/types/components/OwpFieldHelperText/OwpFieldHelperText.d.ts +14 -0
  103. package/dist/types/components/OwpFieldHelperText/index.d.ts +2 -0
  104. package/dist/types/components/OwpRequiredHelperText/OwpRequiredHelperText.d.ts +18 -0
  105. package/dist/types/components/OwpRequiredHelperText/index.d.ts +2 -0
  106. package/dist/types/components/OwpTable/{OwpVerticalTable.d.ts → OwpFieldTable.d.ts} +9 -8
  107. package/dist/types/components/OwpTable/index.d.ts +1 -1
  108. package/dist/types/components/OwpTextField/OwpTextMaskField.d.ts +5 -3
  109. package/dist/types/components/OwpTreeGrid/internal/treeGridRuntime.d.ts +1 -1
  110. package/dist/types/constants/treeGrid.d.ts +12 -0
  111. package/dist/types/contexts/OwpAppProvider.d.ts +1 -0
  112. package/dist/types/hooks/useCurrentUserSeq.d.ts +11 -2
  113. package/dist/types/hooks/useNavigationActiveRouteRemount.d.ts +14 -0
  114. package/dist/types/index.d.ts +3 -1
  115. package/dist/types/utils/exceljsBrowser.d.ts +1 -3
  116. package/dist/utils/exceljsBrowser.js +64 -7
  117. package/dist/utils/exceljsBrowser.js.map +1 -1
  118. package/fixed-images/flags/EN.svg +11 -0
  119. package/fixed-images/flags/KR.svg +27 -0
  120. package/fixed-images/logo/owp/owp_sb.svg +35 -0
  121. package/package.json +6 -2
  122. package/treegrid/Compatible/Borders/Backgrounds.gif +0 -0
  123. package/treegrid/Compatible/Borders/BackgroundsRight.gif +0 -0
  124. package/treegrid/Compatible/Borders/Bool.gif +0 -0
  125. package/treegrid/Compatible/Borders/BoolSpace.gif +0 -0
  126. package/treegrid/Compatible/Borders/Button.gif +0 -0
  127. package/treegrid/Compatible/Borders/Dependencies.gif +0 -0
  128. package/treegrid/Compatible/Borders/FastPanel1.gif +0 -0
  129. package/treegrid/Compatible/Borders/FastPanel2.gif +0 -0
  130. package/treegrid/Compatible/Borders/Filter.gif +0 -0
  131. package/treegrid/Compatible/Borders/Gantt.css +1228 -0
  132. package/treegrid/Compatible/Borders/Gantt.gif +0 -0
  133. package/treegrid/Compatible/Borders/GanttLineA.gif +0 -0
  134. package/treegrid/Compatible/Borders/GanttLineB.gif +0 -0
  135. package/treegrid/Compatible/Borders/GanttLineC.gif +0 -0
  136. package/treegrid/Compatible/Borders/GanttLineD.gif +0 -0
  137. package/treegrid/Compatible/Borders/Grid.css +2762 -0
  138. package/treegrid/Compatible/Borders/HScroll.png +0 -0
  139. package/treegrid/Compatible/Borders/Menu.gif +0 -0
  140. package/treegrid/Compatible/Borders/Pager.gif +0 -0
  141. package/treegrid/Compatible/Borders/Pager.png +0 -0
  142. package/treegrid/Compatible/Borders/Panel.gif +0 -0
  143. package/treegrid/Compatible/Borders/Sort.gif +0 -0
  144. package/treegrid/Compatible/Borders/Toolbar.gif +0 -0
  145. package/treegrid/Compatible/Borders/Toolbar.png +0 -0
  146. package/treegrid/Compatible/Borders/ToolbarGantt.gif +0 -0
  147. package/treegrid/Compatible/Borders/ToolbarGantt.png +0 -0
  148. package/treegrid/Compatible/Borders/ToolbarSheet.gif +0 -0
  149. package/treegrid/Compatible/Borders/ToolbarSheet.png +0 -0
  150. package/treegrid/Compatible/Borders/ToolbarSheetWide.gif +0 -0
  151. package/treegrid/Compatible/Borders/ToolbarSheetWide.png +0 -0
  152. package/treegrid/Compatible/Borders/Tree.gif +0 -0
  153. package/treegrid/Compatible/Borders/TreeBottom.gif +0 -0
  154. package/treegrid/Compatible/Borders/TreeMiddle.gif +0 -0
  155. package/treegrid/Compatible/Borders/TreeNCollapse.gif +0 -0
  156. package/treegrid/Compatible/Borders/TreeNDrag0.gif +0 -0
  157. package/treegrid/Compatible/Borders/TreeNDrag1.gif +0 -0
  158. package/treegrid/Compatible/Borders/TreeNDrag2.gif +0 -0
  159. package/treegrid/Compatible/Borders/TreeNDrag3.gif +0 -0
  160. package/treegrid/Compatible/Borders/TreeNExpand.gif +0 -0
  161. package/treegrid/Compatible/Borders/TreeNWait.gif +0 -0
  162. package/treegrid/Compatible/Borders/TreeRev.gif +0 -0
  163. package/treegrid/Compatible/Borders/TreeRevBottom.gif +0 -0
  164. package/treegrid/Compatible/Borders/TreeRevMiddle.gif +0 -0
  165. package/treegrid/Compatible/Borders/VScroll.gif +0 -0
  166. package/treegrid/Compatible/Colors/BackgroundsBlue.gif +0 -0
  167. package/treegrid/Compatible/Colors/BackgroundsBottom.gif +0 -0
  168. package/treegrid/Compatible/Colors/BackgroundsGantt.gif +0 -0
  169. package/treegrid/Compatible/Colors/BackgroundsHeader.gif +0 -0
  170. package/treegrid/Compatible/Colors/BackgroundsMain.gif +0 -0
  171. package/treegrid/Compatible/Colors/BackgroundsMiddle.gif +0 -0
  172. package/treegrid/Compatible/Colors/BackgroundsTop.gif +0 -0
  173. package/treegrid/Compatible/Colors/BackgroundsYellow.gif +0 -0
  174. package/treegrid/Compatible/Colors/Bool.gif +0 -0
  175. package/treegrid/Compatible/Colors/Button.gif +0 -0
  176. package/treegrid/Compatible/Colors/Dependencies.gif +0 -0
  177. package/treegrid/Compatible/Colors/FastPanel1.gif +0 -0
  178. package/treegrid/Compatible/Colors/FastPanel2.gif +0 -0
  179. package/treegrid/Compatible/Colors/Filter.gif +0 -0
  180. package/treegrid/Compatible/Colors/Gantt.css +1228 -0
  181. package/treegrid/Compatible/Colors/Gantt.gif +0 -0
  182. package/treegrid/Compatible/Colors/GanttLineA.gif +0 -0
  183. package/treegrid/Compatible/Colors/GanttLineB.gif +0 -0
  184. package/treegrid/Compatible/Colors/GanttLineC.gif +0 -0
  185. package/treegrid/Compatible/Colors/GanttLineD.gif +0 -0
  186. package/treegrid/Compatible/Colors/Grid.css +2768 -0
  187. package/treegrid/Compatible/Colors/HScroll.png +0 -0
  188. package/treegrid/Compatible/Colors/Menu.gif +0 -0
  189. package/treegrid/Compatible/Colors/Pager.gif +0 -0
  190. package/treegrid/Compatible/Colors/Panel.gif +0 -0
  191. package/treegrid/Compatible/Colors/Sort.gif +0 -0
  192. package/treegrid/Compatible/Colors/Toolbar.gif +0 -0
  193. package/treegrid/Compatible/Colors/ToolbarGantt.gif +0 -0
  194. package/treegrid/Compatible/Colors/ToolbarSheet.gif +0 -0
  195. package/treegrid/Compatible/Colors/ToolbarSheetWide.gif +0 -0
  196. package/treegrid/Compatible/Colors/Tree.gif +0 -0
  197. package/treegrid/Compatible/Colors/TreeBottom.gif +0 -0
  198. package/treegrid/Compatible/Colors/TreeMiddle.gif +0 -0
  199. package/treegrid/Compatible/Colors/TreeNCollapse.gif +0 -0
  200. package/treegrid/Compatible/Colors/TreeNDrag0.gif +0 -0
  201. package/treegrid/Compatible/Colors/TreeNDrag1.gif +0 -0
  202. package/treegrid/Compatible/Colors/TreeNDrag2.gif +0 -0
  203. package/treegrid/Compatible/Colors/TreeNDrag3.gif +0 -0
  204. package/treegrid/Compatible/Colors/TreeNExpand.gif +0 -0
  205. package/treegrid/Compatible/Colors/TreeNWait.gif +0 -0
  206. package/treegrid/Compatible/Colors/TreeRev.gif +0 -0
  207. package/treegrid/Compatible/Colors/TreeRevBottom.gif +0 -0
  208. package/treegrid/Compatible/Colors/TreeRevMiddle.gif +0 -0
  209. package/treegrid/Compatible/Colors/VScroll.gif +0 -0
  210. package/treegrid/Compatible/ExtJS/Backgrounds.gif +0 -0
  211. package/treegrid/Compatible/ExtJS/BackgroundsFill.gif +0 -0
  212. package/treegrid/Compatible/ExtJS/Bool.gif +0 -0
  213. package/treegrid/Compatible/ExtJS/Button.gif +0 -0
  214. package/treegrid/Compatible/ExtJS/Dependencies.gif +0 -0
  215. package/treegrid/Compatible/ExtJS/FastPanel1.gif +0 -0
  216. package/treegrid/Compatible/ExtJS/FastPanel2.gif +0 -0
  217. package/treegrid/Compatible/ExtJS/Filter.gif +0 -0
  218. package/treegrid/Compatible/ExtJS/Gantt.css +1233 -0
  219. package/treegrid/Compatible/ExtJS/Gantt.gif +0 -0
  220. package/treegrid/Compatible/ExtJS/GanttLineA.gif +0 -0
  221. package/treegrid/Compatible/ExtJS/GanttLineB.gif +0 -0
  222. package/treegrid/Compatible/ExtJS/GanttLineC.gif +0 -0
  223. package/treegrid/Compatible/ExtJS/GanttLineD.gif +0 -0
  224. package/treegrid/Compatible/ExtJS/Grid.css +2764 -0
  225. package/treegrid/Compatible/ExtJS/HScroll.png +0 -0
  226. package/treegrid/Compatible/ExtJS/Menu.gif +0 -0
  227. package/treegrid/Compatible/ExtJS/Pager.gif +0 -0
  228. package/treegrid/Compatible/ExtJS/Panel.gif +0 -0
  229. package/treegrid/Compatible/ExtJS/Sort.gif +0 -0
  230. package/treegrid/Compatible/ExtJS/Toolbar.gif +0 -0
  231. package/treegrid/Compatible/ExtJS/ToolbarGantt.gif +0 -0
  232. package/treegrid/Compatible/ExtJS/ToolbarSheet.gif +0 -0
  233. package/treegrid/Compatible/ExtJS/ToolbarSheetWide.gif +0 -0
  234. package/treegrid/Compatible/ExtJS/Tree.gif +0 -0
  235. package/treegrid/Compatible/ExtJS/TreeBottom.gif +0 -0
  236. package/treegrid/Compatible/ExtJS/TreeMiddle.gif +0 -0
  237. package/treegrid/Compatible/ExtJS/TreeNCollapse.gif +0 -0
  238. package/treegrid/Compatible/ExtJS/TreeNDrag0.gif +0 -0
  239. package/treegrid/Compatible/ExtJS/TreeNDrag1.gif +0 -0
  240. package/treegrid/Compatible/ExtJS/TreeNDrag2.gif +0 -0
  241. package/treegrid/Compatible/ExtJS/TreeNDrag3.gif +0 -0
  242. package/treegrid/Compatible/ExtJS/TreeNExpand.gif +0 -0
  243. package/treegrid/Compatible/ExtJS/TreeNWait.gif +0 -0
  244. package/treegrid/Compatible/ExtJS/TreeRev.gif +0 -0
  245. package/treegrid/Compatible/ExtJS/TreeRevBottom.gif +0 -0
  246. package/treegrid/Compatible/ExtJS/TreeRevMiddle.gif +0 -0
  247. package/treegrid/Compatible/ExtJS/VScroll.gif +0 -0
  248. package/treegrid/Compatible/Gradient/Backgrounds.gif +0 -0
  249. package/treegrid/Compatible/Gradient/BackgroundsGantt.gif +0 -0
  250. package/treegrid/Compatible/Gradient/BackgroundsRight.gif +0 -0
  251. package/treegrid/Compatible/Gradient/Bool.gif +0 -0
  252. package/treegrid/Compatible/Gradient/BoolSpace.gif +0 -0
  253. package/treegrid/Compatible/Gradient/Button.gif +0 -0
  254. package/treegrid/Compatible/Gradient/Dependencies.gif +0 -0
  255. package/treegrid/Compatible/Gradient/FastPanel1.gif +0 -0
  256. package/treegrid/Compatible/Gradient/FastPanel2.gif +0 -0
  257. package/treegrid/Compatible/Gradient/Filter.gif +0 -0
  258. package/treegrid/Compatible/Gradient/Gantt.css +1234 -0
  259. package/treegrid/Compatible/Gradient/Gantt.gif +0 -0
  260. package/treegrid/Compatible/Gradient/GanttLineA.gif +0 -0
  261. package/treegrid/Compatible/Gradient/GanttLineB.gif +0 -0
  262. package/treegrid/Compatible/Gradient/GanttLineC.gif +0 -0
  263. package/treegrid/Compatible/Gradient/GanttLineD.gif +0 -0
  264. package/treegrid/Compatible/Gradient/Grid.css +2835 -0
  265. package/treegrid/Compatible/Gradient/HScroll.png +0 -0
  266. package/treegrid/Compatible/Gradient/Menu.gif +0 -0
  267. package/treegrid/Compatible/Gradient/Pager.gif +0 -0
  268. package/treegrid/Compatible/Gradient/Pager.png +0 -0
  269. package/treegrid/Compatible/Gradient/Panel.gif +0 -0
  270. package/treegrid/Compatible/Gradient/Sort.gif +0 -0
  271. package/treegrid/Compatible/Gradient/Toolbar.gif +0 -0
  272. package/treegrid/Compatible/Gradient/Toolbar.png +0 -0
  273. package/treegrid/Compatible/Gradient/ToolbarGantt.gif +0 -0
  274. package/treegrid/Compatible/Gradient/ToolbarGantt.png +0 -0
  275. package/treegrid/Compatible/Gradient/ToolbarSheet.gif +0 -0
  276. package/treegrid/Compatible/Gradient/ToolbarSheet.png +0 -0
  277. package/treegrid/Compatible/Gradient/ToolbarSheetWide.gif +0 -0
  278. package/treegrid/Compatible/Gradient/ToolbarSheetWide.png +0 -0
  279. package/treegrid/Compatible/Gradient/Tree.gif +0 -0
  280. package/treegrid/Compatible/Gradient/TreeBottom.gif +0 -0
  281. package/treegrid/Compatible/Gradient/TreeMiddle.gif +0 -0
  282. package/treegrid/Compatible/Gradient/TreeNCollapse.gif +0 -0
  283. package/treegrid/Compatible/Gradient/TreeNDrag0.gif +0 -0
  284. package/treegrid/Compatible/Gradient/TreeNDrag1.gif +0 -0
  285. package/treegrid/Compatible/Gradient/TreeNDrag2.gif +0 -0
  286. package/treegrid/Compatible/Gradient/TreeNDrag3.gif +0 -0
  287. package/treegrid/Compatible/Gradient/TreeNExpand.gif +0 -0
  288. package/treegrid/Compatible/Gradient/TreeNWait.gif +0 -0
  289. package/treegrid/Compatible/Gradient/TreeRev.gif +0 -0
  290. package/treegrid/Compatible/Gradient/TreeRevBottom.gif +0 -0
  291. package/treegrid/Compatible/Gradient/TreeRevMiddle.gif +0 -0
  292. package/treegrid/Compatible/Gradient/VScroll.gif +0 -0
  293. package/treegrid/Compatible/Info.txt +3 -0
  294. package/treegrid/Compatible/Light/Backgrounds.gif +0 -0
  295. package/treegrid/Compatible/Light/Bool.gif +0 -0
  296. package/treegrid/Compatible/Light/Button.gif +0 -0
  297. package/treegrid/Compatible/Light/Dependencies.gif +0 -0
  298. package/treegrid/Compatible/Light/FastPanel1.gif +0 -0
  299. package/treegrid/Compatible/Light/FastPanel2.gif +0 -0
  300. package/treegrid/Compatible/Light/Filter.gif +0 -0
  301. package/treegrid/Compatible/Light/Gantt.css +1230 -0
  302. package/treegrid/Compatible/Light/Gantt.gif +0 -0
  303. package/treegrid/Compatible/Light/GanttLineA.gif +0 -0
  304. package/treegrid/Compatible/Light/GanttLineB.gif +0 -0
  305. package/treegrid/Compatible/Light/GanttLineC.gif +0 -0
  306. package/treegrid/Compatible/Light/GanttLineD.gif +0 -0
  307. package/treegrid/Compatible/Light/Grid.css +2769 -0
  308. package/treegrid/Compatible/Light/HScroll.png +0 -0
  309. package/treegrid/Compatible/Light/Menu.gif +0 -0
  310. package/treegrid/Compatible/Light/Pager.gif +0 -0
  311. package/treegrid/Compatible/Light/Panel.gif +0 -0
  312. package/treegrid/Compatible/Light/Sort.gif +0 -0
  313. package/treegrid/Compatible/Light/Toolbar.gif +0 -0
  314. package/treegrid/Compatible/Light/ToolbarGantt.gif +0 -0
  315. package/treegrid/Compatible/Light/ToolbarSheet.gif +0 -0
  316. package/treegrid/Compatible/Light/ToolbarSheetWide.gif +0 -0
  317. package/treegrid/Compatible/Light/Tree.gif +0 -0
  318. package/treegrid/Compatible/Light/TreeBottom.gif +0 -0
  319. package/treegrid/Compatible/Light/TreeMiddle.gif +0 -0
  320. package/treegrid/Compatible/Light/TreeNCollapse.gif +0 -0
  321. package/treegrid/Compatible/Light/TreeNDrag0.gif +0 -0
  322. package/treegrid/Compatible/Light/TreeNDrag1.gif +0 -0
  323. package/treegrid/Compatible/Light/TreeNDrag2.gif +0 -0
  324. package/treegrid/Compatible/Light/TreeNDrag3.gif +0 -0
  325. package/treegrid/Compatible/Light/TreeNExpand.gif +0 -0
  326. package/treegrid/Compatible/Light/TreeNWait.gif +0 -0
  327. package/treegrid/Compatible/Light/TreeRev.gif +0 -0
  328. package/treegrid/Compatible/Light/TreeRevBottom.gif +0 -0
  329. package/treegrid/Compatible/Light/TreeRevMiddle.gif +0 -0
  330. package/treegrid/Compatible/Light/VScroll.gif +0 -0
  331. package/treegrid/Compatible/Office/Backgrounds.gif +0 -0
  332. package/treegrid/Compatible/Office/Bool.gif +0 -0
  333. package/treegrid/Compatible/Office/Button.gif +0 -0
  334. package/treegrid/Compatible/Office/Dependencies.gif +0 -0
  335. package/treegrid/Compatible/Office/FastPanel1.gif +0 -0
  336. package/treegrid/Compatible/Office/FastPanel2.gif +0 -0
  337. package/treegrid/Compatible/Office/Filter.gif +0 -0
  338. package/treegrid/Compatible/Office/Gantt.css +1228 -0
  339. package/treegrid/Compatible/Office/Gantt.gif +0 -0
  340. package/treegrid/Compatible/Office/GanttLineA.gif +0 -0
  341. package/treegrid/Compatible/Office/GanttLineB.gif +0 -0
  342. package/treegrid/Compatible/Office/GanttLineC.gif +0 -0
  343. package/treegrid/Compatible/Office/GanttLineD.gif +0 -0
  344. package/treegrid/Compatible/Office/Grid.css +2770 -0
  345. package/treegrid/Compatible/Office/HScroll.png +0 -0
  346. package/treegrid/Compatible/Office/Menu.gif +0 -0
  347. package/treegrid/Compatible/Office/Pager.gif +0 -0
  348. package/treegrid/Compatible/Office/Panel.gif +0 -0
  349. package/treegrid/Compatible/Office/Sort.gif +0 -0
  350. package/treegrid/Compatible/Office/Toolbar.gif +0 -0
  351. package/treegrid/Compatible/Office/ToolbarGantt.gif +0 -0
  352. package/treegrid/Compatible/Office/ToolbarSheet.gif +0 -0
  353. package/treegrid/Compatible/Office/ToolbarSheetWide.gif +0 -0
  354. package/treegrid/Compatible/Office/Tree.gif +0 -0
  355. package/treegrid/Compatible/Office/TreeBottom.gif +0 -0
  356. package/treegrid/Compatible/Office/TreeMiddle.gif +0 -0
  357. package/treegrid/Compatible/Office/TreeNCollapse.gif +0 -0
  358. package/treegrid/Compatible/Office/TreeNDrag0.gif +0 -0
  359. package/treegrid/Compatible/Office/TreeNDrag1.gif +0 -0
  360. package/treegrid/Compatible/Office/TreeNDrag2.gif +0 -0
  361. package/treegrid/Compatible/Office/TreeNDrag3.gif +0 -0
  362. package/treegrid/Compatible/Office/TreeNExpand.gif +0 -0
  363. package/treegrid/Compatible/Office/TreeNWait.gif +0 -0
  364. package/treegrid/Compatible/Office/TreeRev.gif +0 -0
  365. package/treegrid/Compatible/Office/TreeRevBottom.gif +0 -0
  366. package/treegrid/Compatible/Office/TreeRevMiddle.gif +0 -0
  367. package/treegrid/Compatible/Office/VScroll.gif +0 -0
  368. package/treegrid/Compatible/Plain/Backgrounds.gif +0 -0
  369. package/treegrid/Compatible/Plain/Bool.gif +0 -0
  370. package/treegrid/Compatible/Plain/Button.gif +0 -0
  371. package/treegrid/Compatible/Plain/Dependencies.gif +0 -0
  372. package/treegrid/Compatible/Plain/FastPanel1.gif +0 -0
  373. package/treegrid/Compatible/Plain/FastPanel2.gif +0 -0
  374. package/treegrid/Compatible/Plain/Filter.gif +0 -0
  375. package/treegrid/Compatible/Plain/Gantt.css +1233 -0
  376. package/treegrid/Compatible/Plain/Gantt.gif +0 -0
  377. package/treegrid/Compatible/Plain/GanttLineA.gif +0 -0
  378. package/treegrid/Compatible/Plain/GanttLineB.gif +0 -0
  379. package/treegrid/Compatible/Plain/GanttLineC.gif +0 -0
  380. package/treegrid/Compatible/Plain/GanttLineD.gif +0 -0
  381. package/treegrid/Compatible/Plain/Grid.css +2767 -0
  382. package/treegrid/Compatible/Plain/HScroll.png +0 -0
  383. package/treegrid/Compatible/Plain/Menu.gif +0 -0
  384. package/treegrid/Compatible/Plain/Pager.gif +0 -0
  385. package/treegrid/Compatible/Plain/Pager.png +0 -0
  386. package/treegrid/Compatible/Plain/Panel.gif +0 -0
  387. package/treegrid/Compatible/Plain/Sort.gif +0 -0
  388. package/treegrid/Compatible/Plain/Toolbar.gif +0 -0
  389. package/treegrid/Compatible/Plain/Toolbar.png +0 -0
  390. package/treegrid/Compatible/Plain/ToolbarGantt.gif +0 -0
  391. package/treegrid/Compatible/Plain/ToolbarGantt.png +0 -0
  392. package/treegrid/Compatible/Plain/ToolbarSheet.gif +0 -0
  393. package/treegrid/Compatible/Plain/ToolbarSheet.png +0 -0
  394. package/treegrid/Compatible/Plain/ToolbarSheetWide.gif +0 -0
  395. package/treegrid/Compatible/Plain/ToolbarSheetWide.png +0 -0
  396. package/treegrid/Compatible/Plain/Tree.gif +0 -0
  397. package/treegrid/Compatible/Plain/TreeBottom.gif +0 -0
  398. package/treegrid/Compatible/Plain/TreeMiddle.gif +0 -0
  399. package/treegrid/Compatible/Plain/TreeNCollapse.gif +0 -0
  400. package/treegrid/Compatible/Plain/TreeNDrag0.gif +0 -0
  401. package/treegrid/Compatible/Plain/TreeNDrag1.gif +0 -0
  402. package/treegrid/Compatible/Plain/TreeNDrag2.gif +0 -0
  403. package/treegrid/Compatible/Plain/TreeNDrag3.gif +0 -0
  404. package/treegrid/Compatible/Plain/TreeNExpand.gif +0 -0
  405. package/treegrid/Compatible/Plain/TreeNWait.gif +0 -0
  406. package/treegrid/Compatible/Plain/TreeRev.gif +0 -0
  407. package/treegrid/Compatible/Plain/TreeRevBottom.gif +0 -0
  408. package/treegrid/Compatible/Plain/TreeRevMiddle.gif +0 -0
  409. package/treegrid/Compatible/Plain/VScroll.gif +0 -0
  410. package/treegrid/Compatible/Query/Backgrounds.gif +0 -0
  411. package/treegrid/Compatible/Query/BackgroundsGantt.gif +0 -0
  412. package/treegrid/Compatible/Query/Bool.gif +0 -0
  413. package/treegrid/Compatible/Query/Button.gif +0 -0
  414. package/treegrid/Compatible/Query/Dependencies.gif +0 -0
  415. package/treegrid/Compatible/Query/FastPanel1.gif +0 -0
  416. package/treegrid/Compatible/Query/FastPanel2.gif +0 -0
  417. package/treegrid/Compatible/Query/Filter.gif +0 -0
  418. package/treegrid/Compatible/Query/Gantt.css +1234 -0
  419. package/treegrid/Compatible/Query/Gantt.gif +0 -0
  420. package/treegrid/Compatible/Query/GanttLineA.gif +0 -0
  421. package/treegrid/Compatible/Query/GanttLineB.gif +0 -0
  422. package/treegrid/Compatible/Query/GanttLineC.gif +0 -0
  423. package/treegrid/Compatible/Query/GanttLineD.gif +0 -0
  424. package/treegrid/Compatible/Query/Grid.css +2772 -0
  425. package/treegrid/Compatible/Query/HScroll.png +0 -0
  426. package/treegrid/Compatible/Query/Menu.gif +0 -0
  427. package/treegrid/Compatible/Query/Pager.gif +0 -0
  428. package/treegrid/Compatible/Query/Panel.gif +0 -0
  429. package/treegrid/Compatible/Query/Sort.gif +0 -0
  430. package/treegrid/Compatible/Query/Toolbar.gif +0 -0
  431. package/treegrid/Compatible/Query/ToolbarGantt.gif +0 -0
  432. package/treegrid/Compatible/Query/ToolbarSheet.gif +0 -0
  433. package/treegrid/Compatible/Query/ToolbarSheetWide.gif +0 -0
  434. package/treegrid/Compatible/Query/Tree.gif +0 -0
  435. package/treegrid/Compatible/Query/TreeBottom.gif +0 -0
  436. package/treegrid/Compatible/Query/TreeMiddle.gif +0 -0
  437. package/treegrid/Compatible/Query/TreeNCollapse.gif +0 -0
  438. package/treegrid/Compatible/Query/TreeNDrag0.gif +0 -0
  439. package/treegrid/Compatible/Query/TreeNDrag1.gif +0 -0
  440. package/treegrid/Compatible/Query/TreeNDrag2.gif +0 -0
  441. package/treegrid/Compatible/Query/TreeNDrag3.gif +0 -0
  442. package/treegrid/Compatible/Query/TreeNExpand.gif +0 -0
  443. package/treegrid/Compatible/Query/TreeNWait.gif +0 -0
  444. package/treegrid/Compatible/Query/TreeRev.gif +0 -0
  445. package/treegrid/Compatible/Query/TreeRevBottom.gif +0 -0
  446. package/treegrid/Compatible/Query/TreeRevMiddle.gif +0 -0
  447. package/treegrid/Compatible/Query/VScroll.gif +0 -0
  448. package/treegrid/Compatible/Relief/Backgrounds.gif +0 -0
  449. package/treegrid/Compatible/Relief/Bool.gif +0 -0
  450. package/treegrid/Compatible/Relief/Button.gif +0 -0
  451. package/treegrid/Compatible/Relief/Dependencies.gif +0 -0
  452. package/treegrid/Compatible/Relief/FastPanel1.gif +0 -0
  453. package/treegrid/Compatible/Relief/FastPanel2.gif +0 -0
  454. package/treegrid/Compatible/Relief/Filter.gif +0 -0
  455. package/treegrid/Compatible/Relief/Gantt.css +1228 -0
  456. package/treegrid/Compatible/Relief/Gantt.gif +0 -0
  457. package/treegrid/Compatible/Relief/GanttLineA.gif +0 -0
  458. package/treegrid/Compatible/Relief/GanttLineB.gif +0 -0
  459. package/treegrid/Compatible/Relief/GanttLineC.gif +0 -0
  460. package/treegrid/Compatible/Relief/GanttLineD.gif +0 -0
  461. package/treegrid/Compatible/Relief/Grid.css +2773 -0
  462. package/treegrid/Compatible/Relief/HScroll.png +0 -0
  463. package/treegrid/Compatible/Relief/Menu.gif +0 -0
  464. package/treegrid/Compatible/Relief/Pager.gif +0 -0
  465. package/treegrid/Compatible/Relief/Panel.gif +0 -0
  466. package/treegrid/Compatible/Relief/Sort.gif +0 -0
  467. package/treegrid/Compatible/Relief/Toolbar.gif +0 -0
  468. package/treegrid/Compatible/Relief/ToolbarGantt.gif +0 -0
  469. package/treegrid/Compatible/Relief/ToolbarSheet.gif +0 -0
  470. package/treegrid/Compatible/Relief/ToolbarSheetWide.gif +0 -0
  471. package/treegrid/Compatible/Relief/Tree.gif +0 -0
  472. package/treegrid/Compatible/Relief/TreeBottom.gif +0 -0
  473. package/treegrid/Compatible/Relief/TreeMiddle.gif +0 -0
  474. package/treegrid/Compatible/Relief/TreeNCollapse.gif +0 -0
  475. package/treegrid/Compatible/Relief/TreeNDrag0.gif +0 -0
  476. package/treegrid/Compatible/Relief/TreeNDrag1.gif +0 -0
  477. package/treegrid/Compatible/Relief/TreeNDrag2.gif +0 -0
  478. package/treegrid/Compatible/Relief/TreeNDrag3.gif +0 -0
  479. package/treegrid/Compatible/Relief/TreeNExpand.gif +0 -0
  480. package/treegrid/Compatible/Relief/TreeNWait.gif +0 -0
  481. package/treegrid/Compatible/Relief/TreeRev.gif +0 -0
  482. package/treegrid/Compatible/Relief/TreeRevBottom.gif +0 -0
  483. package/treegrid/Compatible/Relief/TreeRevMiddle.gif +0 -0
  484. package/treegrid/Compatible/Relief/VScroll.gif +0 -0
  485. package/treegrid/Compatible/Round/Backgrounds.gif +0 -0
  486. package/treegrid/Compatible/Round/Bool.gif +0 -0
  487. package/treegrid/Compatible/Round/Button.gif +0 -0
  488. package/treegrid/Compatible/Round/Dependencies.gif +0 -0
  489. package/treegrid/Compatible/Round/FastPanel1.gif +0 -0
  490. package/treegrid/Compatible/Round/FastPanel2.gif +0 -0
  491. package/treegrid/Compatible/Round/Filter.gif +0 -0
  492. package/treegrid/Compatible/Round/Gantt.css +1233 -0
  493. package/treegrid/Compatible/Round/Gantt.gif +0 -0
  494. package/treegrid/Compatible/Round/GanttLineA.gif +0 -0
  495. package/treegrid/Compatible/Round/GanttLineB.gif +0 -0
  496. package/treegrid/Compatible/Round/GanttLineC.gif +0 -0
  497. package/treegrid/Compatible/Round/GanttLineD.gif +0 -0
  498. package/treegrid/Compatible/Round/Grid.css +2767 -0
  499. package/treegrid/Compatible/Round/HScroll.png +0 -0
  500. package/treegrid/Compatible/Round/Menu.gif +0 -0
  501. package/treegrid/Compatible/Round/Pager.gif +0 -0
  502. package/treegrid/Compatible/Round/Panel.gif +0 -0
  503. package/treegrid/Compatible/Round/Sort.gif +0 -0
  504. package/treegrid/Compatible/Round/Toolbar.gif +0 -0
  505. package/treegrid/Compatible/Round/ToolbarGantt.gif +0 -0
  506. package/treegrid/Compatible/Round/ToolbarSheet.gif +0 -0
  507. package/treegrid/Compatible/Round/ToolbarSheetWide.gif +0 -0
  508. package/treegrid/Compatible/Round/Tree.gif +0 -0
  509. package/treegrid/Compatible/Round/TreeBottom.gif +0 -0
  510. package/treegrid/Compatible/Round/TreeMiddle.gif +0 -0
  511. package/treegrid/Compatible/Round/TreeNCollapse.gif +0 -0
  512. package/treegrid/Compatible/Round/TreeNDrag0.gif +0 -0
  513. package/treegrid/Compatible/Round/TreeNDrag1.gif +0 -0
  514. package/treegrid/Compatible/Round/TreeNDrag2.gif +0 -0
  515. package/treegrid/Compatible/Round/TreeNDrag3.gif +0 -0
  516. package/treegrid/Compatible/Round/TreeNExpand.gif +0 -0
  517. package/treegrid/Compatible/Round/TreeNWait.gif +0 -0
  518. package/treegrid/Compatible/Round/TreeRev.gif +0 -0
  519. package/treegrid/Compatible/Round/TreeRevBottom.gif +0 -0
  520. package/treegrid/Compatible/Round/TreeRevMiddle.gif +0 -0
  521. package/treegrid/Compatible/Round/VScroll.gif +0 -0
  522. package/treegrid/Compatible/Sharp/ArrowDropDown.png +0 -0
  523. package/treegrid/Compatible/Sharp/Bool.gif +0 -0
  524. package/treegrid/Compatible/Sharp/BoolSpace.gif +0 -0
  525. package/treegrid/Compatible/Sharp/Button.gif +0 -0
  526. package/treegrid/Compatible/Sharp/ButtonSpace.gif +0 -0
  527. package/treegrid/Compatible/Sharp/Dependencies.gif +0 -0
  528. package/treegrid/Compatible/Sharp/FastPanel1.gif +0 -0
  529. package/treegrid/Compatible/Sharp/FastPanel2.gif +0 -0
  530. package/treegrid/Compatible/Sharp/Filter.gif +0 -0
  531. package/treegrid/Compatible/Sharp/Gantt.css +1232 -0
  532. package/treegrid/Compatible/Sharp/Gantt.gif +0 -0
  533. package/treegrid/Compatible/Sharp/GanttLineA.gif +0 -0
  534. package/treegrid/Compatible/Sharp/GanttLineB.gif +0 -0
  535. package/treegrid/Compatible/Sharp/GanttLineC.gif +0 -0
  536. package/treegrid/Compatible/Sharp/GanttLineD.gif +0 -0
  537. package/treegrid/Compatible/Sharp/Grid.css +2773 -0
  538. package/treegrid/Compatible/Sharp/HScroll.png +0 -0
  539. package/treegrid/Compatible/Sharp/Menu.gif +0 -0
  540. package/treegrid/Compatible/Sharp/Pager.png +0 -0
  541. package/treegrid/Compatible/Sharp/Panel.gif +0 -0
  542. package/treegrid/Compatible/Sharp/Roboto-Regular.ttf +0 -0
  543. package/treegrid/Compatible/Sharp/Sort.gif +0 -0
  544. package/treegrid/Compatible/Sharp/Toolbar.png +0 -0
  545. package/treegrid/Compatible/Sharp/ToolbarGantt.png +0 -0
  546. package/treegrid/Compatible/Sharp/ToolbarSheet.png +0 -0
  547. package/treegrid/Compatible/Sharp/ToolbarSheetWide.png +0 -0
  548. package/treegrid/Compatible/Sharp/Tree.gif +0 -0
  549. package/treegrid/Compatible/Sharp/TreeBottom.gif +0 -0
  550. package/treegrid/Compatible/Sharp/TreeMiddle.gif +0 -0
  551. package/treegrid/Compatible/Sharp/TreeNCollapse.gif +0 -0
  552. package/treegrid/Compatible/Sharp/TreeNDrag0.gif +0 -0
  553. package/treegrid/Compatible/Sharp/TreeNDrag1.gif +0 -0
  554. package/treegrid/Compatible/Sharp/TreeNDrag2.gif +0 -0
  555. package/treegrid/Compatible/Sharp/TreeNDrag3.gif +0 -0
  556. package/treegrid/Compatible/Sharp/TreeNExpand.gif +0 -0
  557. package/treegrid/Compatible/Sharp/TreeNWait.gif +0 -0
  558. package/treegrid/Compatible/Sharp/VScroll.gif +0 -0
  559. package/treegrid/Defaults.xml +728 -0
  560. package/treegrid/Defaults.xml_.xml +718 -0
  561. package/treegrid/Ding.wav +0 -0
  562. package/treegrid/Drag.cur +0 -0
  563. package/treegrid/External/jszip.license.txt +10 -0
  564. package/treegrid/External/jszip.min.js +15 -0
  565. package/treegrid/External/jszip.min.sync.js +14 -0
  566. package/treegrid/GridE.js +45 -0
  567. package/treegrid/GridEOnDemand.js +53 -0
  568. package/treegrid/Help.html +536 -0
  569. package/treegrid/NoDrag.cur +0 -0
  570. package/treegrid/Styles/BlackGantt.css +887 -0
  571. package/treegrid/Styles/BlackGrid.css +1940 -0
  572. package/treegrid/Styles/Info.txt +6 -0
  573. package/treegrid/Styles/MaterialGantt.css +845 -0
  574. package/treegrid/Styles/MaterialGrid.css +1978 -0
  575. package/treegrid/Styles/Roboto-Light.ttf +0 -0
  576. package/treegrid/Styles/Roboto-Regular.ttf +0 -0
  577. package/treegrid/Styles/StandardGantt.css +891 -0
  578. package/treegrid/Styles/StandardGrid.css +1923 -0
  579. package/treegrid/Styles/TurqGantt.css +880 -0
  580. package/treegrid/Styles/TurqGrid.css +1980 -0
  581. package/treegrid/Styles/WhiteGantt.css +1021 -0
  582. package/treegrid/Styles/WhiteGrid.css +1911 -0
  583. package/treegrid/Text.xml +176 -0
  584. package/treegrid/TextEN.xml +1785 -0
  585. package/treegrid/TextKR.xml +176 -0
  586. package/treegrid/orgDefaults.xml +715 -0
  587. package/treegrid-global.d.ts +3294 -4904
  588. package/vite/owpCoreAssetsPlugin.cjs +120 -0
  589. package/vite/owpCoreAssetsPlugin.mjs +14 -0
  590. package/vite/owpCoreFixedImagesPlugin.cjs +33 -0
  591. package/vite/owpCoreFixedImagesPlugin.mjs +11 -0
  592. package/vite/staticAssetPlugin.cjs +187 -0
  593. package/vite/treeGridAssetsPlugin.cjs +88 -0
  594. package/vite/treeGridAssetsPlugin.mjs +12 -0
  595. package/dist/components/OwpTable/OwpVerticalTable.js +0 -96
  596. package/dist/components/OwpTable/OwpVerticalTable.js.map +0 -1
  597. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/html-contenteditable-mask-element.js +0 -39
  598. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/html-contenteditable-mask-element.js.map +0 -1
  599. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/html-input-mask-element.js +0 -36
  600. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/html-input-mask-element.js.map +0 -1
  601. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/html-mask-element.js +0 -52
  602. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/html-mask-element.js.map +0 -1
  603. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/input-history.js +0 -35
  604. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/input-history.js.map +0 -1
  605. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/input.js +0 -227
  606. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/input.js.map +0 -1
  607. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/mask-element.js +0 -48
  608. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/controls/mask-element.js.map +0 -1
  609. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/action-details.js +0 -56
  610. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/action-details.js.map +0 -1
  611. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/change-details.js +0 -41
  612. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/change-details.js.map +0 -1
  613. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/continuous-tail-details.js +0 -47
  614. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/continuous-tail-details.js.map +0 -1
  615. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/holder.js +0 -10
  616. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/holder.js.map +0 -1
  617. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/utils.js +0 -76
  618. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/core/utils.js.map +0 -1
  619. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/index.js +0 -51
  620. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/index.js.map +0 -1
  621. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/base.js +0 -257
  622. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/base.js.map +0 -1
  623. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/date.js +0 -121
  624. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/date.js.map +0 -1
  625. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/dynamic.js +0 -227
  626. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/dynamic.js.map +0 -1
  627. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/enum.js +0 -74
  628. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/enum.js.map +0 -1
  629. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/factory.js +0 -52
  630. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/factory.js.map +0 -1
  631. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/function.js +0 -28
  632. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/function.js.map +0 -1
  633. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/number.js +0 -217
  634. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/number.js.map +0 -1
  635. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/chunk-tail-details.js +0 -108
  636. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/chunk-tail-details.js.map +0 -1
  637. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/cursor.js +0 -105
  638. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/cursor.js.map +0 -1
  639. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/fixed-definition.js +0 -107
  640. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/fixed-definition.js.map +0 -1
  641. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/input-definition.js +0 -138
  642. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/input-definition.js.map +0 -1
  643. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern.js +0 -327
  644. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern.js.map +0 -1
  645. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pipe.js +0 -28
  646. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pipe.js.map +0 -1
  647. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/range.js +0 -83
  648. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/range.js.map +0 -1
  649. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/regexp.js +0 -26
  650. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/regexp.js.map +0 -1
  651. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/repeat.js +0 -109
  652. package/dist/node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/repeat.js.map +0 -1
  653. package/dist/node_modules/.pnpm/react-imask@7.6.1_react@19.2.4/node_modules/react-imask/esm/input.js +0 -28
  654. package/dist/node_modules/.pnpm/react-imask@7.6.1_react@19.2.4/node_modules/react-imask/esm/input.js.map +0 -1
  655. package/dist/node_modules/.pnpm/react-imask@7.6.1_react@19.2.4/node_modules/react-imask/esm/mixin.js +0 -136
  656. package/dist/node_modules/.pnpm/react-imask@7.6.1_react@19.2.4/node_modules/react-imask/esm/mixin.js.map +0 -1
@@ -1,217 +0,0 @@
1
- var T = Object.defineProperty;
2
- var _ = (m, t) => T(m, "name", { value: t, configurable: !0 });
3
- import { escapeRegExp as S, DIRECTION as h } from "../core/utils.js";
4
- import c from "../core/change-details.js";
5
- import v from "./base.js";
6
- import R from "../core/holder.js";
7
- var f;
8
- const i = class i extends v {
9
- /** Single char */
10
- /** Single char */
11
- /** Array of single chars */
12
- /** */
13
- /** */
14
- /** Digits after point */
15
- /** Flag to remove leading and trailing zeros in the end of editing */
16
- /** Flag to pad trailing zeros after point in the end of editing */
17
- /** Enable characters overwriting */
18
- /** */
19
- /** */
20
- /** */
21
- /** Format typed value to string */
22
- /** Parse string to get typed value */
23
- constructor(t) {
24
- super({
25
- ...i.DEFAULTS,
26
- ...t
27
- });
28
- }
29
- updateOptions(t) {
30
- super.updateOptions(t);
31
- }
32
- _update(t) {
33
- super._update(t), this._updateRegExps();
34
- }
35
- _updateRegExps() {
36
- const t = "^" + (this.allowNegative ? "[+|\\-]?" : ""), e = "\\d*", a = (this.scale ? "(" + S(this.radix) + "\\d{0," + this.scale + "})?" : "") + "$";
37
- this._numberRegExp = new RegExp(t + e + a), this._mapToRadixRegExp = new RegExp("[" + this.mapToRadix.map(S).join("") + "]", "g"), this._thousandsSeparatorRegExp = new RegExp(S(this.thousandsSeparator), "g");
38
- }
39
- _removeThousandsSeparators(t) {
40
- return t.replace(this._thousandsSeparatorRegExp, "");
41
- }
42
- _insertThousandsSeparators(t) {
43
- const e = t.split(this.radix);
44
- return e[0] = e[0].replace(/\B(?=(\d{3})+(?!\d))/g, this.thousandsSeparator), e.join(this.radix);
45
- }
46
- doPrepareChar(t, e) {
47
- e === void 0 && (e = {});
48
- const [a, s] = super.doPrepareChar(this._removeThousandsSeparators(this.scale && this.mapToRadix.length && /*
49
- radix should be mapped when
50
- 1) input is done from keyboard = flags.input && flags.raw
51
- 2) unmasked value is set = !flags.input && !flags.raw
52
- and should not be mapped when
53
- 1) value is set = flags.input && !flags.raw
54
- 2) raw value is set = !flags.input && flags.raw
55
- */
56
- (e.input && e.raw || !e.input && !e.raw) ? t.replace(this._mapToRadixRegExp, this.radix) : t), e);
57
- return t && !a && (s.skip = !0), a && !this.allowPositive && !this.value && a !== "-" && s.aggregate(this._appendChar("-")), [a, s];
58
- }
59
- _separatorsCount(t, e) {
60
- e === void 0 && (e = !1);
61
- let a = 0;
62
- for (let s = 0; s < t; ++s)
63
- this._value.indexOf(this.thousandsSeparator, s) === s && (++a, e && (t += this.thousandsSeparator.length));
64
- return a;
65
- }
66
- _separatorsCountFromSlice(t) {
67
- return t === void 0 && (t = this._value), this._separatorsCount(this._removeThousandsSeparators(t).length, !0);
68
- }
69
- extractInput(t, e, a) {
70
- return t === void 0 && (t = 0), e === void 0 && (e = this.displayValue.length), [t, e] = this._adjustRangeWithSeparators(t, e), this._removeThousandsSeparators(super.extractInput(t, e, a));
71
- }
72
- _appendCharRaw(t, e) {
73
- e === void 0 && (e = {});
74
- const a = e.tail && e._beforeTailState ? e._beforeTailState._value : this._value, s = this._separatorsCountFromSlice(a);
75
- this._value = this._removeThousandsSeparators(this.value);
76
- const n = this._value;
77
- this._value += t;
78
- const o = this.number;
79
- let u = !isNaN(o), l = !1;
80
- if (u) {
81
- let d;
82
- this.min != null && this.min < 0 && this.number < this.min && (d = this.min), this.max != null && this.max > 0 && this.number > this.max && (d = this.max), d != null && (this.autofix ? (this._value = this.format(d, this).replace(i.UNMASKED_RADIX, this.radix), l || (l = n === this._value && !e.tail)) : u = !1), u && (u = !!this._value.match(this._numberRegExp));
83
- }
84
- let p;
85
- u ? p = new c({
86
- inserted: this._value.slice(n.length),
87
- rawInserted: l ? "" : t,
88
- skip: l
89
- }) : (this._value = n, p = new c()), this._value = this._insertThousandsSeparators(this._value);
90
- const x = e.tail && e._beforeTailState ? e._beforeTailState._value : this._value, E = this._separatorsCountFromSlice(x);
91
- return p.tailShift += (E - s) * this.thousandsSeparator.length, p;
92
- }
93
- _findSeparatorAround(t) {
94
- if (this.thousandsSeparator) {
95
- const e = t - this.thousandsSeparator.length + 1, a = this.value.indexOf(this.thousandsSeparator, e);
96
- if (a <= t) return a;
97
- }
98
- return -1;
99
- }
100
- _adjustRangeWithSeparators(t, e) {
101
- const a = this._findSeparatorAround(t);
102
- a >= 0 && (t = a);
103
- const s = this._findSeparatorAround(e);
104
- return s >= 0 && (e = s + this.thousandsSeparator.length), [t, e];
105
- }
106
- remove(t, e) {
107
- t === void 0 && (t = 0), e === void 0 && (e = this.displayValue.length), [t, e] = this._adjustRangeWithSeparators(t, e);
108
- const a = this.value.slice(0, t), s = this.value.slice(e), n = this._separatorsCount(a.length);
109
- this._value = this._insertThousandsSeparators(this._removeThousandsSeparators(a + s));
110
- const o = this._separatorsCountFromSlice(a);
111
- return new c({
112
- tailShift: (o - n) * this.thousandsSeparator.length
113
- });
114
- }
115
- nearestInputPos(t, e) {
116
- if (!this.thousandsSeparator) return t;
117
- switch (e) {
118
- case h.NONE:
119
- case h.LEFT:
120
- case h.FORCE_LEFT: {
121
- const a = this._findSeparatorAround(t - 1);
122
- if (a >= 0) {
123
- const s = a + this.thousandsSeparator.length;
124
- if (t < s || this.value.length <= s || e === h.FORCE_LEFT)
125
- return a;
126
- }
127
- break;
128
- }
129
- case h.RIGHT:
130
- case h.FORCE_RIGHT: {
131
- const a = this._findSeparatorAround(t);
132
- if (a >= 0)
133
- return a + this.thousandsSeparator.length;
134
- }
135
- }
136
- return t;
137
- }
138
- doCommit() {
139
- if (this.value) {
140
- const t = this.number;
141
- let e = t;
142
- this.min != null && (e = Math.max(e, this.min)), this.max != null && (e = Math.min(e, this.max)), e !== t && (this.unmaskedValue = this.format(e, this));
143
- let a = this.value;
144
- this.normalizeZeros && (a = this._normalizeZeros(a)), this.padFractionalZeros && this.scale > 0 && (a = this._padFractionalZeros(a)), this._value = a;
145
- }
146
- super.doCommit();
147
- }
148
- _normalizeZeros(t) {
149
- const e = this._removeThousandsSeparators(t).split(this.radix);
150
- return e[0] = e[0].replace(/^(\D*)(0*)(\d*)/, (a, s, n, o) => s + o), t.length && !/\d$/.test(e[0]) && (e[0] = e[0] + "0"), e.length > 1 && (e[1] = e[1].replace(/0*$/, ""), e[1].length || (e.length = 1)), this._insertThousandsSeparators(e.join(this.radix));
151
- }
152
- _padFractionalZeros(t) {
153
- if (!t) return t;
154
- const e = t.split(this.radix);
155
- return e.length < 2 && e.push(""), e[1] = e[1].padEnd(this.scale, "0"), e.join(this.radix);
156
- }
157
- doSkipInvalid(t, e, a) {
158
- e === void 0 && (e = {});
159
- const s = this.scale === 0 && t !== this.thousandsSeparator && (t === this.radix || t === i.UNMASKED_RADIX || this.mapToRadix.includes(t));
160
- return super.doSkipInvalid(t, e, a) && !s;
161
- }
162
- get unmaskedValue() {
163
- return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix, i.UNMASKED_RADIX);
164
- }
165
- set unmaskedValue(t) {
166
- super.unmaskedValue = t;
167
- }
168
- get typedValue() {
169
- return this.parse(this.unmaskedValue, this);
170
- }
171
- set typedValue(t) {
172
- this.rawInputValue = this.format(t, this).replace(i.UNMASKED_RADIX, this.radix);
173
- }
174
- /** Parsed Number */
175
- get number() {
176
- return this.typedValue;
177
- }
178
- set number(t) {
179
- this.typedValue = t;
180
- }
181
- get allowNegative() {
182
- return this.min != null && this.min < 0 || this.max != null && this.max < 0;
183
- }
184
- get allowPositive() {
185
- return this.min != null && this.min > 0 || this.max != null && this.max > 0;
186
- }
187
- typedValueEquals(t) {
188
- return (super.typedValueEquals(t) || i.EMPTY_VALUES.includes(t) && i.EMPTY_VALUES.includes(this.typedValue)) && !(t === 0 && this.value === "");
189
- }
190
- };
191
- _(i, "MaskedNumber");
192
- let r = i;
193
- f = r;
194
- r.UNMASKED_RADIX = ".";
195
- r.EMPTY_VALUES = [...v.EMPTY_VALUES, 0];
196
- r.DEFAULTS = {
197
- ...v.DEFAULTS,
198
- mask: Number,
199
- radix: ",",
200
- thousandsSeparator: "",
201
- mapToRadix: [f.UNMASKED_RADIX],
202
- min: Number.MIN_SAFE_INTEGER,
203
- max: Number.MAX_SAFE_INTEGER,
204
- scale: 2,
205
- normalizeZeros: !0,
206
- padFractionalZeros: !1,
207
- parse: Number,
208
- format: /* @__PURE__ */ _((m) => m.toLocaleString("en-US", {
209
- useGrouping: !1,
210
- maximumFractionDigits: 20
211
- }), "format")
212
- };
213
- R.MaskedNumber = r;
214
- export {
215
- r as default
216
- };
217
- //# sourceMappingURL=number.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"number.js","sources":["../../../../../../../../../../node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/number.js"],"sourcesContent":["import { escapeRegExp, DIRECTION } from '../core/utils.js';\nimport ChangeDetails from '../core/change-details.js';\nimport Masked from './base.js';\nimport IMask from '../core/holder.js';\nimport '../core/continuous-tail-details.js';\n\nvar _MaskedNumber;\n/** Number mask */\nclass MaskedNumber extends Masked {\n /** Single char */\n\n /** Single char */\n\n /** Array of single chars */\n\n /** */\n\n /** */\n\n /** Digits after point */\n\n /** Flag to remove leading and trailing zeros in the end of editing */\n\n /** Flag to pad trailing zeros after point in the end of editing */\n\n /** Enable characters overwriting */\n\n /** */\n\n /** */\n\n /** */\n\n /** Format typed value to string */\n\n /** Parse string to get typed value */\n\n constructor(opts) {\n super({\n ...MaskedNumber.DEFAULTS,\n ...opts\n });\n }\n updateOptions(opts) {\n super.updateOptions(opts);\n }\n _update(opts) {\n super._update(opts);\n this._updateRegExps();\n }\n _updateRegExps() {\n const start = '^' + (this.allowNegative ? '[+|\\\\-]?' : '');\n const mid = '\\\\d*';\n const end = (this.scale ? \"(\" + escapeRegExp(this.radix) + \"\\\\d{0,\" + this.scale + \"})?\" : '') + '$';\n this._numberRegExp = new RegExp(start + mid + end);\n this._mapToRadixRegExp = new RegExp(\"[\" + this.mapToRadix.map(escapeRegExp).join('') + \"]\", 'g');\n this._thousandsSeparatorRegExp = new RegExp(escapeRegExp(this.thousandsSeparator), 'g');\n }\n _removeThousandsSeparators(value) {\n return value.replace(this._thousandsSeparatorRegExp, '');\n }\n _insertThousandsSeparators(value) {\n // https://stackoverflow.com/questions/2901102/how-to-print-a-number-with-commas-as-thousands-separators-in-javascript\n const parts = value.split(this.radix);\n parts[0] = parts[0].replace(/\\B(?=(\\d{3})+(?!\\d))/g, this.thousandsSeparator);\n return parts.join(this.radix);\n }\n doPrepareChar(ch, flags) {\n if (flags === void 0) {\n flags = {};\n }\n const [prepCh, details] = super.doPrepareChar(this._removeThousandsSeparators(this.scale && this.mapToRadix.length && (\n /*\n radix should be mapped when\n 1) input is done from keyboard = flags.input && flags.raw\n 2) unmasked value is set = !flags.input && !flags.raw\n and should not be mapped when\n 1) value is set = flags.input && !flags.raw\n 2) raw value is set = !flags.input && flags.raw\n */\n flags.input && flags.raw || !flags.input && !flags.raw) ? ch.replace(this._mapToRadixRegExp, this.radix) : ch), flags);\n if (ch && !prepCh) details.skip = true;\n if (prepCh && !this.allowPositive && !this.value && prepCh !== '-') details.aggregate(this._appendChar('-'));\n return [prepCh, details];\n }\n _separatorsCount(to, extendOnSeparators) {\n if (extendOnSeparators === void 0) {\n extendOnSeparators = false;\n }\n let count = 0;\n for (let pos = 0; pos < to; ++pos) {\n if (this._value.indexOf(this.thousandsSeparator, pos) === pos) {\n ++count;\n if (extendOnSeparators) to += this.thousandsSeparator.length;\n }\n }\n return count;\n }\n _separatorsCountFromSlice(slice) {\n if (slice === void 0) {\n slice = this._value;\n }\n return this._separatorsCount(this._removeThousandsSeparators(slice).length, true);\n }\n extractInput(fromPos, toPos, flags) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n [fromPos, toPos] = this._adjustRangeWithSeparators(fromPos, toPos);\n return this._removeThousandsSeparators(super.extractInput(fromPos, toPos, flags));\n }\n _appendCharRaw(ch, flags) {\n if (flags === void 0) {\n flags = {};\n }\n const prevBeforeTailValue = flags.tail && flags._beforeTailState ? flags._beforeTailState._value : this._value;\n const prevBeforeTailSeparatorsCount = this._separatorsCountFromSlice(prevBeforeTailValue);\n this._value = this._removeThousandsSeparators(this.value);\n const oldValue = this._value;\n this._value += ch;\n const num = this.number;\n let accepted = !isNaN(num);\n let skip = false;\n if (accepted) {\n let fixedNum;\n if (this.min != null && this.min < 0 && this.number < this.min) fixedNum = this.min;\n if (this.max != null && this.max > 0 && this.number > this.max) fixedNum = this.max;\n if (fixedNum != null) {\n if (this.autofix) {\n this._value = this.format(fixedNum, this).replace(MaskedNumber.UNMASKED_RADIX, this.radix);\n skip || (skip = oldValue === this._value && !flags.tail); // if not changed on tail it's still ok to proceed\n } else {\n accepted = false;\n }\n }\n accepted && (accepted = Boolean(this._value.match(this._numberRegExp)));\n }\n let appendDetails;\n if (!accepted) {\n this._value = oldValue;\n appendDetails = new ChangeDetails();\n } else {\n appendDetails = new ChangeDetails({\n inserted: this._value.slice(oldValue.length),\n rawInserted: skip ? '' : ch,\n skip\n });\n }\n this._value = this._insertThousandsSeparators(this._value);\n const beforeTailValue = flags.tail && flags._beforeTailState ? flags._beforeTailState._value : this._value;\n const beforeTailSeparatorsCount = this._separatorsCountFromSlice(beforeTailValue);\n appendDetails.tailShift += (beforeTailSeparatorsCount - prevBeforeTailSeparatorsCount) * this.thousandsSeparator.length;\n return appendDetails;\n }\n _findSeparatorAround(pos) {\n if (this.thousandsSeparator) {\n const searchFrom = pos - this.thousandsSeparator.length + 1;\n const separatorPos = this.value.indexOf(this.thousandsSeparator, searchFrom);\n if (separatorPos <= pos) return separatorPos;\n }\n return -1;\n }\n _adjustRangeWithSeparators(from, to) {\n const separatorAroundFromPos = this._findSeparatorAround(from);\n if (separatorAroundFromPos >= 0) from = separatorAroundFromPos;\n const separatorAroundToPos = this._findSeparatorAround(to);\n if (separatorAroundToPos >= 0) to = separatorAroundToPos + this.thousandsSeparator.length;\n return [from, to];\n }\n remove(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this.displayValue.length;\n }\n [fromPos, toPos] = this._adjustRangeWithSeparators(fromPos, toPos);\n const valueBeforePos = this.value.slice(0, fromPos);\n const valueAfterPos = this.value.slice(toPos);\n const prevBeforeTailSeparatorsCount = this._separatorsCount(valueBeforePos.length);\n this._value = this._insertThousandsSeparators(this._removeThousandsSeparators(valueBeforePos + valueAfterPos));\n const beforeTailSeparatorsCount = this._separatorsCountFromSlice(valueBeforePos);\n return new ChangeDetails({\n tailShift: (beforeTailSeparatorsCount - prevBeforeTailSeparatorsCount) * this.thousandsSeparator.length\n });\n }\n nearestInputPos(cursorPos, direction) {\n if (!this.thousandsSeparator) return cursorPos;\n switch (direction) {\n case DIRECTION.NONE:\n case DIRECTION.LEFT:\n case DIRECTION.FORCE_LEFT:\n {\n const separatorAtLeftPos = this._findSeparatorAround(cursorPos - 1);\n if (separatorAtLeftPos >= 0) {\n const separatorAtLeftEndPos = separatorAtLeftPos + this.thousandsSeparator.length;\n if (cursorPos < separatorAtLeftEndPos || this.value.length <= separatorAtLeftEndPos || direction === DIRECTION.FORCE_LEFT) {\n return separatorAtLeftPos;\n }\n }\n break;\n }\n case DIRECTION.RIGHT:\n case DIRECTION.FORCE_RIGHT:\n {\n const separatorAtRightPos = this._findSeparatorAround(cursorPos);\n if (separatorAtRightPos >= 0) {\n return separatorAtRightPos + this.thousandsSeparator.length;\n }\n }\n }\n return cursorPos;\n }\n doCommit() {\n if (this.value) {\n const number = this.number;\n let validnum = number;\n\n // check bounds\n if (this.min != null) validnum = Math.max(validnum, this.min);\n if (this.max != null) validnum = Math.min(validnum, this.max);\n if (validnum !== number) this.unmaskedValue = this.format(validnum, this);\n let formatted = this.value;\n if (this.normalizeZeros) formatted = this._normalizeZeros(formatted);\n if (this.padFractionalZeros && this.scale > 0) formatted = this._padFractionalZeros(formatted);\n this._value = formatted;\n }\n super.doCommit();\n }\n _normalizeZeros(value) {\n const parts = this._removeThousandsSeparators(value).split(this.radix);\n\n // remove leading zeros\n parts[0] = parts[0].replace(/^(\\D*)(0*)(\\d*)/, (match, sign, zeros, num) => sign + num);\n // add leading zero\n if (value.length && !/\\d$/.test(parts[0])) parts[0] = parts[0] + '0';\n if (parts.length > 1) {\n parts[1] = parts[1].replace(/0*$/, ''); // remove trailing zeros\n if (!parts[1].length) parts.length = 1; // remove fractional\n }\n return this._insertThousandsSeparators(parts.join(this.radix));\n }\n _padFractionalZeros(value) {\n if (!value) return value;\n const parts = value.split(this.radix);\n if (parts.length < 2) parts.push('');\n parts[1] = parts[1].padEnd(this.scale, '0');\n return parts.join(this.radix);\n }\n doSkipInvalid(ch, flags, checkTail) {\n if (flags === void 0) {\n flags = {};\n }\n const dropFractional = this.scale === 0 && ch !== this.thousandsSeparator && (ch === this.radix || ch === MaskedNumber.UNMASKED_RADIX || this.mapToRadix.includes(ch));\n return super.doSkipInvalid(ch, flags, checkTail) && !dropFractional;\n }\n get unmaskedValue() {\n return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix, MaskedNumber.UNMASKED_RADIX);\n }\n set unmaskedValue(unmaskedValue) {\n super.unmaskedValue = unmaskedValue;\n }\n get typedValue() {\n return this.parse(this.unmaskedValue, this);\n }\n set typedValue(n) {\n this.rawInputValue = this.format(n, this).replace(MaskedNumber.UNMASKED_RADIX, this.radix);\n }\n\n /** Parsed Number */\n get number() {\n return this.typedValue;\n }\n set number(number) {\n this.typedValue = number;\n }\n get allowNegative() {\n return this.min != null && this.min < 0 || this.max != null && this.max < 0;\n }\n get allowPositive() {\n return this.min != null && this.min > 0 || this.max != null && this.max > 0;\n }\n typedValueEquals(value) {\n // handle 0 -> '' case (typed = 0 even if value = '')\n // for details see https://github.com/uNmAnNeR/imaskjs/issues/134\n return (super.typedValueEquals(value) || MaskedNumber.EMPTY_VALUES.includes(value) && MaskedNumber.EMPTY_VALUES.includes(this.typedValue)) && !(value === 0 && this.value === '');\n }\n}\n_MaskedNumber = MaskedNumber;\nMaskedNumber.UNMASKED_RADIX = '.';\nMaskedNumber.EMPTY_VALUES = [...Masked.EMPTY_VALUES, 0];\nMaskedNumber.DEFAULTS = {\n ...Masked.DEFAULTS,\n mask: Number,\n radix: ',',\n thousandsSeparator: '',\n mapToRadix: [_MaskedNumber.UNMASKED_RADIX],\n min: Number.MIN_SAFE_INTEGER,\n max: Number.MAX_SAFE_INTEGER,\n scale: 2,\n normalizeZeros: true,\n padFractionalZeros: false,\n parse: Number,\n format: n => n.toLocaleString('en-US', {\n useGrouping: false,\n maximumFractionDigits: 20\n })\n};\nIMask.MaskedNumber = MaskedNumber;\n\nexport { MaskedNumber as default };\n"],"names":["_MaskedNumber","Masked","opts","start","mid","end","escapeRegExp","value","parts","ch","flags","prepCh","details","to","extendOnSeparators","count","pos","slice","fromPos","toPos","prevBeforeTailValue","prevBeforeTailSeparatorsCount","oldValue","num","accepted","skip","fixedNum","appendDetails","ChangeDetails","beforeTailValue","beforeTailSeparatorsCount","searchFrom","separatorPos","from","separatorAroundFromPos","separatorAroundToPos","valueBeforePos","valueAfterPos","cursorPos","direction","DIRECTION","separatorAtLeftPos","separatorAtLeftEndPos","separatorAtRightPos","number","validnum","formatted","match","sign","zeros","checkTail","dropFractional","unmaskedValue","n","__name","MaskedNumber","IMask"],"mappings":";;;;;;AAMA,IAAIA;AAEJ,MAAMA,IAAN,MAAMA,UAAqBC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EA6BhC,YAAYC,GAAM;AAChB,UAAM;AAAA,MACJ,GAAGF,EAAa;AAAA,MAChB,GAAGE;AAAA,IACT,CAA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C,IAAMuD,IAANvD;AA2RAA,IAAgBuD;AAChBA,EAAa,iBAAiB;AAC9BA,EAAa,eAAe,CAAC,GAAGtD,EAAO,cAAc,CAAC;AACtDsD,EAAa,WAAW;AAAA,EACtB,GAAGtD,EAAO;AAAA,EACV,MAAM;AAAA,EACN,OAAO;AAAA,EACP,oBAAoB;AAAA,EACpB,YAAY,CAACD,EAAc,cAAc;AAAA,EACzC,KAAK,OAAO;AAAA,EACZ,KAAK,OAAO;AAAA,EACZ,OAAO;AAAA,EACP,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,OAAO;AAAA,EACP,QAAQ,gBAAAsD,EAAA,CAAAD,MAAKA,EAAE,eAAe,SAAS;AAAA,IACrC,aAAa;AAAA,IACb,uBAAuB;AAAA,EAC3B,CAAG,GAHO;AAIV;AACAG,EAAM,eAAeD;","x_google_ignoreList":[0]}
@@ -1,108 +0,0 @@
1
- var a = Object.defineProperty;
2
- var p = (u, t) => a(u, "name", { value: t, configurable: !0 });
3
- import d from "../../core/change-details.js";
4
- import { isString as S } from "../../core/utils.js";
5
- import c from "../../core/continuous-tail-details.js";
6
- import m from "../../core/holder.js";
7
- const o = class o {
8
- /** */
9
- constructor(t, s) {
10
- t === void 0 && (t = []), s === void 0 && (s = 0), this.chunks = t, this.from = s;
11
- }
12
- toString() {
13
- return this.chunks.map(String).join("");
14
- }
15
- extend(t) {
16
- if (!String(t)) return;
17
- t = S(t) ? new c(String(t)) : t;
18
- const s = this.chunks[this.chunks.length - 1], n = s && // if stops are same or tail has no stop
19
- (s.stop === t.stop || t.stop == null) && // if tail chunk goes just after last chunk
20
- t.from === s.from + s.toString().length;
21
- if (t instanceof c)
22
- n ? s.extend(t.toString()) : this.chunks.push(t);
23
- else if (t instanceof o) {
24
- if (t.stop == null) {
25
- let e;
26
- for (; t.chunks.length && t.chunks[0].stop == null; )
27
- e = t.chunks.shift(), e.from += t.from, this.extend(e);
28
- }
29
- t.toString() && (t.stop = t.blockIndex, this.chunks.push(t));
30
- }
31
- }
32
- appendTo(t) {
33
- if (!(t instanceof m.MaskedPattern))
34
- return new c(this.toString()).appendTo(t);
35
- const s = new d();
36
- for (let n = 0; n < this.chunks.length; ++n) {
37
- const e = this.chunks[n], i = t._mapPosToBlock(t.displayValue.length), r = e.stop;
38
- let h;
39
- if (r != null && // if block not found or stop is behind lastBlock
40
- (!i || i.index <= r) && ((e instanceof o || // for continuous block also check if stop is exist
41
- t._stops.indexOf(r) >= 0) && s.aggregate(t._appendPlaceholder(r)), h = e instanceof o && t._blocks[r]), h) {
42
- const f = h.appendTail(e);
43
- s.aggregate(f);
44
- const l = e.toString().slice(f.rawInserted.length);
45
- l && s.aggregate(t.append(l, {
46
- tail: !0
47
- }));
48
- } else
49
- s.aggregate(t.append(e.toString(), {
50
- tail: !0
51
- }));
52
- }
53
- return s;
54
- }
55
- get state() {
56
- return {
57
- chunks: this.chunks.map((t) => t.state),
58
- from: this.from,
59
- stop: this.stop,
60
- blockIndex: this.blockIndex
61
- };
62
- }
63
- set state(t) {
64
- const {
65
- chunks: s,
66
- ...n
67
- } = t;
68
- Object.assign(this, n), this.chunks = s.map((e) => {
69
- const i = "chunks" in e ? new o() : new c();
70
- return i.state = e, i;
71
- });
72
- }
73
- unshift(t) {
74
- if (!this.chunks.length || t != null && this.from >= t) return "";
75
- const s = t != null ? t - this.from : t;
76
- let n = 0;
77
- for (; n < this.chunks.length; ) {
78
- const e = this.chunks[n], i = e.unshift(s);
79
- if (e.toString()) {
80
- if (!i) break;
81
- ++n;
82
- } else
83
- this.chunks.splice(n, 1);
84
- if (i) return i;
85
- }
86
- return "";
87
- }
88
- shift() {
89
- if (!this.chunks.length) return "";
90
- let t = this.chunks.length - 1;
91
- for (; 0 <= t; ) {
92
- const s = this.chunks[t], n = s.shift();
93
- if (s.toString()) {
94
- if (!n) break;
95
- --t;
96
- } else
97
- this.chunks.splice(t, 1);
98
- if (n) return n;
99
- }
100
- return "";
101
- }
102
- };
103
- p(o, "ChunksTailDetails");
104
- let g = o;
105
- export {
106
- g as default
107
- };
108
- //# sourceMappingURL=chunk-tail-details.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chunk-tail-details.js","sources":["../../../../../../../../../../../node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/chunk-tail-details.js"],"sourcesContent":["import ChangeDetails from '../../core/change-details.js';\nimport { isString } from '../../core/utils.js';\nimport ContinuousTailDetails from '../../core/continuous-tail-details.js';\nimport IMask from '../../core/holder.js';\n\nclass ChunksTailDetails {\n /** */\n\n constructor(chunks, from) {\n if (chunks === void 0) {\n chunks = [];\n }\n if (from === void 0) {\n from = 0;\n }\n this.chunks = chunks;\n this.from = from;\n }\n toString() {\n return this.chunks.map(String).join('');\n }\n extend(tailChunk) {\n if (!String(tailChunk)) return;\n tailChunk = isString(tailChunk) ? new ContinuousTailDetails(String(tailChunk)) : tailChunk;\n const lastChunk = this.chunks[this.chunks.length - 1];\n const extendLast = lastChunk && (\n // if stops are same or tail has no stop\n lastChunk.stop === tailChunk.stop || tailChunk.stop == null) &&\n // if tail chunk goes just after last chunk\n tailChunk.from === lastChunk.from + lastChunk.toString().length;\n if (tailChunk instanceof ContinuousTailDetails) {\n // check the ability to extend previous chunk\n if (extendLast) {\n // extend previous chunk\n lastChunk.extend(tailChunk.toString());\n } else {\n // append new chunk\n this.chunks.push(tailChunk);\n }\n } else if (tailChunk instanceof ChunksTailDetails) {\n if (tailChunk.stop == null) {\n // unwrap floating chunks to parent, keeping `from` pos\n let firstTailChunk;\n while (tailChunk.chunks.length && tailChunk.chunks[0].stop == null) {\n firstTailChunk = tailChunk.chunks.shift(); // not possible to be `undefined` because length was checked above\n firstTailChunk.from += tailChunk.from;\n this.extend(firstTailChunk);\n }\n }\n\n // if tail chunk still has value\n if (tailChunk.toString()) {\n // if chunks contains stops, then popup stop to container\n tailChunk.stop = tailChunk.blockIndex;\n this.chunks.push(tailChunk);\n }\n }\n }\n appendTo(masked) {\n if (!(masked instanceof IMask.MaskedPattern)) {\n const tail = new ContinuousTailDetails(this.toString());\n return tail.appendTo(masked);\n }\n const details = new ChangeDetails();\n for (let ci = 0; ci < this.chunks.length; ++ci) {\n const chunk = this.chunks[ci];\n const lastBlockIter = masked._mapPosToBlock(masked.displayValue.length);\n const stop = chunk.stop;\n let chunkBlock;\n if (stop != null && (\n // if block not found or stop is behind lastBlock\n !lastBlockIter || lastBlockIter.index <= stop)) {\n if (chunk instanceof ChunksTailDetails ||\n // for continuous block also check if stop is exist\n masked._stops.indexOf(stop) >= 0) {\n details.aggregate(masked._appendPlaceholder(stop));\n }\n chunkBlock = chunk instanceof ChunksTailDetails && masked._blocks[stop];\n }\n if (chunkBlock) {\n const tailDetails = chunkBlock.appendTail(chunk);\n details.aggregate(tailDetails);\n\n // get not inserted chars\n const remainChars = chunk.toString().slice(tailDetails.rawInserted.length);\n if (remainChars) details.aggregate(masked.append(remainChars, {\n tail: true\n }));\n } else {\n details.aggregate(masked.append(chunk.toString(), {\n tail: true\n }));\n }\n }\n return details;\n }\n get state() {\n return {\n chunks: this.chunks.map(c => c.state),\n from: this.from,\n stop: this.stop,\n blockIndex: this.blockIndex\n };\n }\n set state(state) {\n const {\n chunks,\n ...props\n } = state;\n Object.assign(this, props);\n this.chunks = chunks.map(cstate => {\n const chunk = \"chunks\" in cstate ? new ChunksTailDetails() : new ContinuousTailDetails();\n chunk.state = cstate;\n return chunk;\n });\n }\n unshift(beforePos) {\n if (!this.chunks.length || beforePos != null && this.from >= beforePos) return '';\n const chunkShiftPos = beforePos != null ? beforePos - this.from : beforePos;\n let ci = 0;\n while (ci < this.chunks.length) {\n const chunk = this.chunks[ci];\n const shiftChar = chunk.unshift(chunkShiftPos);\n if (chunk.toString()) {\n // chunk still contains value\n // but not shifted - means no more available chars to shift\n if (!shiftChar) break;\n ++ci;\n } else {\n // clean if chunk has no value\n this.chunks.splice(ci, 1);\n }\n if (shiftChar) return shiftChar;\n }\n return '';\n }\n shift() {\n if (!this.chunks.length) return '';\n let ci = this.chunks.length - 1;\n while (0 <= ci) {\n const chunk = this.chunks[ci];\n const shiftChar = chunk.shift();\n if (chunk.toString()) {\n // chunk still contains value\n // but not shifted - means no more available chars to shift\n if (!shiftChar) break;\n --ci;\n } else {\n // clean if chunk has no value\n this.chunks.splice(ci, 1);\n }\n if (shiftChar) return shiftChar;\n }\n return '';\n }\n}\n\nexport { ChunksTailDetails as default };\n"],"names":["_ChunksTailDetails","chunks","from","tailChunk","isString","ContinuousTailDetails","lastChunk","extendLast","firstTailChunk","masked","IMask","details","ChangeDetails","ci","chunk","lastBlockIter","stop","chunkBlock","tailDetails","remainChars","c","state","props","cstate","beforePos","chunkShiftPos","shiftChar","__name","ChunksTailDetails"],"mappings":";;;;;;AAKA,MAAMA,IAAN,MAAMA,EAAkB;AAAA;AAAA,EAGtB,YAAYC,GAAQC,GAAM;AACxB,IAAID,MAAW,WACbA,IAAS,CAAA,IAEPC,MAAS,WACXA,IAAO,IAET,KAAK,SAASD,GACd,KAAK,OAAOC;AAAA,EACd;AAAA,EACA,WAAW;AACT,WAAO,KAAK,OAAO,IAAI,MAAM,EAAE,KAAK,EAAE;AAAA,EACxC;AAAA,EACA,OAAOC,GAAW;AAChB,QAAI,CAAC,OAAOA,CAAS,EAAG;AACxB,IAAAA,IAAYC,EAASD,CAAS,IAAI,IAAIE,EAAsB,OAAOF,CAAS,CAAC,IAAIA;AACjF,UAAMG,IAAY,KAAK,OAAO,KAAK,OAAO,SAAS,CAAC,GAC9CC,IAAaD;AAAA,KAEnBA,EAAU,SAASH,EAAU,QAAQA,EAAU,QAAQ;AAAA,IAEvDA,EAAU,SAASG,EAAU,OAAOA,EAAU,SAAQ,EAAG;AACzD,QAAIH,aAAqBE;AAEvB,MAAIE,IAEFD,EAAU,OAAOH,EAAU,UAAU,IAGrC,KAAK,OAAO,KAAKA,CAAS;AAAA,aAEnBA,aAAqBH,GAAmB;AACjD,UAAIG,EAAU,QAAQ,MAAM;AAE1B,YAAIK;AACJ,eAAOL,E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AAI,CAAC;AAE1B,UAAIa,EAAW,QAAOA;AAAA,IACxB;AACA,WAAO;AAAA,EACT;AACF;AAtJwBC,EAAA3B,GAAA;AAAxB,IAAM4B,IAAN5B;","x_google_ignoreList":[0]}
@@ -1,105 +0,0 @@
1
- var u = Object.defineProperty;
2
- var h = (f, t) => u(f, "name", { value: t, configurable: !0 });
3
- import { DIRECTION as s } from "../../core/utils.js";
4
- const i = class i {
5
- constructor(t, e) {
6
- this.masked = t, this._log = [];
7
- const {
8
- offset: r,
9
- index: n
10
- } = t._mapPosToBlock(e) || (e < 0 ? (
11
- // first
12
- {
13
- index: 0,
14
- offset: 0
15
- }
16
- ) : (
17
- // last
18
- {
19
- index: this.masked._blocks.length,
20
- offset: 0
21
- }
22
- ));
23
- this.offset = r, this.index = n, this.ok = !1;
24
- }
25
- get block() {
26
- return this.masked._blocks[this.index];
27
- }
28
- get pos() {
29
- return this.masked._blockStartPos(this.index) + this.offset;
30
- }
31
- get state() {
32
- return {
33
- index: this.index,
34
- offset: this.offset,
35
- ok: this.ok
36
- };
37
- }
38
- set state(t) {
39
- Object.assign(this, t);
40
- }
41
- pushState() {
42
- this._log.push(this.state);
43
- }
44
- popState() {
45
- const t = this._log.pop();
46
- return t && (this.state = t), t;
47
- }
48
- bindBlock() {
49
- this.block || (this.index < 0 && (this.index = 0, this.offset = 0), this.index >= this.masked._blocks.length && (this.index = this.masked._blocks.length - 1, this.offset = this.block.displayValue.length));
50
- }
51
- _pushLeft(t) {
52
- for (this.pushState(), this.bindBlock(); 0 <= this.index; --this.index, this.offset = ((e = this.block) == null ? void 0 : e.displayValue.length) || 0) {
53
- var e;
54
- if (t()) return this.ok = !0;
55
- }
56
- return this.ok = !1;
57
- }
58
- _pushRight(t) {
59
- for (this.pushState(), this.bindBlock(); this.index < this.masked._blocks.length; ++this.index, this.offset = 0)
60
- if (t()) return this.ok = !0;
61
- return this.ok = !1;
62
- }
63
- pushLeftBeforeFilled() {
64
- return this._pushLeft(() => {
65
- if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, s.FORCE_LEFT), this.offset !== 0))
66
- return !0;
67
- });
68
- }
69
- pushLeftBeforeInput() {
70
- return this._pushLeft(() => {
71
- if (!this.block.isFixed)
72
- return this.offset = this.block.nearestInputPos(this.offset, s.LEFT), !0;
73
- });
74
- }
75
- pushLeftBeforeRequired() {
76
- return this._pushLeft(() => {
77
- if (!(this.block.isFixed || this.block.isOptional && !this.block.value))
78
- return this.offset = this.block.nearestInputPos(this.offset, s.LEFT), !0;
79
- });
80
- }
81
- pushRightBeforeFilled() {
82
- return this._pushRight(() => {
83
- if (!(this.block.isFixed || !this.block.value) && (this.offset = this.block.nearestInputPos(this.offset, s.FORCE_RIGHT), this.offset !== this.block.value.length))
84
- return !0;
85
- });
86
- }
87
- pushRightBeforeInput() {
88
- return this._pushRight(() => {
89
- if (!this.block.isFixed)
90
- return this.offset = this.block.nearestInputPos(this.offset, s.NONE), !0;
91
- });
92
- }
93
- pushRightBeforeRequired() {
94
- return this._pushRight(() => {
95
- if (!(this.block.isFixed || this.block.isOptional && !this.block.value))
96
- return this.offset = this.block.nearestInputPos(this.offset, s.NONE), !0;
97
- });
98
- }
99
- };
100
- h(i, "PatternCursor");
101
- let o = i;
102
- export {
103
- o as default
104
- };
105
- //# sourceMappingURL=cursor.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cursor.js","sources":["../../../../../../../../../../../node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/cursor.js"],"sourcesContent":["import { DIRECTION } from '../../core/utils.js';\n\nclass PatternCursor {\n constructor(masked, pos) {\n this.masked = masked;\n this._log = [];\n const {\n offset,\n index\n } = masked._mapPosToBlock(pos) || (pos < 0 ?\n // first\n {\n index: 0,\n offset: 0\n } :\n // last\n {\n index: this.masked._blocks.length,\n offset: 0\n });\n this.offset = offset;\n this.index = index;\n this.ok = false;\n }\n get block() {\n return this.masked._blocks[this.index];\n }\n get pos() {\n return this.masked._blockStartPos(this.index) + this.offset;\n }\n get state() {\n return {\n index: this.index,\n offset: this.offset,\n ok: this.ok\n };\n }\n set state(s) {\n Object.assign(this, s);\n }\n pushState() {\n this._log.push(this.state);\n }\n popState() {\n const s = this._log.pop();\n if (s) this.state = s;\n return s;\n }\n bindBlock() {\n if (this.block) return;\n if (this.index < 0) {\n this.index = 0;\n this.offset = 0;\n }\n if (this.index >= this.masked._blocks.length) {\n this.index = this.masked._blocks.length - 1;\n this.offset = this.block.displayValue.length; // TODO this is stupid type error, `block` depends on index that was changed above\n }\n }\n _pushLeft(fn) {\n this.pushState();\n for (this.bindBlock(); 0 <= this.index; --this.index, this.offset = ((_this$block = this.block) == null ? void 0 : _this$block.displayValue.length) || 0) {\n var _this$block;\n if (fn()) return this.ok = true;\n }\n return this.ok = false;\n }\n _pushRight(fn) {\n this.pushState();\n for (this.bindBlock(); this.index < this.masked._blocks.length; ++this.index, this.offset = 0) {\n if (fn()) return this.ok = true;\n }\n return this.ok = false;\n }\n pushLeftBeforeFilled() {\n return this._pushLeft(() => {\n if (this.block.isFixed || !this.block.value) return;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.FORCE_LEFT);\n if (this.offset !== 0) return true;\n });\n }\n pushLeftBeforeInput() {\n // cases:\n // filled input: 00|\n // optional empty input: 00[]|\n // nested block: XX<[]>|\n return this._pushLeft(() => {\n if (this.block.isFixed) return;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.LEFT);\n return true;\n });\n }\n pushLeftBeforeRequired() {\n return this._pushLeft(() => {\n if (this.block.isFixed || this.block.isOptional && !this.block.value) return;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.LEFT);\n return true;\n });\n }\n pushRightBeforeFilled() {\n return this._pushRight(() => {\n if (this.block.isFixed || !this.block.value) return;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.FORCE_RIGHT);\n if (this.offset !== this.block.value.length) return true;\n });\n }\n pushRightBeforeInput() {\n return this._pushRight(() => {\n if (this.block.isFixed) return;\n\n // const o = this.offset;\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.NONE);\n // HACK cases like (STILL DOES NOT WORK FOR NESTED)\n // aa|X\n // aa<X|[]>X_ - this will not work\n // if (o && o === this.offset && this.block instanceof PatternInputDefinition) continue;\n return true;\n });\n }\n pushRightBeforeRequired() {\n return this._pushRight(() => {\n if (this.block.isFixed || this.block.isOptional && !this.block.value) return;\n\n // TODO check |[*]XX_\n this.offset = this.block.nearestInputPos(this.offset, DIRECTION.NONE);\n return true;\n });\n }\n}\n\nexport { PatternCursor as default };\n"],"names":["_PatternCursor","masked","pos","offset","index","s","fn","_this$block","DIRECTION","__name","PatternCursor"],"mappings":";;;AAEA,MAAMA,IAAN,MAAMA,EAAc;AAAA,EAClB,YAAYC,GAAQC,GAAK;AACvB,SAAK,SAASD,GACd,KAAK,OAAO,CAAA;AACZ,UAAM;AAAA,MACJ,QAAAE;AAAA,MACA,OAAAC;AAAA,IACN,IAAQH,EAAO,eAAeC,CAAG,MAAMA,IAAM;AAAA;AAAA,MAEzC;AAAA,QACE,OAAO;AAAA,QACP,QAAQ;AAAA,MACd;AAAA;AAAA;AAAA,MAEI;AAAA,QACE,OAAO,KAAK,OAAO,QAAQ;AAAA,QAC3B,QAAQ;AAAA,MACd;AAAA;AACI,SAAK,SAASC,GACd,KAAK,QAAQC,GACb,KAAK,KAAK;AAAA,EACZ;AAAA,EACA,IAAI,QAAQ;AACV,WAAO,KAAK,OAAO,QAAQ,KAAK,KAAK;AAAA,EACvC;AAAA,EACA,IAAI,MAAM;AACR,WAAO,KAAK,OAAO,eAAe,KAAK,KAAK,IAAI,KAAK;AAAA,EACvD;AAAA,EACA,IAAI,QAAQ;AACV,WAAO;AAAA,MACL,OAAO,KAAK;AAAA,MACZ,QAAQ,KAAK;AAAA,MACb,IAAI,KAAK;AAAA,IACf;AAAA,EACE;AAAA,EACA,IAAI,MAAMC,GAAG;AACX,WAAO,OAAO,MAAMA,CAAC;AAAA,EACvB;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AQA,EAAU,IAAI,GAC7D;AAAA,IACT,CAAC;AAAA,EACH;AAAA,EACA,yBAAyB;AACvB,WAAO,KAAK,UAAU,MAAM;AAC1B,UAAI,OAAK,MAAM,WAAW,KAAK,MAAM,cAAc,CAAC,KAAK,MAAM;AAC/D,oBAAK,SAAS,KAAK,MAAM,gBAAgB,KAAK,QAAQA,EAAU,IAAI,GAC7D;AAAA,IACT,CAAC;AAAA,EACH;AAAA,EACA,wBAAwB;AACtB,WAAO,KAAK,WAAW,MAAM;AAC3B,UAAI,OAAK,MAAM,WAAW,CAAC,KAAK,MAAM,WACtC,KAAK,SAAS,KAAK,MAAM,gBAAgB,KAAK,QAAQA,EAAU,WAAW,GACvE,KAAK,WAAW,KAAK,MAAM,MAAM;AAAQ,eAAO;AAAA,IACtD,CAAC;AAAA,EACH;AAAA,EACA,uBAAuB;AACrB,WAAO,KAAK,WAAW,MAAM;AAC3B,UAAI,MAAK,MAAM;AAGf,oBAAK,SAAS,KAAK,MAAM,gBAAgB,KAAK,QAAQA,EAAU,IAAI,GAK7D;AAAA,IACT,CAAC;AAAA,EACH;AAAA,EACA,0BAA0B;AACxB,WAAO,KAAK,WAAW,MAAM;AAC3B,UAAI,OAAK,MAAM,WAAW,KAAK,MAAM,cAAc,CAAC,KAAK,MAAM;AAG/D,oBAAK,SAAS,KAAK,MAAM,gBAAgB,KAAK,QAAQA,EAAU,IAAI,GAC7D;AAAA,IACT,CAAC;AAAA,EACH;AACF;AA9HoBC,EAAAT,GAAA;AAApB,IAAMU,IAANV;","x_google_ignoreList":[0]}
@@ -1,107 +0,0 @@
1
- var v = Object.defineProperty;
2
- var h = (d, e) => v(d, "name", { value: e, configurable: !0 });
3
- import n from "../../core/change-details.js";
4
- import { DIRECTION as a, isString as c } from "../../core/utils.js";
5
- import l from "../../core/continuous-tail-details.js";
6
- const r = class r {
7
- /** */
8
- /** */
9
- /** */
10
- /** */
11
- /** */
12
- /** */
13
- constructor(e) {
14
- Object.assign(this, e), this._value = "", this.isFixed = !0;
15
- }
16
- get value() {
17
- return this._value;
18
- }
19
- get unmaskedValue() {
20
- return this.isUnmasking ? this.value : "";
21
- }
22
- get rawInputValue() {
23
- return this._isRawInput ? this.value : "";
24
- }
25
- get displayValue() {
26
- return this.value;
27
- }
28
- reset() {
29
- this._isRawInput = !1, this._value = "";
30
- }
31
- remove(e, t) {
32
- return e === void 0 && (e = 0), t === void 0 && (t = this._value.length), this._value = this._value.slice(0, e) + this._value.slice(t), this._value || (this._isRawInput = !1), new n();
33
- }
34
- nearestInputPos(e, t) {
35
- t === void 0 && (t = a.NONE);
36
- const i = 0, s = this._value.length;
37
- switch (t) {
38
- case a.LEFT:
39
- case a.FORCE_LEFT:
40
- return i;
41
- case a.NONE:
42
- case a.RIGHT:
43
- case a.FORCE_RIGHT:
44
- default:
45
- return s;
46
- }
47
- }
48
- totalInputPositions(e, t) {
49
- return e === void 0 && (e = 0), t === void 0 && (t = this._value.length), this._isRawInput ? t - e : 0;
50
- }
51
- extractInput(e, t, i) {
52
- return e === void 0 && (e = 0), t === void 0 && (t = this._value.length), i === void 0 && (i = {}), i.raw && this._isRawInput && this._value.slice(e, t) || "";
53
- }
54
- get isComplete() {
55
- return !0;
56
- }
57
- get isFilled() {
58
- return !!this._value;
59
- }
60
- _appendChar(e, t) {
61
- if (t === void 0 && (t = {}), this.isFilled) return new n();
62
- const i = this.eager === !0 || this.eager === "append", u = this.char === e && (this.isUnmasking || t.input || t.raw) && (!t.raw || !i) && !t.tail, _ = new n({
63
- inserted: this.char,
64
- rawInserted: u ? this.char : ""
65
- });
66
- return this._value = this.char, this._isRawInput = u && (t.raw || t.input), _;
67
- }
68
- _appendEager() {
69
- return this._appendChar(this.char, {
70
- tail: !0
71
- });
72
- }
73
- _appendPlaceholder() {
74
- const e = new n();
75
- return this.isFilled || (this._value = e.inserted = this.char), e;
76
- }
77
- extractTail() {
78
- return new l("");
79
- }
80
- appendTail(e) {
81
- return c(e) && (e = new l(String(e))), e.appendTo(this);
82
- }
83
- append(e, t, i) {
84
- const s = this._appendChar(e[0], t);
85
- return i != null && (s.tailShift += this.appendTail(i).tailShift), s;
86
- }
87
- doCommit() {
88
- }
89
- get state() {
90
- return {
91
- _value: this._value,
92
- _rawInputValue: this.rawInputValue
93
- };
94
- }
95
- set state(e) {
96
- this._value = e._value, this._isRawInput = !!e._rawInputValue;
97
- }
98
- pad(e) {
99
- return this._appendPlaceholder();
100
- }
101
- };
102
- h(r, "PatternFixedDefinition");
103
- let p = r;
104
- export {
105
- p as default
106
- };
107
- //# sourceMappingURL=fixed-definition.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"fixed-definition.js","sources":["../../../../../../../../../../../node_modules/.pnpm/imask@7.6.1/node_modules/imask/esm/masked/pattern/fixed-definition.js"],"sourcesContent":["import ChangeDetails from '../../core/change-details.js';\nimport { DIRECTION, isString } from '../../core/utils.js';\nimport ContinuousTailDetails from '../../core/continuous-tail-details.js';\nimport '../../core/holder.js';\n\nclass PatternFixedDefinition {\n /** */\n\n /** */\n\n /** */\n\n /** */\n\n /** */\n\n /** */\n\n constructor(opts) {\n Object.assign(this, opts);\n this._value = '';\n this.isFixed = true;\n }\n get value() {\n return this._value;\n }\n get unmaskedValue() {\n return this.isUnmasking ? this.value : '';\n }\n get rawInputValue() {\n return this._isRawInput ? this.value : '';\n }\n get displayValue() {\n return this.value;\n }\n reset() {\n this._isRawInput = false;\n this._value = '';\n }\n remove(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this._value.length;\n }\n this._value = this._value.slice(0, fromPos) + this._value.slice(toPos);\n if (!this._value) this._isRawInput = false;\n return new ChangeDetails();\n }\n nearestInputPos(cursorPos, direction) {\n if (direction === void 0) {\n direction = DIRECTION.NONE;\n }\n const minPos = 0;\n const maxPos = this._value.length;\n switch (direction) {\n case DIRECTION.LEFT:\n case DIRECTION.FORCE_LEFT:\n return minPos;\n case DIRECTION.NONE:\n case DIRECTION.RIGHT:\n case DIRECTION.FORCE_RIGHT:\n default:\n return maxPos;\n }\n }\n totalInputPositions(fromPos, toPos) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this._value.length;\n }\n return this._isRawInput ? toPos - fromPos : 0;\n }\n extractInput(fromPos, toPos, flags) {\n if (fromPos === void 0) {\n fromPos = 0;\n }\n if (toPos === void 0) {\n toPos = this._value.length;\n }\n if (flags === void 0) {\n flags = {};\n }\n return flags.raw && this._isRawInput && this._value.slice(fromPos, toPos) || '';\n }\n get isComplete() {\n return true;\n }\n get isFilled() {\n return Boolean(this._value);\n }\n _appendChar(ch, flags) {\n if (flags === void 0) {\n flags = {};\n }\n if (this.isFilled) return new ChangeDetails();\n const appendEager = this.eager === true || this.eager === 'append';\n const appended = this.char === ch;\n const isResolved = appended && (this.isUnmasking || flags.input || flags.raw) && (!flags.raw || !appendEager) && !flags.tail;\n const details = new ChangeDetails({\n inserted: this.char,\n rawInserted: isResolved ? this.char : ''\n });\n this._value = this.char;\n this._isRawInput = isResolved && (flags.raw || flags.input);\n return details;\n }\n _appendEager() {\n return this._appendChar(this.char, {\n tail: true\n });\n }\n _appendPlaceholder() {\n const details = new ChangeDetails();\n if (this.isFilled) return details;\n this._value = details.inserted = this.char;\n return details;\n }\n extractTail() {\n return new ContinuousTailDetails('');\n }\n appendTail(tail) {\n if (isString(tail)) tail = new ContinuousTailDetails(String(tail));\n return tail.appendTo(this);\n }\n append(str, flags, tail) {\n const details = this._appendChar(str[0], flags);\n if (tail != null) {\n details.tailShift += this.appendTail(tail).tailShift;\n }\n return details;\n }\n doCommit() {}\n get state() {\n return {\n _value: this._value,\n _rawInputValue: this.rawInputValue\n };\n }\n set state(state) {\n this._value = state._value;\n this._isRawInput = Boolean(state._rawInputValue);\n }\n pad(flags) {\n return this._appendPlaceholder();\n }\n}\n\nexport { PatternFixedDefinition as default };\n"],"names":["_PatternFixedDefinition","opts","fromPos","toPos","ChangeDetails","cursorPos","direction","DIRECTION","minPos","maxPos","flags","ch","appendEager","isResolved","details","ContinuousTailDetails","tail","isString","str","state","__name","PatternFixedDefinition"],"mappings":";;;;;AAKA,MAAMA,IAAN,MAAMA,EAAuB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAa3B,YAAYC,GAAM;AAChB,WAAO,OAAO,MAAMA,CAAI,GACxB,KAAK,SAAS,IACd,KAAK,UAAU;AAAA,EACjB;AAAA,EACA,IAAI,QAAQ;AACV,WAAO,KAAK;AAAA,EACd;AAAA,EACA,IAAI,gBAAgB;AAClB,WAAO,KAAK,cAAc,KAAK,QAAQ;AAAA,EACzC;AAAA,EACA,IAAI,gBAAgB;AAClB,WAAO,KAAK,cAAc,KAAK,QAAQ;AAAA,EACzC;AAAA,EACA,IAAI,eAAe;AACjB,WAAO,KAAK;AAAA,EACd;AAAA,EACA,QAAQ;AACN,SAAK,cAAc,IACnB,KAAK,SAAS;AAAA,EAChB;AAAA,EACA,OAAOC,GAASC,GAAO;AACrB,WAAID,MAAY,WACdA,IAAU,IAERC,MAAU,WACZA,IAAQ,KAAK,OAAO,SAEtB,KAAK,SAAS,KAAK,OAAO,MAAM,GAAGD,CAAO,IAAI,KAAK,OAAO,MAAMC,CAAK,GAChE,KAAK,WAAQ,KAAK,cAAc,KAC9B,IAAIC,EAAa;AAAA,EAC1B;AAAA,EACA,gBAAgBC,GAAWC,GAAW;AACpC,IAAIA,MAAc,WAChBA,IAAYC,EAAU;AAExB,UAAMC,IAAS,GACTC,IAAS,KAAK,OAAO;AAC3B,YAAQH,GAAS;AAAA,MACf,KAAKC,EAAU;AAAA,MACf,KAAKA,EAAU;AACb,eAAOC;AAAA,MACT,KAAKD,EAAU;AAAA,MACf,KAAKA,EAAU;AAAA,MACf,KAAKA,EAAU;AAAA,MACf;AACE,eAAOE;AAAA,IACf;AAAA,EACE;AAAA,EACA,oBAAoBP,GAASC,GAAO;AAClC,WAAID,MAAY,WACdA,IAAU,IAERC,MAAU,WACZA,IAAQ,KAAK,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