halo-pc 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (516) hide show
  1. package/dist/{Article-CiVdO1Ui.js → Article-DDHiBRRG.js} +69 -62
  2. package/dist/{Autocomplete-TVE3ZXGj.js → Autocomplete-Bh4HQ3-C.js} +1 -1
  3. package/dist/Autocomplete-BljowPIG.js +56 -0
  4. package/dist/Autocomplete-d0MR8Xx2.js +55 -0
  5. package/dist/{CSharp-ZvsrI2tS.js → CSharp--lmNVuOo.js} +1 -1
  6. package/dist/{Calender-BN1Qici-.js → Calender-CvqWvZsn.js} +1 -1
  7. package/dist/Callback-BrvO3W91.js +28 -0
  8. package/dist/Cascader-DIvprKCI.js +88 -0
  9. package/dist/Cascader-OM7zmX3M.js +49 -0
  10. package/dist/{Checkbox-DPVFKvtd.js → Checkbox-BJdqPlkr.js} +1 -1
  11. package/dist/Code-BACLmk2L.js +62 -0
  12. package/dist/Code-DNa70Dop.js +44 -0
  13. package/dist/Code-Du9XlTYj.js +4 -0
  14. package/dist/{Code-C-Xxwb29.js → Code-xVaG8AiI.js} +1 -1
  15. package/dist/Code.vue_vue_type_style_index_0_lang-FEJ6tUQl.js +67 -0
  16. package/dist/Column-DpxOF0y2.js +76 -0
  17. package/dist/Comment-CnA1hoQR.js +106 -0
  18. package/dist/Compare-cMfhy2tY.js +34 -0
  19. package/dist/Compare-i-c4cpHb.js +64 -0
  20. package/dist/Copy-Ccio6WhB.js +51 -0
  21. package/dist/Custom-d7B0U9LW.js +55 -0
  22. package/dist/{DataExport-D6d04miG.js → DataExport-D9qNEXNc.js} +1 -1
  23. package/dist/{DataExport.vue_vue_type_script_setup_true_lang-B0lK_clm.js → DataExport.vue_vue_type_script_setup_true_lang-LIX8EWdw.js} +42 -35
  24. package/dist/{DataImport-CceWCzes.js → DataImport-IlCpp9MO.js} +1 -1
  25. package/dist/DataImport.vue_vue_type_script_setup_true_lang-ByaDXp9z.js +178 -0
  26. package/dist/{Date-Ddu6Um1a.js → Date-BzTn9eRY.js} +1 -1
  27. package/dist/{DateRange-DLCMlMSG.js → DateRange-TLadnU8z.js} +24 -16
  28. package/dist/{DateTime-Bdvr9_wj.js → DateTime-ZXRmiyVk.js} +1 -1
  29. package/dist/{DateTimeRange-DPWqS1Es.js → DateTimeRange-WV8dpf1A.js} +18 -10
  30. package/dist/Daterange-Xx9aigH9.js +65 -0
  31. package/dist/{Decimal-D4atkIK7.js → Decimal-d9D3AKgJ.js} +1 -1
  32. package/dist/Delete-C1lDzul8.js +63 -0
  33. package/dist/Detail-DwkywBpF.js +77 -0
  34. package/dist/Dictionary-41lPMLYE.js +61 -0
  35. package/dist/{File-B2lndVjU.js → File-CdfGLpx0.js} +54 -45
  36. package/dist/{Image-CrvP5qms.js → Image-j_l1rTVS.js} +1 -1
  37. package/dist/Index-BJcvZpAZ.js +180 -0
  38. package/dist/Index-CRW3fKQm.js +4 -0
  39. package/dist/{Index-C_HCipwv.js → Index-Cgn9c90j.js} +1 -1
  40. package/dist/Index-DDYN0PN6.js +77 -0
  41. package/dist/{Index-DNZBSOK6.js → Index-Dls8FIg_.js} +1 -1
  42. package/dist/Index-DyDnI3Eh.js +4 -0
  43. package/dist/{Index-BaLKJJ75.js → Index-DzobZNQl.js} +1 -1
  44. package/dist/Index-p6jrekIF.js +4 -0
  45. package/dist/{Index.vue_vue_type_script_setup_true_lang-BYIvYRlg.js → Index.vue_vue_type_script_setup_true_lang-DEJe_SEU.js} +26 -17
  46. package/dist/{Index.vue_vue_type_script_setup_true_lang-uoFDX1Of.js → Index.vue_vue_type_script_setup_true_lang-yNHjfgMT.js} +26 -17
  47. package/dist/{Index.vue_vue_type_style_index_0_lang-DiU6tUKL.js → Index.vue_vue_type_style_index_0_lang-DzZQYPd_.js} +46 -39
  48. package/dist/{Install-D1bxQmez.js → Install-DjEEO5jv.js} +33 -24
  49. package/dist/Int-DCCHJ3Py.js +48 -0
  50. package/dist/List-B0jkK3__.js +80 -0
  51. package/dist/Maintaince-BvSeToFI.js +22 -0
  52. package/dist/{Markdown-Ceg9Ms5R.js → Markdown-DWztB-nd.js} +1 -1
  53. package/dist/{Month-CfB3ZFt4.js → Month-C-O9wmfa.js} +1 -1
  54. package/dist/{Normal-DaCn1qBW.js → Normal-D0jVbV6S.js} +54 -47
  55. package/dist/Paging-DotrJ4K7.js +100 -0
  56. package/dist/QueryApi-BfzWPAaT.js +22 -0
  57. package/dist/{Racebar-DBFWFMO-.js → Racebar-BHxShEk3.js} +45 -38
  58. package/dist/{Radio-CJyl__ew.js → Radio-2lj7_vnv.js} +1 -1
  59. package/dist/Register-Bc6si8eQ.js +203 -0
  60. package/dist/RichText-GzSKa3TU.js +49 -0
  61. package/dist/{SearchFooter-DEoLMe9k.js → SearchFooter-CljN2rfH.js} +1 -1
  62. package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-D1PYRAiE.js → SearchFooter.vue_vue_type_style_index_0_lang-BY7bRgIA.js} +1 -1
  63. package/dist/{SearchForm-BHHmYaCS.js → SearchForm-BVZA2l7U.js} +1 -1
  64. package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BtNkB6f0.js → SearchForm.vue_vue_type_style_index_0_lang-BSs4V4mF.js} +42 -36
  65. package/dist/{Select-C2FBbD52.js → Select-1KvlCVU4.js} +1 -1
  66. package/dist/{Select-DM1c8XBr.js → Select-CocWBLRX.js} +40 -32
  67. package/dist/{Select-Cz2uCsb-.js → Select-D60XT9o-.js} +26 -18
  68. package/dist/{Single-B63Zrug-.js → Single-sr-BkPGL.js} +91 -84
  69. package/dist/{Statistic-0yl1BOUE.js → Statistic-BYcw_PF8.js} +33 -26
  70. package/dist/{Stock-DcJZ8DgI.js → Stock-BKboB1Yy.js} +1 -1
  71. package/dist/{Stock-4iCvNHGj.js → Stock-BfJZJOlp.js} +1 -1
  72. package/dist/{Stock.vue_vue_type_style_index_0_lang-4d1EpJnq.js → Stock.vue_vue_type_style_index_0_lang-BvNVV3nm.js} +29 -22
  73. package/dist/{Switch-N3gJPSk8.js → Switch-aJlpDaFn.js} +1 -1
  74. package/dist/{Table-Cs56tnaN.js → Table-C7utV1zP.js} +69 -61
  75. package/dist/{Table-J3e4-OH2.js → Table-Cb3ebUjd.js} +90 -84
  76. package/dist/Text-BwvQUh3H.js +4 -0
  77. package/dist/Text.vue_vue_type_style_index_0_lang-DKTbR_SE.js +60 -0
  78. package/dist/TextLink-C6iV4AMN.js +67 -0
  79. package/dist/{Textarea-B5AXrlWa.js → Textarea-BMTs6P3r.js} +1 -1
  80. package/dist/Timeline-CbOh5x0N.js +61 -0
  81. package/dist/Tree-BYDeBPz8.js +124 -0
  82. package/dist/{Tree-BdW8K2i6.js → Tree-CJw57RjB.js} +103 -97
  83. package/dist/TreeNode-f5QIDN_8.js +44 -0
  84. package/dist/Update-4MVWAqee.js +72 -0
  85. package/dist/Upload-CZH4eCZj.js +74 -0
  86. package/dist/Upload-DLvv8FP4.js +152 -0
  87. package/dist/UploadApi-BP2K-0bT.js +22 -0
  88. package/dist/{Year-CMlo3zsG.js → Year-MmbPwHcY.js} +1 -1
  89. package/dist/main-Bf4o1iyx.js +8145 -0
  90. package/dist/main.js +114 -92
  91. package/dist/style.css +1 -1
  92. package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
  93. package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
  94. package/dist/vendor-clone-BPtCWdXG.js +134 -0
  95. package/dist/vendor-crypto-js-YOeWQTUw.js +4997 -0
  96. package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
  97. package/dist/vendor-intro.js-DhhZ-dhc.js +1793 -0
  98. package/dist/vendor-moment-h96o7c8I.js +2578 -0
  99. package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
  100. package/dist/vendor-state-local-CEworIRt.js +131 -0
  101. package/dist/vendor-underscore-B0BCaBxV.js +1070 -0
  102. package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
  103. package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
  104. package/dist/vendor-xlsx-js-style-DIFxrP6P.js +11862 -0
  105. package/esm/coms/commons/HaTable.vue.d.ts +3 -0
  106. package/esm/coms/commons/index.d.ts +4 -0
  107. package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
  108. package/esm/coms/partials/Detail.vue.d.ts +1 -1
  109. package/esm/coms/partials/PagingHeader.vue.d.ts +1 -1
  110. package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
  111. package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
  112. package/esm/coms/partials/Update.vue.d.ts +1 -1
  113. package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
  114. package/esm/coms/partials/index.d.ts +1 -135
  115. package/esm/coms/partials/types/DetailProps.d.ts +22 -0
  116. package/esm/coms/partials/types/PagingHeaderProps.d.ts +30 -0
  117. package/esm/{components/controls/index.d.ts → coms/partials/types/PagingRowProps.d.ts} +5 -9
  118. package/esm/coms/partials/types/TreeNodeProps.d.ts +22 -0
  119. package/esm/coms/partials/types/UpdateChildProps.d.ts +22 -0
  120. package/esm/coms/partials/types/UpdateProps.d.ts +22 -0
  121. package/esm/coms/partials/types/index.d.ts +7 -0
  122. package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
  123. package/esm/coms/searches/Daterange.vue.d.ts +1 -1
  124. package/esm/coms/searches/Index.vue.d.ts +1 -1
  125. package/esm/coms/searches/Int.vue.d.ts +1 -1
  126. package/esm/coms/searches/Month.vue.d.ts +1 -1
  127. package/esm/coms/searches/Select.vue.d.ts +1 -1
  128. package/esm/coms/searches/Text.vue.d.ts +1 -1
  129. package/esm/coms/searches/index.d.ts +3 -7
  130. package/esm/{components/searches/index.d.ts → coms/searches/types/SearchProps.d.ts} +4 -1
  131. package/esm/coms/searches/types/index.d.ts +2 -0
  132. package/esm/svcs/AppSvc.d.ts +16 -3
  133. package/esm/svcs/index.d.ts +6 -2
  134. package/package.json +11 -11
  135. package/dist/Autocomplete-DSE7qXaY.js +0 -48
  136. package/dist/Autocomplete-gwIpU0Ap.js +0 -49
  137. package/dist/Callback-C5vXOse3.js +0 -20
  138. package/dist/Cascader-DIwiaPq_.js +0 -80
  139. package/dist/Cascader-DhcIQmz0.js +0 -41
  140. package/dist/Code-EMhF8em7.js +0 -54
  141. package/dist/Code-MpN64VDz.js +0 -4
  142. package/dist/Code-rSRVyC9T.js +0 -36
  143. package/dist/Code.vue_vue_type_style_index_0_lang-P0TnGKPx.js +0 -59
  144. package/dist/Column-CjVMWBjC.js +0 -67
  145. package/dist/Comment-CakkgoNi.js +0 -98
  146. package/dist/Compare-C7v4kOpE.js +0 -26
  147. package/dist/Compare-fM9jPPuu.js +0 -56
  148. package/dist/Copy-CYEJ22tk.js +0 -43
  149. package/dist/Custom-Cig2xWvf.js +0 -47
  150. package/dist/DataImport.vue_vue_type_script_setup_true_lang-5qkPOt4L.js +0 -172
  151. package/dist/Daterange-D_JOuZ8Z.js +0 -57
  152. package/dist/Delete-gFaS3kE9.js +0 -55
  153. package/dist/Detail-B5FvVxu9.js +0 -68
  154. package/dist/Dictionary-Ce3GwIP_.js +0 -55
  155. package/dist/Index-BQHiLvTh.js +0 -4
  156. package/dist/Index-BRmnOaBf.js +0 -4
  157. package/dist/Index-BbbIu4pT.js +0 -168
  158. package/dist/Index-CNiNRbjO.js +0 -70
  159. package/dist/Index-DMei5mlA.js +0 -4
  160. package/dist/Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js +0 -36
  161. package/dist/Int-BaGIs_nk.js +0 -41
  162. package/dist/List-BjQi_wnf.js +0 -72
  163. package/dist/Maintaince-fou9nONX.js +0 -14
  164. package/dist/Paging-C5q8jJUU.js +0 -93
  165. package/dist/QueryApi-DjT4dEyX.js +0 -13
  166. package/dist/Register-IVPcpL6f.js +0 -196
  167. package/dist/RichText-D_JQUWM1.js +0 -41
  168. package/dist/Text-DheLweEH.js +0 -4
  169. package/dist/Text.vue_vue_type_style_index_0_lang-uMGpVMDs.js +0 -52
  170. package/dist/TextLink-CSaLrd5t.js +0 -59
  171. package/dist/Timeline-BhPZJNP4.js +0 -53
  172. package/dist/Tree-Ctq_fSOd.js +0 -117
  173. package/dist/TreeNode-CDItFlDT.js +0 -34
  174. package/dist/Update-K3FS-dz-.js +0 -63
  175. package/dist/Upload-C73uEqps.js +0 -67
  176. package/dist/Upload-DGz1o9dx.js +0 -146
  177. package/dist/UploadApi-Dy7aGZWx.js +0 -13
  178. package/dist/main-CVY9fyTk.js +0 -28912
  179. package/dist/vendor-intro.js-DwWqhM1v.js +0 -1695
  180. package/esm/App.vue.d.ts +0 -2
  181. package/esm/components/business/HaCondition.vue.d.ts +0 -18
  182. package/esm/components/business/HaCrud.vue.d.ts +0 -29
  183. package/esm/components/business/HaDrawer.vue.d.ts +0 -24
  184. package/esm/components/business/HaDriver.vue.d.ts +0 -52
  185. package/esm/components/business/HaFeedback.vue.d.ts +0 -8
  186. package/esm/components/business/HaForm.vue.d.ts +0 -23
  187. package/esm/components/business/HaSwitch.vue.d.ts +0 -24
  188. package/esm/components/business/HaWelcome.vue.d.ts +0 -8
  189. package/esm/components/business/HoCondition.vue.d.ts +0 -18
  190. package/esm/components/business/HoCrud.vue.d.ts +0 -29
  191. package/esm/components/business/HoDrawer.vue.d.ts +0 -24
  192. package/esm/components/business/HoDriver.vue.d.ts +0 -52
  193. package/esm/components/business/HoFeedback.vue.d.ts +0 -8
  194. package/esm/components/business/HoForm.vue.d.ts +0 -23
  195. package/esm/components/business/HoSwitch.vue.d.ts +0 -24
  196. package/esm/components/business/HoWelcome.vue.d.ts +0 -8
  197. package/esm/components/business/index.d.ts +0 -124
  198. package/esm/components/controls/Autocomplete.vue.d.ts +0 -24
  199. package/esm/components/controls/Cascader.vue.d.ts +0 -24
  200. package/esm/components/controls/Checkbox.vue.d.ts +0 -22
  201. package/esm/components/controls/Code.vue.d.ts +0 -24
  202. package/esm/components/controls/Color.vue.d.ts +0 -24
  203. package/esm/components/controls/Compare.vue.d.ts +0 -24
  204. package/esm/components/controls/Date.vue.d.ts +0 -24
  205. package/esm/components/controls/DateRange.vue.d.ts +0 -24
  206. package/esm/components/controls/DateTime.vue.d.ts +0 -24
  207. package/esm/components/controls/DateTimeRange.vue.d.ts +0 -24
  208. package/esm/components/controls/Decimal.vue.d.ts +0 -24
  209. package/esm/components/controls/Email.vue.d.ts +0 -24
  210. package/esm/components/controls/Image.vue.d.ts +0 -2
  211. package/esm/components/controls/Index.vue.d.ts +0 -22
  212. package/esm/components/controls/Int.vue.d.ts +0 -24
  213. package/esm/components/controls/Markdown.vue.d.ts +0 -24
  214. package/esm/components/controls/Month.vue.d.ts +0 -24
  215. package/esm/components/controls/Password.vue.d.ts +0 -24
  216. package/esm/components/controls/Progress.vue.d.ts +0 -24
  217. package/esm/components/controls/Radio.vue.d.ts +0 -24
  218. package/esm/components/controls/Rate.vue.d.ts +0 -24
  219. package/esm/components/controls/RichText.vue.d.ts +0 -22
  220. package/esm/components/controls/Select.vue.d.ts +0 -24
  221. package/esm/components/controls/Switch.vue.d.ts +0 -24
  222. package/esm/components/controls/Text.vue.d.ts +0 -26
  223. package/esm/components/controls/Textarea.vue.d.ts +0 -24
  224. package/esm/components/controls/Time.vue.d.ts +0 -24
  225. package/esm/components/controls/Upload.vue.d.ts +0 -24
  226. package/esm/components/controls/Year.vue.d.ts +0 -24
  227. package/esm/components/headers/Breadcrumb.vue.d.ts +0 -2
  228. package/esm/components/headers/Debugger.vue.d.ts +0 -2
  229. package/esm/components/headers/Hamburger.vue.d.ts +0 -18
  230. package/esm/components/headers/HeaderRight.vue.d.ts +0 -2
  231. package/esm/components/headers/Index.vue.d.ts +0 -6
  232. package/esm/components/headers/Log.vue.d.ts +0 -2
  233. package/esm/components/headers/Logo.vue.d.ts +0 -6
  234. package/esm/components/headers/Refresh.vue.d.ts +0 -6
  235. package/esm/components/headers/Setting.vue.d.ts +0 -8
  236. package/esm/components/headers/index.d.ts +0 -3
  237. package/esm/components/index.d.ts +0 -8
  238. package/esm/components/layouts/Desktop.vue.d.ts +0 -2
  239. package/esm/components/layouts/Index.vue.d.ts +0 -2
  240. package/esm/components/layouts/Side.vue.d.ts +0 -2
  241. package/esm/components/layouts/Top.vue.d.ts +0 -2
  242. package/esm/components/layouts/index.d.ts +0 -7
  243. package/esm/components/lists/Calender.vue.d.ts +0 -2
  244. package/esm/components/lists/Racebar.vue.d.ts +0 -18
  245. package/esm/components/lists/Statistic.vue.d.ts +0 -18
  246. package/esm/components/lists/Stock.vue.d.ts +0 -12
  247. package/esm/components/lists/Timeline.vue.d.ts +0 -12
  248. package/esm/components/lists/Tree.vue.d.ts +0 -26
  249. package/esm/components/lists/index.d.ts +0 -15
  250. package/esm/components/pages/Column.vue.d.ts +0 -22
  251. package/esm/components/pages/Custom.vue.d.ts +0 -25
  252. package/esm/components/pages/Delete.vue.d.ts +0 -20
  253. package/esm/components/pages/Index.vue.d.ts +0 -2
  254. package/esm/components/pages/List.vue.d.ts +0 -24
  255. package/esm/components/pages/Paging.vue.d.ts +0 -24
  256. package/esm/components/pages/Single.vue.d.ts +0 -28
  257. package/esm/components/pages/index.d.ts +0 -146
  258. package/esm/components/pagings/Article.vue.d.ts +0 -27
  259. package/esm/components/pagings/Code.vue.d.ts +0 -12
  260. package/esm/components/pagings/DataExport.vue.d.ts +0 -33
  261. package/esm/components/pagings/DataImport.vue.d.ts +0 -18
  262. package/esm/components/pagings/File.vue.d.ts +0 -12
  263. package/esm/components/pagings/Index.vue.d.ts +0 -33
  264. package/esm/components/pagings/SearchFooter.vue.d.ts +0 -122
  265. package/esm/components/pagings/SearchForm.vue.d.ts +0 -72
  266. package/esm/components/pagings/Table.vue.d.ts +0 -31
  267. package/esm/components/pagings/index.d.ts +0 -11
  268. package/esm/components/partials/ArticleFooter.vue.d.ts +0 -24
  269. package/esm/components/partials/Detail.vue.d.ts +0 -20
  270. package/esm/components/partials/PagingHeader.vue.d.ts +0 -28
  271. package/esm/components/partials/PagingRow.vue.d.ts +0 -24
  272. package/esm/components/partials/TreeNode.vue.d.ts +0 -12
  273. package/esm/components/partials/Update.vue.d.ts +0 -20
  274. package/esm/components/partials/UpdateChild.vue.d.ts +0 -22
  275. package/esm/components/partials/index.d.ts +0 -135
  276. package/esm/components/searches/Autocomplete.vue.d.ts +0 -24
  277. package/esm/components/searches/Daterange.vue.d.ts +0 -22
  278. package/esm/components/searches/Index.vue.d.ts +0 -18
  279. package/esm/components/searches/Int.vue.d.ts +0 -24
  280. package/esm/components/searches/Month.vue.d.ts +0 -24
  281. package/esm/components/searches/Select.vue.d.ts +0 -24
  282. package/esm/components/searches/Text.vue.d.ts +0 -24
  283. package/esm/components/singles/Code.vue.d.ts +0 -18
  284. package/esm/components/singles/Comment.vue.d.ts +0 -12
  285. package/esm/components/singles/Index.vue.d.ts +0 -25
  286. package/esm/components/singles/Normal.vue.d.ts +0 -21
  287. package/esm/components/singles/Statistic.vue.d.ts +0 -12
  288. package/esm/components/singles/Stock.vue.d.ts +0 -12
  289. package/esm/components/singles/Table.vue.d.ts +0 -22
  290. package/esm/components/singles/Tree.vue.d.ts +0 -14
  291. package/esm/components/singles/Tree_Old.vue.d.ts +0 -2
  292. package/esm/components/singles/index.d.ts +0 -15
  293. package/esm/components/texts/Autocomplete.vue.d.ts +0 -16
  294. package/esm/components/texts/CSharp.vue.d.ts +0 -16
  295. package/esm/components/texts/Cascader.vue.d.ts +0 -22
  296. package/esm/components/texts/Checkbox.vue.d.ts +0 -16
  297. package/esm/components/texts/Code.vue.d.ts +0 -16
  298. package/esm/components/texts/Color.vue.d.ts +0 -16
  299. package/esm/components/texts/Compare.vue.d.ts +0 -16
  300. package/esm/components/texts/Copy.vue.d.ts +0 -24
  301. package/esm/components/texts/Date.vue.d.ts +0 -16
  302. package/esm/components/texts/DateRange.vue.d.ts +0 -16
  303. package/esm/components/texts/DateTime.vue.d.ts +0 -16
  304. package/esm/components/texts/Decimal.vue.d.ts +0 -16
  305. package/esm/components/texts/Dictionary.vue.d.ts +0 -24
  306. package/esm/components/texts/Email.vue.d.ts +0 -16
  307. package/esm/components/texts/Index.vue.d.ts +0 -22
  308. package/esm/components/texts/Int.vue.d.ts +0 -16
  309. package/esm/components/texts/Markdown.vue.d.ts +0 -16
  310. package/esm/components/texts/Month.vue.d.ts +0 -16
  311. package/esm/components/texts/Password.vue.d.ts +0 -16
  312. package/esm/components/texts/Progress.vue.d.ts +0 -16
  313. package/esm/components/texts/Radio.vue.d.ts +0 -16
  314. package/esm/components/texts/Rate.vue.d.ts +0 -24
  315. package/esm/components/texts/RichText.vue.d.ts +0 -16
  316. package/esm/components/texts/Select.vue.d.ts +0 -16
  317. package/esm/components/texts/Switch.vue.d.ts +0 -16
  318. package/esm/components/texts/Text.vue.d.ts +0 -16
  319. package/esm/components/texts/TextLink.vue.d.ts +0 -29
  320. package/esm/components/texts/Textarea.vue.d.ts +0 -16
  321. package/esm/components/texts/Upload.vue.d.ts +0 -16
  322. package/esm/components/texts/Year.vue.d.ts +0 -16
  323. package/esm/drivers/IDriver.d.ts +0 -10
  324. package/esm/drivers/cdns/Cdn.d.ts +0 -14
  325. package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
  326. package/esm/drivers/cdns/ICdn.d.ts +0 -34
  327. package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
  328. package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
  329. package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -12
  330. package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
  331. package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
  332. package/esm/drivers/cdns/index.d.ts +0 -0
  333. package/esm/drivers/driver-helper.d.ts +0 -46
  334. package/esm/drivers/encoders/Encoder.d.ts +0 -11
  335. package/esm/drivers/encoders/EncoderFactory.d.ts +0 -16
  336. package/esm/drivers/encoders/IEncoder.d.ts +0 -22
  337. package/esm/drivers/encoders/implement/Base64Encoder.d.ts +0 -11
  338. package/esm/drivers/encoders/index.d.ts +0 -0
  339. package/esm/drivers/excels/ExcelFactory.d.ts +0 -11
  340. package/esm/drivers/excels/IExcel.d.ts +0 -18
  341. package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -10
  342. package/esm/drivers/excels/index.d.ts +0 -2
  343. package/esm/drivers/explainers/Explainer.d.ts +0 -4
  344. package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -1
  345. package/esm/drivers/explainers/IExplainer.d.ts +0 -3
  346. package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -4
  347. package/esm/drivers/explainers/index.d.ts +0 -0
  348. package/esm/drivers/features/FeatureFactory.d.ts +0 -11
  349. package/esm/drivers/features/IFeature.d.ts +0 -23
  350. package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -12
  351. package/esm/drivers/features/implements/I18NFeature.d.ts +0 -12
  352. package/esm/drivers/features/implements/SortFeature.d.ts +0 -13
  353. package/esm/drivers/features/index.d.ts +0 -2
  354. package/esm/drivers/hashers/Hasher.d.ts +0 -10
  355. package/esm/drivers/hashers/HasherFactory.d.ts +0 -13
  356. package/esm/drivers/hashers/IHasher.d.ts +0 -19
  357. package/esm/drivers/hashers/implement/Md5Hasher.d.ts +0 -10
  358. package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +0 -10
  359. package/esm/drivers/hashers/index.d.ts +0 -2
  360. package/esm/drivers/index.d.ts +0 -9
  361. package/esm/drivers/providers/IProvider.d.ts +0 -47
  362. package/esm/drivers/providers/ProviderFactory.d.ts +0 -11
  363. package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -55
  364. package/esm/drivers/providers/index.d.ts +0 -2
  365. package/esm/drivers/requesters/IRequester.d.ts +0 -20
  366. package/esm/drivers/requesters/Requester.d.ts +0 -12
  367. package/esm/drivers/requesters/RequesterFactory.d.ts +0 -18
  368. package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -34
  369. package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
  370. package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -12
  371. package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -40
  372. package/esm/drivers/requesters/index.d.ts +0 -5
  373. package/esm/drivers/signers/ISigner.d.ts +0 -33
  374. package/esm/drivers/signers/SignerFactory.d.ts +0 -11
  375. package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -18
  376. package/esm/drivers/signers/index.d.ts +0 -2
  377. package/esm/drivers/ssos/ISso.d.ts +0 -41
  378. package/esm/drivers/ssos/SsoFactory.d.ts +0 -11
  379. package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -18
  380. package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -22
  381. package/esm/drivers/ssos/implements/NioSso.d.ts +0 -23
  382. package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -18
  383. package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -20
  384. package/esm/drivers/ssos/index.d.ts +0 -2
  385. package/esm/plugins/PcMessager.d.ts +0 -35
  386. package/esm/sdks/commons/HaCaptcha.vue.d.ts +0 -14
  387. package/esm/sdks/commons/HaCode.vue.d.ts +0 -40
  388. package/esm/sdks/commons/HaCol.vue.d.ts +0 -9
  389. package/esm/sdks/commons/HaCompare.vue.d.ts +0 -40
  390. package/esm/sdks/commons/HaContainer.vue.d.ts +0 -21
  391. package/esm/sdks/commons/HaDebug.vue.d.ts +0 -9
  392. package/esm/sdks/commons/HaEditable.vue.d.ts +0 -13
  393. package/esm/sdks/commons/HaEmpty.vue.d.ts +0 -24
  394. package/esm/sdks/commons/HaLoading.vue.d.ts +0 -33
  395. package/esm/sdks/commons/HaMouseContext.vue.d.ts +0 -2
  396. package/esm/sdks/commons/HaParticles.vue.d.ts +0 -2
  397. package/esm/sdks/commons/HaProgress.vue.d.ts +0 -8
  398. package/esm/sdks/commons/HaResizer.vue.d.ts +0 -26
  399. package/esm/sdks/commons/HaRow.vue.d.ts +0 -19
  400. package/esm/sdks/commons/HaSpinner.vue.d.ts +0 -20
  401. package/esm/sdks/commons/HaTable.vue.d.ts +0 -34
  402. package/esm/sdks/commons/HaTableColumn.vue.d.ts +0 -31
  403. package/esm/sdks/commons/HoCaptcha.vue.d.ts +0 -14
  404. package/esm/sdks/commons/HoCode.vue.d.ts +0 -39
  405. package/esm/sdks/commons/HoCol.vue.d.ts +0 -9
  406. package/esm/sdks/commons/HoCompare.vue.d.ts +0 -40
  407. package/esm/sdks/commons/HoContainer.vue.d.ts +0 -21
  408. package/esm/sdks/commons/HoDebug.vue.d.ts +0 -9
  409. package/esm/sdks/commons/HoEditable.vue.d.ts +0 -13
  410. package/esm/sdks/commons/HoEmpty.vue.d.ts +0 -24
  411. package/esm/sdks/commons/HoLoading.vue.d.ts +0 -33
  412. package/esm/sdks/commons/HoMouseContext.vue.d.ts +0 -2
  413. package/esm/sdks/commons/HoParticles.vue.d.ts +0 -2
  414. package/esm/sdks/commons/HoProgress.vue.d.ts +0 -8
  415. package/esm/sdks/commons/HoResizer.vue.d.ts +0 -26
  416. package/esm/sdks/commons/HoRow.vue.d.ts +0 -19
  417. package/esm/sdks/commons/HoSpinner.vue.d.ts +0 -20
  418. package/esm/sdks/commons/HoTable.vue.d.ts +0 -34
  419. package/esm/sdks/commons/HoTableColumn.vue.d.ts +0 -31
  420. package/esm/sdks/commons/index.d.ts +0 -90
  421. package/esm/sdks/globals/HaHeaderTab.vue.d.ts +0 -19
  422. package/esm/sdks/globals/HaHeaderTabs.vue.d.ts +0 -17
  423. package/esm/sdks/globals/HaMenu.vue.d.ts +0 -77
  424. package/esm/sdks/globals/HaMenuItem.vue.d.ts +0 -76
  425. package/esm/sdks/globals/HaMissComponent.vue.d.ts +0 -9
  426. package/esm/sdks/globals/HaSideTab.vue.d.ts +0 -21
  427. package/esm/sdks/globals/HaSideTabs.vue.d.ts +0 -17
  428. package/esm/sdks/globals/HaWindow.vue.d.ts +0 -66
  429. package/esm/sdks/globals/HoHeaderTab.vue.d.ts +0 -19
  430. package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +0 -17
  431. package/esm/sdks/globals/HoMenu.vue.d.ts +0 -77
  432. package/esm/sdks/globals/HoMenuItem.vue.d.ts +0 -76
  433. package/esm/sdks/globals/HoMissComponent.vue.d.ts +0 -9
  434. package/esm/sdks/globals/HoSideTab.vue.d.ts +0 -21
  435. package/esm/sdks/globals/HoSideTabs.vue.d.ts +0 -17
  436. package/esm/sdks/globals/HoWindow.vue.d.ts +0 -66
  437. package/esm/sdks/globals/index.d.ts +0 -66
  438. package/esm/sdks/helpers/array-helper.d.ts +0 -97
  439. package/esm/sdks/helpers/component-helper.d.ts +0 -10
  440. package/esm/sdks/helpers/cookie-helper.d.ts +0 -6
  441. package/esm/sdks/helpers/dictionary-helper.d.ts +0 -18
  442. package/esm/sdks/helpers/dom-helper.d.ts +0 -74
  443. package/esm/sdks/helpers/encrypt-helper.d.ts +0 -18
  444. package/esm/sdks/helpers/event-helper.d.ts +0 -30
  445. package/esm/sdks/helpers/file-helper.d.ts +0 -22
  446. package/esm/sdks/helpers/html-helper.d.ts +0 -10
  447. package/esm/sdks/helpers/i18n-helper.d.ts +0 -14
  448. package/esm/sdks/helpers/image-helper.d.ts +0 -10
  449. package/esm/sdks/helpers/index.d.ts +0 -26
  450. package/esm/sdks/helpers/json-helper.d.ts +0 -31
  451. package/esm/sdks/helpers/math-helper.d.ts +0 -42
  452. package/esm/sdks/helpers/micro-helper.d.ts +0 -10
  453. package/esm/sdks/helpers/mount-helper.d.ts +0 -14
  454. package/esm/sdks/helpers/object-helper.d.ts +0 -34
  455. package/esm/sdks/helpers/script-helper.d.ts +0 -31
  456. package/esm/sdks/helpers/scroll-helper.d.ts +0 -14
  457. package/esm/sdks/helpers/sign-helper.d.ts +0 -14
  458. package/esm/sdks/helpers/storage-helper.d.ts +0 -34
  459. package/esm/sdks/helpers/string-helper.d.ts +0 -94
  460. package/esm/sdks/helpers/task-helper.d.ts +0 -26
  461. package/esm/sdks/helpers/time-helper.d.ts +0 -62
  462. package/esm/sdks/helpers/tree-helper.d.ts +0 -54
  463. package/esm/sdks/helpers/type-helper.d.ts +0 -26
  464. package/esm/sdks/helpers/url-helper.d.ts +0 -96
  465. package/esm/sdks/index.d.ts +0 -7
  466. package/esm/sdks/panels/HaGroup.vue.d.ts +0 -9
  467. package/esm/sdks/panels/HaHeader.vue.d.ts +0 -16
  468. package/esm/sdks/panels/HaOperation.vue.d.ts +0 -22
  469. package/esm/sdks/panels/HaPanel.vue.d.ts +0 -30
  470. package/esm/sdks/panels/HaShrink.vue.d.ts +0 -48
  471. package/esm/sdks/panels/HoGroup.vue.d.ts +0 -9
  472. package/esm/sdks/panels/HoHeader.vue.d.ts +0 -16
  473. package/esm/sdks/panels/HoOperation.vue.d.ts +0 -22
  474. package/esm/sdks/panels/HoPanel.vue.d.ts +0 -30
  475. package/esm/sdks/panels/HoShrink.vue.d.ts +0 -48
  476. package/esm/sdks/panels/index.d.ts +0 -13
  477. package/esm/sdks/stores/index.d.ts +0 -2
  478. package/esm/sdks/stores/window.d.ts +0 -25
  479. package/esm/sdks/thirds/index.d.ts +0 -8
  480. package/esm/sdks/utilities/AffixUtility.d.ts +0 -9
  481. package/esm/sdks/utilities/EventUtility.d.ts +0 -30
  482. package/esm/sdks/utilities/KeyboardUtility.d.ts +0 -73
  483. package/esm/sdks/utilities/MouseUtility.d.ts +0 -24
  484. package/esm/sdks/utilities/index.d.ts +0 -4
  485. package/esm/services/ComponentService.d.ts +0 -18
  486. package/esm/services/ControlService.d.ts +0 -42
  487. package/esm/services/HttpService.d.ts +0 -22
  488. package/esm/services/MessageService.d.ts +0 -34
  489. package/esm/services/PageService.d.ts +0 -38
  490. package/esm/services/SettingService.d.ts +0 -5
  491. package/esm/services/StandardService.d.ts +0 -34
  492. package/esm/services/UploadService.d.ts +0 -10
  493. package/esm/services/index.d.ts +0 -9
  494. package/esm/servs/AppServ.d.ts +0 -36
  495. package/esm/servs/ComponentServ.d.ts +0 -35
  496. package/esm/servs/ControlServ.d.ts +0 -42
  497. package/esm/servs/I18nServ.d.ts +0 -79
  498. package/esm/servs/LayoutServ.d.ts +0 -18
  499. package/esm/servs/PageServ.d.ts +0 -38
  500. package/esm/servs/RouterServ.d.ts +0 -23
  501. package/esm/servs/StandardServ.d.ts +0 -34
  502. package/esm/servs/UploadServ.d.ts +0 -10
  503. package/esm/servs/WindowServ.d.ts +0 -27
  504. package/esm/servs/index.d.ts +0 -17
  505. package/esm/stores/app.d.ts +0 -44
  506. package/esm/stores/component.d.ts +0 -30
  507. package/esm/stores/config.d.ts +0 -55
  508. package/esm/stores/driver.d.ts +0 -37
  509. package/esm/stores/i18n.d.ts +0 -67
  510. package/esm/stores/index.d.ts +0 -12
  511. package/esm/stores/layout.d.ts +0 -13
  512. package/esm/stores/log.d.ts +0 -20
  513. package/esm/stores/router.d.ts +0 -20
  514. package/esm/stores/setting.d.ts +0 -43
  515. package/esm/stores/socket.d.ts +0 -27
  516. package/esm/stores/user.d.ts +0 -40
