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.
- package/dist/{Article-CiVdO1Ui.js → Article-DDHiBRRG.js} +69 -62
- package/dist/{Autocomplete-TVE3ZXGj.js → Autocomplete-Bh4HQ3-C.js} +1 -1
- package/dist/Autocomplete-BljowPIG.js +56 -0
- package/dist/Autocomplete-d0MR8Xx2.js +55 -0
- package/dist/{CSharp-ZvsrI2tS.js → CSharp--lmNVuOo.js} +1 -1
- package/dist/{Calender-BN1Qici-.js → Calender-CvqWvZsn.js} +1 -1
- package/dist/Callback-BrvO3W91.js +28 -0
- package/dist/Cascader-DIvprKCI.js +88 -0
- package/dist/Cascader-OM7zmX3M.js +49 -0
- package/dist/{Checkbox-DPVFKvtd.js → Checkbox-BJdqPlkr.js} +1 -1
- package/dist/Code-BACLmk2L.js +62 -0
- package/dist/Code-DNa70Dop.js +44 -0
- package/dist/Code-Du9XlTYj.js +4 -0
- package/dist/{Code-C-Xxwb29.js → Code-xVaG8AiI.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-FEJ6tUQl.js +67 -0
- package/dist/Column-DpxOF0y2.js +76 -0
- package/dist/Comment-CnA1hoQR.js +106 -0
- package/dist/Compare-cMfhy2tY.js +34 -0
- package/dist/Compare-i-c4cpHb.js +64 -0
- package/dist/Copy-Ccio6WhB.js +51 -0
- package/dist/Custom-d7B0U9LW.js +55 -0
- package/dist/{DataExport-D6d04miG.js → DataExport-D9qNEXNc.js} +1 -1
- 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
- package/dist/{DataImport-CceWCzes.js → DataImport-IlCpp9MO.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-ByaDXp9z.js +178 -0
- package/dist/{Date-Ddu6Um1a.js → Date-BzTn9eRY.js} +1 -1
- package/dist/{DateRange-DLCMlMSG.js → DateRange-TLadnU8z.js} +24 -16
- package/dist/{DateTime-Bdvr9_wj.js → DateTime-ZXRmiyVk.js} +1 -1
- package/dist/{DateTimeRange-DPWqS1Es.js → DateTimeRange-WV8dpf1A.js} +18 -10
- package/dist/Daterange-Xx9aigH9.js +65 -0
- package/dist/{Decimal-D4atkIK7.js → Decimal-d9D3AKgJ.js} +1 -1
- package/dist/Delete-C1lDzul8.js +63 -0
- package/dist/Detail-DwkywBpF.js +77 -0
- package/dist/Dictionary-41lPMLYE.js +61 -0
- package/dist/{File-B2lndVjU.js → File-CdfGLpx0.js} +54 -45
- package/dist/{Image-CrvP5qms.js → Image-j_l1rTVS.js} +1 -1
- package/dist/Index-BJcvZpAZ.js +180 -0
- package/dist/Index-CRW3fKQm.js +4 -0
- package/dist/{Index-C_HCipwv.js → Index-Cgn9c90j.js} +1 -1
- package/dist/Index-DDYN0PN6.js +77 -0
- package/dist/{Index-DNZBSOK6.js → Index-Dls8FIg_.js} +1 -1
- package/dist/Index-DyDnI3Eh.js +4 -0
- package/dist/{Index-BaLKJJ75.js → Index-DzobZNQl.js} +1 -1
- package/dist/Index-p6jrekIF.js +4 -0
- 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
- package/dist/{Index.vue_vue_type_script_setup_true_lang-uoFDX1Of.js → Index.vue_vue_type_script_setup_true_lang-yNHjfgMT.js} +26 -17
- package/dist/{Index.vue_vue_type_style_index_0_lang-DiU6tUKL.js → Index.vue_vue_type_style_index_0_lang-DzZQYPd_.js} +46 -39
- package/dist/{Install-D1bxQmez.js → Install-DjEEO5jv.js} +33 -24
- package/dist/Int-DCCHJ3Py.js +48 -0
- package/dist/List-B0jkK3__.js +80 -0
- package/dist/Maintaince-BvSeToFI.js +22 -0
- package/dist/{Markdown-Ceg9Ms5R.js → Markdown-DWztB-nd.js} +1 -1
- package/dist/{Month-CfB3ZFt4.js → Month-C-O9wmfa.js} +1 -1
- package/dist/{Normal-DaCn1qBW.js → Normal-D0jVbV6S.js} +54 -47
- package/dist/Paging-DotrJ4K7.js +100 -0
- package/dist/QueryApi-BfzWPAaT.js +22 -0
- package/dist/{Racebar-DBFWFMO-.js → Racebar-BHxShEk3.js} +45 -38
- package/dist/{Radio-CJyl__ew.js → Radio-2lj7_vnv.js} +1 -1
- package/dist/Register-Bc6si8eQ.js +203 -0
- package/dist/RichText-GzSKa3TU.js +49 -0
- package/dist/{SearchFooter-DEoLMe9k.js → SearchFooter-CljN2rfH.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-D1PYRAiE.js → SearchFooter.vue_vue_type_style_index_0_lang-BY7bRgIA.js} +1 -1
- package/dist/{SearchForm-BHHmYaCS.js → SearchForm-BVZA2l7U.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BtNkB6f0.js → SearchForm.vue_vue_type_style_index_0_lang-BSs4V4mF.js} +42 -36
- package/dist/{Select-C2FBbD52.js → Select-1KvlCVU4.js} +1 -1
- package/dist/{Select-DM1c8XBr.js → Select-CocWBLRX.js} +40 -32
- package/dist/{Select-Cz2uCsb-.js → Select-D60XT9o-.js} +26 -18
- package/dist/{Single-B63Zrug-.js → Single-sr-BkPGL.js} +91 -84
- package/dist/{Statistic-0yl1BOUE.js → Statistic-BYcw_PF8.js} +33 -26
- package/dist/{Stock-DcJZ8DgI.js → Stock-BKboB1Yy.js} +1 -1
- package/dist/{Stock-4iCvNHGj.js → Stock-BfJZJOlp.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-4d1EpJnq.js → Stock.vue_vue_type_style_index_0_lang-BvNVV3nm.js} +29 -22
- package/dist/{Switch-N3gJPSk8.js → Switch-aJlpDaFn.js} +1 -1
- package/dist/{Table-Cs56tnaN.js → Table-C7utV1zP.js} +69 -61
- package/dist/{Table-J3e4-OH2.js → Table-Cb3ebUjd.js} +90 -84
- package/dist/Text-BwvQUh3H.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-DKTbR_SE.js +60 -0
- package/dist/TextLink-C6iV4AMN.js +67 -0
- package/dist/{Textarea-B5AXrlWa.js → Textarea-BMTs6P3r.js} +1 -1
- package/dist/Timeline-CbOh5x0N.js +61 -0
- package/dist/Tree-BYDeBPz8.js +124 -0
- package/dist/{Tree-BdW8K2i6.js → Tree-CJw57RjB.js} +103 -97
- package/dist/TreeNode-f5QIDN_8.js +44 -0
- package/dist/Update-4MVWAqee.js +72 -0
- package/dist/Upload-CZH4eCZj.js +74 -0
- package/dist/Upload-DLvv8FP4.js +152 -0
- package/dist/UploadApi-BP2K-0bT.js +22 -0
- package/dist/{Year-CMlo3zsG.js → Year-MmbPwHcY.js} +1 -1
- package/dist/main-Bf4o1iyx.js +8145 -0
- package/dist/main.js +114 -92
- package/dist/style.css +1 -1
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +258 -0
- package/dist/{vendor-clipboard-DjQPoCBJ.js → vendor-clipboard-BqjesuiY.js} +130 -110
- package/dist/vendor-clone-BPtCWdXG.js +134 -0
- package/dist/vendor-crypto-js-YOeWQTUw.js +4997 -0
- package/dist/vendor-file-saver-CytTIJ-3.js +74 -0
- package/dist/vendor-intro.js-DhhZ-dhc.js +1793 -0
- package/dist/vendor-moment-h96o7c8I.js +2578 -0
- package/dist/vendor-sprintf-js-BPTdvBYM.js +148 -0
- package/dist/vendor-state-local-CEworIRt.js +131 -0
- package/dist/vendor-underscore-B0BCaBxV.js +1070 -0
- package/dist/vendor-underscore.string-BEHfJwHl.js +425 -0
- package/dist/vendor-util-deprecate-DzpNkCzj.js +28 -0
- package/dist/vendor-xlsx-js-style-DIFxrP6P.js +11862 -0
- package/esm/coms/commons/HaTable.vue.d.ts +3 -0
- package/esm/coms/commons/index.d.ts +4 -0
- package/esm/coms/partials/ArticleFooter.vue.d.ts +1 -1
- package/esm/coms/partials/Detail.vue.d.ts +1 -1
- package/esm/coms/partials/PagingHeader.vue.d.ts +1 -1
- package/esm/coms/partials/PagingRow.vue.d.ts +1 -1
- package/esm/coms/partials/TreeNode.vue.d.ts +1 -1
- package/esm/coms/partials/Update.vue.d.ts +1 -1
- package/esm/coms/partials/UpdateChild.vue.d.ts +1 -1
- package/esm/coms/partials/index.d.ts +1 -135
- package/esm/coms/partials/types/DetailProps.d.ts +22 -0
- package/esm/coms/partials/types/PagingHeaderProps.d.ts +30 -0
- package/esm/{components/controls/index.d.ts → coms/partials/types/PagingRowProps.d.ts} +5 -9
- package/esm/coms/partials/types/TreeNodeProps.d.ts +22 -0
- package/esm/coms/partials/types/UpdateChildProps.d.ts +22 -0
- package/esm/coms/partials/types/UpdateProps.d.ts +22 -0
- package/esm/coms/partials/types/index.d.ts +7 -0
- package/esm/coms/searches/Autocomplete.vue.d.ts +1 -1
- package/esm/coms/searches/Daterange.vue.d.ts +1 -1
- package/esm/coms/searches/Index.vue.d.ts +1 -1
- package/esm/coms/searches/Int.vue.d.ts +1 -1
- package/esm/coms/searches/Month.vue.d.ts +1 -1
- package/esm/coms/searches/Select.vue.d.ts +1 -1
- package/esm/coms/searches/Text.vue.d.ts +1 -1
- package/esm/coms/searches/index.d.ts +3 -7
- package/esm/{components/searches/index.d.ts → coms/searches/types/SearchProps.d.ts} +4 -1
- package/esm/coms/searches/types/index.d.ts +2 -0
- package/esm/svcs/AppSvc.d.ts +16 -3
- package/esm/svcs/index.d.ts +6 -2
- package/package.json +11 -11
- package/dist/Autocomplete-DSE7qXaY.js +0 -48
- package/dist/Autocomplete-gwIpU0Ap.js +0 -49
- package/dist/Callback-C5vXOse3.js +0 -20
- package/dist/Cascader-DIwiaPq_.js +0 -80
- package/dist/Cascader-DhcIQmz0.js +0 -41
- package/dist/Code-EMhF8em7.js +0 -54
- package/dist/Code-MpN64VDz.js +0 -4
- package/dist/Code-rSRVyC9T.js +0 -36
- package/dist/Code.vue_vue_type_style_index_0_lang-P0TnGKPx.js +0 -59
- package/dist/Column-CjVMWBjC.js +0 -67
- package/dist/Comment-CakkgoNi.js +0 -98
- package/dist/Compare-C7v4kOpE.js +0 -26
- package/dist/Compare-fM9jPPuu.js +0 -56
- package/dist/Copy-CYEJ22tk.js +0 -43
- package/dist/Custom-Cig2xWvf.js +0 -47
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-5qkPOt4L.js +0 -172
- package/dist/Daterange-D_JOuZ8Z.js +0 -57
- package/dist/Delete-gFaS3kE9.js +0 -55
- package/dist/Detail-B5FvVxu9.js +0 -68
- package/dist/Dictionary-Ce3GwIP_.js +0 -55
- package/dist/Index-BQHiLvTh.js +0 -4
- package/dist/Index-BRmnOaBf.js +0 -4
- package/dist/Index-BbbIu4pT.js +0 -168
- package/dist/Index-CNiNRbjO.js +0 -70
- package/dist/Index-DMei5mlA.js +0 -4
- package/dist/Index.vue_vue_type_script_setup_true_lang-B-sM48XO.js +0 -36
- package/dist/Int-BaGIs_nk.js +0 -41
- package/dist/List-BjQi_wnf.js +0 -72
- package/dist/Maintaince-fou9nONX.js +0 -14
- package/dist/Paging-C5q8jJUU.js +0 -93
- package/dist/QueryApi-DjT4dEyX.js +0 -13
- package/dist/Register-IVPcpL6f.js +0 -196
- package/dist/RichText-D_JQUWM1.js +0 -41
- package/dist/Text-DheLweEH.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-uMGpVMDs.js +0 -52
- package/dist/TextLink-CSaLrd5t.js +0 -59
- package/dist/Timeline-BhPZJNP4.js +0 -53
- package/dist/Tree-Ctq_fSOd.js +0 -117
- package/dist/TreeNode-CDItFlDT.js +0 -34
- package/dist/Update-K3FS-dz-.js +0 -63
- package/dist/Upload-C73uEqps.js +0 -67
- package/dist/Upload-DGz1o9dx.js +0 -146
- package/dist/UploadApi-Dy7aGZWx.js +0 -13
- package/dist/main-CVY9fyTk.js +0 -28912
- package/dist/vendor-intro.js-DwWqhM1v.js +0 -1695
- package/esm/App.vue.d.ts +0 -2
- package/esm/components/business/HaCondition.vue.d.ts +0 -18
- package/esm/components/business/HaCrud.vue.d.ts +0 -29
- package/esm/components/business/HaDrawer.vue.d.ts +0 -24
- package/esm/components/business/HaDriver.vue.d.ts +0 -52
- package/esm/components/business/HaFeedback.vue.d.ts +0 -8
- package/esm/components/business/HaForm.vue.d.ts +0 -23
- package/esm/components/business/HaSwitch.vue.d.ts +0 -24
- package/esm/components/business/HaWelcome.vue.d.ts +0 -8
- package/esm/components/business/HoCondition.vue.d.ts +0 -18
- package/esm/components/business/HoCrud.vue.d.ts +0 -29
- package/esm/components/business/HoDrawer.vue.d.ts +0 -24
- package/esm/components/business/HoDriver.vue.d.ts +0 -52
- package/esm/components/business/HoFeedback.vue.d.ts +0 -8
- package/esm/components/business/HoForm.vue.d.ts +0 -23
- package/esm/components/business/HoSwitch.vue.d.ts +0 -24
- package/esm/components/business/HoWelcome.vue.d.ts +0 -8
- package/esm/components/business/index.d.ts +0 -124
- package/esm/components/controls/Autocomplete.vue.d.ts +0 -24
- package/esm/components/controls/Cascader.vue.d.ts +0 -24
- package/esm/components/controls/Checkbox.vue.d.ts +0 -22
- package/esm/components/controls/Code.vue.d.ts +0 -24
- package/esm/components/controls/Color.vue.d.ts +0 -24
- package/esm/components/controls/Compare.vue.d.ts +0 -24
- package/esm/components/controls/Date.vue.d.ts +0 -24
- package/esm/components/controls/DateRange.vue.d.ts +0 -24
- package/esm/components/controls/DateTime.vue.d.ts +0 -24
- package/esm/components/controls/DateTimeRange.vue.d.ts +0 -24
- package/esm/components/controls/Decimal.vue.d.ts +0 -24
- package/esm/components/controls/Email.vue.d.ts +0 -24
- package/esm/components/controls/Image.vue.d.ts +0 -2
- package/esm/components/controls/Index.vue.d.ts +0 -22
- package/esm/components/controls/Int.vue.d.ts +0 -24
- package/esm/components/controls/Markdown.vue.d.ts +0 -24
- package/esm/components/controls/Month.vue.d.ts +0 -24
- package/esm/components/controls/Password.vue.d.ts +0 -24
- package/esm/components/controls/Progress.vue.d.ts +0 -24
- package/esm/components/controls/Radio.vue.d.ts +0 -24
- package/esm/components/controls/Rate.vue.d.ts +0 -24
- package/esm/components/controls/RichText.vue.d.ts +0 -22
- package/esm/components/controls/Select.vue.d.ts +0 -24
- package/esm/components/controls/Switch.vue.d.ts +0 -24
- package/esm/components/controls/Text.vue.d.ts +0 -26
- package/esm/components/controls/Textarea.vue.d.ts +0 -24
- package/esm/components/controls/Time.vue.d.ts +0 -24
- package/esm/components/controls/Upload.vue.d.ts +0 -24
- package/esm/components/controls/Year.vue.d.ts +0 -24
- package/esm/components/headers/Breadcrumb.vue.d.ts +0 -2
- package/esm/components/headers/Debugger.vue.d.ts +0 -2
- package/esm/components/headers/Hamburger.vue.d.ts +0 -18
- package/esm/components/headers/HeaderRight.vue.d.ts +0 -2
- package/esm/components/headers/Index.vue.d.ts +0 -6
- package/esm/components/headers/Log.vue.d.ts +0 -2
- package/esm/components/headers/Logo.vue.d.ts +0 -6
- package/esm/components/headers/Refresh.vue.d.ts +0 -6
- package/esm/components/headers/Setting.vue.d.ts +0 -8
- package/esm/components/headers/index.d.ts +0 -3
- package/esm/components/index.d.ts +0 -8
- package/esm/components/layouts/Desktop.vue.d.ts +0 -2
- package/esm/components/layouts/Index.vue.d.ts +0 -2
- package/esm/components/layouts/Side.vue.d.ts +0 -2
- package/esm/components/layouts/Top.vue.d.ts +0 -2
- package/esm/components/layouts/index.d.ts +0 -7
- package/esm/components/lists/Calender.vue.d.ts +0 -2
- package/esm/components/lists/Racebar.vue.d.ts +0 -18
- package/esm/components/lists/Statistic.vue.d.ts +0 -18
- package/esm/components/lists/Stock.vue.d.ts +0 -12
- package/esm/components/lists/Timeline.vue.d.ts +0 -12
- package/esm/components/lists/Tree.vue.d.ts +0 -26
- package/esm/components/lists/index.d.ts +0 -15
- package/esm/components/pages/Column.vue.d.ts +0 -22
- package/esm/components/pages/Custom.vue.d.ts +0 -25
- package/esm/components/pages/Delete.vue.d.ts +0 -20
- package/esm/components/pages/Index.vue.d.ts +0 -2
- package/esm/components/pages/List.vue.d.ts +0 -24
- package/esm/components/pages/Paging.vue.d.ts +0 -24
- package/esm/components/pages/Single.vue.d.ts +0 -28
- package/esm/components/pages/index.d.ts +0 -146
- package/esm/components/pagings/Article.vue.d.ts +0 -27
- package/esm/components/pagings/Code.vue.d.ts +0 -12
- package/esm/components/pagings/DataExport.vue.d.ts +0 -33
- package/esm/components/pagings/DataImport.vue.d.ts +0 -18
- package/esm/components/pagings/File.vue.d.ts +0 -12
- package/esm/components/pagings/Index.vue.d.ts +0 -33
- package/esm/components/pagings/SearchFooter.vue.d.ts +0 -122
- package/esm/components/pagings/SearchForm.vue.d.ts +0 -72
- package/esm/components/pagings/Table.vue.d.ts +0 -31
- package/esm/components/pagings/index.d.ts +0 -11
- package/esm/components/partials/ArticleFooter.vue.d.ts +0 -24
- package/esm/components/partials/Detail.vue.d.ts +0 -20
- package/esm/components/partials/PagingHeader.vue.d.ts +0 -28
- package/esm/components/partials/PagingRow.vue.d.ts +0 -24
- package/esm/components/partials/TreeNode.vue.d.ts +0 -12
- package/esm/components/partials/Update.vue.d.ts +0 -20
- package/esm/components/partials/UpdateChild.vue.d.ts +0 -22
- package/esm/components/partials/index.d.ts +0 -135
- package/esm/components/searches/Autocomplete.vue.d.ts +0 -24
- package/esm/components/searches/Daterange.vue.d.ts +0 -22
- package/esm/components/searches/Index.vue.d.ts +0 -18
- package/esm/components/searches/Int.vue.d.ts +0 -24
- package/esm/components/searches/Month.vue.d.ts +0 -24
- package/esm/components/searches/Select.vue.d.ts +0 -24
- package/esm/components/searches/Text.vue.d.ts +0 -24
- package/esm/components/singles/Code.vue.d.ts +0 -18
- package/esm/components/singles/Comment.vue.d.ts +0 -12
- package/esm/components/singles/Index.vue.d.ts +0 -25
- package/esm/components/singles/Normal.vue.d.ts +0 -21
- package/esm/components/singles/Statistic.vue.d.ts +0 -12
- package/esm/components/singles/Stock.vue.d.ts +0 -12
- package/esm/components/singles/Table.vue.d.ts +0 -22
- package/esm/components/singles/Tree.vue.d.ts +0 -14
- package/esm/components/singles/Tree_Old.vue.d.ts +0 -2
- package/esm/components/singles/index.d.ts +0 -15
- package/esm/components/texts/Autocomplete.vue.d.ts +0 -16
- package/esm/components/texts/CSharp.vue.d.ts +0 -16
- package/esm/components/texts/Cascader.vue.d.ts +0 -22
- package/esm/components/texts/Checkbox.vue.d.ts +0 -16
- package/esm/components/texts/Code.vue.d.ts +0 -16
- package/esm/components/texts/Color.vue.d.ts +0 -16
- package/esm/components/texts/Compare.vue.d.ts +0 -16
- package/esm/components/texts/Copy.vue.d.ts +0 -24
- package/esm/components/texts/Date.vue.d.ts +0 -16
- package/esm/components/texts/DateRange.vue.d.ts +0 -16
- package/esm/components/texts/DateTime.vue.d.ts +0 -16
- package/esm/components/texts/Decimal.vue.d.ts +0 -16
- package/esm/components/texts/Dictionary.vue.d.ts +0 -24
- package/esm/components/texts/Email.vue.d.ts +0 -16
- package/esm/components/texts/Index.vue.d.ts +0 -22
- package/esm/components/texts/Int.vue.d.ts +0 -16
- package/esm/components/texts/Markdown.vue.d.ts +0 -16
- package/esm/components/texts/Month.vue.d.ts +0 -16
- package/esm/components/texts/Password.vue.d.ts +0 -16
- package/esm/components/texts/Progress.vue.d.ts +0 -16
- package/esm/components/texts/Radio.vue.d.ts +0 -16
- package/esm/components/texts/Rate.vue.d.ts +0 -24
- package/esm/components/texts/RichText.vue.d.ts +0 -16
- package/esm/components/texts/Select.vue.d.ts +0 -16
- package/esm/components/texts/Switch.vue.d.ts +0 -16
- package/esm/components/texts/Text.vue.d.ts +0 -16
- package/esm/components/texts/TextLink.vue.d.ts +0 -29
- package/esm/components/texts/Textarea.vue.d.ts +0 -16
- package/esm/components/texts/Upload.vue.d.ts +0 -16
- package/esm/components/texts/Year.vue.d.ts +0 -16
- package/esm/drivers/IDriver.d.ts +0 -10
- package/esm/drivers/cdns/Cdn.d.ts +0 -14
- package/esm/drivers/cdns/CdnFactory.d.ts +0 -11
- package/esm/drivers/cdns/ICdn.d.ts +0 -34
- package/esm/drivers/cdns/implements/BootCdn.d.ts +0 -12
- package/esm/drivers/cdns/implements/JsdelivrCdn.d.ts +0 -13
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -12
- package/esm/drivers/cdns/implements/StaticFileCdn.d.ts +0 -16
- package/esm/drivers/cdns/implements/UnpkgCdn.d.ts +0 -10
- package/esm/drivers/cdns/index.d.ts +0 -0
- package/esm/drivers/driver-helper.d.ts +0 -46
- package/esm/drivers/encoders/Encoder.d.ts +0 -11
- package/esm/drivers/encoders/EncoderFactory.d.ts +0 -16
- package/esm/drivers/encoders/IEncoder.d.ts +0 -22
- package/esm/drivers/encoders/implement/Base64Encoder.d.ts +0 -11
- package/esm/drivers/encoders/index.d.ts +0 -0
- package/esm/drivers/excels/ExcelFactory.d.ts +0 -11
- package/esm/drivers/excels/IExcel.d.ts +0 -18
- package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -10
- package/esm/drivers/excels/index.d.ts +0 -2
- package/esm/drivers/explainers/Explainer.d.ts +0 -4
- package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -1
- package/esm/drivers/explainers/IExplainer.d.ts +0 -3
- package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -4
- package/esm/drivers/explainers/index.d.ts +0 -0
- package/esm/drivers/features/FeatureFactory.d.ts +0 -11
- package/esm/drivers/features/IFeature.d.ts +0 -23
- package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -12
- package/esm/drivers/features/implements/I18NFeature.d.ts +0 -12
- package/esm/drivers/features/implements/SortFeature.d.ts +0 -13
- package/esm/drivers/features/index.d.ts +0 -2
- package/esm/drivers/hashers/Hasher.d.ts +0 -10
- package/esm/drivers/hashers/HasherFactory.d.ts +0 -13
- package/esm/drivers/hashers/IHasher.d.ts +0 -19
- package/esm/drivers/hashers/implement/Md5Hasher.d.ts +0 -10
- package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +0 -10
- package/esm/drivers/hashers/index.d.ts +0 -2
- package/esm/drivers/index.d.ts +0 -9
- package/esm/drivers/providers/IProvider.d.ts +0 -47
- package/esm/drivers/providers/ProviderFactory.d.ts +0 -11
- package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -55
- package/esm/drivers/providers/index.d.ts +0 -2
- package/esm/drivers/requesters/IRequester.d.ts +0 -20
- package/esm/drivers/requesters/Requester.d.ts +0 -12
- package/esm/drivers/requesters/RequesterFactory.d.ts +0 -18
- package/esm/drivers/requesters/entities/HttpRequest.d.ts +0 -34
- package/esm/drivers/requesters/entities/HttpResponse.d.ts +0 -19
- package/esm/drivers/requesters/implements/DefaultRequester.d.ts +0 -12
- package/esm/drivers/requesters/implements/MkRequester.d.ts +0 -40
- package/esm/drivers/requesters/index.d.ts +0 -5
- package/esm/drivers/signers/ISigner.d.ts +0 -33
- package/esm/drivers/signers/SignerFactory.d.ts +0 -11
- package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -18
- package/esm/drivers/signers/index.d.ts +0 -2
- package/esm/drivers/ssos/ISso.d.ts +0 -41
- package/esm/drivers/ssos/SsoFactory.d.ts +0 -11
- package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -18
- package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -22
- package/esm/drivers/ssos/implements/NioSso.d.ts +0 -23
- package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -18
- package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -20
- package/esm/drivers/ssos/index.d.ts +0 -2
- package/esm/plugins/PcMessager.d.ts +0 -35
- package/esm/sdks/commons/HaCaptcha.vue.d.ts +0 -14
- package/esm/sdks/commons/HaCode.vue.d.ts +0 -40
- package/esm/sdks/commons/HaCol.vue.d.ts +0 -9
- package/esm/sdks/commons/HaCompare.vue.d.ts +0 -40
- package/esm/sdks/commons/HaContainer.vue.d.ts +0 -21
- package/esm/sdks/commons/HaDebug.vue.d.ts +0 -9
- package/esm/sdks/commons/HaEditable.vue.d.ts +0 -13
- package/esm/sdks/commons/HaEmpty.vue.d.ts +0 -24
- package/esm/sdks/commons/HaLoading.vue.d.ts +0 -33
- package/esm/sdks/commons/HaMouseContext.vue.d.ts +0 -2
- package/esm/sdks/commons/HaParticles.vue.d.ts +0 -2
- package/esm/sdks/commons/HaProgress.vue.d.ts +0 -8
- package/esm/sdks/commons/HaResizer.vue.d.ts +0 -26
- package/esm/sdks/commons/HaRow.vue.d.ts +0 -19
- package/esm/sdks/commons/HaSpinner.vue.d.ts +0 -20
- package/esm/sdks/commons/HaTable.vue.d.ts +0 -34
- package/esm/sdks/commons/HaTableColumn.vue.d.ts +0 -31
- package/esm/sdks/commons/HoCaptcha.vue.d.ts +0 -14
- package/esm/sdks/commons/HoCode.vue.d.ts +0 -39
- package/esm/sdks/commons/HoCol.vue.d.ts +0 -9
- package/esm/sdks/commons/HoCompare.vue.d.ts +0 -40
- package/esm/sdks/commons/HoContainer.vue.d.ts +0 -21
- package/esm/sdks/commons/HoDebug.vue.d.ts +0 -9
- package/esm/sdks/commons/HoEditable.vue.d.ts +0 -13
- package/esm/sdks/commons/HoEmpty.vue.d.ts +0 -24
- package/esm/sdks/commons/HoLoading.vue.d.ts +0 -33
- package/esm/sdks/commons/HoMouseContext.vue.d.ts +0 -2
- package/esm/sdks/commons/HoParticles.vue.d.ts +0 -2
- package/esm/sdks/commons/HoProgress.vue.d.ts +0 -8
- package/esm/sdks/commons/HoResizer.vue.d.ts +0 -26
- package/esm/sdks/commons/HoRow.vue.d.ts +0 -19
- package/esm/sdks/commons/HoSpinner.vue.d.ts +0 -20
- package/esm/sdks/commons/HoTable.vue.d.ts +0 -34
- package/esm/sdks/commons/HoTableColumn.vue.d.ts +0 -31
- package/esm/sdks/commons/index.d.ts +0 -90
- package/esm/sdks/globals/HaHeaderTab.vue.d.ts +0 -19
- package/esm/sdks/globals/HaHeaderTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HaMenu.vue.d.ts +0 -77
- package/esm/sdks/globals/HaMenuItem.vue.d.ts +0 -76
- package/esm/sdks/globals/HaMissComponent.vue.d.ts +0 -9
- package/esm/sdks/globals/HaSideTab.vue.d.ts +0 -21
- package/esm/sdks/globals/HaSideTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HaWindow.vue.d.ts +0 -66
- package/esm/sdks/globals/HoHeaderTab.vue.d.ts +0 -19
- package/esm/sdks/globals/HoHeaderTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HoMenu.vue.d.ts +0 -77
- package/esm/sdks/globals/HoMenuItem.vue.d.ts +0 -76
- package/esm/sdks/globals/HoMissComponent.vue.d.ts +0 -9
- package/esm/sdks/globals/HoSideTab.vue.d.ts +0 -21
- package/esm/sdks/globals/HoSideTabs.vue.d.ts +0 -17
- package/esm/sdks/globals/HoWindow.vue.d.ts +0 -66
- package/esm/sdks/globals/index.d.ts +0 -66
- package/esm/sdks/helpers/array-helper.d.ts +0 -97
- package/esm/sdks/helpers/component-helper.d.ts +0 -10
- package/esm/sdks/helpers/cookie-helper.d.ts +0 -6
- package/esm/sdks/helpers/dictionary-helper.d.ts +0 -18
- package/esm/sdks/helpers/dom-helper.d.ts +0 -74
- package/esm/sdks/helpers/encrypt-helper.d.ts +0 -18
- package/esm/sdks/helpers/event-helper.d.ts +0 -30
- package/esm/sdks/helpers/file-helper.d.ts +0 -22
- package/esm/sdks/helpers/html-helper.d.ts +0 -10
- package/esm/sdks/helpers/i18n-helper.d.ts +0 -14
- package/esm/sdks/helpers/image-helper.d.ts +0 -10
- package/esm/sdks/helpers/index.d.ts +0 -26
- package/esm/sdks/helpers/json-helper.d.ts +0 -31
- package/esm/sdks/helpers/math-helper.d.ts +0 -42
- package/esm/sdks/helpers/micro-helper.d.ts +0 -10
- package/esm/sdks/helpers/mount-helper.d.ts +0 -14
- package/esm/sdks/helpers/object-helper.d.ts +0 -34
- package/esm/sdks/helpers/script-helper.d.ts +0 -31
- package/esm/sdks/helpers/scroll-helper.d.ts +0 -14
- package/esm/sdks/helpers/sign-helper.d.ts +0 -14
- package/esm/sdks/helpers/storage-helper.d.ts +0 -34
- package/esm/sdks/helpers/string-helper.d.ts +0 -94
- package/esm/sdks/helpers/task-helper.d.ts +0 -26
- package/esm/sdks/helpers/time-helper.d.ts +0 -62
- package/esm/sdks/helpers/tree-helper.d.ts +0 -54
- package/esm/sdks/helpers/type-helper.d.ts +0 -26
- package/esm/sdks/helpers/url-helper.d.ts +0 -96
- package/esm/sdks/index.d.ts +0 -7
- package/esm/sdks/panels/HaGroup.vue.d.ts +0 -9
- package/esm/sdks/panels/HaHeader.vue.d.ts +0 -16
- package/esm/sdks/panels/HaOperation.vue.d.ts +0 -22
- package/esm/sdks/panels/HaPanel.vue.d.ts +0 -30
- package/esm/sdks/panels/HaShrink.vue.d.ts +0 -48
- package/esm/sdks/panels/HoGroup.vue.d.ts +0 -9
- package/esm/sdks/panels/HoHeader.vue.d.ts +0 -16
- package/esm/sdks/panels/HoOperation.vue.d.ts +0 -22
- package/esm/sdks/panels/HoPanel.vue.d.ts +0 -30
- package/esm/sdks/panels/HoShrink.vue.d.ts +0 -48
- package/esm/sdks/panels/index.d.ts +0 -13
- package/esm/sdks/stores/index.d.ts +0 -2
- package/esm/sdks/stores/window.d.ts +0 -25
- package/esm/sdks/thirds/index.d.ts +0 -8
- package/esm/sdks/utilities/AffixUtility.d.ts +0 -9
- package/esm/sdks/utilities/EventUtility.d.ts +0 -30
- package/esm/sdks/utilities/KeyboardUtility.d.ts +0 -73
- package/esm/sdks/utilities/MouseUtility.d.ts +0 -24
- package/esm/sdks/utilities/index.d.ts +0 -4
- package/esm/services/ComponentService.d.ts +0 -18
- package/esm/services/ControlService.d.ts +0 -42
- package/esm/services/HttpService.d.ts +0 -22
- package/esm/services/MessageService.d.ts +0 -34
- package/esm/services/PageService.d.ts +0 -38
- package/esm/services/SettingService.d.ts +0 -5
- package/esm/services/StandardService.d.ts +0 -34
- package/esm/services/UploadService.d.ts +0 -10
- package/esm/services/index.d.ts +0 -9
- package/esm/servs/AppServ.d.ts +0 -36
- package/esm/servs/ComponentServ.d.ts +0 -35
- package/esm/servs/ControlServ.d.ts +0 -42
- package/esm/servs/I18nServ.d.ts +0 -79
- package/esm/servs/LayoutServ.d.ts +0 -18
- package/esm/servs/PageServ.d.ts +0 -38
- package/esm/servs/RouterServ.d.ts +0 -23
- package/esm/servs/StandardServ.d.ts +0 -34
- package/esm/servs/UploadServ.d.ts +0 -10
- package/esm/servs/WindowServ.d.ts +0 -27
- package/esm/servs/index.d.ts +0 -17
- package/esm/stores/app.d.ts +0 -44
- package/esm/stores/component.d.ts +0 -30
- package/esm/stores/config.d.ts +0 -55
- package/esm/stores/driver.d.ts +0 -37
- package/esm/stores/i18n.d.ts +0 -67
- package/esm/stores/index.d.ts +0 -12
- package/esm/stores/layout.d.ts +0 -13
- package/esm/stores/log.d.ts +0 -20
- package/esm/stores/router.d.ts +0 -20
- package/esm/stores/setting.d.ts +0 -43
- package/esm/stores/socket.d.ts +0 -27
- 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
|
+
};
|