halo-pc 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Article-CjlnxF__.js → Article-7pMF1N-k.js} +67 -71
- package/dist/{Autocomplete-BnQpnnyK.js → Autocomplete-CEjjKXwo.js} +1 -1
- package/dist/Autocomplete-DqKo5NiJ.js +49 -0
- package/dist/Autocomplete-K5ipzchR.js +48 -0
- package/dist/{CSharp-Dxc7debp.js → CSharp-DatSqpip.js} +1 -1
- package/dist/{Calender-CZajLEjs.js → Calender-B1HoFiQg.js} +1 -1
- package/dist/Callback-PyCjejiv.js +20 -0
- package/dist/Cascader-B9lLRKjA.js +80 -0
- package/dist/Cascader-BNvlqc5t.js +41 -0
- package/dist/{Checkbox-DvjA_jtM.js → Checkbox-B6IkMrWB.js} +1 -1
- package/dist/Code-BdK547kD.js +4 -0
- package/dist/Code-DfFF-84i.js +36 -0
- package/dist/Code-LFQVJotC.js +54 -0
- package/dist/{Code-Dn68YB2V.js → Code-SZuIImtp.js} +1 -1
- package/dist/Code.vue_vue_type_style_index_0_lang-nX113anq.js +59 -0
- package/dist/Column-DVjYrrr7.js +67 -0
- package/dist/Comment-Do7Mjpjr.js +98 -0
- package/dist/Compare-C_iDn27Q.js +56 -0
- package/dist/Compare-CrX3yfD4.js +26 -0
- package/dist/{Copy-C5yEC9dX.js → Copy-_sbdQvHJ.js} +11 -11
- package/dist/Custom-DarpQFG8.js +49 -0
- package/dist/{DataExport-GCZvxEp5.js → DataExport-I9iG4oEo.js} +1 -1
- package/dist/{DataExport.vue_vue_type_script_setup_true_lang-CqT0RHF6.js → DataExport.vue_vue_type_script_setup_true_lang-BgKetUGv.js} +32 -36
- package/dist/{DataImport-BofV1eCR.js → DataImport-2KtOy-of.js} +1 -1
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-DgzKdC2g.js +170 -0
- package/dist/{Date-DgpsRJon.js → Date-PERpDDy_.js} +1 -1
- package/dist/{DateRange-UHosLXP9.js → DateRange-BaxHMjcx.js} +7 -11
- package/dist/{DateTime-CHn5T-FB.js → DateTime-B7gHENiu.js} +1 -1
- package/dist/{DateTimeRange-6TctUiMd.js → DateTimeRange-yI9Y2qgC.js} +10 -14
- package/dist/{Daterange-DISQqOFM.js → Daterange-DqvBvK-B.js} +13 -17
- package/dist/{Decimal-BB2w4V2o.js → Decimal-AXwMeqBW.js} +1 -1
- package/dist/Delete-BY3vAVWa.js +55 -0
- package/dist/{Detail-D-6vJTGF.js → Detail-aWACqVnM.js} +16 -18
- package/dist/Dictionary-DpQuFYQ5.js +55 -0
- package/dist/{File-CMCYSg30.js → File--NsXL6XX.js} +26 -29
- package/dist/{Image-BL458jPH.js → Image-CuwfJLKW.js} +1 -1
- package/dist/{Index-Ch59SxF3.js → Index-BNOFdDjW.js} +15 -19
- package/dist/Index-B_a_HzsB.js +4 -0
- package/dist/{Index-DZkeSKKp.js → Index-CQ9S2R9b.js} +1 -1
- package/dist/{Index-Cp7EDm0u.js → Index-Cewv4-Ik.js} +52 -57
- package/dist/{Index-B1ZfzgLV.js → Index-Cj79dCuO.js} +1 -1
- package/dist/Index-Cx2J_P37.js +4 -0
- package/dist/{Index-CopnEHli.js → Index-DA2wAurY.js} +1 -1
- package/dist/{Index.vue_vue_type_script_setup_true_lang-DOibFo1_.js → Index.vue_vue_type_script_setup_true_lang-D6_VOLX-.js} +13 -18
- package/dist/{Index.vue_vue_type_script_setup_true_lang-Dwm5MQ9l.js → Index.vue_vue_type_script_setup_true_lang-DjiARPz7.js} +12 -17
- package/dist/{Index.vue_vue_type_style_index_0_lang-D9Jt6Of_.js → Index.vue_vue_type_style_index_0_lang-DApNHvNX.js} +27 -31
- package/dist/{Install-CJbpeRw0.js → Install-BWdNbtVx.js} +17 -19
- package/dist/{Int-CkzuFSk2.js → Int-nmVkFRqG.js} +12 -16
- package/dist/List-BjdY1rMk.js +72 -0
- package/dist/Maintaince-DzYzyrAc.js +15 -0
- package/dist/{Markdown-Dq7L9EMQ.js → Markdown-DD6ufwhM.js} +1 -1
- package/dist/{Month-CUX-EnU_.js → Month-BqbTFGgo.js} +1 -1
- package/dist/{Normal-B2w0Isvm.js → Normal-f4HN1ciI.js} +48 -51
- package/dist/Paging-BMPtLi8P.js +90 -0
- package/dist/QueryApi-CbP5cCyH.js +13 -0
- package/dist/{Racebar-DqWtIQm-.js → Racebar-Bou-XNCm.js} +23 -27
- package/dist/{Radio-xLd4l78I.js → Radio-BmikzeCv.js} +1 -1
- package/dist/{Register-Bio0HxyZ.js → Register-CgbRZH9W.js} +86 -93
- package/dist/{RichText-BYNi_iMx.js → RichText-BeK3zZam.js} +18 -22
- package/dist/{SearchFooter-BAPlMiuj.js → SearchFooter-C4PeAkaR.js} +1 -1
- package/dist/{SearchFooter.vue_vue_type_style_index_0_lang-Bp7M7_IY.js → SearchFooter.vue_vue_type_style_index_0_lang-BaO7vJ-n.js} +1 -1
- package/dist/{SearchForm-BaPwWOch.js → SearchForm-C7fZiQaW.js} +1 -1
- package/dist/{SearchForm.vue_vue_type_style_index_0_lang-BJeXUISp.js → SearchForm.vue_vue_type_style_index_0_lang-BumSLQVy.js} +26 -31
- package/dist/{Select-Doyr8ioF.js → Select-C1-NVZdG.js} +17 -21
- package/dist/{Select-DMDcHdlD.js → Select-DR5fQH0d.js} +36 -41
- package/dist/{Select-Dlx4Tg2X.js → Select-DlbQvxQu.js} +1 -1
- package/dist/{Single-B4EEi5Bm.js → Single-BLRyJKB-.js} +75 -79
- package/dist/{Statistic-AY1NP5tM.js → Statistic-BOtmYiRA.js} +30 -34
- package/dist/{Stock-CcBqUgOB.js → Stock-BqQ6lM5B.js} +1 -1
- package/dist/{Stock-Sh2UHojP.js → Stock-Dnwof0R1.js} +1 -1
- package/dist/{Stock.vue_vue_type_style_index_0_lang-CcHVxdzc.js → Stock.vue_vue_type_style_index_0_lang-Az2jx3JN.js} +22 -26
- package/dist/{Switch-BOsRzAW-.js → Switch-DuMBV0AX.js} +1 -1
- package/dist/{Table-CrMo5L6q.js → Table-Be-rPXr_.js} +69 -71
- package/dist/{Table-C9IrdZEj.js → Table-RMVT0hlE.js} +79 -84
- package/dist/Text-DSXRKFPa.js +4 -0
- package/dist/Text.vue_vue_type_style_index_0_lang-CeDusQl6.js +52 -0
- package/dist/TextLink-BZW-y_FS.js +62 -0
- package/dist/{Textarea-WPLyT7XC.js → Textarea-3ypOGE1S.js} +1 -1
- package/dist/{Timeline-Dolubd-b.js → Timeline-CLezCcgQ.js} +17 -21
- package/dist/{Tree-KwP6ais4.js → Tree-B6RBRT1y.js} +63 -65
- package/dist/Tree-CLpCeirT.js +117 -0
- package/dist/TreeNode-C16N8jqm.js +34 -0
- package/dist/{Update-C5bPCalk.js → Update-Dc3Tdkn0.js} +11 -13
- package/dist/Upload-DvWyjK3a.js +143 -0
- package/dist/Upload-SEu1V1yX.js +67 -0
- package/dist/{UploadApi-vYU0Jda6.js → UploadApi-Bs507D0w.js} +3 -8
- package/dist/{Year-Dlp5PKhI.js → Year-DKxOQNyS.js} +1 -1
- package/dist/main-QtNG6p7a.js +16673 -0
- package/dist/main.js +82 -76
- package/dist/style.css +1 -1
- package/dist/{vendor-clipboard-BqjesuiY.js → vendor-clipboard-DjQPoCBJ.js} +110 -130
- package/dist/{vendor-intro.js-CZkClzQO.js → vendor-intro.js-DwWqhM1v.js} +1 -1
- package/dist/vendor-pinia-yrN6kSxh.js +861 -0
- package/dist/vendor-vue-demi-CIhrFbpB.js +17 -0
- package/esm/coms/business/HaCondition.vue.d.ts +18 -0
- package/esm/coms/business/HaCrud.vue.d.ts +29 -0
- package/esm/coms/business/HaDrawer.vue.d.ts +24 -0
- package/esm/coms/business/HaDriver.vue.d.ts +52 -0
- package/esm/coms/business/HaFeedback.vue.d.ts +8 -0
- package/esm/coms/business/HaForm.vue.d.ts +23 -0
- package/esm/coms/business/HaSwitch.vue.d.ts +24 -0
- package/esm/coms/business/HaWelcome.vue.d.ts +8 -0
- package/esm/coms/business/index.d.ts +124 -0
- package/esm/coms/commons/HaCaptcha.vue.d.ts +14 -0
- package/esm/coms/commons/HaDebug.vue.d.ts +9 -0
- package/esm/coms/commons/HaEditable.vue.d.ts +13 -0
- package/esm/coms/commons/HaLoading.vue.d.ts +33 -0
- package/esm/coms/commons/HaMouseContext.vue.d.ts +2 -0
- package/esm/coms/commons/HaParticles.vue.d.ts +2 -0
- package/esm/coms/commons/HaResizer.vue.d.ts +26 -0
- package/esm/coms/commons/HaSpinner.vue.d.ts +20 -0
- package/esm/coms/commons/HaTable.vue.d.ts +34 -0
- package/esm/coms/commons/HaTableColumn.vue.d.ts +31 -0
- package/esm/coms/commons/index.d.ts +32 -0
- package/esm/coms/controls/Autocomplete.vue.d.ts +24 -0
- package/esm/coms/controls/Cascader.vue.d.ts +24 -0
- package/esm/coms/controls/Checkbox.vue.d.ts +22 -0
- package/esm/coms/controls/Code.vue.d.ts +24 -0
- package/esm/coms/controls/Color.vue.d.ts +24 -0
- package/esm/coms/controls/Compare.vue.d.ts +24 -0
- package/esm/coms/controls/Date.vue.d.ts +24 -0
- package/esm/coms/controls/DateRange.vue.d.ts +24 -0
- package/esm/coms/controls/DateTime.vue.d.ts +24 -0
- package/esm/coms/controls/DateTimeRange.vue.d.ts +24 -0
- package/esm/coms/controls/Decimal.vue.d.ts +24 -0
- package/esm/coms/controls/Email.vue.d.ts +24 -0
- package/esm/coms/controls/Image.vue.d.ts +2 -0
- package/esm/coms/controls/Index.vue.d.ts +22 -0
- package/esm/coms/controls/Int.vue.d.ts +24 -0
- package/esm/coms/controls/Markdown.vue.d.ts +24 -0
- package/esm/coms/controls/Month.vue.d.ts +24 -0
- package/esm/coms/controls/Password.vue.d.ts +24 -0
- package/esm/coms/controls/Progress.vue.d.ts +24 -0
- package/esm/coms/controls/Radio.vue.d.ts +24 -0
- package/esm/coms/controls/Rate.vue.d.ts +24 -0
- package/esm/coms/controls/RichText.vue.d.ts +22 -0
- package/esm/coms/controls/Select.vue.d.ts +24 -0
- package/esm/coms/controls/Switch.vue.d.ts +24 -0
- package/esm/coms/controls/Text.vue.d.ts +26 -0
- package/esm/coms/controls/Textarea.vue.d.ts +24 -0
- package/esm/coms/controls/Time.vue.d.ts +24 -0
- package/esm/coms/controls/Upload.vue.d.ts +24 -0
- package/esm/coms/controls/Year.vue.d.ts +24 -0
- package/esm/coms/controls/index.d.ts +26 -0
- package/esm/coms/globals/HaHeaderTab.vue.d.ts +19 -0
- package/esm/coms/globals/HaHeaderTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaMenu.vue.d.ts +77 -0
- package/esm/coms/globals/HaMenuItem.vue.d.ts +76 -0
- package/esm/coms/globals/HaMissComponent.vue.d.ts +9 -0
- package/esm/coms/globals/HaSideTab.vue.d.ts +21 -0
- package/esm/coms/globals/HaSideTabs.vue.d.ts +17 -0
- package/esm/coms/globals/HaWindow.vue.d.ts +66 -0
- package/esm/coms/globals/index.d.ts +70 -0
- package/esm/coms/headers/Breadcrumb.vue.d.ts +2 -0
- package/esm/coms/headers/Debugger.vue.d.ts +2 -0
- package/esm/coms/headers/Hamburger.vue.d.ts +18 -0
- package/esm/coms/headers/HeaderRight.vue.d.ts +2 -0
- package/esm/coms/headers/Index.vue.d.ts +6 -0
- package/esm/coms/headers/Log.vue.d.ts +2 -0
- package/esm/coms/headers/Logo.vue.d.ts +6 -0
- package/esm/coms/headers/Refresh.vue.d.ts +6 -0
- package/esm/coms/headers/Setting.vue.d.ts +8 -0
- package/esm/coms/headers/index.d.ts +3 -0
- package/esm/coms/index.d.ts +11 -0
- package/esm/coms/layouts/Desktop.vue.d.ts +2 -0
- package/esm/coms/layouts/Index.vue.d.ts +2 -0
- package/esm/coms/layouts/Side.vue.d.ts +2 -0
- package/esm/coms/layouts/Top.vue.d.ts +2 -0
- package/esm/coms/layouts/index.d.ts +7 -0
- package/esm/coms/lists/Calender.vue.d.ts +2 -0
- package/esm/coms/lists/Racebar.vue.d.ts +18 -0
- package/esm/coms/lists/Statistic.vue.d.ts +18 -0
- package/esm/coms/lists/Stock.vue.d.ts +12 -0
- package/esm/coms/lists/Timeline.vue.d.ts +12 -0
- package/esm/coms/lists/Tree.vue.d.ts +26 -0
- package/esm/coms/lists/index.d.ts +15 -0
- package/esm/coms/pages/Column.vue.d.ts +22 -0
- package/esm/coms/pages/Custom.vue.d.ts +25 -0
- package/esm/coms/pages/Delete.vue.d.ts +20 -0
- package/esm/coms/pages/Index.vue.d.ts +2 -0
- package/esm/coms/pages/List.vue.d.ts +24 -0
- package/esm/coms/pages/Paging.vue.d.ts +24 -0
- package/esm/coms/pages/Single.vue.d.ts +28 -0
- package/esm/coms/pages/index.d.ts +146 -0
- package/esm/coms/pagings/Article.vue.d.ts +27 -0
- package/esm/coms/pagings/Code.vue.d.ts +12 -0
- package/esm/coms/pagings/DataExport.vue.d.ts +33 -0
- package/esm/coms/pagings/DataImport.vue.d.ts +18 -0
- package/esm/coms/pagings/File.vue.d.ts +12 -0
- package/esm/coms/pagings/Index.vue.d.ts +33 -0
- package/esm/coms/pagings/SearchFooter.vue.d.ts +122 -0
- package/esm/coms/pagings/SearchForm.vue.d.ts +72 -0
- package/esm/coms/pagings/Table.vue.d.ts +31 -0
- package/esm/coms/pagings/index.d.ts +11 -0
- package/esm/coms/panels/HaGroup.vue.d.ts +9 -0
- package/esm/coms/panels/HaHeader.vue.d.ts +16 -0
- package/esm/coms/panels/HaOperation.vue.d.ts +22 -0
- package/esm/coms/panels/HaPanel.vue.d.ts +30 -0
- package/esm/coms/panels/HaShrink.vue.d.ts +48 -0
- package/esm/coms/panels/index.d.ts +13 -0
- package/esm/coms/partials/ArticleFooter.vue.d.ts +24 -0
- package/esm/coms/partials/Detail.vue.d.ts +20 -0
- package/esm/coms/partials/PagingHeader.vue.d.ts +28 -0
- package/esm/coms/partials/PagingRow.vue.d.ts +24 -0
- package/esm/coms/partials/TreeNode.vue.d.ts +12 -0
- package/esm/coms/partials/Update.vue.d.ts +20 -0
- package/esm/coms/partials/UpdateChild.vue.d.ts +22 -0
- package/esm/coms/partials/index.d.ts +135 -0
- package/esm/coms/searches/Autocomplete.vue.d.ts +24 -0
- package/esm/coms/searches/Daterange.vue.d.ts +22 -0
- package/esm/coms/searches/Index.vue.d.ts +18 -0
- package/esm/coms/searches/Int.vue.d.ts +24 -0
- package/esm/coms/searches/Month.vue.d.ts +24 -0
- package/esm/coms/searches/Select.vue.d.ts +24 -0
- package/esm/coms/searches/Text.vue.d.ts +24 -0
- package/esm/coms/searches/index.d.ts +7 -0
- package/esm/coms/singles/Code.vue.d.ts +18 -0
- package/esm/coms/singles/Comment.vue.d.ts +12 -0
- package/esm/coms/singles/Index.vue.d.ts +25 -0
- package/esm/coms/singles/Normal.vue.d.ts +21 -0
- package/esm/coms/singles/Statistic.vue.d.ts +12 -0
- package/esm/coms/singles/Stock.vue.d.ts +12 -0
- package/esm/coms/singles/Table.vue.d.ts +22 -0
- package/esm/coms/singles/Tree.vue.d.ts +14 -0
- package/esm/coms/singles/Tree_Old.vue.d.ts +2 -0
- package/esm/coms/singles/index.d.ts +15 -0
- package/esm/coms/texts/Autocomplete.vue.d.ts +16 -0
- package/esm/coms/texts/CSharp.vue.d.ts +16 -0
- package/esm/coms/texts/Cascader.vue.d.ts +22 -0
- package/esm/coms/texts/Checkbox.vue.d.ts +16 -0
- package/esm/coms/texts/Code.vue.d.ts +16 -0
- package/esm/coms/texts/Color.vue.d.ts +16 -0
- package/esm/coms/texts/Compare.vue.d.ts +16 -0
- package/esm/coms/texts/Copy.vue.d.ts +24 -0
- package/esm/coms/texts/Date.vue.d.ts +16 -0
- package/esm/coms/texts/DateRange.vue.d.ts +16 -0
- package/esm/coms/texts/DateTime.vue.d.ts +16 -0
- package/esm/coms/texts/Decimal.vue.d.ts +16 -0
- package/esm/coms/texts/Dictionary.vue.d.ts +24 -0
- package/esm/coms/texts/Email.vue.d.ts +16 -0
- package/esm/coms/texts/Index.vue.d.ts +22 -0
- package/esm/coms/texts/Int.vue.d.ts +16 -0
- package/esm/coms/texts/Markdown.vue.d.ts +16 -0
- package/esm/coms/texts/Month.vue.d.ts +16 -0
- package/esm/coms/texts/Password.vue.d.ts +16 -0
- package/esm/coms/texts/Progress.vue.d.ts +16 -0
- package/esm/coms/texts/Radio.vue.d.ts +16 -0
- package/esm/coms/texts/Rate.vue.d.ts +24 -0
- package/esm/coms/texts/RichText.vue.d.ts +16 -0
- package/esm/coms/texts/Select.vue.d.ts +16 -0
- package/esm/coms/texts/Switch.vue.d.ts +16 -0
- package/esm/coms/texts/Text.vue.d.ts +16 -0
- package/esm/coms/texts/TextLink.vue.d.ts +29 -0
- package/esm/coms/texts/Textarea.vue.d.ts +16 -0
- package/esm/coms/texts/Upload.vue.d.ts +16 -0
- package/esm/coms/texts/Year.vue.d.ts +16 -0
- package/esm/main.d.ts +6 -2
- package/esm/plugins/PcMessager.d.ts +35 -0
- package/esm/plugins/index.d.ts +2 -0
- package/esm/services/index.d.ts +1 -2
- package/esm/stores/index.d.ts +2 -1
- package/package.json +2 -1
- package/dist/Autocomplete-C2FkoM3g.js +0 -52
- package/dist/Autocomplete-Da3h7NqJ.js +0 -53
- package/dist/Callback-txUuqwa4.js +0 -24
- package/dist/Cascader-Bm6ZjZBu.js +0 -84
- package/dist/Cascader-CWljbVzB.js +0 -45
- package/dist/Code--QwKtfhx.js +0 -4
- package/dist/Code-BO3eZKLy.js +0 -58
- package/dist/Code-Dh_cfHCX.js +0 -40
- package/dist/Code.vue_vue_type_style_index_0_lang-DcAjaZOQ.js +0 -63
- package/dist/Column-DGnsLHim.js +0 -69
- package/dist/Comment--Tr_kWBl.js +0 -102
- package/dist/Compare-C3rlbp4P.js +0 -60
- package/dist/Compare-DaSyOFIe.js +0 -30
- package/dist/Custom-K9vfVRxn.js +0 -53
- package/dist/DataImport.vue_vue_type_script_setup_true_lang-WCH5ToC7.js +0 -174
- package/dist/Delete-C7gIYWP8.js +0 -59
- package/dist/Dictionary-DfEacdox.js +0 -59
- package/dist/Index-8lbvVECt.js +0 -4
- package/dist/Index-tbCW5R6_.js +0 -4
- package/dist/List-V1uPlNfP.js +0 -77
- package/dist/Maintaince-BM4tthS_.js +0 -19
- package/dist/Paging-Bnpq9uSh.js +0 -95
- package/dist/QueryApi-BLc_au6L.js +0 -18
- package/dist/Text-vz76Xb4X.js +0 -4
- package/dist/Text.vue_vue_type_style_index_0_lang-BMxOYNEI.js +0 -56
- package/dist/TextLink-DKm6XbeF.js +0 -66
- package/dist/Tree-Bv5eVC8s.js +0 -122
- package/dist/TreeNode-rHeuE2ot.js +0 -38
- package/dist/Upload-BSbIQu56.js +0 -147
- package/dist/Upload-heb0FQTh.js +0 -72
- package/dist/main-Bs5Q5ZLl.js +0 -6535
- package/dist/vendor-@monaco-editor-DKC4UNw_.js +0 -258
- package/dist/vendor-clone-BPtCWdXG.js +0 -134
- package/dist/vendor-crypto-js-ftX_aBC-.js +0 -4995
- package/dist/vendor-file-saver-CytTIJ-3.js +0 -74
- package/dist/vendor-moment-h96o7c8I.js +0 -2578
- package/dist/vendor-pinia-C-_fm-ER.js +0 -1167
- package/dist/vendor-sprintf-js-BPTdvBYM.js +0 -148
- package/dist/vendor-state-local-CEworIRt.js +0 -131
- package/dist/vendor-underscore-DVTek3G4.js +0 -1070
- package/dist/vendor-underscore.string-BEHfJwHl.js +0 -425
- package/dist/vendor-util-deprecate-DzpNkCzj.js +0 -28
- package/dist/vendor-vue-demi-DdR-Jw7p.js +0 -31
@@ -1,148 +0,0 @@
|
|
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
|
-
};
|
@@ -1,131 +0,0 @@
|
|
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
|
-
};
|