@@ -0,0 +1,148 @@
1
+ var y = {}, x;
2
+ function S() {
3
+ return x || (x = 1, function(k) {
4
+ (function() {
5
+ var i = {
6
+ not_string: /[^s]/,
7
+ not_bool: /[^t]/,
8
+ not_type: /[^T]/,
9
+ not_primitive: /[^v]/,
10
+ number: /[diefg]/,
11
+ numeric_arg: /[bcdiefguxX]/,
12
+ json: /[j]/,
13
+ not_json: /[^j]/,
14
+ text: /^[^\x25]+/,
15
+ modulo: /^\x25{2}/,
16
+ placeholder: /^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,
17
+ key: /^([a-z_][a-z_\d]*)/i,
18
+ key_access: /^\.([a-z_][a-z_\d]*)/i,
19
+ index_access: /^\[(\d+)\]/,
20
+ sign: /^[+-]/
21
+ };
22
+ function f(t) {
23
+ return _(v(t), arguments);
24
+ }
25
+ function w(t, o) {
26
+ return f.apply(null, [t].concat(o || []));
27
+ }
28
+ function _(t, o) {
29
+ var n = 1, c = t.length, e, p = "", a, s, r, l, d, h, b, u;
30
+ for (a = 0; a < c; a++)
31
+ if (typeof t[a] == "string")
32
+ p += t[a];
33
+ else if (typeof t[a] == "object") {
34
+ if (r = t[a], r.keys)
35
+ for (e = o[n], s = 0; s < r.keys.length; s++) {
36
+ if (e == null)
37
+ throw new Error(f('[sprintf] Cannot access property "%s" of undefined value "%s"', r.keys[s], r.keys[s - 1]));
38
+ e = e[r.keys[s]];
39
+ }
40
+ else r.param_no ? e = o[r.param_no] : e = o[n++];
41
+ if (i.not_type.test(r.type) && i.not_primitive.test(r.type) && e instanceof Function && (e = e()), i.numeric_arg.test(r.type) && typeof e != "number" && isNaN(e))
42
+ throw new TypeError(f("[sprintf] expecting number but found %T", e));
43
+ switch (i.number.test(r.type) && (b = e >= 0), r.type) {
44
+ case "b":
45
+ e = parseInt(e, 10).toString(2);
46
+ break;
47
+ case "c":
48
+ e = String.fromCharCode(parseInt(e, 10));
49
+ break;
50
+ case "d":
51
+ case "i":
52
+ e = parseInt(e, 10);
53
+ break;
54
+ case "j":
55
+ e = JSON.stringify(e, null, r.width ? parseInt(r.width) : 0);
56
+ break;
57
+ case "e":
58
+ e = r.precision ? parseFloat(e).toExponential(r.precision) : parseFloat(e).toExponential();
59
+ break;
60
+ case "f":
61
+ e = r.precision ? parseFloat(e).toFixed(r.precision) : parseFloat(e);
62
+ break;
63
+ case "g":
64
+ e = r.precision ? String(Number(e.toPrecision(r.precision))) : parseFloat(e);
65
+ break;
66
+ case "o":
67
+ e = (parseInt(e, 10) >>> 0).toString(8);
68
+ break;
69
+ case "s":
70
+ e = String(e), e = r.precision ? e.substring(0, r.precision) : e;
71
+ break;
72
+ case "t":
73
+ e = String(!!e), e = r.precision ? e.substring(0, r.precision) : e;
74
+ break;
75
+ case "T":
76
+ e = Object.prototype.toString.call(e).slice(8, -1).toLowerCase(), e = r.precision ? e.substring(0, r.precision) : e;
77
+ break;
78
+ case "u":
79
+ e = parseInt(e, 10) >>> 0;
80
+ break;
81
+ case "v":
82
+ e = e.valueOf(), e = r.precision ? e.substring(0, r.precision) : e;
83
+ break;
84
+ case "x":
85
+ e = (parseInt(e, 10) >>> 0).toString(16);
86
+ break;
87
+ case "X":
88
+ e = (parseInt(e, 10) >>> 0).toString(16).toUpperCase();
89
+ break;
90
+ }
91
+ i.json.test(r.type) ? p += e : (i.number.test(r.type) && (!b || r.sign) ? (u = b ? "+" : "-", e = e.toString().replace(i.sign, "")) : u = "", d = r.pad_char ? r.pad_char === "0" ? "0" : r.pad_char.charAt(1) : " ", h = r.width - (u + e).length, l = r.width && h > 0 ? d.repeat(h) : "", p += r.align ? u + e + l : d === "0" ? u + l + e : l + u + e);
92
+ }
93
+ return p;
94
+ }
95
+ var g = /* @__PURE__ */ Object.create(null);
96
+ function v(t) {
97
+ if (g[t])
98
+ return g[t];
99
+ for (var o = t, n, c = [], e = 0; o; ) {
100
+ if ((n = i.text.exec(o)) !== null)
101
+ c.push(n[0]);
102
+ else if ((n = i.modulo.exec(o)) !== null)
103
+ c.push("%");
104
+ else if ((n = i.placeholder.exec(o)) !== null) {
105
+ if (n[2]) {
106
+ e |= 1;
107
+ var p = [], a = n[2], s = [];
108
+ if ((s = i.key.exec(a)) !== null)
109
+ for (p.push(s[1]); (a = a.substring(s[0].length)) !== ""; )
110
+ if ((s = i.key_access.exec(a)) !== null)
111
+ p.push(s[1]);
112
+ else if ((s = i.index_access.exec(a)) !== null)
113
+ p.push(s[1]);
114
+ else
115
+ throw new SyntaxError("[sprintf] failed to parse named argument key");
116
+ else
117
+ throw new SyntaxError("[sprintf] failed to parse named argument key");
118
+ n[2] = p;
119
+ } else
120
+ e |= 2;
121
+ if (e === 3)
122
+ throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");
123
+ c.push(
124
+ {
125
+ placeholder: n[0],
126
+ param_no: n[1],
127
+ keys: n[2],
128
+ sign: n[3],
129
+ pad_char: n[4],
130
+ align: n[5],
131
+ width: n[6],
132
+ precision: n[7],
133
+ type: n[8]
134
+ }
135
+ );
136
+ } else
137
+ throw new SyntaxError("[sprintf] unexpected placeholder");
138
+ o = o.substring(n[0].length);
139
+ }
140
+ return g[t] = c;
141
+ }
142
+ k.sprintf = f, k.vsprintf = w, typeof window < "u" && (window.sprintf = f, window.vsprintf = w);
143
+ })();
144
+ }(y)), y;
145
+ }
146
+ export {
147
+ S as r
148
+ };
@@ -0,0 +1,131 @@
1
+ function O(e, t, n) {
2
+ return t in e ? Object.defineProperty(e, t, {
3
+ value: n,
4
+ enumerable: !0,
5
+ configurable: !0,
6
+ writable: !0
7
+ }) : e[t] = n, e;
8
+ }
9
+ function g(e, t) {
10
+ var n = Object.keys(e);
11
+ if (Object.getOwnPropertySymbols) {
12
+ var r = Object.getOwnPropertySymbols(e);
13
+ t && (r = r.filter(function(i) {
14
+ return Object.getOwnPropertyDescriptor(e, i).enumerable;
15
+ })), n.push.apply(n, r);
16
+ }
17
+ return n;
18
+ }
19
+ function v(e) {
20
+ for (var t = 1; t < arguments.length; t++) {
21
+ var n = arguments[t] != null ? arguments[t] : {};
22
+ t % 2 ? g(Object(n), !0).forEach(function(r) {
23
+ O(e, r, n[r]);
24
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach(function(r) {
25
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
26
+ });
27
+ }
28
+ return e;
29
+ }
30
+ function y() {
31
+ for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
32
+ t[n] = arguments[n];
33
+ return function(r) {
34
+ return t.reduceRight(function(i, a) {
35
+ return a(i);
36
+ }, r);
37
+ };
38
+ }
39
+ function c(e) {
40
+ return function t() {
41
+ for (var n = this, r = arguments.length, i = new Array(r), a = 0; a < r; a++)
42
+ i[a] = arguments[a];
43
+ return i.length >= e.length ? e.apply(this, i) : function() {
44
+ for (var f = arguments.length, s = new Array(f), o = 0; o < f; o++)
45
+ s[o] = arguments[o];
46
+ return t.apply(n, [].concat(i, s));
47
+ };
48
+ };
49
+ }
50
+ function h(e) {
51
+ return {}.toString.call(e).includes("Object");
52
+ }
53
+ function m(e) {
54
+ return !Object.keys(e).length;
55
+ }
56
+ function l(e) {
57
+ return typeof e == "function";
58
+ }
59
+ function j(e, t) {
60
+ return Object.prototype.hasOwnProperty.call(e, t);
61
+ }
62
+ function w(e, t) {
63
+ return h(t) || u("changeType"), Object.keys(t).some(function(n) {
64
+ return !j(e, n);
65
+ }) && u("changeField"), t;
66
+ }
67
+ function P(e) {
68
+ l(e) || u("selectorType");
69
+ }
70
+ function T(e) {
71
+ l(e) || h(e) || u("handlerType"), h(e) && Object.values(e).some(function(t) {
72
+ return !l(t);
73
+ }) && u("handlersType");
74
+ }
75
+ function S(e) {
76
+ e || u("initialIsRequired"), h(e) || u("initialType"), m(e) && u("initialContent");
77
+ }
78
+ function E(e, t) {
79
+ throw new Error(e[t] || e.default);
80
+ }
81
+ var D = {
82
+ initialIsRequired: "initial state is required",
83
+ initialType: "initial state should be an object",
84
+ initialContent: "initial state shouldn't be an empty object",
85
+ handlerType: "handler should be an object or a function",
86
+ handlersType: "all handlers should be a functions",
87
+ selectorType: "selector should be a function",
88
+ changeType: "provided value of changes should be an object",
89
+ changeField: 'it seams you want to change a field in the state which is not specified in the "initial" state',
90
+ default: "an unknown error accured in `state-local` package"
91
+ }, u = c(E)(D), p = {
92
+ changes: w,
93
+ selector: P,
94
+ handler: T,
95
+ initial: S
96
+ };
97
+ function q(e) {
98
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
99
+ p.initial(e), p.handler(t);
100
+ var n = {
101
+ current: e
102
+ }, r = c(I)(n, t), i = c(F)(n), a = c(p.changes)(e), f = c(C)(n);
103
+ function s() {
104
+ var d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(b) {
105
+ return b;
106
+ };
107
+ return p.selector(d), d(n.current);
108
+ }
109
+ function o(d) {
110
+ y(r, i, a, f)(d);
111
+ }
112
+ return [s, o];
113
+ }
114
+ function C(e, t) {
115
+ return l(t) ? t(e.current) : t;
116
+ }
117
+ function F(e, t) {
118
+ return e.current = v(v({}, e.current), t), t;
119
+ }
120
+ function I(e, t, n) {
121
+ return l(t) ? t(e.current) : Object.keys(n).forEach(function(r) {
122
+ var i;
123
+ return (i = t[r]) === null || i === void 0 ? void 0 : i.call(t, e.current[r]);
124
+ }), n;
125
+ }
126
+ var R = {
127
+ create: q
128
+ };
129
+ export {
130
+ R as i
131
+ };