@knime/jsonforms 1.8.5 → 1.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/{AnyOfTwinlist-jfzkBOsu.js → AnyOfTwinlist-B3lypiur.js} +1 -1
- package/dist/{Button-BWp4ylfx.js → Button-gTfjPXU4.js} +4 -5
- package/dist/{CheckboxControl-B0EYYiYA.js → CheckboxControl-BkQ44Uxj.js} +11 -12
- package/dist/{Checkboxes-Dsougafw.js → Checkboxes-BmUZ2CDH.js} +18 -17
- package/dist/CheckboxesControl-DZ70hajb.js +38 -0
- package/dist/{ComboBoxControl-YYOeEfZ9.js → ComboBoxControl-BOnJXJJK.js} +132 -124
- package/dist/DateControl-BFs-mHV0.js +34 -0
- package/dist/DateTimeControl-06lr5z6U.js +44 -0
- package/dist/DateTimeFormatInput-DdoDuQgr.js +375 -0
- package/dist/DateTimeFormatPickerControl-BNNUwWoq.js +40 -0
- package/dist/{DateTimeFormatPickerWithTypeControl-C4N-vP1Z.js → DateTimeFormatPickerWithTypeControl-tieZcjif.js} +17 -24
- package/dist/Dropdown-DgLzYs1N.js +605 -0
- package/dist/DropdownControl-NW8_sCPB.js +31 -0
- package/dist/{HorizontalLayout-CoCWGqhL.js → HorizontalLayout-CS_WKeeK.js} +3 -3
- package/dist/{InputField-NN_2iLts.js → InputField-Cq0CoNDx.js} +39 -39
- package/dist/{IntegerControl-BjkANKgl.js → IntegerControl-D8TYZOJ9.js} +1 -1
- package/dist/{IntervalControl-DTl43wkl.js → IntervalControl-dVPrxAV7.js} +206 -209
- package/dist/LoadingDropdown-OAZ94jZa.js +75 -0
- package/dist/LoadingIcon-BK8jfTsz.js +18 -0
- package/dist/ManualTwinlistControl-BQLjGmy3.js +79 -0
- package/dist/MultiSelectListBoxControl-kqcoBl2C.js +31 -0
- package/dist/MultimodeTwinlistControl-BSnI3Nv-.js +500 -0
- package/dist/MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_a6fd4504_lang-BDJqwT00.js +66 -0
- package/dist/{MultiselectListBox-uJPv-E73.js → MultiselectListBox-YT94gLy1.js} +91 -153
- package/dist/{NameFilter-oHbpKIdc.js → NameFilter-CVf8SWRD.js} +3 -3
- package/dist/{NumberControl-DaNO_abv.js → NumberControl-BS0iWMd1.js} +1 -1
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-Dpurs4vD.js +50 -0
- package/dist/{NumberInput-Cjjy0jqp.js → NumberInput-C9Z3WL4T.js} +3 -3
- package/dist/{OneOfDropdown-4l_pP8AP.js → OneOfDropdown-BFvHiyIX.js} +10 -11
- package/dist/{RadioControl-NuAj17Ai.js → RadioControl-CbIxlztZ.js} +2 -2
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BRmNVSjH.js +104 -0
- package/dist/{RichTextControl-DlwnXkRz.js → RichTextControl-B2UI22lk.js} +4873 -5138
- package/dist/{SectionHeading-BCsJih-6.js → SectionHeading-D8MBv1Z3.js} +5 -5
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_c541eb08_lang-BLqdGTB-.js +15484 -0
- package/dist/{SectionLayout-CnF1UT9M.js → SectionLayout-B4iTDlS-.js} +13 -13
- package/dist/SettingsSubPanel-7MtEQsCU.js +5 -0
- package/dist/SettingsSubPanelLayout-kZZLsSFp.js +62 -0
- package/dist/{SimpleButtonControl-B7HuHsgD.js → SimpleButtonControl-BoXOJ9zQ.js} +11 -11
- package/dist/SimpleTwinlistControl-DDlauBMw.js +25 -0
- package/dist/SingleSelectControl-jVse9F_G.js +55 -0
- package/dist/SingleSelectListBoxControl-ywxzUCCs.js +232 -0
- package/dist/SortListControl-C4bCDy6D.js +417 -0
- package/dist/StyledListItem-BnJ01Nlz.js +76 -0
- package/dist/{TextAreaControl-CY8doVTm.js → TextAreaControl-BhtBIx41.js} +23 -26
- package/dist/{TextControl-CNzoSIKE.js → TextControl-C2dBvR8J.js} +1 -1
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-COlDG69H.js +47 -0
- package/dist/TimeControl-D4jyL0VO.js +35 -0
- package/dist/TwinlistControlBase-BqLpZHDo.js +58 -0
- package/dist/TwinlistLoadingInfo-BocQJbmS.js +956 -0
- package/dist/TypedStringFilter-C37z_WNB.js +27 -0
- package/dist/ValueSwitch-BkHtM8g5.js +131 -0
- package/dist/{ValueSwitchControl-tU_rteDv.js → ValueSwitchControl-DWXZJ4B6.js} +1 -1
- package/dist/{VerticalLayout-nURrjmKa.js → VerticalLayout-Cj0Iw5bO.js} +2 -2
- package/dist/VerticalLayoutBase-DbY0ymdY.js +20 -0
- package/dist/ZonedDateTimeControl-DDzW56Mi.js +68 -0
- package/dist/{_baseEach-FP8ISlsz.js → _baseEach-Bnv4si8j.js} +2 -2
- package/dist/_baseIteratee-26w6nADM.js +516 -0
- package/dist/{_getTag-DiktJuv_.js → _getTag-DsiTI6uv.js} +33 -34
- package/dist/ai-general-CEjHPwV_-Cvgl4_i4.js +22 -0
- package/dist/annotation-mode-RuLeuF8s-DzQXI1AV.js +22 -0
- package/dist/arrow-down-BUkisWSu-D4BXUOrP.js +22 -0
- package/dist/arrow-dropdown-DdgjzLAO.js +17 -0
- package/dist/arrow-next-CIOU5o42.js +17 -0
- package/dist/arrow-up-BD0GygxZ-D7Mems_w.js +22 -0
- package/dist/arrows-expand-D4HnemK6-CUTpcf1_.js +22 -0
- package/dist/arrows-move-MByhxCHY-DCt3qTon.js +22 -0
- package/dist/arrows-order-DG9bLo_s-5Ih9AY3t.js +22 -0
- package/dist/audio-datatype-ChGlgbFR-Co5Zwh98.js +22 -0
- package/dist/back-knRL_H9j-6rQffRgs.js +22 -0
- package/dist/binary-object-datatype-CduhSXn7-G7O0170V.js +22 -0
- package/dist/bit-byte-vector-datatype-53diw48X-C0vb-7Za.js +22 -0
- package/dist/bold-Bpd1mjNS-DZSOWkhE.js +22 -0
- package/dist/boolean-datatype-CNMwV1-Q-CjMVyisS.js +26 -0
- package/dist/calendar-DTdbEMEZ-DZIC5AGb.js +22 -0
- package/dist/case-sensitive-ULceA_jf-DzrrRvkb.js +21 -0
- package/dist/center-aligned-X-iYFab0-DyQ8fV6W.js +21 -0
- package/dist/checkmark-DmnbDwa7-C_OepG74.js +22 -0
- package/dist/chevron-down-DUgPIDVj-B4fFp-UP.js +22 -0
- package/dist/chevron-left-double-UgFnDa0n-w4rcZsHk.js +22 -0
- package/dist/chevron-left-reHqFzYq-Ci5X3496.js +22 -0
- package/dist/chevron-right-CqpG4jxa-BjjbYbFB.js +22 -0
- package/dist/chevron-right-double-DAZZqg3Y-Dd7WqGIE.js +22 -0
- package/dist/chevron-up-CP9hfisr-Bpqp3uMG.js +22 -0
- package/dist/circle-error-CUKvliKO-BsDmD6sr.js +22 -0
- package/dist/circle-info-BHbc2Dfd-CgX0kAFY.js +22 -0
- package/dist/circle-question-DJKFX8BS-ChfHp4tf.js +22 -0
- package/dist/circle-success-CzR_IhiJ-BlM-ztj-.js +22 -0
- package/dist/close-BuY4mhXV.js +17 -0
- package/dist/cloud-download-BjycS45T-Bxk0RB9z.js +22 -0
- package/dist/cloud-knime-CbfH2QXI-AGSEGIby.js +22 -0
- package/dist/cloud-upload-CBM_ZPio-Df18olgw.js +22 -0
- package/dist/cloud-workflow-CHVooPRY-Rmd1H_HY.js +22 -0
- package/dist/code-block-8dTtpw7o-DgvpySmi.js +22 -0
- package/dist/collection-list-datatype-BbBxWNoQ-C2p81j_V.js +22 -0
- package/dist/collection-set-datatype-gfqJuoiV-C4NnN6Q9.js +21 -0
- package/dist/color-picker-D7gvyEaI-BbTB1-lR.js +22 -0
- package/dist/component-B2Ox0yYN-CrKk0yfK.js +22 -0
- package/dist/connection-p5pto_YK-Dc4lKnMI.js +22 -0
- package/dist/cursor-Dwgv2ML3-BkyGUX-W.js +21 -0
- package/dist/data-app-BdXYo7bC-MFKVfbXR.js +22 -0
- package/dist/date-datatype-Cq5Mb-Rz-D5jygmPB.js +22 -0
- package/dist/date-time-CXa0bmvO-BKOAingr.js +22 -0
- package/dist/date-time-local-datatype-2M1INwiQ-B_lrZGk2.js +22 -0
- package/dist/date-time-zoned-datatype-olQRLG4p-CE-6u7ol.js +22 -0
- package/dist/db-database-CrBCUTVq-BYrm5Jg4.js +22 -0
- package/dist/default-extension-datatype-CpH9a_4m-dtNauDJC.js +22 -0
- package/dist/deploy-CF4vcyzf-BoIQJ4eP.js +22 -0
- package/dist/detect-DXa-xFxA-CAYBsRRH.js +22 -0
- package/dist/divider-CnnToczp-qDDiewPZ.js +21 -0
- package/dist/document-datatype-B_hkllA_-DbILVLkP.js +21 -0
- package/dist/duration-DE7cktzt-CYqGYHgQ.js +22 -0
- package/dist/duration-date-based-datatype-DvzT3E6b-CWAMdupg.js +22 -0
- package/dist/duration-time-based-datatype-DBJN91Tu-DuPFumws.js +22 -0
- package/dist/edit-DupAoog2-1zixQOq9.js +21 -0
- package/dist/education-DS376EBJ-ZJ6q5soh.js +22 -0
- package/dist/error-panel-DlRk6QCO-DOajzc4x.js +22 -0
- package/dist/execute-Dunu5ajY-Czsu21T1.js +22 -0
- package/dist/extension-4JadjVME-DGofAGsD.js +22 -0
- package/dist/extension-community-De5e8OmM-C_1ucbDz.js +22 -0
- package/dist/external-link-BiXB78-O--smUtSAz.js +22 -0
- package/dist/eye-CYWX12bw-Fj2N1qxL.js +25 -0
- package/dist/file-CWu1D3xj-7JuMP50G.js +22 -0
- package/dist/file-export-0X3T5whR-CfNGIAfA.js +22 -0
- package/dist/file-text-CUzJs5fe-CcYcEdC0.js +21 -0
- package/dist/filter-DGIMoqM1-DH-20woy.js +21 -0
- package/dist/floating-ui.vue-CDo9Kas1.js +1055 -0
- package/dist/flow-variable-in-DfVHb8Q6-B9gou0kW.js +30 -0
- package/dist/flow-variable-in-out-CZXPlePz-BnkaLnMM.js +38 -0
- package/dist/flow-variable-out-B5GnAU2d-BaWb5ncY.js +30 -0
- package/dist/folder-CgOQXlsa-Bo_anmPb.js +22 -0
- package/dist/folder-plus-BtmuHB9m-CdhxlbUz.js +22 -0
- package/dist/folder-workflow-NI_2jW5M-DOkDm8xy.js +22 -0
- package/dist/forum-CclgZ-7j-CRzC_mAZ.js +21 -0
- package/dist/function-catalog-BthrkGfD-CEp9atHO.js +22 -0
- package/dist/geo-datatype-D22EVbiv-D2Pj2aI6.js +26 -0
- package/dist/helm-datatype-BkZDIKEu-DLD0aWrJ.js +22 -0
- package/dist/home-Bcvrgb6q-DqRt7tOV.js +22 -0
- package/dist/{hotkeys-kwHHtFKz.js → hotkeys-rxnt4egK.js} +1 -1
- package/dist/image-png-datatype-DXI1vyFc-Bnh_VHrg.js +22 -0
- package/dist/image-svg-datatype-BkoxDjfE-Dl8ziH69.js +22 -0
- package/dist/import-B6KLpALE-Dpia7Pj_.js +22 -0
- package/dist/index-Bu8cAuLm.js +376 -0
- package/dist/index-CUSP9syR.js +204 -0
- package/dist/info-7Q08hRgI-V6hpBtkD.js +22 -0
- package/dist/interval-Dx80AKo_-DXQ03ZI_.js +22 -0
- package/dist/italic-DLUAn2LT-mJz9MhAv.js +22 -0
- package/dist/json-datatype-CslAT-V1-CEzTyDFX.js +22 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +82 -76
- package/dist/labeling-datatype-EUXY6MBu-DDHUKr_g.js +25 -0
- package/dist/left-aligned-CgdRLlyj-CsfhGahf.js +22 -0
- package/dist/like-D2rnvJMO-Bja0b-91.js +21 -0
- package/dist/limit-D87-XMRT-9zsEPquM.js +22 -0
- package/dist/linear-notation-molecule-d5kP2xXs-B3ko7qZS.js +22 -0
- package/dist/link-B0lweV4V-BLMCsgVm.js +22 -0
- package/dist/linked-metanode-Ik1_jf67-DnvJ9p04.js +22 -0
- package/dist/list-R-YhBe4M-fmLWauxG.js +22 -0
- package/dist/list-bulletpoint-Bsyc6vEO-BabpV-5E.js +22 -0
- package/dist/list-number-D2-3aYNM-X29j26tl.js +22 -0
- package/dist/list-thumbs-C_gV8qiQ-LwbhfbDH.js +22 -0
- package/dist/local-filesystem-zGOmKpFY-D3qjkS0c.js +22 -0
- package/dist/localTimeUtils-BfovHvC0.js +12126 -0
- package/dist/lock-mlEwUUt1-siq47Tp8.js +22 -0
- package/dist/magic-string.es-BQ9KnLz-.js +659 -0
- package/dist/message-datatype-C9-EmnSB-toPG-DiU.js +22 -0
- package/dist/metanode-DtkJqhjE-JmKltGzU.js +22 -0
- package/dist/microscope-DS6bN3jk-D6-iBu4y.js +22 -0
- package/dist/minus-CjUP6_Q8-C2cNkMBl.js +21 -0
- package/dist/model-pmml-datatype-94e99we--B6qWvQRR.js +22 -0
- package/dist/molecule-eT_tgLRf-Db6HzIxu.js +22 -0
- package/dist/more-actions-DBLTo2NK-DIZMs6E0.js +22 -0
- package/dist/navigator-e30QQMkl.js +4 -0
- package/dist/node-stack-B1tUffrH-DT_A3Km0.js +22 -0
- package/dist/number-double-datatype-CayvZwH9-DQIGZ_Be.js +21 -0
- package/dist/number-double-vector-datatype-skWwhKxd-Bva2EXW-.js +22 -0
- package/dist/number-integer-datatype-BhR4FHTI-CgzJMW52.js +22 -0
- package/dist/open-in-new-window-BLzRyCt0-C9_1hZjo.js +22 -0
- package/dist/parameter-DpU3cp7S-DU_6kWh8.js +22 -0
- package/dist/path-datatype-C97VTebF-DfguKZeK.js +22 -0
- package/dist/pending-changes-UhfijwVP-BW3sz-cD.js +22 -0
- package/dist/placeholder-BdlsIyd_-DnT2fjk_.js +21 -0
- package/dist/plus-BIHLsGIG-Cwj4-d6K.js +21 -0
- package/dist/popper-LGjf7Wza.js +905 -0
- package/dist/quote-Df1UEiut-wcHjq1W5.js +22 -0
- package/dist/re-execution-D6Vf8q4m-BtVB5yFs.js +22 -0
- package/dist/redo-gtkWmrwN-BEVcApVN.js +22 -0
- package/dist/reload-BVbCGubF.js +17 -0
- package/dist/reload-D2KQygjR-s3CVXXFQ.js +22 -0
- package/dist/reset-all-CnOZsHiC-DCh7OxpG.js +22 -0
- package/dist/right-aligned-DqKhZgBb-BAQMTF7u.js +22 -0
- package/dist/rocket-C4ar--Dz-CQT5nXkU.js +22 -0
- package/dist/save-Dc5j8rtx-B5Of3V-Q.js +22 -0
- package/dist/save-as-D9xt6dTU-CGe50563.js +22 -0
- package/dist/schedule-zAcSBtLR-DZJT8XzC.js +22 -0
- package/dist/search-DMQ_0_gU-Bse6bTV0.js +21 -0
- package/dist/selected-cancel-C1SnhoVq-CDNrsFod.js +22 -0
- package/dist/selected-execute-Ril2FDJ6-UHn8jm9U.js +22 -0
- package/dist/selected-reset-B6uNdY_x-CK0K3t4K.js +22 -0
- package/dist/send-Btyiuo31-C2us2xPf.js +22 -0
- package/dist/server-rack-workflow-Dm10gp1J-CbWjdARy.js +22 -0
- package/dist/settings-BonOwCqQ-BQRpQawF.js +25 -0
- package/dist/share-CM7XxCfc-DKiRPJGq.js +21 -0
- package/dist/shortcuts-CPtPBJxT-LALbCNZS.js +21 -0
- package/dist/sort-ascending-Bax79rC1-h3vjI2l0.js +22 -0
- package/dist/sort-descending-FZQuQEDb-FV26gxK9.js +22 -0
- package/dist/space-aIuAtYj8-B4M7xKxS.js +22 -0
- package/dist/space-local-B2_6Bsy_-CyRFC5tE.js +22 -0
- package/dist/space-private-Bzmo_auP-CxpDMsaW.js +22 -0
- package/dist/src/constants/inputFormats.d.ts +3 -0
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +25 -28
- package/dist/src/higherOrderComponents/control/controlToRenderer.d.ts +8 -1
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -13
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +16 -15
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +9 -2
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -0
- package/dist/src/higherOrderComponents/control/types.d.ts +8 -4
- package/dist/src/higherOrderComponents/control/util.d.ts +10 -30
- package/dist/src/higherOrderComponents/control/validation/types.d.ts +6 -1
- package/dist/src/higherOrderComponents/control/validation/useValidation.d.ts +6 -3
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +5 -3
- package/dist/src/higherOrderComponents/layout/types.d.ts +2 -2
- package/dist/src/higherOrderComponents/layout/util.d.ts +2 -18
- package/dist/src/higherOrderComponents/types.d.ts +11 -10
- package/dist/src/index.d.ts +2 -1
- package/dist/src/layoutComponents/Form.vue.d.ts +12 -4
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +12 -13
- package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +15 -17
- package/dist/src/layoutComponents/index.d.ts +2 -1
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +12 -14
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +17 -28
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +8 -3
- package/dist/src/loading/LoadingDialog.vue.d.ts +1 -1
- package/dist/src/renderers/checkboxesRenderer.d.ts +0 -2
- package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +2 -2
- package/dist/src/renderers/defaultRenderers.d.ts +1112 -1229
- package/dist/src/renderers/dropdownRenderer.d.ts +1 -241
- package/dist/src/renderers/fallbackRenderers.d.ts +8 -290
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/multiSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +6 -90
- package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/simpleButtonRenderer.d.ts +11 -81
- package/dist/src/renderers/singleSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/renderers/sortListRenderer.d.ts +998 -280
- package/dist/src/renderers/textMessageRenderer.d.ts +62 -106
- package/dist/src/renderers/textRenderer.d.ts +1 -241
- package/dist/src/renderers/twinlistRenderer.d.ts +2 -0
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -86
- package/dist/src/renderers/zonedDateTimeRenderer.d.ts +1 -1
- package/dist/src/types/ChoicesUiSchema.d.ts +13 -5
- package/dist/src/types/provided.d.ts +18 -4
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +14 -14
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DateControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +3 -22
- package/dist/src/uiComponents/DynamicIcon.vue.d.ts +3 -12
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +5 -18
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -10
- package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +4 -17
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +5 -117
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +4 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +925 -79
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/TextControl.vue.d.ts +204 -22
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/composables/useBuiltinValidations.d.ts +3 -6
- package/dist/src/uiComponents/composables/useHideOnNull.d.ts +3 -5
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +5 -5
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +17 -2
- package/dist/src/uiComponents/index.d.ts +2 -1
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +1 -10
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
- package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +2 -2
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +3 -10
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +230 -10
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -10
- package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +9 -0
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +11 -43
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -10
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -10
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +8 -34
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -10
- package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +9 -1
- package/dist/strikethrough-B5OvXyS_-C-2aE0CG.js +22 -0
- package/dist/string-datatype-nDWXe0Ai-Bg7vxVYA.js +22 -0
- package/dist/string-vector-datatype-CKcnjj4A-D_XhjXhP.js +22 -0
- package/dist/subgraph-datatype-BeZaQU17-BoW0Iv2O.js +22 -0
- package/dist/term-datatype-ROXc3ddq-CGDTwE1Q.js +22 -0
- package/dist/test-tube-D1jY9f0B-BdVNcJnL.js +22 -0
- package/dist/testUtils/component.d.ts +86 -43
- package/dist/testing.js +9014 -8669
- package/dist/text-Dcwl242F-DKEEbE25.js +22 -0
- package/dist/textstyles-K03PpDJG-Bl-ERhSz.js +21 -0
- package/dist/thumbs-down-LaXuQYOO-i9duTrij.js +21 -0
- package/dist/thumbs-up-DMY3jgQp-B6tU5n6S.js +21 -0
- package/dist/time-BrqWI0yU-7du_RewE.js +22 -0
- package/dist/time-datatype-BQ767rrS-DKZC_Vrq.js +22 -0
- package/dist/to-bottom-C3w7coKl-DFEfTlCu.js +22 -0
- package/dist/to-top-qB5yRcmV-BgCtwtxh.js +22 -0
- package/dist/toString-BKm8v7Ps.js +25 -0
- package/dist/tool-datatype-DdDtNmoC-2NyLY-_i.js +22 -0
- package/dist/trash-BU3tMrJo-C4MsOwQa.js +22 -0
- package/dist/trigger-ClrkLEH_-_MNQWL4e.js +21 -0
- package/dist/underline-CLXwjAXP-M0SeJWoS.js +22 -0
- package/dist/undo-DqMrRbAA-CLiK3c2R.js +22 -0
- package/dist/unknown-datatype-DvCQu88a-8oUk1T_q.js +22 -0
- package/dist/unlink-AsK_ZWw_-DyUD7qtH.js +22 -0
- package/dist/uri-datatype-CdijzCVY-kZLY0UcD.js +22 -0
- package/dist/useBuiltinValidations-BR-uUi8P.js +74 -0
- package/dist/useDropdownNavigation-BfCXUheD.js +817 -0
- package/dist/usePossibleValues-C3V_0Qn_.js +16 -0
- package/dist/user-DvUjWARa-dQXH7RAr.js +22 -0
- package/dist/variable-boolean-BHPrIPTX-DYM2AS5h.js +30 -0
- package/dist/variable-collection-boolean-C_J7wThg-BwqzihDN.js +30 -0
- package/dist/variable-collection-double-BxKPwsrE-BFebzDQQ.js +30 -0
- package/dist/variable-collection-integer-CevE-mrB-3SE8MUm2.js +30 -0
- package/dist/variable-collection-string-yxLbb_-V-DhA9vpT5.js +30 -0
- package/dist/variable-conda-environment-D7JkuG0q-BJlFFMXx.js +30 -0
- package/dist/variable-credential-SFWXg0a0-BN8itYsK.js +30 -0
- package/dist/variable-integer-BUHZT63E-D5s2dhP4.js +30 -0
- package/dist/variable-number-double-CuPKBr9M-BA51GMLC.js +30 -0
- package/dist/variable-path-CcdwgBlO-CH8COEJe.js +30 -0
- package/dist/variable-string-Dk4KUHML-DEOpn3kP.js +30 -0
- package/dist/variable-unknown-iniv12vq-COQ0qFek.js +30 -0
- package/dist/view-cards-Bzc1izf--C46qdQbF.js +21 -0
- package/dist/warning-BXPHX6v6-CZJ5gP2b.js +22 -0
- package/dist/workflow-DlZxP-3l-WTyOrK43.js +21 -0
- package/dist/x-close-CIB3TdAj-BvMQp-8N.js +22 -0
- package/dist/xml-datatype-D7nWox5y-DGxzgQLk.js +22 -0
- package/package.json +5 -5
- package/dist/BaseButton-BIZz4hsW.js +0 -112
- package/dist/Checkbox-9L6PiOA6.js +0 -75
- package/dist/CheckboxesControl-B80ih8nb.js +0 -40
- package/dist/DateControl-DFexgeVO.js +0 -29
- package/dist/DateTimeControl-uz8PdOTX.js +0 -54
- package/dist/DateTimeFormatInput-DYkvm-DH.js +0 -347
- package/dist/DateTimeFormatPickerControl-7dR8hU4R.js +0 -47
- package/dist/DateTimeInput-Pl9aqt1c.js +0 -11205
- package/dist/Dropdown-CtKY3_Yr.js +0 -606
- package/dist/DropdownControl-DIVv2VOC.js +0 -84
- package/dist/FunctionButton-C5NEWH81.js +0 -75
- package/dist/LoadingDropdown-WiBSh0Qf.js +0 -40
- package/dist/MultimodeTwinlistControl-DL9f7xEJ.js +0 -526
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DpVmEcwh.js +0 -53
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-rL9jMdAP.js +0 -108
- package/dist/SettingsSubPanel-DUJNjsfj.js +0 -131
- package/dist/SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-bqXwxVZY.js +0 -13321
- package/dist/SettingsSubPanelLayout-BhNuwfji.js +0 -58
- package/dist/SimpleTwinlistControl-B0gpkCpi.js +0 -22
- package/dist/SingleSelectControl-93iEvfgh.js +0 -58
- package/dist/SortListControl-Bl1rJ-S8.js +0 -372
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-DDrSjpRA.js +0 -93
- package/dist/TimeControl-DMbaX2ue.js +0 -33
- package/dist/TwinlistControlBase-a6UvXibH.js +0 -40
- package/dist/TwinlistLoadingInfo-BJvmG0yG.js +0 -1045
- package/dist/TypedStringFilter-CABpncM7.js +0 -25
- package/dist/ValueSwitch-D_irI3D5.js +0 -138
- package/dist/VerticalLayoutBase-e8dtkGap.js +0 -20
- package/dist/ZonedDateTimeControl-q6lHJu09.js +0 -74
- package/dist/_baseIteratee-DhaGkQLM.js +0 -518
- package/dist/arrow-dropdown-DjUxzjqC.js +0 -17
- package/dist/arrow-next-Qa8PNb04.js +0 -17
- package/dist/close-h7XT0ja0.js +0 -17
- package/dist/floating-ui.vue-B-MrqKCT.js +0 -1019
- package/dist/index-Bf0xDq3g.js +0 -373
- package/dist/isObject-B53jY8Qg.js +0 -7
- package/dist/isObjectLike-BatpeCIi.js +0 -29
- package/dist/isSymbol-C3_SC0Qp.js +0 -8
- package/dist/localTimeUtils-B14aZlHW.js +0 -886
- package/dist/magic-string.es-BN6dIAyB.js +0 -858
- package/dist/navigator-D_R-txCf.js +0 -7
- package/dist/popper-CRR--9mA.js +0 -907
- package/dist/reload-BhzcZRFp.js +0 -17
- package/dist/src/JsonFormsDialog.vue.d.ts +0 -50
- package/dist/svgWithTitle-BN874PBG.js +0 -18
- package/dist/toString-B9O7P854.js +0 -26
- package/dist/useBuiltinValidations-85_NBFff.js +0 -52
- package/dist/useDropdownNavigation-D6ZenVxz.js +0 -55
- package/dist/useHideOnNull-CCfNP3O7.js +0 -42
- package/dist/usePossibleValues-DHCWUUp9.js +0 -26
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as n, createElementVNode as t } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
"stroke-linecap": "round",
|
|
7
|
+
"stroke-linejoin": "round",
|
|
8
|
+
viewBox: "0 0 12 12"
|
|
9
|
+
};
|
|
10
|
+
function l(c, e) {
|
|
11
|
+
return o(), n("svg", r, e[0] || (e[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
d: "M6 8.917V7.675m0 0h-.8m.8 0 .8-.008M3.32 5.309V3.715c0-.72.282-1.41.785-1.92A2.66 2.66 0 0 1 6 1c.711 0 1.393.286 1.896.795s.785 1.2.785 1.92V5.31m1.319 0H2V11h8z",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
]));
|
|
17
|
+
}
|
|
18
|
+
const i = { render: l };
|
|
19
|
+
export {
|
|
20
|
+
i as default,
|
|
21
|
+
l as render
|
|
22
|
+
};
|
|
@@ -0,0 +1,659 @@
|
|
|
1
|
+
var x = 44, E = 59, m = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", S = new Uint8Array(64), k = new Uint8Array(128);
|
|
2
|
+
for (let u = 0; u < m.length; u++) {
|
|
3
|
+
const t = m.charCodeAt(u);
|
|
4
|
+
S[u] = t, k[t] = u;
|
|
5
|
+
}
|
|
6
|
+
function c(u, t, e) {
|
|
7
|
+
let i = t - e;
|
|
8
|
+
i = i < 0 ? -i << 1 | 1 : i << 1;
|
|
9
|
+
do {
|
|
10
|
+
let n = i & 31;
|
|
11
|
+
i >>>= 5, i > 0 && (n |= 32), u.write(S[n]);
|
|
12
|
+
} while (i > 0);
|
|
13
|
+
return t;
|
|
14
|
+
}
|
|
15
|
+
var b = 1024 * 16, C = typeof TextDecoder < "u" ? /* @__PURE__ */ new TextDecoder() : typeof Buffer < "u" ? {
|
|
16
|
+
decode(u) {
|
|
17
|
+
return Buffer.from(u.buffer, u.byteOffset, u.byteLength).toString();
|
|
18
|
+
}
|
|
19
|
+
} : {
|
|
20
|
+
decode(u) {
|
|
21
|
+
let t = "";
|
|
22
|
+
for (let e = 0; e < u.length; e++)
|
|
23
|
+
t += String.fromCharCode(u[e]);
|
|
24
|
+
return t;
|
|
25
|
+
}
|
|
26
|
+
}, L = class {
|
|
27
|
+
constructor() {
|
|
28
|
+
this.pos = 0, this.out = "", this.buffer = new Uint8Array(b);
|
|
29
|
+
}
|
|
30
|
+
write(u) {
|
|
31
|
+
const { buffer: t } = this;
|
|
32
|
+
t[this.pos++] = u, this.pos === b && (this.out += C.decode(t), this.pos = 0);
|
|
33
|
+
}
|
|
34
|
+
flush() {
|
|
35
|
+
const { buffer: u, out: t, pos: e } = this;
|
|
36
|
+
return e > 0 ? t + C.decode(u.subarray(0, e)) : t;
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
function R(u) {
|
|
40
|
+
const t = new L();
|
|
41
|
+
let e = 0, i = 0, n = 0, r = 0;
|
|
42
|
+
for (let s = 0; s < u.length; s++) {
|
|
43
|
+
const h = u[s];
|
|
44
|
+
if (s > 0 && t.write(E), h.length === 0) continue;
|
|
45
|
+
let o = 0;
|
|
46
|
+
for (let l = 0; l < h.length; l++) {
|
|
47
|
+
const a = h[l];
|
|
48
|
+
l > 0 && t.write(x), o = c(t, a[0], o), a.length !== 1 && (e = c(t, a[1], e), i = c(t, a[2], i), n = c(t, a[3], n), a.length !== 4 && (r = c(t, a[4], r)));
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return t.flush();
|
|
52
|
+
}
|
|
53
|
+
class p {
|
|
54
|
+
constructor(t) {
|
|
55
|
+
this.bits = t instanceof p ? t.bits.slice() : [];
|
|
56
|
+
}
|
|
57
|
+
add(t) {
|
|
58
|
+
this.bits[t >> 5] |= 1 << (t & 31);
|
|
59
|
+
}
|
|
60
|
+
has(t) {
|
|
61
|
+
return !!(this.bits[t >> 5] & 1 << (t & 31));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
class g {
|
|
65
|
+
constructor(t, e, i) {
|
|
66
|
+
this.start = t, this.end = e, this.original = i, this.intro = "", this.outro = "", this.content = i, this.storeName = !1, this.edited = !1, this.previous = null, this.next = null;
|
|
67
|
+
}
|
|
68
|
+
appendLeft(t) {
|
|
69
|
+
this.outro += t;
|
|
70
|
+
}
|
|
71
|
+
appendRight(t) {
|
|
72
|
+
this.intro = this.intro + t;
|
|
73
|
+
}
|
|
74
|
+
clone() {
|
|
75
|
+
const t = new g(this.start, this.end, this.original);
|
|
76
|
+
return t.intro = this.intro, t.outro = this.outro, t.content = this.content, t.storeName = this.storeName, t.edited = this.edited, t;
|
|
77
|
+
}
|
|
78
|
+
contains(t) {
|
|
79
|
+
return this.start < t && t < this.end;
|
|
80
|
+
}
|
|
81
|
+
eachNext(t) {
|
|
82
|
+
let e = this;
|
|
83
|
+
for (; e; )
|
|
84
|
+
t(e), e = e.next;
|
|
85
|
+
}
|
|
86
|
+
eachPrevious(t) {
|
|
87
|
+
let e = this;
|
|
88
|
+
for (; e; )
|
|
89
|
+
t(e), e = e.previous;
|
|
90
|
+
}
|
|
91
|
+
edit(t, e, i) {
|
|
92
|
+
return this.content = t, i || (this.intro = "", this.outro = ""), this.storeName = e, this.edited = !0, this;
|
|
93
|
+
}
|
|
94
|
+
prependLeft(t) {
|
|
95
|
+
this.outro = t + this.outro;
|
|
96
|
+
}
|
|
97
|
+
prependRight(t) {
|
|
98
|
+
this.intro = t + this.intro;
|
|
99
|
+
}
|
|
100
|
+
reset() {
|
|
101
|
+
this.intro = "", this.outro = "", this.edited && (this.content = this.original, this.storeName = !1, this.edited = !1);
|
|
102
|
+
}
|
|
103
|
+
split(t) {
|
|
104
|
+
const e = t - this.start, i = this.original.slice(0, e), n = this.original.slice(e);
|
|
105
|
+
this.original = i;
|
|
106
|
+
const r = new g(t, this.end, n);
|
|
107
|
+
return r.outro = this.outro, this.outro = "", this.end = t, this.edited ? (r.edit("", !1), this.content = "") : this.content = i, r.next = this.next, r.next && (r.next.previous = r), r.previous = this, this.next = r, r;
|
|
108
|
+
}
|
|
109
|
+
toString() {
|
|
110
|
+
return this.intro + this.content + this.outro;
|
|
111
|
+
}
|
|
112
|
+
trimEnd(t) {
|
|
113
|
+
if (this.outro = this.outro.replace(t, ""), this.outro.length) return !0;
|
|
114
|
+
const e = this.content.replace(t, "");
|
|
115
|
+
if (e.length)
|
|
116
|
+
return e !== this.content && (this.split(this.start + e.length).edit("", void 0, !0), this.edited && this.edit(e, this.storeName, !0)), !0;
|
|
117
|
+
if (this.edit("", void 0, !0), this.intro = this.intro.replace(t, ""), this.intro.length) return !0;
|
|
118
|
+
}
|
|
119
|
+
trimStart(t) {
|
|
120
|
+
if (this.intro = this.intro.replace(t, ""), this.intro.length) return !0;
|
|
121
|
+
const e = this.content.replace(t, "");
|
|
122
|
+
if (e.length) {
|
|
123
|
+
if (e !== this.content) {
|
|
124
|
+
const i = this.split(this.end - e.length);
|
|
125
|
+
this.edited && i.edit(e, this.storeName, !0), this.edit("", void 0, !0);
|
|
126
|
+
}
|
|
127
|
+
return !0;
|
|
128
|
+
} else if (this.edit("", void 0, !0), this.outro = this.outro.replace(t, ""), this.outro.length) return !0;
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
function _() {
|
|
132
|
+
return typeof globalThis < "u" && typeof globalThis.btoa == "function" ? (u) => globalThis.btoa(unescape(encodeURIComponent(u))) : typeof Buffer == "function" ? (u) => Buffer.from(u, "utf-8").toString("base64") : () => {
|
|
133
|
+
throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.");
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
const O = /* @__PURE__ */ _();
|
|
137
|
+
class N {
|
|
138
|
+
constructor(t) {
|
|
139
|
+
this.version = 3, this.file = t.file, this.sources = t.sources, this.sourcesContent = t.sourcesContent, this.names = t.names, this.mappings = R(t.mappings), typeof t.x_google_ignoreList < "u" && (this.x_google_ignoreList = t.x_google_ignoreList), typeof t.debugId < "u" && (this.debugId = t.debugId);
|
|
140
|
+
}
|
|
141
|
+
toString() {
|
|
142
|
+
return JSON.stringify(this);
|
|
143
|
+
}
|
|
144
|
+
toUrl() {
|
|
145
|
+
return "data:application/json;charset=utf-8;base64," + O(this.toString());
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
function I(u) {
|
|
149
|
+
const t = u.split(`
|
|
150
|
+
`), e = t.filter((r) => /^\t+/.test(r)), i = t.filter((r) => /^ {2,}/.test(r));
|
|
151
|
+
if (e.length === 0 && i.length === 0)
|
|
152
|
+
return null;
|
|
153
|
+
if (e.length >= i.length)
|
|
154
|
+
return " ";
|
|
155
|
+
const n = i.reduce((r, s) => {
|
|
156
|
+
const h = /^ +/.exec(s)[0].length;
|
|
157
|
+
return Math.min(h, r);
|
|
158
|
+
}, 1 / 0);
|
|
159
|
+
return new Array(n + 1).join(" ");
|
|
160
|
+
}
|
|
161
|
+
function A(u, t) {
|
|
162
|
+
const e = u.split(/[/\\]/), i = t.split(/[/\\]/);
|
|
163
|
+
for (e.pop(); e[0] === i[0]; )
|
|
164
|
+
e.shift(), i.shift();
|
|
165
|
+
if (e.length) {
|
|
166
|
+
let n = e.length;
|
|
167
|
+
for (; n--; ) e[n] = "..";
|
|
168
|
+
}
|
|
169
|
+
return e.concat(i).join("/");
|
|
170
|
+
}
|
|
171
|
+
const T = Object.prototype.toString;
|
|
172
|
+
function j(u) {
|
|
173
|
+
return T.call(u) === "[object Object]";
|
|
174
|
+
}
|
|
175
|
+
function y(u) {
|
|
176
|
+
const t = u.split(`
|
|
177
|
+
`), e = [];
|
|
178
|
+
for (let i = 0, n = 0; i < t.length; i++)
|
|
179
|
+
e.push(n), n += t[i].length + 1;
|
|
180
|
+
return function(n) {
|
|
181
|
+
let r = 0, s = e.length;
|
|
182
|
+
for (; r < s; ) {
|
|
183
|
+
const l = r + s >> 1;
|
|
184
|
+
n < e[l] ? s = l : r = l + 1;
|
|
185
|
+
}
|
|
186
|
+
const h = r - 1, o = n - e[h];
|
|
187
|
+
return { line: h, column: o };
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
const $ = /\w/;
|
|
191
|
+
class U {
|
|
192
|
+
constructor(t) {
|
|
193
|
+
this.hires = t, this.generatedCodeLine = 0, this.generatedCodeColumn = 0, this.raw = [], this.rawSegments = this.raw[this.generatedCodeLine] = [], this.pending = null;
|
|
194
|
+
}
|
|
195
|
+
addEdit(t, e, i, n) {
|
|
196
|
+
if (e.length) {
|
|
197
|
+
const r = e.length - 1;
|
|
198
|
+
let s = e.indexOf(`
|
|
199
|
+
`, 0), h = -1;
|
|
200
|
+
for (; s >= 0 && r > s; ) {
|
|
201
|
+
const l = [this.generatedCodeColumn, t, i.line, i.column];
|
|
202
|
+
n >= 0 && l.push(n), this.rawSegments.push(l), this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, h = s, s = e.indexOf(`
|
|
203
|
+
`, s + 1);
|
|
204
|
+
}
|
|
205
|
+
const o = [this.generatedCodeColumn, t, i.line, i.column];
|
|
206
|
+
n >= 0 && o.push(n), this.rawSegments.push(o), this.advance(e.slice(h + 1));
|
|
207
|
+
} else this.pending && (this.rawSegments.push(this.pending), this.advance(e));
|
|
208
|
+
this.pending = null;
|
|
209
|
+
}
|
|
210
|
+
addUneditedChunk(t, e, i, n, r) {
|
|
211
|
+
let s = e.start, h = !0, o = !1;
|
|
212
|
+
for (; s < e.end; ) {
|
|
213
|
+
if (i[s] === `
|
|
214
|
+
`)
|
|
215
|
+
n.line += 1, n.column = 0, this.generatedCodeLine += 1, this.raw[this.generatedCodeLine] = this.rawSegments = [], this.generatedCodeColumn = 0, h = !0, o = !1;
|
|
216
|
+
else {
|
|
217
|
+
if (this.hires || h || r.has(s)) {
|
|
218
|
+
const l = [this.generatedCodeColumn, t, n.line, n.column];
|
|
219
|
+
this.hires === "boundary" ? $.test(i[s]) ? o || (this.rawSegments.push(l), o = !0) : (this.rawSegments.push(l), o = !1) : this.rawSegments.push(l);
|
|
220
|
+
}
|
|
221
|
+
n.column += 1, this.generatedCodeColumn += 1, h = !1;
|
|
222
|
+
}
|
|
223
|
+
s += 1;
|
|
224
|
+
}
|
|
225
|
+
this.pending = null;
|
|
226
|
+
}
|
|
227
|
+
advance(t) {
|
|
228
|
+
if (!t) return;
|
|
229
|
+
const e = t.split(`
|
|
230
|
+
`);
|
|
231
|
+
if (e.length > 1) {
|
|
232
|
+
for (let i = 0; i < e.length - 1; i++)
|
|
233
|
+
this.generatedCodeLine++, this.raw[this.generatedCodeLine] = this.rawSegments = [];
|
|
234
|
+
this.generatedCodeColumn = 0;
|
|
235
|
+
}
|
|
236
|
+
this.generatedCodeColumn += e[e.length - 1].length;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
const d = `
|
|
240
|
+
`, f = {
|
|
241
|
+
insertLeft: !1,
|
|
242
|
+
insertRight: !1,
|
|
243
|
+
storeName: !1
|
|
244
|
+
};
|
|
245
|
+
class v {
|
|
246
|
+
constructor(t, e = {}) {
|
|
247
|
+
const i = new g(0, t.length, t);
|
|
248
|
+
Object.defineProperties(this, {
|
|
249
|
+
original: { writable: !0, value: t },
|
|
250
|
+
outro: { writable: !0, value: "" },
|
|
251
|
+
intro: { writable: !0, value: "" },
|
|
252
|
+
firstChunk: { writable: !0, value: i },
|
|
253
|
+
lastChunk: { writable: !0, value: i },
|
|
254
|
+
lastSearchedChunk: { writable: !0, value: i },
|
|
255
|
+
byStart: { writable: !0, value: {} },
|
|
256
|
+
byEnd: { writable: !0, value: {} },
|
|
257
|
+
filename: { writable: !0, value: e.filename },
|
|
258
|
+
indentExclusionRanges: { writable: !0, value: e.indentExclusionRanges },
|
|
259
|
+
sourcemapLocations: { writable: !0, value: new p() },
|
|
260
|
+
storedNames: { writable: !0, value: {} },
|
|
261
|
+
indentStr: { writable: !0, value: void 0 },
|
|
262
|
+
ignoreList: { writable: !0, value: e.ignoreList },
|
|
263
|
+
offset: { writable: !0, value: e.offset || 0 }
|
|
264
|
+
}), this.byStart[0] = i, this.byEnd[t.length] = i;
|
|
265
|
+
}
|
|
266
|
+
addSourcemapLocation(t) {
|
|
267
|
+
this.sourcemapLocations.add(t);
|
|
268
|
+
}
|
|
269
|
+
append(t) {
|
|
270
|
+
if (typeof t != "string") throw new TypeError("outro content must be a string");
|
|
271
|
+
return this.outro += t, this;
|
|
272
|
+
}
|
|
273
|
+
appendLeft(t, e) {
|
|
274
|
+
if (t = t + this.offset, typeof e != "string") throw new TypeError("inserted content must be a string");
|
|
275
|
+
this._split(t);
|
|
276
|
+
const i = this.byEnd[t];
|
|
277
|
+
return i ? i.appendLeft(e) : this.intro += e, this;
|
|
278
|
+
}
|
|
279
|
+
appendRight(t, e) {
|
|
280
|
+
if (t = t + this.offset, typeof e != "string") throw new TypeError("inserted content must be a string");
|
|
281
|
+
this._split(t);
|
|
282
|
+
const i = this.byStart[t];
|
|
283
|
+
return i ? i.appendRight(e) : this.outro += e, this;
|
|
284
|
+
}
|
|
285
|
+
clone() {
|
|
286
|
+
const t = new v(this.original, { filename: this.filename, offset: this.offset });
|
|
287
|
+
let e = this.firstChunk, i = t.firstChunk = t.lastSearchedChunk = e.clone();
|
|
288
|
+
for (; e; ) {
|
|
289
|
+
t.byStart[i.start] = i, t.byEnd[i.end] = i;
|
|
290
|
+
const n = e.next, r = n && n.clone();
|
|
291
|
+
r && (i.next = r, r.previous = i, i = r), e = n;
|
|
292
|
+
}
|
|
293
|
+
return t.lastChunk = i, this.indentExclusionRanges && (t.indentExclusionRanges = this.indentExclusionRanges.slice()), t.sourcemapLocations = new p(this.sourcemapLocations), t.intro = this.intro, t.outro = this.outro, t;
|
|
294
|
+
}
|
|
295
|
+
generateDecodedMap(t) {
|
|
296
|
+
t = t || {};
|
|
297
|
+
const e = 0, i = Object.keys(this.storedNames), n = new U(t.hires), r = y(this.original);
|
|
298
|
+
return this.intro && n.advance(this.intro), this.firstChunk.eachNext((s) => {
|
|
299
|
+
const h = r(s.start);
|
|
300
|
+
s.intro.length && n.advance(s.intro), s.edited ? n.addEdit(
|
|
301
|
+
e,
|
|
302
|
+
s.content,
|
|
303
|
+
h,
|
|
304
|
+
s.storeName ? i.indexOf(s.original) : -1
|
|
305
|
+
) : n.addUneditedChunk(e, s, this.original, h, this.sourcemapLocations), s.outro.length && n.advance(s.outro);
|
|
306
|
+
}), {
|
|
307
|
+
file: t.file ? t.file.split(/[/\\]/).pop() : void 0,
|
|
308
|
+
sources: [
|
|
309
|
+
t.source ? A(t.file || "", t.source) : t.file || ""
|
|
310
|
+
],
|
|
311
|
+
sourcesContent: t.includeContent ? [this.original] : void 0,
|
|
312
|
+
names: i,
|
|
313
|
+
mappings: n.raw,
|
|
314
|
+
x_google_ignoreList: this.ignoreList ? [e] : void 0
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
generateMap(t) {
|
|
318
|
+
return new N(this.generateDecodedMap(t));
|
|
319
|
+
}
|
|
320
|
+
_ensureindentStr() {
|
|
321
|
+
this.indentStr === void 0 && (this.indentStr = I(this.original));
|
|
322
|
+
}
|
|
323
|
+
_getRawIndentString() {
|
|
324
|
+
return this._ensureindentStr(), this.indentStr;
|
|
325
|
+
}
|
|
326
|
+
getIndentString() {
|
|
327
|
+
return this._ensureindentStr(), this.indentStr === null ? " " : this.indentStr;
|
|
328
|
+
}
|
|
329
|
+
indent(t, e) {
|
|
330
|
+
const i = /^[^\r\n]/gm;
|
|
331
|
+
if (j(t) && (e = t, t = void 0), t === void 0 && (this._ensureindentStr(), t = this.indentStr || " "), t === "") return this;
|
|
332
|
+
e = e || {};
|
|
333
|
+
const n = {};
|
|
334
|
+
e.exclude && (typeof e.exclude[0] == "number" ? [e.exclude] : e.exclude).forEach((a) => {
|
|
335
|
+
for (let w = a[0]; w < a[1]; w += 1)
|
|
336
|
+
n[w] = !0;
|
|
337
|
+
});
|
|
338
|
+
let r = e.indentStart !== !1;
|
|
339
|
+
const s = (l) => r ? `${t}${l}` : (r = !0, l);
|
|
340
|
+
this.intro = this.intro.replace(i, s);
|
|
341
|
+
let h = 0, o = this.firstChunk;
|
|
342
|
+
for (; o; ) {
|
|
343
|
+
const l = o.end;
|
|
344
|
+
if (o.edited)
|
|
345
|
+
n[h] || (o.content = o.content.replace(i, s), o.content.length && (r = o.content[o.content.length - 1] === `
|
|
346
|
+
`));
|
|
347
|
+
else
|
|
348
|
+
for (h = o.start; h < l; ) {
|
|
349
|
+
if (!n[h]) {
|
|
350
|
+
const a = this.original[h];
|
|
351
|
+
a === `
|
|
352
|
+
` ? r = !0 : a !== "\r" && r && (r = !1, h === o.start || (this._splitChunk(o, h), o = o.next), o.prependRight(t));
|
|
353
|
+
}
|
|
354
|
+
h += 1;
|
|
355
|
+
}
|
|
356
|
+
h = o.end, o = o.next;
|
|
357
|
+
}
|
|
358
|
+
return this.outro = this.outro.replace(i, s), this;
|
|
359
|
+
}
|
|
360
|
+
insert() {
|
|
361
|
+
throw new Error(
|
|
362
|
+
"magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)"
|
|
363
|
+
);
|
|
364
|
+
}
|
|
365
|
+
insertLeft(t, e) {
|
|
366
|
+
return f.insertLeft || (console.warn(
|
|
367
|
+
"magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"
|
|
368
|
+
), f.insertLeft = !0), this.appendLeft(t, e);
|
|
369
|
+
}
|
|
370
|
+
insertRight(t, e) {
|
|
371
|
+
return f.insertRight || (console.warn(
|
|
372
|
+
"magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"
|
|
373
|
+
), f.insertRight = !0), this.prependRight(t, e);
|
|
374
|
+
}
|
|
375
|
+
move(t, e, i) {
|
|
376
|
+
if (t = t + this.offset, e = e + this.offset, i = i + this.offset, i >= t && i <= e) throw new Error("Cannot move a selection inside itself");
|
|
377
|
+
this._split(t), this._split(e), this._split(i);
|
|
378
|
+
const n = this.byStart[t], r = this.byEnd[e], s = n.previous, h = r.next, o = this.byStart[i];
|
|
379
|
+
if (!o && r === this.lastChunk) return this;
|
|
380
|
+
const l = o ? o.previous : this.lastChunk;
|
|
381
|
+
return s && (s.next = h), h && (h.previous = s), l && (l.next = n), o && (o.previous = r), n.previous || (this.firstChunk = r.next), r.next || (this.lastChunk = n.previous, this.lastChunk.next = null), n.previous = l, r.next = o || null, l || (this.firstChunk = n), o || (this.lastChunk = r), this;
|
|
382
|
+
}
|
|
383
|
+
overwrite(t, e, i, n) {
|
|
384
|
+
return n = n || {}, this.update(t, e, i, { ...n, overwrite: !n.contentOnly });
|
|
385
|
+
}
|
|
386
|
+
update(t, e, i, n) {
|
|
387
|
+
if (t = t + this.offset, e = e + this.offset, typeof i != "string") throw new TypeError("replacement content must be a string");
|
|
388
|
+
if (this.original.length !== 0) {
|
|
389
|
+
for (; t < 0; ) t += this.original.length;
|
|
390
|
+
for (; e < 0; ) e += this.original.length;
|
|
391
|
+
}
|
|
392
|
+
if (e > this.original.length) throw new Error("end is out of bounds");
|
|
393
|
+
if (t === e)
|
|
394
|
+
throw new Error(
|
|
395
|
+
"Cannot overwrite a zero-length range – use appendLeft or prependRight instead"
|
|
396
|
+
);
|
|
397
|
+
this._split(t), this._split(e), n === !0 && (f.storeName || (console.warn(
|
|
398
|
+
"The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"
|
|
399
|
+
), f.storeName = !0), n = { storeName: !0 });
|
|
400
|
+
const r = n !== void 0 ? n.storeName : !1, s = n !== void 0 ? n.overwrite : !1;
|
|
401
|
+
if (r) {
|
|
402
|
+
const l = this.original.slice(t, e);
|
|
403
|
+
Object.defineProperty(this.storedNames, l, {
|
|
404
|
+
writable: !0,
|
|
405
|
+
value: !0,
|
|
406
|
+
enumerable: !0
|
|
407
|
+
});
|
|
408
|
+
}
|
|
409
|
+
const h = this.byStart[t], o = this.byEnd[e];
|
|
410
|
+
if (h) {
|
|
411
|
+
let l = h;
|
|
412
|
+
for (; l !== o; ) {
|
|
413
|
+
if (l.next !== this.byStart[l.end])
|
|
414
|
+
throw new Error("Cannot overwrite across a split point");
|
|
415
|
+
l = l.next, l.edit("", !1);
|
|
416
|
+
}
|
|
417
|
+
h.edit(i, r, !s);
|
|
418
|
+
} else {
|
|
419
|
+
const l = new g(t, e, "").edit(i, r);
|
|
420
|
+
o.next = l, l.previous = o;
|
|
421
|
+
}
|
|
422
|
+
return this;
|
|
423
|
+
}
|
|
424
|
+
prepend(t) {
|
|
425
|
+
if (typeof t != "string") throw new TypeError("outro content must be a string");
|
|
426
|
+
return this.intro = t + this.intro, this;
|
|
427
|
+
}
|
|
428
|
+
prependLeft(t, e) {
|
|
429
|
+
if (t = t + this.offset, typeof e != "string") throw new TypeError("inserted content must be a string");
|
|
430
|
+
this._split(t);
|
|
431
|
+
const i = this.byEnd[t];
|
|
432
|
+
return i ? i.prependLeft(e) : this.intro = e + this.intro, this;
|
|
433
|
+
}
|
|
434
|
+
prependRight(t, e) {
|
|
435
|
+
if (t = t + this.offset, typeof e != "string") throw new TypeError("inserted content must be a string");
|
|
436
|
+
this._split(t);
|
|
437
|
+
const i = this.byStart[t];
|
|
438
|
+
return i ? i.prependRight(e) : this.outro = e + this.outro, this;
|
|
439
|
+
}
|
|
440
|
+
remove(t, e) {
|
|
441
|
+
if (t = t + this.offset, e = e + this.offset, this.original.length !== 0) {
|
|
442
|
+
for (; t < 0; ) t += this.original.length;
|
|
443
|
+
for (; e < 0; ) e += this.original.length;
|
|
444
|
+
}
|
|
445
|
+
if (t === e) return this;
|
|
446
|
+
if (t < 0 || e > this.original.length) throw new Error("Character is out of bounds");
|
|
447
|
+
if (t > e) throw new Error("end must be greater than start");
|
|
448
|
+
this._split(t), this._split(e);
|
|
449
|
+
let i = this.byStart[t];
|
|
450
|
+
for (; i; )
|
|
451
|
+
i.intro = "", i.outro = "", i.edit(""), i = e > i.end ? this.byStart[i.end] : null;
|
|
452
|
+
return this;
|
|
453
|
+
}
|
|
454
|
+
reset(t, e) {
|
|
455
|
+
if (t = t + this.offset, e = e + this.offset, this.original.length !== 0) {
|
|
456
|
+
for (; t < 0; ) t += this.original.length;
|
|
457
|
+
for (; e < 0; ) e += this.original.length;
|
|
458
|
+
}
|
|
459
|
+
if (t === e) return this;
|
|
460
|
+
if (t < 0 || e > this.original.length) throw new Error("Character is out of bounds");
|
|
461
|
+
if (t > e) throw new Error("end must be greater than start");
|
|
462
|
+
this._split(t), this._split(e);
|
|
463
|
+
let i = this.byStart[t];
|
|
464
|
+
for (; i; )
|
|
465
|
+
i.reset(), i = e > i.end ? this.byStart[i.end] : null;
|
|
466
|
+
return this;
|
|
467
|
+
}
|
|
468
|
+
lastChar() {
|
|
469
|
+
if (this.outro.length) return this.outro[this.outro.length - 1];
|
|
470
|
+
let t = this.lastChunk;
|
|
471
|
+
do {
|
|
472
|
+
if (t.outro.length) return t.outro[t.outro.length - 1];
|
|
473
|
+
if (t.content.length) return t.content[t.content.length - 1];
|
|
474
|
+
if (t.intro.length) return t.intro[t.intro.length - 1];
|
|
475
|
+
} while (t = t.previous);
|
|
476
|
+
return this.intro.length ? this.intro[this.intro.length - 1] : "";
|
|
477
|
+
}
|
|
478
|
+
lastLine() {
|
|
479
|
+
let t = this.outro.lastIndexOf(d);
|
|
480
|
+
if (t !== -1) return this.outro.substr(t + 1);
|
|
481
|
+
let e = this.outro, i = this.lastChunk;
|
|
482
|
+
do {
|
|
483
|
+
if (i.outro.length > 0) {
|
|
484
|
+
if (t = i.outro.lastIndexOf(d), t !== -1) return i.outro.substr(t + 1) + e;
|
|
485
|
+
e = i.outro + e;
|
|
486
|
+
}
|
|
487
|
+
if (i.content.length > 0) {
|
|
488
|
+
if (t = i.content.lastIndexOf(d), t !== -1) return i.content.substr(t + 1) + e;
|
|
489
|
+
e = i.content + e;
|
|
490
|
+
}
|
|
491
|
+
if (i.intro.length > 0) {
|
|
492
|
+
if (t = i.intro.lastIndexOf(d), t !== -1) return i.intro.substr(t + 1) + e;
|
|
493
|
+
e = i.intro + e;
|
|
494
|
+
}
|
|
495
|
+
} while (i = i.previous);
|
|
496
|
+
return t = this.intro.lastIndexOf(d), t !== -1 ? this.intro.substr(t + 1) + e : this.intro + e;
|
|
497
|
+
}
|
|
498
|
+
slice(t = 0, e = this.original.length - this.offset) {
|
|
499
|
+
if (t = t + this.offset, e = e + this.offset, this.original.length !== 0) {
|
|
500
|
+
for (; t < 0; ) t += this.original.length;
|
|
501
|
+
for (; e < 0; ) e += this.original.length;
|
|
502
|
+
}
|
|
503
|
+
let i = "", n = this.firstChunk;
|
|
504
|
+
for (; n && (n.start > t || n.end <= t); ) {
|
|
505
|
+
if (n.start < e && n.end >= e)
|
|
506
|
+
return i;
|
|
507
|
+
n = n.next;
|
|
508
|
+
}
|
|
509
|
+
if (n && n.edited && n.start !== t)
|
|
510
|
+
throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);
|
|
511
|
+
const r = n;
|
|
512
|
+
for (; n; ) {
|
|
513
|
+
n.intro && (r !== n || n.start === t) && (i += n.intro);
|
|
514
|
+
const s = n.start < e && n.end >= e;
|
|
515
|
+
if (s && n.edited && n.end !== e)
|
|
516
|
+
throw new Error(`Cannot use replaced character ${e} as slice end anchor.`);
|
|
517
|
+
const h = r === n ? t - n.start : 0, o = s ? n.content.length + e - n.end : n.content.length;
|
|
518
|
+
if (i += n.content.slice(h, o), n.outro && (!s || n.end === e) && (i += n.outro), s)
|
|
519
|
+
break;
|
|
520
|
+
n = n.next;
|
|
521
|
+
}
|
|
522
|
+
return i;
|
|
523
|
+
}
|
|
524
|
+
// TODO deprecate this? not really very useful
|
|
525
|
+
snip(t, e) {
|
|
526
|
+
const i = this.clone();
|
|
527
|
+
return i.remove(0, t), i.remove(e, i.original.length), i;
|
|
528
|
+
}
|
|
529
|
+
_split(t) {
|
|
530
|
+
if (this.byStart[t] || this.byEnd[t]) return;
|
|
531
|
+
let e = this.lastSearchedChunk;
|
|
532
|
+
const i = t > e.end;
|
|
533
|
+
for (; e; ) {
|
|
534
|
+
if (e.contains(t)) return this._splitChunk(e, t);
|
|
535
|
+
e = i ? this.byStart[e.end] : this.byEnd[e.start];
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
_splitChunk(t, e) {
|
|
539
|
+
if (t.edited && t.content.length) {
|
|
540
|
+
const n = y(this.original)(e);
|
|
541
|
+
throw new Error(
|
|
542
|
+
`Cannot split a chunk that has already been edited (${n.line}:${n.column} – "${t.original}")`
|
|
543
|
+
);
|
|
544
|
+
}
|
|
545
|
+
const i = t.split(e);
|
|
546
|
+
return this.byEnd[e] = t, this.byStart[e] = i, this.byEnd[i.end] = i, t === this.lastChunk && (this.lastChunk = i), this.lastSearchedChunk = t, !0;
|
|
547
|
+
}
|
|
548
|
+
toString() {
|
|
549
|
+
let t = this.intro, e = this.firstChunk;
|
|
550
|
+
for (; e; )
|
|
551
|
+
t += e.toString(), e = e.next;
|
|
552
|
+
return t + this.outro;
|
|
553
|
+
}
|
|
554
|
+
isEmpty() {
|
|
555
|
+
let t = this.firstChunk;
|
|
556
|
+
do
|
|
557
|
+
if (t.intro.length && t.intro.trim() || t.content.length && t.content.trim() || t.outro.length && t.outro.trim())
|
|
558
|
+
return !1;
|
|
559
|
+
while (t = t.next);
|
|
560
|
+
return !0;
|
|
561
|
+
}
|
|
562
|
+
length() {
|
|
563
|
+
let t = this.firstChunk, e = 0;
|
|
564
|
+
do
|
|
565
|
+
e += t.intro.length + t.content.length + t.outro.length;
|
|
566
|
+
while (t = t.next);
|
|
567
|
+
return e;
|
|
568
|
+
}
|
|
569
|
+
trimLines() {
|
|
570
|
+
return this.trim("[\\r\\n]");
|
|
571
|
+
}
|
|
572
|
+
trim(t) {
|
|
573
|
+
return this.trimStart(t).trimEnd(t);
|
|
574
|
+
}
|
|
575
|
+
trimEndAborted(t) {
|
|
576
|
+
const e = new RegExp((t || "\\s") + "+$");
|
|
577
|
+
if (this.outro = this.outro.replace(e, ""), this.outro.length) return !0;
|
|
578
|
+
let i = this.lastChunk;
|
|
579
|
+
do {
|
|
580
|
+
const n = i.end, r = i.trimEnd(e);
|
|
581
|
+
if (i.end !== n && (this.lastChunk === i && (this.lastChunk = i.next), this.byEnd[i.end] = i, this.byStart[i.next.start] = i.next, this.byEnd[i.next.end] = i.next), r) return !0;
|
|
582
|
+
i = i.previous;
|
|
583
|
+
} while (i);
|
|
584
|
+
return !1;
|
|
585
|
+
}
|
|
586
|
+
trimEnd(t) {
|
|
587
|
+
return this.trimEndAborted(t), this;
|
|
588
|
+
}
|
|
589
|
+
trimStartAborted(t) {
|
|
590
|
+
const e = new RegExp("^" + (t || "\\s") + "+");
|
|
591
|
+
if (this.intro = this.intro.replace(e, ""), this.intro.length) return !0;
|
|
592
|
+
let i = this.firstChunk;
|
|
593
|
+
do {
|
|
594
|
+
const n = i.end, r = i.trimStart(e);
|
|
595
|
+
if (i.end !== n && (i === this.lastChunk && (this.lastChunk = i.next), this.byEnd[i.end] = i, this.byStart[i.next.start] = i.next, this.byEnd[i.next.end] = i.next), r) return !0;
|
|
596
|
+
i = i.next;
|
|
597
|
+
} while (i);
|
|
598
|
+
return !1;
|
|
599
|
+
}
|
|
600
|
+
trimStart(t) {
|
|
601
|
+
return this.trimStartAborted(t), this;
|
|
602
|
+
}
|
|
603
|
+
hasChanged() {
|
|
604
|
+
return this.original !== this.toString();
|
|
605
|
+
}
|
|
606
|
+
_replaceRegexp(t, e) {
|
|
607
|
+
function i(r, s) {
|
|
608
|
+
return typeof e == "string" ? e.replace(/\$(\$|&|\d+)/g, (h, o) => o === "$" ? "$" : o === "&" ? r[0] : +o < r.length ? r[+o] : `$${o}`) : e(...r, r.index, s, r.groups);
|
|
609
|
+
}
|
|
610
|
+
function n(r, s) {
|
|
611
|
+
let h;
|
|
612
|
+
const o = [];
|
|
613
|
+
for (; h = r.exec(s); )
|
|
614
|
+
o.push(h);
|
|
615
|
+
return o;
|
|
616
|
+
}
|
|
617
|
+
if (t.global)
|
|
618
|
+
n(t, this.original).forEach((s) => {
|
|
619
|
+
if (s.index != null) {
|
|
620
|
+
const h = i(s, this.original);
|
|
621
|
+
h !== s[0] && this.overwrite(s.index, s.index + s[0].length, h);
|
|
622
|
+
}
|
|
623
|
+
});
|
|
624
|
+
else {
|
|
625
|
+
const r = this.original.match(t);
|
|
626
|
+
if (r && r.index != null) {
|
|
627
|
+
const s = i(r, this.original);
|
|
628
|
+
s !== r[0] && this.overwrite(r.index, r.index + r[0].length, s);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
return this;
|
|
632
|
+
}
|
|
633
|
+
_replaceString(t, e) {
|
|
634
|
+
const { original: i } = this, n = i.indexOf(t);
|
|
635
|
+
return n !== -1 && this.overwrite(n, n + t.length, e), this;
|
|
636
|
+
}
|
|
637
|
+
replace(t, e) {
|
|
638
|
+
return typeof t == "string" ? this._replaceString(t, e) : this._replaceRegexp(t, e);
|
|
639
|
+
}
|
|
640
|
+
_replaceAllString(t, e) {
|
|
641
|
+
const { original: i } = this, n = t.length;
|
|
642
|
+
for (let r = i.indexOf(t); r !== -1; r = i.indexOf(t, r + n))
|
|
643
|
+
i.slice(r, r + n) !== e && this.overwrite(r, r + n, e);
|
|
644
|
+
return this;
|
|
645
|
+
}
|
|
646
|
+
replaceAll(t, e) {
|
|
647
|
+
if (typeof t == "string")
|
|
648
|
+
return this._replaceAllString(t, e);
|
|
649
|
+
if (!t.global)
|
|
650
|
+
throw new TypeError(
|
|
651
|
+
"MagicString.prototype.replaceAll called with a non-global RegExp argument"
|
|
652
|
+
);
|
|
653
|
+
return this._replaceRegexp(t, e);
|
|
654
|
+
}
|
|
655
|
+
}
|
|
656
|
+
export {
|
|
657
|
+
N as SourceMap,
|
|
658
|
+
v as default
|
|
659
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as t, createElementVNode as n } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
"stroke-linecap": "round",
|
|
7
|
+
"stroke-linejoin": "round",
|
|
8
|
+
viewBox: "0 0 12 12"
|
|
9
|
+
};
|
|
10
|
+
function l(c, e) {
|
|
11
|
+
return o(), t("svg", r, e[0] || (e[0] = [
|
|
12
|
+
n("path", {
|
|
13
|
+
d: "M3.75 4h4m-4 1.984H6m-1.088 3.36L3.75 10V8.588h-1c-.398 0-.78-.148-1.06-.413a1.37 1.37 0 0 1-.44-.999V3.412c0-.375.158-.734.44-.998A1.55 1.55 0 0 1 2.75 2h6c.398 0 .78.149 1.06.414.282.264.44.623.44.998v2.117M8.75 7l-.564 1.436L6.75 9l1.436.564L8.75 11l.564-1.436L10.75 9l-1.436-.564z",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
]));
|
|
17
|
+
}
|
|
18
|
+
const a = { render: l };
|
|
19
|
+
export {
|
|
20
|
+
a as default,
|
|
21
|
+
l as render
|
|
22
|
+
};
|