@mhmo91/schmancy 0.5.21 → 0.5.23
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/dist/{animated-text-CLEr78FV.js → animated-text-Do2JCORX.js} +3 -3
- package/dist/{animated-text-CLEr78FV.js.map → animated-text-Do2JCORX.js.map} +1 -1
- package/dist/{animated-text-Bic7z7SI.cjs → animated-text-f2NuhTiS.cjs} +2 -2
- package/dist/{animated-text-Bic7z7SI.cjs.map → animated-text-f2NuhTiS.cjs.map} +1 -1
- package/dist/animated-text.cjs +1 -1
- package/dist/animated-text.js +1 -1
- package/dist/area.cjs +1 -1
- package/dist/{area.component-tIK_P5JR.js → area.component-BSMLE67D.js} +3 -3
- package/dist/{area.component-tIK_P5JR.js.map → area.component-BSMLE67D.js.map} +1 -1
- package/dist/{area.component-BrvNYy7Z.cjs → area.component-Dez2yju_.cjs} +2 -2
- package/dist/{area.component-BrvNYy7Z.cjs.map → area.component-Dez2yju_.cjs.map} +1 -1
- package/dist/area.js +1 -1
- package/dist/autocomplete-CTrPzVTE.js +332 -0
- package/dist/autocomplete-CTrPzVTE.js.map +1 -0
- package/dist/autocomplete-D-p-hOUD.cjs +112 -0
- package/dist/autocomplete-D-p-hOUD.cjs.map +1 -0
- package/dist/autocomplete.cjs +1 -1
- package/dist/autocomplete.js +1 -1
- package/dist/{avatar--NfBgxWj.js → avatar-BbJkXEbj.js} +51 -51
- package/dist/{avatar--NfBgxWj.js.map → avatar-BbJkXEbj.js.map} +1 -1
- package/dist/{avatar-BT1w6myH.cjs → avatar-lHK31d6x.cjs} +2 -2
- package/dist/{avatar-BT1w6myH.cjs.map → avatar-lHK31d6x.cjs.map} +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.js +1 -1
- package/dist/{boat-DP98_5qG.cjs → boat-BdZ8qIVE.cjs} +2 -2
- package/dist/{boat-DP98_5qG.cjs.map → boat-BdZ8qIVE.cjs.map} +1 -1
- package/dist/{boat-BdJ1jyK_.js → boat-Jju9mnxp.js} +2 -2
- package/dist/{boat-BdJ1jyK_.js.map → boat-Jju9mnxp.js.map} +1 -1
- package/dist/boat.cjs +1 -1
- package/dist/boat.js +1 -1
- package/dist/busy.cjs +1 -1
- package/dist/busy.js +1 -1
- package/dist/button.cjs +1 -1
- package/dist/button.js +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.js +1 -1
- package/dist/{checkbox-4mBWkzKG.js → checkbox-C-iKquia.js} +101 -103
- package/dist/checkbox-C-iKquia.js.map +1 -0
- package/dist/checkbox-DWZfWmmN.cjs +40 -0
- package/dist/checkbox-DWZfWmmN.cjs.map +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.js +1 -1
- package/dist/chips.cjs +1 -1
- package/dist/chips.js +2 -2
- package/dist/code-highlight.cjs +1 -1
- package/dist/code-highlight.js +1 -1
- package/dist/{code-preview-CHuRZ9cY.cjs → code-preview-4wU5lZC2.cjs} +6 -7
- package/dist/{code-preview-CHuRZ9cY.cjs.map → code-preview-4wU5lZC2.cjs.map} +1 -1
- package/dist/{code-preview-DrB-Y8dn.js → code-preview-BRMIOyPn.js} +7 -8
- package/dist/{code-preview-DrB-Y8dn.js.map → code-preview-BRMIOyPn.js.map} +1 -1
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/content-drawer.cjs +1 -1
- package/dist/content-drawer.js +1 -1
- package/dist/{context-object-u5gBaozZ.js → context-object-BE1o2XB3.js} +158 -159
- package/dist/context-object-BE1o2XB3.js.map +1 -0
- package/dist/context-object-DA9DM9QJ.cjs +2 -0
- package/dist/context-object-DA9DM9QJ.cjs.map +1 -0
- package/dist/{date-range-CM-5J_JO.js → date-range-De83wfZy.js} +3 -3
- package/dist/{date-range-CM-5J_JO.js.map → date-range-De83wfZy.js.map} +1 -1
- package/dist/{date-range-B0yz-_Zv.cjs → date-range-RKsMmIJo.cjs} +2 -2
- package/dist/{date-range-B0yz-_Zv.cjs.map → date-range-RKsMmIJo.cjs.map} +1 -1
- package/dist/{date-range-inline-P8P2ixg1.cjs → date-range-inline-CYfe4cSe.cjs} +2 -2
- package/dist/{date-range-inline-P8P2ixg1.cjs.map → date-range-inline-CYfe4cSe.cjs.map} +1 -1
- package/dist/{date-range-inline-CPI4EyL0.js → date-range-inline-haX8zJj5.js} +3 -3
- package/dist/{date-range-inline-CPI4EyL0.js.map → date-range-inline-haX8zJj5.js.map} +1 -1
- package/dist/date-range-inline.cjs +1 -1
- package/dist/date-range-inline.js +1 -1
- package/dist/date-range.cjs +1 -1
- package/dist/date-range.js +1 -1
- package/dist/{delay-1aTGz1ZH.cjs → delay-BRnV1hev.cjs} +2 -2
- package/dist/{delay-1aTGz1ZH.cjs.map → delay-BRnV1hev.cjs.map} +1 -1
- package/dist/{delay-Lg_7K_Vi.js → delay-DIvTLOWT.js} +2 -2
- package/dist/{delay-Lg_7K_Vi.js.map → delay-DIvTLOWT.js.map} +1 -1
- package/dist/delay.cjs +1 -1
- package/dist/delay.js +1 -1
- package/dist/{details-uxsPpjMp.cjs → details-BdJ7abcF.cjs} +2 -2
- package/dist/{details-uxsPpjMp.cjs.map → details-BdJ7abcF.cjs.map} +1 -1
- package/dist/{details-gUvX6sxc.js → details-YP34eEOP.js} +2 -2
- package/dist/{details-gUvX6sxc.js.map → details-YP34eEOP.js.map} +1 -1
- package/dist/details.cjs +1 -1
- package/dist/details.js +1 -1
- package/dist/{dialog-content-DKLDmgfz.js → dialog-content-B1PDSXlF.js} +3 -3
- package/dist/{dialog-content-DKLDmgfz.js.map → dialog-content-B1PDSXlF.js.map} +1 -1
- package/dist/{dialog-content-CvVd9EwS.cjs → dialog-content-DVFcNrW6.cjs} +2 -2
- package/dist/{dialog-content-CvVd9EwS.cjs.map → dialog-content-DVFcNrW6.cjs.map} +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.js +1 -1
- package/dist/{divider-CHGffGro.cjs → divider-Ck3Pm0Sj.cjs} +2 -2
- package/dist/{divider-CHGffGro.cjs.map → divider-Ck3Pm0Sj.cjs.map} +1 -1
- package/dist/{divider-EvBnlb2a.js → divider-ZpoqXrpr.js} +3 -3
- package/dist/{divider-EvBnlb2a.js.map → divider-ZpoqXrpr.js.map} +1 -1
- package/dist/divider.cjs +1 -1
- package/dist/divider.js +1 -1
- package/dist/{dropdown-content-NGBIkvdR.js → dropdown-content-CaejLE2F.js} +3 -3
- package/dist/{dropdown-content-NGBIkvdR.js.map → dropdown-content-CaejLE2F.js.map} +1 -1
- package/dist/{dropdown-content-FVKimBQR.cjs → dropdown-content-Cb7bvik_.cjs} +2 -2
- package/dist/{dropdown-content-FVKimBQR.cjs.map → dropdown-content-Cb7bvik_.cjs.map} +1 -1
- package/dist/dropdown.cjs +1 -1
- package/dist/dropdown.js +1 -1
- package/dist/{email-recipients-DxqCC99q.cjs → email-recipients-6po8vlOh.cjs} +2 -2
- package/dist/{email-recipients-DxqCC99q.cjs.map → email-recipients-6po8vlOh.cjs.map} +1 -1
- package/dist/{email-recipients-CXFSIsL-.js → email-recipients-Ba_Otsk0.js} +5 -5
- package/dist/{email-recipients-CXFSIsL-.js.map → email-recipients-Ba_Otsk0.js.map} +1 -1
- package/dist/extra.cjs +1 -1
- package/dist/extra.js +1 -1
- package/dist/{flex-DisTVvBI.cjs → flex-CDA_38jQ.cjs} +2 -2
- package/dist/{flex-DisTVvBI.cjs.map → flex-CDA_38jQ.cjs.map} +1 -1
- package/dist/{flex-Cm4nZM9q.js → flex-CLQrGtIm.js} +2 -2
- package/dist/{flex-Cm4nZM9q.js.map → flex-CLQrGtIm.js.map} +1 -1
- package/dist/{form-SMbhjYsC.cjs → form-B7-c3KWc.cjs} +2 -2
- package/dist/{form-SMbhjYsC.cjs.map → form-B7-c3KWc.cjs.map} +1 -1
- package/dist/{form-BU9TBjfk.js → form-DtrqYBas.js} +2 -2
- package/dist/{form-BU9TBjfk.js.map → form-DtrqYBas.js.map} +1 -1
- package/dist/form.cjs +1 -1
- package/dist/form.js +1 -1
- package/dist/{formField.mixin-DxhnL3Kb.js → formField.mixin-BPjq6dKf.js} +2 -2
- package/dist/{formField.mixin-DxhnL3Kb.js.map → formField.mixin-BPjq6dKf.js.map} +1 -1
- package/dist/{formField.mixin-DYkeOpES.cjs → formField.mixin-C87lQQIw.cjs} +2 -2
- package/dist/{formField.mixin-DYkeOpES.cjs.map → formField.mixin-C87lQQIw.cjs.map} +1 -1
- package/dist/{icon-BT_1B5_G.cjs → icon-B7ChIXLP.cjs} +2 -2
- package/dist/{icon-BT_1B5_G.cjs.map → icon-B7ChIXLP.cjs.map} +1 -1
- package/dist/{icon-Cgd3NUcv.js → icon-C6sk1e1d.js} +2 -2
- package/dist/{icon-Cgd3NUcv.js.map → icon-C6sk1e1d.js.map} +1 -1
- package/dist/{icon-button-C5hq1cKD.cjs → icon-button-CAUrSeGm.cjs} +2 -2
- package/dist/{icon-button-C5hq1cKD.cjs.map → icon-button-CAUrSeGm.cjs.map} +1 -1
- package/dist/{icon-button-DsjqusZz.js → icon-button-CU2UDZR7.js} +3 -3
- package/dist/{icon-button-DsjqusZz.js.map → icon-button-CU2UDZR7.js.map} +1 -1
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +51 -51
- package/dist/{input-D3qmQZ-Y.cjs → input-BIOflk_4.cjs} +2 -2
- package/dist/{input-D3qmQZ-Y.cjs.map → input-BIOflk_4.cjs.map} +1 -1
- package/dist/{input-Bj4MTOC9.js → input-BdadJyMU.js} +4 -4
- package/dist/{input-Bj4MTOC9.js.map → input-BdadJyMU.js.map} +1 -1
- package/dist/{input-chip-DiThsRoi.js → input-chip-Ddvjmzdt.js} +2 -2
- package/dist/{input-chip-DiThsRoi.js.map → input-chip-Ddvjmzdt.js.map} +1 -1
- package/dist/{input-chip-CbD-eDs-.cjs → input-chip-IrLdDdsH.cjs} +2 -2
- package/dist/{input-chip-CbD-eDs-.cjs.map → input-chip-IrLdDdsH.cjs.map} +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.js +1 -1
- package/dist/{list-5Y_CGGJF.cjs → list-DHqttG-L.cjs} +2 -2
- package/dist/{list-5Y_CGGJF.cjs.map → list-DHqttG-L.cjs.map} +1 -1
- package/dist/{list-CAFpmXsb.js → list-tM2KMQEk.js} +2 -2
- package/dist/{list-CAFpmXsb.js.map → list-tM2KMQEk.js.map} +1 -1
- package/dist/list.cjs +1 -1
- package/dist/list.js +1 -1
- package/dist/{litElement.mixin-Bv6DGuhe.js → litElement.mixin-3N_m8Nzd.js} +2 -2
- package/dist/{litElement.mixin-Bv6DGuhe.js.map → litElement.mixin-3N_m8Nzd.js.map} +1 -1
- package/dist/{litElement.mixin-rWG9s46P.cjs → litElement.mixin-Df8xHue5.cjs} +2 -2
- package/dist/{litElement.mixin-rWG9s46P.cjs.map → litElement.mixin-Df8xHue5.cjs.map} +1 -1
- package/dist/mailbox.cjs +1 -1
- package/dist/mailbox.js +1 -1
- package/dist/{map-yv8FB9mG.js → map-whBWXMf1.js} +2 -2
- package/dist/{map-yv8FB9mG.js.map → map-whBWXMf1.js.map} +1 -1
- package/dist/{map-bTOQf8Jm.cjs → map-wuM8gVOo.cjs} +2 -2
- package/dist/{map-bTOQf8Jm.cjs.map → map-wuM8gVOo.cjs.map} +1 -1
- package/dist/map.cjs +1 -1
- package/dist/map.js +1 -1
- package/dist/{media-CPIoKlRw.cjs → media-CTAUAb26.cjs} +2 -2
- package/dist/{media-CPIoKlRw.cjs.map → media-CTAUAb26.cjs.map} +1 -1
- package/dist/{media-CA52MXd3.js → media-DQi9RiAW.js} +2 -2
- package/dist/{media-CA52MXd3.js.map → media-DQi9RiAW.js.map} +1 -1
- package/dist/{menu-BKO9PgJq.js → menu-C_i7sMLn.js} +3 -3
- package/dist/{menu-BKO9PgJq.js.map → menu-C_i7sMLn.js.map} +1 -1
- package/dist/{menu-Cak8SbFx.cjs → menu-d6lQa4kG.cjs} +2 -2
- package/dist/{menu-Cak8SbFx.cjs.map → menu-d6lQa4kG.cjs.map} +1 -1
- package/dist/menu.cjs +1 -1
- package/dist/menu.js +1 -1
- package/dist/nav-drawer.cjs +1 -1
- package/dist/nav-drawer.js +1 -1
- package/dist/navigation-bar.cjs +1 -1
- package/dist/navigation-bar.js +1 -1
- package/dist/{navigation-rail-C8OOb0V3.js → navigation-rail-Br-sKVac.js} +3 -3
- package/dist/{navigation-rail-C8OOb0V3.js.map → navigation-rail-Br-sKVac.js.map} +1 -1
- package/dist/{navigation-rail-D1iYDMy2.cjs → navigation-rail-ChEA8naU.cjs} +2 -2
- package/dist/{navigation-rail-D1iYDMy2.cjs.map → navigation-rail-ChEA8naU.cjs.map} +1 -1
- package/dist/navigation-rail.cjs +1 -1
- package/dist/navigation-rail.js +1 -1
- package/dist/{notification-service-jfBwJ2TN.js → notification-service-DDqJgrdo.js} +4 -4
- package/dist/{notification-service-jfBwJ2TN.js.map → notification-service-DDqJgrdo.js.map} +1 -1
- package/dist/{notification-service-DaXxcXyj.cjs → notification-service-Dku7plm9.cjs} +2 -2
- package/dist/{notification-service-DaXxcXyj.cjs.map → notification-service-Dku7plm9.cjs.map} +1 -1
- package/dist/notification.cjs +1 -1
- package/dist/notification.js +2 -2
- package/dist/{notify-C5gy3egX.js → notify-CdiZg2_t.js} +2 -2
- package/dist/{notify-C5gy3egX.js.map → notify-CdiZg2_t.js.map} +1 -1
- package/dist/{notify-Dd5h2l-v.cjs → notify-fV1Z6dpj.cjs} +2 -2
- package/dist/{notify-Dd5h2l-v.cjs.map → notify-fV1Z6dpj.cjs.map} +1 -1
- package/dist/{option-D7b-uGff.js → option--zfJKePL.js} +2 -2
- package/dist/{option-D7b-uGff.js.map → option--zfJKePL.js.map} +1 -1
- package/dist/{option-C6PwIhut.cjs → option-CiztepV4.cjs} +2 -2
- package/dist/{option-C6PwIhut.cjs.map → option-CiztepV4.cjs.map} +1 -1
- package/dist/option.cjs +1 -1
- package/dist/option.js +1 -1
- package/dist/{payment-card-form-xwk5dfeQ.js → payment-card-form-Bi6IhJNn.js} +3 -3
- package/dist/{payment-card-form-xwk5dfeQ.js.map → payment-card-form-Bi6IhJNn.js.map} +1 -1
- package/dist/{payment-card-form-DTfoZiiN.cjs → payment-card-form-DwD6L0p_.cjs} +2 -2
- package/dist/{payment-card-form-DTfoZiiN.cjs.map → payment-card-form-DwD6L0p_.cjs.map} +1 -1
- package/dist/{progress-D-5gThOU.js → progress-72O6pPs_.js} +2 -2
- package/dist/{progress-D-5gThOU.js.map → progress-72O6pPs_.js.map} +1 -1
- package/dist/{progress-sFt6EeRy.cjs → progress-CoxNFuk8.cjs} +2 -2
- package/dist/{progress-sFt6EeRy.cjs.map → progress-CoxNFuk8.cjs.map} +1 -1
- package/dist/progress.cjs +1 -1
- package/dist/progress.js +1 -1
- package/dist/{radio-button-Cc5fCDdU.cjs → radio-button-CNy9D8nw.cjs} +2 -2
- package/dist/{radio-button-Cc5fCDdU.cjs.map → radio-button-CNy9D8nw.cjs.map} +1 -1
- package/dist/{radio-button-CZq8Z-V-.js → radio-button-DAPfHWim.js} +3 -3
- package/dist/{radio-button-CZq8Z-V-.js.map → radio-button-DAPfHWim.js.map} +1 -1
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/{schmancy-steps-container-Cb-cUZWP.cjs → schmancy-steps-container-BWySiig4.cjs} +2 -2
- package/dist/{schmancy-steps-container-Cb-cUZWP.cjs.map → schmancy-steps-container-BWySiig4.cjs.map} +1 -1
- package/dist/{schmancy-steps-container-DkPckhRw.js → schmancy-steps-container-BxzKa7RY.js} +2 -2
- package/dist/{schmancy-steps-container-DkPckhRw.js.map → schmancy-steps-container-BxzKa7RY.js.map} +1 -1
- package/dist/{select-BxlDe36e.js → select-DM2lJWsO.js} +14 -14
- package/dist/select-DM2lJWsO.js.map +1 -0
- package/dist/{select-Cod_lOwT.cjs → select-l1ye_NvA.cjs} +4 -4
- package/dist/select-l1ye_NvA.cjs.map +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.js +1 -1
- package/dist/{selector-hook-ChImS_JT.js → selector-hook-DOsvFxG2.js} +2 -2
- package/dist/{selector-hook-ChImS_JT.js.map → selector-hook-DOsvFxG2.js.map} +1 -1
- package/dist/{selector-hook-cqmAutda.cjs → selector-hook-DQ9zoDM4.cjs} +2 -2
- package/dist/{selector-hook-cqmAutda.cjs.map → selector-hook-DQ9zoDM4.cjs.map} +1 -1
- package/dist/{sheet-BscruHZw.js → sheet-6dHhG8JF.js} +4 -4
- package/dist/{sheet-BscruHZw.js.map → sheet-6dHhG8JF.js.map} +1 -1
- package/dist/{sheet-ZHVITumf.cjs → sheet-Ce6qoile.cjs} +3 -3
- package/dist/{sheet-ZHVITumf.cjs.map → sheet-Ce6qoile.cjs.map} +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.js +1 -1
- package/dist/{slider-gBHyj2TC.js → slider-B5RixsC-.js} +3 -3
- package/dist/{slider-gBHyj2TC.js.map → slider-B5RixsC-.js.map} +1 -1
- package/dist/{slider-BKUCiMOV.cjs → slider-B65CWJPr.cjs} +2 -2
- package/dist/{slider-BKUCiMOV.cjs.map → slider-B65CWJPr.cjs.map} +1 -1
- package/dist/slider.cjs +1 -1
- package/dist/slider.js +1 -1
- package/dist/{spinner-CiRbCC74.cjs → spinner-BIE4wGt6.cjs} +2 -2
- package/dist/{spinner-CiRbCC74.cjs.map → spinner-BIE4wGt6.cjs.map} +1 -1
- package/dist/{spinner-DZ3oE5cQ.js → spinner-Bj60gT3J.js} +2 -2
- package/dist/{spinner-DZ3oE5cQ.js.map → spinner-Bj60gT3J.js.map} +1 -1
- package/dist/steps.cjs +1 -1
- package/dist/steps.js +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.js +2 -2
- package/dist/{suggestion-chip-AVshmS4V.cjs → suggestion-chip-Cg0XlLBm.cjs} +8 -8
- package/dist/suggestion-chip-Cg0XlLBm.cjs.map +1 -0
- package/dist/{suggestion-chip-CxQK5dcP.js → suggestion-chip-ug7g3Gxu.js} +10 -10
- package/dist/suggestion-chip-ug7g3Gxu.js.map +1 -0
- package/dist/{surface-DTqeD1NX.cjs → surface-68DZCaYM.cjs} +2 -2
- package/dist/{surface-DTqeD1NX.cjs.map → surface-68DZCaYM.cjs.map} +1 -1
- package/dist/{surface-C4Lkv6Xu.js → surface-Dp2ZLwZf.js} +2 -2
- package/dist/{surface-C4Lkv6Xu.js.map → surface-Dp2ZLwZf.js.map} +1 -1
- package/dist/surface.cjs +1 -1
- package/dist/surface.js +1 -1
- package/dist/{table-D320TllW.js → table-DPApxXET.js} +2 -2
- package/dist/{table-D320TllW.js.map → table-DPApxXET.js.map} +1 -1
- package/dist/{table-CGB_dR8H.cjs → table-DkPrJwrr.cjs} +2 -2
- package/dist/{table-CGB_dR8H.cjs.map → table-DkPrJwrr.cjs.map} +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.js +1 -1
- package/dist/{tabs-compatibility-DNkcL6dE.js → tabs-compatibility-D-7b_hie.js} +2 -2
- package/dist/{tabs-compatibility-DNkcL6dE.js.map → tabs-compatibility-D-7b_hie.js.map} +1 -1
- package/dist/{tabs-compatibility-C1ifLAs_.cjs → tabs-compatibility-DjrZHk1o.cjs} +2 -2
- package/dist/{tabs-compatibility-C1ifLAs_.cjs.map → tabs-compatibility-DjrZHk1o.cjs.map} +1 -1
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tailwind.mixin-CkQXl1kF.js +43 -0
- package/dist/{tailwind.mixin-9XFzAXGw.js.map → tailwind.mixin-CkQXl1kF.js.map} +1 -1
- package/dist/tailwind.mixin-x6_PgjK6.cjs +2 -0
- package/dist/{tailwind.mixin-ChrVaJHF.cjs.map → tailwind.mixin-x6_PgjK6.cjs.map} +1 -1
- package/dist/teleport.cjs +1 -1
- package/dist/teleport.js +1 -1
- package/dist/{textarea-B2U316Um.js → textarea-CrSFDnAT.js} +2 -2
- package/dist/{textarea-B2U316Um.js.map → textarea-CrSFDnAT.js.map} +1 -1
- package/dist/{textarea-1QvQzHKm.cjs → textarea-g181v20v.cjs} +2 -2
- package/dist/{textarea-1QvQzHKm.cjs.map → textarea-g181v20v.cjs.map} +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.js +1 -1
- package/dist/{theme-button-B0n3kSd_.cjs → theme-button-BSbYxt8O.cjs} +2 -2
- package/dist/{theme-button-B0n3kSd_.cjs.map → theme-button-BSbYxt8O.cjs.map} +1 -1
- package/dist/{theme-button-zUYywyWx.js → theme-button-DNL32-FV.js} +2 -2
- package/dist/{theme-button-zUYywyWx.js.map → theme-button-DNL32-FV.js.map} +1 -1
- package/dist/theme-button.cjs +1 -1
- package/dist/theme-button.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/{theme.component-DpPMKf8l.js → theme.component-BRhGnuHR.js} +2 -2
- package/dist/{theme.component-DpPMKf8l.js.map → theme.component-BRhGnuHR.js.map} +1 -1
- package/dist/{theme.component-BLKJxyFX.cjs → theme.component-D5ai_x50.cjs} +2 -2
- package/dist/{theme.component-BLKJxyFX.cjs.map → theme.component-D5ai_x50.cjs.map} +1 -1
- package/dist/theme.js +1 -1
- package/dist/{timezone-DhLUcYcX.js → timezone-BEwuASpJ.js} +3 -3
- package/dist/{timezone-DhLUcYcX.js.map → timezone-BEwuASpJ.js.map} +1 -1
- package/dist/{timezone-DRSCR7bi.cjs → timezone-CHKXV8EG.cjs} +2 -2
- package/dist/{timezone-DRSCR7bi.cjs.map → timezone-CHKXV8EG.cjs.map} +1 -1
- package/dist/{tooltip-B4nvmANO.cjs → tooltip-CBv8iNFU.cjs} +2 -2
- package/dist/{tooltip-B4nvmANO.cjs.map → tooltip-CBv8iNFU.cjs.map} +1 -1
- package/dist/{tooltip-tFxYzDct.js → tooltip-CEwmdIj9.js} +2 -2
- package/dist/{tooltip-tFxYzDct.js.map → tooltip-CEwmdIj9.js.map} +1 -1
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.js +1 -1
- package/dist/{tree-C9gLZE_E.js → tree-CSGTCCZ3.js} +2 -2
- package/dist/{tree-C9gLZE_E.js.map → tree-CSGTCCZ3.js.map} +1 -1
- package/dist/{tree-CRjGBeHH.cjs → tree-CiKoP4uT.cjs} +2 -2
- package/dist/{tree-CRjGBeHH.cjs.map → tree-CiKoP4uT.cjs.map} +1 -1
- package/dist/tree.cjs +1 -1
- package/dist/tree.js +1 -1
- package/dist/{typewriter-VGsKEZOj.cjs → typewriter-CYou-pzn.cjs} +2 -2
- package/dist/{typewriter-VGsKEZOj.cjs.map → typewriter-CYou-pzn.cjs.map} +1 -1
- package/dist/{typewriter-DN9HiCBW.js → typewriter-eAUGqhH7.js} +4 -4
- package/dist/{typewriter-DN9HiCBW.js.map → typewriter-eAUGqhH7.js.map} +1 -1
- package/dist/typewriter.cjs +1 -1
- package/dist/typewriter.js +1 -1
- package/dist/{typography-MN7P8my2.js → typography-D7qcpK__.js} +2 -2
- package/dist/{typography-MN7P8my2.js.map → typography-D7qcpK__.js.map} +1 -1
- package/dist/{typography-XN-pEi3Q.cjs → typography-DLFUQ47p.cjs} +2 -2
- package/dist/{typography-XN-pEi3Q.cjs.map → typography-DLFUQ47p.cjs.map} +1 -1
- package/dist/typography.cjs +1 -1
- package/dist/typography.js +1 -1
- package/package.json +18 -18
- package/types/src/autocomplete/autocomplete.d.ts +5 -4
- package/types/src/button/button.d.ts +2 -0
- package/types/src/button/icon-button.d.ts +2 -0
- package/types/src/card/card.d.ts +2 -0
- package/types/src/checkbox/checkbox.d.ts +2 -0
- package/types/src/chips/assist-chip.d.ts +2 -0
- package/types/src/chips/filter-chip.d.ts +2 -0
- package/types/src/chips/input-chip.d.ts +2 -0
- package/types/src/chips/suggestion-chip.d.ts +2 -0
- package/types/src/details/details.d.ts +2 -0
- package/types/src/form/form-v2.d.ts +2 -0
- package/types/src/form/form.d.ts +2 -0
- package/types/src/input/input.d.ts +2 -0
- package/types/src/textarea/textarea.d.ts +2 -0
- package/dist/autocomplete-BG5HqWvt.js +0 -319
- package/dist/autocomplete-BG5HqWvt.js.map +0 -1
- package/dist/autocomplete-BJ_0fG9s.cjs +0 -112
- package/dist/autocomplete-BJ_0fG9s.cjs.map +0 -1
- package/dist/checkbox-4mBWkzKG.js.map +0 -1
- package/dist/checkbox-CIMDI5hW.cjs +0 -40
- package/dist/checkbox-CIMDI5hW.cjs.map +0 -1
- package/dist/context-object-bNADqf9U.cjs +0 -2
- package/dist/context-object-bNADqf9U.cjs.map +0 -1
- package/dist/context-object-u5gBaozZ.js.map +0 -1
- package/dist/select-BxlDe36e.js.map +0 -1
- package/dist/select-Cod_lOwT.cjs.map +0 -1
- package/dist/suggestion-chip-AVshmS4V.cjs.map +0 -1
- package/dist/suggestion-chip-CxQK5dcP.js.map +0 -1
- package/dist/tailwind.mixin-9XFzAXGw.js +0 -43
- package/dist/tailwind.mixin-ChrVaJHF.cjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Subject as
|
|
2
|
-
var ce = Symbol.for("immer-nothing"),
|
|
1
|
+
import { Subject as de, BehaviorSubject as Q, throttleTime as oe } from "rxjs";
|
|
2
|
+
var ce = Symbol.for("immer-nothing"), w = Symbol.for("immer-draftable"), l = Symbol.for("immer-state"), fe = process.env.NODE_ENV !== "production" ? [function(t) {
|
|
3
3
|
return `The plugin for '${t}' has not been loaded into Immer. To enable the plugin, import and call \`enable${t}()\` when initializing your application.`;
|
|
4
4
|
}, function(t) {
|
|
5
5
|
return `produce can only be called on things that are draftable: plain objects, arrays, Map, Set or classes that are marked with '[immerable]: true'. Got '${t}'`;
|
|
@@ -17,38 +17,38 @@ function _(t, ...e) {
|
|
|
17
17
|
}
|
|
18
18
|
throw new Error(`[Immer] minified error nr: ${t}. Full error at: https://bit.ly/3cXEKWf`);
|
|
19
19
|
}
|
|
20
|
-
var
|
|
21
|
-
function
|
|
20
|
+
var $ = Object.getPrototypeOf;
|
|
21
|
+
function S(t) {
|
|
22
22
|
return !!t && !!t[l];
|
|
23
23
|
}
|
|
24
|
-
function
|
|
25
|
-
return !!t && (he(t) || Array.isArray(t) || !!t[
|
|
24
|
+
function g(t) {
|
|
25
|
+
return !!t && (he(t) || Array.isArray(t) || !!t[w] || !!t.constructor?.[w] || I(t) || R(t));
|
|
26
26
|
}
|
|
27
27
|
var ye = Object.prototype.constructor.toString();
|
|
28
28
|
function he(t) {
|
|
29
29
|
if (!t || typeof t != "object") return !1;
|
|
30
|
-
const e =
|
|
30
|
+
const e = $(t);
|
|
31
31
|
if (e === null) return !0;
|
|
32
32
|
const r = Object.hasOwnProperty.call(e, "constructor") && e.constructor;
|
|
33
33
|
return r === Object || typeof r == "function" && Function.toString.call(r) === ye;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
|
|
35
|
+
function D(t, e) {
|
|
36
|
+
A(t) === 0 ? Reflect.ownKeys(t).forEach((r) => {
|
|
37
37
|
e(r, t[r], t);
|
|
38
38
|
}) : t.forEach((r, s) => e(s, r, t));
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function A(t) {
|
|
41
41
|
const e = t[l];
|
|
42
|
-
return e ? e.type_ : Array.isArray(t) ? 1 :
|
|
42
|
+
return e ? e.type_ : Array.isArray(t) ? 1 : I(t) ? 2 : R(t) ? 3 : 0;
|
|
43
43
|
}
|
|
44
44
|
function C(t, e) {
|
|
45
|
-
return
|
|
45
|
+
return A(t) === 2 ? t.has(e) : Object.prototype.hasOwnProperty.call(t, e);
|
|
46
46
|
}
|
|
47
47
|
function ue(t, e, r) {
|
|
48
|
-
const s =
|
|
48
|
+
const s = A(t);
|
|
49
49
|
s === 2 ? t.set(e, r) : s === 3 ? t.add(r) : t[e] = r;
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function I(t) {
|
|
52
52
|
return t instanceof Map;
|
|
53
53
|
}
|
|
54
54
|
function R(t) {
|
|
@@ -58,7 +58,7 @@ function f(t) {
|
|
|
58
58
|
return t.copy_ || t.base_;
|
|
59
59
|
}
|
|
60
60
|
function J(t, e) {
|
|
61
|
-
if (
|
|
61
|
+
if (I(t)) return new Map(t);
|
|
62
62
|
if (R(t)) return new Set(t);
|
|
63
63
|
if (Array.isArray(t)) return Array.prototype.slice.call(t);
|
|
64
64
|
const r = he(t);
|
|
@@ -70,82 +70,82 @@ function J(t, e) {
|
|
|
70
70
|
const h = n[a], c = s[h];
|
|
71
71
|
c.writable === !1 && (c.writable = !0, c.configurable = !0), (c.get || c.set) && (s[h] = { configurable: !0, writable: !0, enumerable: c.enumerable, value: t[h] });
|
|
72
72
|
}
|
|
73
|
-
return Object.create(
|
|
73
|
+
return Object.create($(t), s);
|
|
74
74
|
}
|
|
75
75
|
{
|
|
76
|
-
const s =
|
|
76
|
+
const s = $(t);
|
|
77
77
|
if (s !== null && r) return { ...t };
|
|
78
78
|
const n = Object.create(s);
|
|
79
79
|
return Object.assign(n, t);
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
function G(t, e = !1) {
|
|
83
|
-
return F(t) ||
|
|
83
|
+
return F(t) || S(t) || !g(t) || (A(t) > 1 && Object.defineProperties(t, { set: { value: N }, add: { value: N }, clear: { value: N }, delete: { value: N } }), Object.freeze(t), e && Object.values(t).forEach((r) => G(r, !0))), t;
|
|
84
84
|
}
|
|
85
|
-
function
|
|
85
|
+
function N() {
|
|
86
86
|
_(2);
|
|
87
87
|
}
|
|
88
88
|
function F(t) {
|
|
89
89
|
return Object.isFrozen(t);
|
|
90
90
|
}
|
|
91
|
-
var
|
|
92
|
-
function
|
|
93
|
-
const e =
|
|
91
|
+
var j, K = {};
|
|
92
|
+
function v(t) {
|
|
93
|
+
const e = K[t];
|
|
94
94
|
return e || _(0, t), e;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
return
|
|
96
|
+
function M() {
|
|
97
|
+
return j;
|
|
98
98
|
}
|
|
99
|
-
function
|
|
100
|
-
e && (
|
|
99
|
+
function X(t, e) {
|
|
100
|
+
e && (v("Patches"), t.patches_ = [], t.inversePatches_ = [], t.patchListener_ = e);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
103
|
-
|
|
102
|
+
function U(t) {
|
|
103
|
+
L(t), t.drafts_.forEach(_e), t.drafts_ = null;
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
t ===
|
|
105
|
+
function L(t) {
|
|
106
|
+
t === j && (j = t.parent_);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
108
|
+
function Y(t) {
|
|
109
|
+
return j = { drafts_: [], parent_: j, immer_: t, canAutoFreeze_: !0, unfinalizedDrafts_: 0 };
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function _e(t) {
|
|
112
112
|
const e = t[l];
|
|
113
113
|
e.type_ === 0 || e.type_ === 1 ? e.revoke_() : e.revoked_ = !0;
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function Z(t, e) {
|
|
116
116
|
e.unfinalizedDrafts_ = e.drafts_.length;
|
|
117
117
|
const r = e.drafts_[0];
|
|
118
|
-
return t !== void 0 && t !== r ? (r[l].modified_ && (
|
|
118
|
+
return t !== void 0 && t !== r ? (r[l].modified_ && (U(e), _(4)), g(t) && (t = z(e, t), e.parent_ || T(e, t)), e.patches_ && v("Patches").generateReplacementPatches_(r[l].base_, t, e.patches_, e.inversePatches_)) : t = z(e, r, []), U(e), e.patches_ && e.patchListener_(e.patches_, e.inversePatches_), t !== ce ? t : void 0;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function z(t, e, r) {
|
|
121
121
|
if (F(e)) return e;
|
|
122
122
|
const s = e[l];
|
|
123
|
-
if (!s) return
|
|
123
|
+
if (!s) return D(e, (n, a) => ee(t, s, e, n, a, r)), e;
|
|
124
124
|
if (s.scope_ !== t) return e;
|
|
125
|
-
if (!s.modified_) return
|
|
125
|
+
if (!s.modified_) return T(t, s.base_, !0), s.base_;
|
|
126
126
|
if (!s.finalized_) {
|
|
127
127
|
s.finalized_ = !0, s.scope_.unfinalizedDrafts_--;
|
|
128
128
|
const n = s.copy_;
|
|
129
129
|
let a = n, h = !1;
|
|
130
|
-
s.type_ === 3 && (a = new Set(n), n.clear(), h = !0),
|
|
130
|
+
s.type_ === 3 && (a = new Set(n), n.clear(), h = !0), D(a, (c, i) => ee(t, s, n, c, i, r, h)), T(t, n, !1), r && t.patches_ && v("Patches").generatePatches_(s, r, t.patches_, t.inversePatches_);
|
|
131
131
|
}
|
|
132
132
|
return s.copy_;
|
|
133
133
|
}
|
|
134
134
|
function ee(t, e, r, s, n, a, h) {
|
|
135
|
-
if (process.env.NODE_ENV !== "production" && n === r && _(5),
|
|
136
|
-
const c =
|
|
137
|
-
if (ue(r, s, c), !
|
|
135
|
+
if (process.env.NODE_ENV !== "production" && n === r && _(5), S(n)) {
|
|
136
|
+
const c = z(t, n, a && e && e.type_ !== 3 && !C(e.assigned_, s) ? a.concat(s) : void 0);
|
|
137
|
+
if (ue(r, s, c), !S(c)) return;
|
|
138
138
|
t.canAutoFreeze_ = !1;
|
|
139
139
|
} else h && r.add(n);
|
|
140
|
-
if (
|
|
140
|
+
if (g(n) && !F(n)) {
|
|
141
141
|
if (!t.immer_.autoFreeze_ && t.unfinalizedDrafts_ < 1) return;
|
|
142
|
-
|
|
142
|
+
z(t, n), e && e.scope_.parent_ || typeof s == "symbol" || !(I(r) ? r.has(s) : Object.prototype.propertyIsEnumerable.call(r, s)) || T(t, n);
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
function
|
|
145
|
+
function T(t, e, r = !1) {
|
|
146
146
|
!t.parent_ && t.immer_.autoFreeze_ && t.canAutoFreeze_ && G(e, r);
|
|
147
147
|
}
|
|
148
|
-
var
|
|
148
|
+
var W = { get(t, e) {
|
|
149
149
|
if (e === l) return t;
|
|
150
150
|
const r = f(t);
|
|
151
151
|
if (!C(r, e)) return function(n, a, h) {
|
|
@@ -153,7 +153,7 @@ var L = { get(t, e) {
|
|
|
153
153
|
return c ? "value" in c ? c.value : c.get?.call(n.draft_) : void 0;
|
|
154
154
|
}(t, r, e);
|
|
155
155
|
const s = r[e];
|
|
156
|
-
return t.finalized_ || !
|
|
156
|
+
return t.finalized_ || !g(s) ? s : s === V(t.base_, e) ? (B(t), t.copy_[e] = P(s, t)) : s;
|
|
157
157
|
}, has: (t, e) => e in f(t), ownKeys: (t) => Reflect.ownKeys(f(t)), set(t, e, r) {
|
|
158
158
|
const s = te(f(t), e);
|
|
159
159
|
if (s?.set) return s.set.call(t.draft_, r), !0;
|
|
@@ -161,69 +161,69 @@ var L = { get(t, e) {
|
|
|
161
161
|
const h = V(f(t), e), c = h?.[l];
|
|
162
162
|
if (c && c.base_ === r) return t.copy_[e] = r, t.assigned_[e] = !1, !0;
|
|
163
163
|
if (((n = r) === (a = h) ? n !== 0 || 1 / n == 1 / a : n != n && a != a) && (r !== void 0 || C(t.base_, e))) return !0;
|
|
164
|
-
B(t),
|
|
164
|
+
B(t), b(t);
|
|
165
165
|
}
|
|
166
166
|
var n, a;
|
|
167
167
|
return t.copy_[e] === r && (r !== void 0 || e in t.copy_) || Number.isNaN(r) && Number.isNaN(t.copy_[e]) || (t.copy_[e] = r, t.assigned_[e] = !0), !0;
|
|
168
|
-
}, deleteProperty: (t, e) => (V(t.base_, e) !== void 0 || e in t.base_ ? (t.assigned_[e] = !1, B(t),
|
|
168
|
+
}, deleteProperty: (t, e) => (V(t.base_, e) !== void 0 || e in t.base_ ? (t.assigned_[e] = !1, B(t), b(t)) : delete t.assigned_[e], t.copy_ && delete t.copy_[e], !0), getOwnPropertyDescriptor(t, e) {
|
|
169
169
|
const r = f(t), s = Reflect.getOwnPropertyDescriptor(r, e);
|
|
170
170
|
return s && { writable: !0, configurable: t.type_ !== 1 || e !== "length", enumerable: s.enumerable, value: r[e] };
|
|
171
171
|
}, defineProperty() {
|
|
172
172
|
_(11);
|
|
173
|
-
}, getPrototypeOf: (t) =>
|
|
173
|
+
}, getPrototypeOf: (t) => $(t.base_), setPrototypeOf() {
|
|
174
174
|
_(12);
|
|
175
|
-
} },
|
|
175
|
+
} }, E = {};
|
|
176
176
|
function V(t, e) {
|
|
177
177
|
const r = t[l];
|
|
178
178
|
return (r ? f(r) : t)[e];
|
|
179
179
|
}
|
|
180
180
|
function te(t, e) {
|
|
181
181
|
if (!(e in t)) return;
|
|
182
|
-
let r =
|
|
182
|
+
let r = $(t);
|
|
183
183
|
for (; r; ) {
|
|
184
184
|
const s = Object.getOwnPropertyDescriptor(r, e);
|
|
185
185
|
if (s) return s;
|
|
186
|
-
r =
|
|
186
|
+
r = $(r);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
t.modified_ || (t.modified_ = !0, t.parent_ &&
|
|
189
|
+
function b(t) {
|
|
190
|
+
t.modified_ || (t.modified_ = !0, t.parent_ && b(t.parent_));
|
|
191
191
|
}
|
|
192
192
|
function B(t) {
|
|
193
193
|
t.copy_ || (t.copy_ = J(t.base_, t.scope_.immer_.useStrictShallowCopy_));
|
|
194
194
|
}
|
|
195
|
-
|
|
196
|
-
|
|
195
|
+
D(W, (t, e) => {
|
|
196
|
+
E[t] = function() {
|
|
197
197
|
return arguments[0] = arguments[0][0], e.apply(this, arguments);
|
|
198
198
|
};
|
|
199
|
-
}),
|
|
200
|
-
return process.env.NODE_ENV !== "production" && isNaN(parseInt(e)) && _(13),
|
|
201
|
-
},
|
|
202
|
-
return process.env.NODE_ENV !== "production" && e !== "length" && isNaN(parseInt(e)) && _(14),
|
|
199
|
+
}), E.deleteProperty = function(t, e) {
|
|
200
|
+
return process.env.NODE_ENV !== "production" && isNaN(parseInt(e)) && _(13), E.set.call(this, t, e, void 0);
|
|
201
|
+
}, E.set = function(t, e, r) {
|
|
202
|
+
return process.env.NODE_ENV !== "production" && e !== "length" && isNaN(parseInt(e)) && _(14), W.set.call(this, t[0], e, r, t[0]);
|
|
203
203
|
};
|
|
204
|
-
function
|
|
205
|
-
const r =
|
|
206
|
-
const a = Array.isArray(s), h = { type_: a ? 1 : 0, scope_: n ? n.scope_ :
|
|
207
|
-
let c = h, i =
|
|
208
|
-
a && (c = [h], i =
|
|
209
|
-
const { revoke: o, proxy:
|
|
210
|
-
return h.draft_ =
|
|
204
|
+
function P(t, e) {
|
|
205
|
+
const r = I(t) ? v("MapSet").proxyMap_(t, e) : R(t) ? v("MapSet").proxySet_(t, e) : function(s, n) {
|
|
206
|
+
const a = Array.isArray(s), h = { type_: a ? 1 : 0, scope_: n ? n.scope_ : M(), modified_: !1, finalized_: !1, assigned_: {}, parent_: n, base_: s, draft_: null, copy_: null, revoke_: null, isManual_: !1 };
|
|
207
|
+
let c = h, i = W;
|
|
208
|
+
a && (c = [h], i = E);
|
|
209
|
+
const { revoke: o, proxy: d } = Proxy.revocable(c, i);
|
|
210
|
+
return h.draft_ = d, h.revoke_ = o, d;
|
|
211
211
|
}(t, e);
|
|
212
|
-
return (e ? e.scope_ :
|
|
212
|
+
return (e ? e.scope_ : M()).drafts_.push(r), r;
|
|
213
213
|
}
|
|
214
214
|
function le(t) {
|
|
215
|
-
if (!
|
|
215
|
+
if (!g(t) || F(t)) return t;
|
|
216
216
|
const e = t[l];
|
|
217
217
|
let r;
|
|
218
218
|
if (e) {
|
|
219
219
|
if (!e.modified_) return e.base_;
|
|
220
220
|
e.finalized_ = !0, r = J(t, e.scope_.immer_.useStrictShallowCopy_);
|
|
221
221
|
} else r = J(t, !0);
|
|
222
|
-
return
|
|
222
|
+
return D(r, (s, n) => {
|
|
223
223
|
ue(r, s, le(n));
|
|
224
224
|
}), e && (e.finalized_ = !1), r;
|
|
225
225
|
}
|
|
226
|
-
var
|
|
226
|
+
var pe, re, se, p = new class {
|
|
227
227
|
constructor(t) {
|
|
228
228
|
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (e, r, s) => {
|
|
229
229
|
if (typeof e == "function" && typeof r != "function") {
|
|
@@ -235,20 +235,20 @@ var de, re, se, b = new class {
|
|
|
235
235
|
};
|
|
236
236
|
}
|
|
237
237
|
let n;
|
|
238
|
-
if (typeof r != "function" && _(6), s !== void 0 && typeof s != "function" && _(7),
|
|
239
|
-
const a =
|
|
238
|
+
if (typeof r != "function" && _(6), s !== void 0 && typeof s != "function" && _(7), g(e)) {
|
|
239
|
+
const a = Y(this), h = P(e, void 0);
|
|
240
240
|
let c = !0;
|
|
241
241
|
try {
|
|
242
242
|
n = r(h), c = !1;
|
|
243
243
|
} finally {
|
|
244
|
-
c ?
|
|
244
|
+
c ? U(a) : L(a);
|
|
245
245
|
}
|
|
246
|
-
return
|
|
246
|
+
return X(a, s), Z(n, a);
|
|
247
247
|
}
|
|
248
248
|
if (!e || typeof e != "object") {
|
|
249
249
|
if (n = r(e), n === void 0 && (n = e), n === ce && (n = void 0), this.autoFreeze_ && G(n, !0), s) {
|
|
250
250
|
const a = [], h = [];
|
|
251
|
-
|
|
251
|
+
v("Patches").generateReplacementPatches_(e, n, a, h), s(a, h);
|
|
252
252
|
}
|
|
253
253
|
return n;
|
|
254
254
|
}
|
|
@@ -262,17 +262,17 @@ var de, re, se, b = new class {
|
|
|
262
262
|
}, typeof t?.autoFreeze == "boolean" && this.setAutoFreeze(t.autoFreeze), typeof t?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(t.useStrictShallowCopy);
|
|
263
263
|
}
|
|
264
264
|
createDraft(t) {
|
|
265
|
-
|
|
266
|
-
return
|
|
265
|
+
g(t) || _(8), S(t) && (t = function(s) {
|
|
266
|
+
return S(s) || _(10, s), le(s);
|
|
267
267
|
}(t));
|
|
268
|
-
const e =
|
|
269
|
-
return r[l].isManual_ = !0,
|
|
268
|
+
const e = Y(this), r = P(t, void 0);
|
|
269
|
+
return r[l].isManual_ = !0, L(e), r;
|
|
270
270
|
}
|
|
271
271
|
finishDraft(t, e) {
|
|
272
272
|
const r = t && t[l];
|
|
273
273
|
r && r.isManual_ || _(9);
|
|
274
274
|
const { scope_: s } = r;
|
|
275
|
-
return
|
|
275
|
+
return X(s, e), Z(void 0, s);
|
|
276
276
|
}
|
|
277
277
|
setAutoFreeze(t) {
|
|
278
278
|
this.autoFreeze_ = t;
|
|
@@ -290,11 +290,10 @@ var de, re, se, b = new class {
|
|
|
290
290
|
}
|
|
291
291
|
}
|
|
292
292
|
r > -1 && (e = e.slice(r + 1));
|
|
293
|
-
const s =
|
|
294
|
-
return
|
|
293
|
+
const s = v("Patches").applyPatches_;
|
|
294
|
+
return S(t) ? s(t, e) : this.produce(t, (n) => s(n, e));
|
|
295
295
|
}
|
|
296
|
-
}()
|
|
297
|
-
b.produceWithPatches.bind(b), b.setAutoFreeze.bind(b), b.setUseStrictShallowCopy.bind(b), b.applyPatches.bind(b), b.createDraft.bind(b), b.finishDraft.bind(b);
|
|
296
|
+
}().produce;
|
|
298
297
|
class u extends Error {
|
|
299
298
|
constructor(e, r, s) {
|
|
300
299
|
super(e), this.name = "StoreError", this.cause = r, this.context = s, this.timestamp = /* @__PURE__ */ new Date(), Error.captureStackTrace && Error.captureStackTrace(this, u);
|
|
@@ -317,7 +316,7 @@ class me {
|
|
|
317
316
|
this.data = null;
|
|
318
317
|
}
|
|
319
318
|
}
|
|
320
|
-
class
|
|
319
|
+
class be {
|
|
321
320
|
constructor(e) {
|
|
322
321
|
this.key = e;
|
|
323
322
|
}
|
|
@@ -340,7 +339,7 @@ class ge {
|
|
|
340
339
|
localStorage.removeItem(this.key);
|
|
341
340
|
}
|
|
342
341
|
}
|
|
343
|
-
class
|
|
342
|
+
class ge {
|
|
344
343
|
constructor(e) {
|
|
345
344
|
this.key = e;
|
|
346
345
|
}
|
|
@@ -424,12 +423,12 @@ const y = class y {
|
|
|
424
423
|
};
|
|
425
424
|
y.DB_NAME = "StoreDB", y.STORE_NAME = "states", y.DB_VERSION = 1;
|
|
426
425
|
let q = y;
|
|
427
|
-
function
|
|
426
|
+
function ve(t, e) {
|
|
428
427
|
switch (t) {
|
|
429
428
|
case "local":
|
|
430
|
-
return new
|
|
429
|
+
return new be(e);
|
|
431
430
|
case "session":
|
|
432
|
-
return new
|
|
431
|
+
return new ge(e);
|
|
433
432
|
case "indexeddb":
|
|
434
433
|
return new q(e);
|
|
435
434
|
default:
|
|
@@ -439,7 +438,7 @@ function Se(t, e) {
|
|
|
439
438
|
(function() {
|
|
440
439
|
class t extends Map {
|
|
441
440
|
constructor(i, o) {
|
|
442
|
-
super(), this[l] = { type_: 2, parent_: o, scope_: o ? o.scope_ :
|
|
441
|
+
super(), this[l] = { type_: 2, parent_: o, scope_: o ? o.scope_ : M(), modified_: !1, finalized_: !1, copy_: void 0, assigned_: void 0, base_: i, draft_: this, isManual_: !1, revoked_: !1 };
|
|
443
442
|
}
|
|
444
443
|
get size() {
|
|
445
444
|
return f(this[l]).size;
|
|
@@ -448,31 +447,31 @@ function Se(t, e) {
|
|
|
448
447
|
return f(this[l]).has(i);
|
|
449
448
|
}
|
|
450
449
|
set(i, o) {
|
|
451
|
-
const
|
|
452
|
-
return n(
|
|
450
|
+
const d = this[l];
|
|
451
|
+
return n(d), f(d).has(i) && f(d).get(i) === o || (e(d), b(d), d.assigned_.set(i, !0), d.copy_.set(i, o), d.assigned_.set(i, !0)), this;
|
|
453
452
|
}
|
|
454
453
|
delete(i) {
|
|
455
454
|
if (!this.has(i)) return !1;
|
|
456
455
|
const o = this[l];
|
|
457
|
-
return n(o), e(o),
|
|
456
|
+
return n(o), e(o), b(o), o.base_.has(i) ? o.assigned_.set(i, !1) : o.assigned_.delete(i), o.copy_.delete(i), !0;
|
|
458
457
|
}
|
|
459
458
|
clear() {
|
|
460
459
|
const i = this[l];
|
|
461
|
-
n(i), f(i).size && (e(i),
|
|
460
|
+
n(i), f(i).size && (e(i), b(i), i.assigned_ = /* @__PURE__ */ new Map(), D(i.base_, (o) => {
|
|
462
461
|
i.assigned_.set(o, !1);
|
|
463
462
|
}), i.copy_.clear());
|
|
464
463
|
}
|
|
465
464
|
forEach(i, o) {
|
|
466
|
-
f(this[l]).forEach((
|
|
465
|
+
f(this[l]).forEach((d, m, Se) => {
|
|
467
466
|
i.call(o, this.get(m), m, this);
|
|
468
467
|
});
|
|
469
468
|
}
|
|
470
469
|
get(i) {
|
|
471
470
|
const o = this[l];
|
|
472
471
|
n(o);
|
|
473
|
-
const
|
|
474
|
-
if (o.finalized_ || !
|
|
475
|
-
const m =
|
|
472
|
+
const d = f(o).get(i);
|
|
473
|
+
if (o.finalized_ || !g(d) || d !== o.base_.get(i)) return d;
|
|
474
|
+
const m = P(d, o);
|
|
476
475
|
return e(o), o.copy_.set(i, m), m;
|
|
477
476
|
}
|
|
478
477
|
keys() {
|
|
@@ -490,8 +489,8 @@ function Se(t, e) {
|
|
|
490
489
|
return { [Symbol.iterator]: () => this.entries(), next: () => {
|
|
491
490
|
const o = i.next();
|
|
492
491
|
if (o.done) return o;
|
|
493
|
-
const
|
|
494
|
-
return { done: !1, value: [o.value,
|
|
492
|
+
const d = this.get(o.value);
|
|
493
|
+
return { done: !1, value: [o.value, d] };
|
|
495
494
|
} };
|
|
496
495
|
}
|
|
497
496
|
[Symbol.iterator]() {
|
|
@@ -503,7 +502,7 @@ function Se(t, e) {
|
|
|
503
502
|
}
|
|
504
503
|
class r extends Set {
|
|
505
504
|
constructor(i, o) {
|
|
506
|
-
super(), this[l] = { type_: 3, parent_: o, scope_: o ? o.scope_ :
|
|
505
|
+
super(), this[l] = { type_: 3, parent_: o, scope_: o ? o.scope_ : M(), modified_: !1, finalized_: !1, copy_: void 0, base_: i, draft_: this, drafts_: /* @__PURE__ */ new Map(), revoked_: !1, isManual_: !1 };
|
|
507
506
|
}
|
|
508
507
|
get size() {
|
|
509
508
|
return f(this[l]).size;
|
|
@@ -514,16 +513,16 @@ function Se(t, e) {
|
|
|
514
513
|
}
|
|
515
514
|
add(i) {
|
|
516
515
|
const o = this[l];
|
|
517
|
-
return n(o), this.has(i) || (s(o),
|
|
516
|
+
return n(o), this.has(i) || (s(o), b(o), o.copy_.add(i)), this;
|
|
518
517
|
}
|
|
519
518
|
delete(i) {
|
|
520
519
|
if (!this.has(i)) return !1;
|
|
521
520
|
const o = this[l];
|
|
522
|
-
return n(o), s(o),
|
|
521
|
+
return n(o), s(o), b(o), o.copy_.delete(i) || !!o.drafts_.has(i) && o.copy_.delete(o.drafts_.get(i));
|
|
523
522
|
}
|
|
524
523
|
clear() {
|
|
525
524
|
const i = this[l];
|
|
526
|
-
n(i), f(i).size && (s(i),
|
|
525
|
+
n(i), f(i).size && (s(i), b(i), i.copy_.clear());
|
|
527
526
|
}
|
|
528
527
|
values() {
|
|
529
528
|
const i = this[l];
|
|
@@ -540,15 +539,15 @@ function Se(t, e) {
|
|
|
540
539
|
return this.values();
|
|
541
540
|
}
|
|
542
541
|
forEach(i, o) {
|
|
543
|
-
const
|
|
544
|
-
let m =
|
|
545
|
-
for (; !m.done; ) i.call(o, m.value, m.value, this), m =
|
|
542
|
+
const d = this.values();
|
|
543
|
+
let m = d.next();
|
|
544
|
+
for (; !m.done; ) i.call(o, m.value, m.value, this), m = d.next();
|
|
546
545
|
}
|
|
547
546
|
}
|
|
548
547
|
function s(c) {
|
|
549
548
|
c.copy_ || (c.copy_ = /* @__PURE__ */ new Set(), c.base_.forEach((i) => {
|
|
550
|
-
if (
|
|
551
|
-
const o =
|
|
549
|
+
if (g(i)) {
|
|
550
|
+
const o = P(i, c);
|
|
552
551
|
c.drafts_.set(i, o), c.copy_.add(o);
|
|
553
552
|
} else c.copy_.add(i);
|
|
554
553
|
}));
|
|
@@ -561,18 +560,18 @@ function Se(t, e) {
|
|
|
561
560
|
return new t(c, i);
|
|
562
561
|
}, proxySet_: function(c, i) {
|
|
563
562
|
return new r(c, i);
|
|
564
|
-
} },
|
|
565
|
-
})(),
|
|
566
|
-
class
|
|
563
|
+
} }, K[a = "MapSet"] || (K[a] = h);
|
|
564
|
+
})(), pe = w;
|
|
565
|
+
class H {
|
|
567
566
|
constructor(e, r, s) {
|
|
568
567
|
let n;
|
|
569
|
-
this.storageType = e, this.key = r, this[
|
|
568
|
+
this.storageType = e, this.key = r, this[pe] = !0, this._ready = !1, this._destroy$ = new de(), this.error$ = new Q(null), n = s instanceof Map ? new Map(s) : Array.isArray(s) ? [...s] : s && typeof s == "object" ? { ...s } : s;
|
|
570
569
|
try {
|
|
571
|
-
this.defaultValue = this.isImmerDraftable(n) ?
|
|
570
|
+
this.defaultValue = this.isImmerDraftable(n) ? p(n, (a) => a) : n;
|
|
572
571
|
} catch {
|
|
573
572
|
this.defaultValue = n;
|
|
574
573
|
}
|
|
575
|
-
this.$ = new Q(this.defaultValue), this.storage =
|
|
574
|
+
this.$ = new Q(this.defaultValue), this.storage = ve(e, r), e === "memory" ? this._ready = !0 : this.initializeFromStorage();
|
|
576
575
|
}
|
|
577
576
|
get ready() {
|
|
578
577
|
return this._ready;
|
|
@@ -584,14 +583,14 @@ class X {
|
|
|
584
583
|
return this.$.getValue();
|
|
585
584
|
}
|
|
586
585
|
isImmerDraftable(e) {
|
|
587
|
-
return e !== null && typeof e == "object" && (Array.isArray(e) || e instanceof Map || e instanceof Set || Object.getPrototypeOf(e) === Object.prototype || e[
|
|
586
|
+
return e !== null && typeof e == "object" && (Array.isArray(e) || e instanceof Map || e instanceof Set || Object.getPrototypeOf(e) === Object.prototype || e[w] === !0);
|
|
588
587
|
}
|
|
589
588
|
destroy() {
|
|
590
589
|
this._destroy$.next(), this._destroy$.complete(), this.$.complete(), this.error$.complete();
|
|
591
590
|
}
|
|
592
591
|
replace(e) {
|
|
593
592
|
try {
|
|
594
|
-
const r = this.isImmerDraftable(e) ?
|
|
593
|
+
const r = this.isImmerDraftable(e) ? p(e, (s) => s) : e;
|
|
595
594
|
this.updateState(r);
|
|
596
595
|
} catch (r) {
|
|
597
596
|
const s = new u(`Error replacing state in ${this.key}`, r);
|
|
@@ -601,7 +600,7 @@ class X {
|
|
|
601
600
|
updateState(e) {
|
|
602
601
|
try {
|
|
603
602
|
let r;
|
|
604
|
-
r = this.isImmerDraftable(e) ?
|
|
603
|
+
r = this.isImmerDraftable(e) ? p(e, (s) => s) : e, this.$.next(r), this.storageType !== "memory" && this.persistToStorage(r).catch((s) => {
|
|
605
604
|
const n = new u(`Error saving to ${this.storageType} storage for ${this.key}`, s);
|
|
606
605
|
this.error$.next(n);
|
|
607
606
|
});
|
|
@@ -616,7 +615,7 @@ class X {
|
|
|
616
615
|
if (e) {
|
|
617
616
|
const r = this.processStoredValue(e);
|
|
618
617
|
try {
|
|
619
|
-
const s = this.isImmerDraftable(r) ?
|
|
618
|
+
const s = this.isImmerDraftable(r) ? p(r, (n) => n) : r;
|
|
620
619
|
this.updateState(s);
|
|
621
620
|
} catch {
|
|
622
621
|
this.updateState(r);
|
|
@@ -635,10 +634,10 @@ class X {
|
|
|
635
634
|
return this.storage.save(e);
|
|
636
635
|
}
|
|
637
636
|
}
|
|
638
|
-
const
|
|
637
|
+
const x = class x extends H {
|
|
639
638
|
static getInstance(e, r, s = []) {
|
|
640
639
|
const n = `${e}:${r}`;
|
|
641
|
-
return this.instances.has(n) || this.instances.set(n, new
|
|
640
|
+
return this.instances.has(n) || this.instances.set(n, new x(e, r, s)), this.instances.get(n);
|
|
642
641
|
}
|
|
643
642
|
constructor(e, r, s = []) {
|
|
644
643
|
super(e, r, s), e !== "memory" && this.setupPersistence();
|
|
@@ -653,7 +652,7 @@ const k = class k extends X {
|
|
|
653
652
|
}
|
|
654
653
|
push(...e) {
|
|
655
654
|
try {
|
|
656
|
-
const r =
|
|
655
|
+
const r = p(this.value, (s) => {
|
|
657
656
|
s.push(...e.map((n) => n));
|
|
658
657
|
});
|
|
659
658
|
this.updateState(r), this.error$.next(null);
|
|
@@ -664,7 +663,7 @@ const k = class k extends X {
|
|
|
664
663
|
}
|
|
665
664
|
pop() {
|
|
666
665
|
try {
|
|
667
|
-
const e = this.value.length > 0 ? this.value[this.value.length - 1] : void 0, r =
|
|
666
|
+
const e = this.value.length > 0 ? this.value[this.value.length - 1] : void 0, r = p(this.value, (s) => {
|
|
668
667
|
s.pop();
|
|
669
668
|
});
|
|
670
669
|
return this.updateState(r), this.error$.next(null), e;
|
|
@@ -675,7 +674,7 @@ const k = class k extends X {
|
|
|
675
674
|
}
|
|
676
675
|
unshift(...e) {
|
|
677
676
|
try {
|
|
678
|
-
const r =
|
|
677
|
+
const r = p(this.value, (s) => {
|
|
679
678
|
s.unshift(...e.map((n) => n));
|
|
680
679
|
});
|
|
681
680
|
this.updateState(r), this.error$.next(null);
|
|
@@ -686,7 +685,7 @@ const k = class k extends X {
|
|
|
686
685
|
}
|
|
687
686
|
shift() {
|
|
688
687
|
try {
|
|
689
|
-
const e = this.value.length > 0 ? this.value[0] : void 0, r =
|
|
688
|
+
const e = this.value.length > 0 ? this.value[0] : void 0, r = p(this.value, (s) => {
|
|
690
689
|
s.shift();
|
|
691
690
|
});
|
|
692
691
|
return this.updateState(r), this.error$.next(null), e;
|
|
@@ -697,7 +696,7 @@ const k = class k extends X {
|
|
|
697
696
|
}
|
|
698
697
|
set(e, r) {
|
|
699
698
|
try {
|
|
700
|
-
const s =
|
|
699
|
+
const s = p(this.value, (n) => {
|
|
701
700
|
if (!(e >= 0 && e < n.length)) throw new Error(`Index ${e} out of bounds (length: ${n.length})`);
|
|
702
701
|
n[e] = r;
|
|
703
702
|
});
|
|
@@ -712,7 +711,7 @@ const k = class k extends X {
|
|
|
712
711
|
}
|
|
713
712
|
splice(e, r, ...s) {
|
|
714
713
|
try {
|
|
715
|
-
const n = [...this.value].splice(e, r ?? 0, ...s), a =
|
|
714
|
+
const n = [...this.value].splice(e, r ?? 0, ...s), a = p(this.value, (h) => {
|
|
716
715
|
h.splice(e, r ?? 0, ...s.map((c) => c));
|
|
717
716
|
});
|
|
718
717
|
return this.updateState(a), this.error$.next(null), n;
|
|
@@ -725,7 +724,7 @@ const k = class k extends X {
|
|
|
725
724
|
try {
|
|
726
725
|
const s = r || ((a, h) => a === h), n = this.value.findIndex((a) => s(a, e));
|
|
727
726
|
if (n !== -1) {
|
|
728
|
-
const a =
|
|
727
|
+
const a = p(this.value, (h) => {
|
|
729
728
|
h.splice(n, 1);
|
|
730
729
|
});
|
|
731
730
|
return this.updateState(a), this.error$.next(null), !0;
|
|
@@ -738,7 +737,7 @@ const k = class k extends X {
|
|
|
738
737
|
}
|
|
739
738
|
replace(e) {
|
|
740
739
|
try {
|
|
741
|
-
const r =
|
|
740
|
+
const r = p(e, (s) => s);
|
|
742
741
|
this.updateState(r), this.error$.next(null);
|
|
743
742
|
} catch (r) {
|
|
744
743
|
const s = new u(`Error replacing array in ${this.key}`, r);
|
|
@@ -747,7 +746,7 @@ const k = class k extends X {
|
|
|
747
746
|
}
|
|
748
747
|
filter(e) {
|
|
749
748
|
try {
|
|
750
|
-
const r = this.value.filter(e), s =
|
|
749
|
+
const r = this.value.filter(e), s = p(this.value, (n) => {
|
|
751
750
|
n.length = 0, n.push(...r.map((a) => a));
|
|
752
751
|
});
|
|
753
752
|
this.updateState(s), this.error$.next(null);
|
|
@@ -761,7 +760,7 @@ const k = class k extends X {
|
|
|
761
760
|
}
|
|
762
761
|
sort(e) {
|
|
763
762
|
try {
|
|
764
|
-
const r = [...this.value].sort(e), s =
|
|
763
|
+
const r = [...this.value].sort(e), s = p(this.value, (n) => {
|
|
765
764
|
n.length = 0, n.push(...r.map((a) => a));
|
|
766
765
|
});
|
|
767
766
|
this.updateState(s), this.error$.next(null);
|
|
@@ -772,7 +771,7 @@ const k = class k extends X {
|
|
|
772
771
|
}
|
|
773
772
|
update(e, r) {
|
|
774
773
|
try {
|
|
775
|
-
const s =
|
|
774
|
+
const s = p(this.value, (n) => {
|
|
776
775
|
if (!(e >= 0 && e < n.length)) throw new Error(`Index ${e} out of bounds (length: ${n.length})`);
|
|
777
776
|
r(n[e]);
|
|
778
777
|
});
|
|
@@ -792,16 +791,16 @@ const k = class k extends X {
|
|
|
792
791
|
} });
|
|
793
792
|
}
|
|
794
793
|
};
|
|
795
|
-
|
|
796
|
-
let ne =
|
|
797
|
-
const
|
|
794
|
+
x.type = "array", x.instances = /* @__PURE__ */ new Map();
|
|
795
|
+
let ne = x;
|
|
796
|
+
const k = class k extends H {
|
|
798
797
|
static getInstance(e, r, s) {
|
|
799
798
|
const n = `${e}:${r}`;
|
|
800
|
-
return this.instances.has(n) || this.instances.set(n, new
|
|
799
|
+
return this.instances.has(n) || this.instances.set(n, new k(e, r, s)), this.instances.get(n);
|
|
801
800
|
}
|
|
802
801
|
set(e, r) {
|
|
803
802
|
try {
|
|
804
|
-
const s =
|
|
803
|
+
const s = p(this.value, (n) => {
|
|
805
804
|
if (typeof e == "string") {
|
|
806
805
|
if (r === void 0) throw new Error("Value is required when setting a single key");
|
|
807
806
|
n.set(e, r);
|
|
@@ -826,7 +825,7 @@ const O = class O extends X {
|
|
|
826
825
|
}
|
|
827
826
|
delete(e) {
|
|
828
827
|
try {
|
|
829
|
-
const r =
|
|
828
|
+
const r = p(this.value, (s) => {
|
|
830
829
|
s.delete(e);
|
|
831
830
|
});
|
|
832
831
|
this.updateState(r), this.error$.next(null);
|
|
@@ -840,7 +839,7 @@ const O = class O extends X {
|
|
|
840
839
|
}
|
|
841
840
|
batchUpdate(e) {
|
|
842
841
|
try {
|
|
843
|
-
const r =
|
|
842
|
+
const r = p(this.value, (s) => {
|
|
844
843
|
Object.entries(e).forEach(([n, a]) => {
|
|
845
844
|
s.set(n, a);
|
|
846
845
|
});
|
|
@@ -853,7 +852,7 @@ const O = class O extends X {
|
|
|
853
852
|
}
|
|
854
853
|
update(e, r) {
|
|
855
854
|
try {
|
|
856
|
-
const s =
|
|
855
|
+
const s = p(this.value, (n) => {
|
|
857
856
|
const a = n.get(e);
|
|
858
857
|
a !== void 0 && r(a);
|
|
859
858
|
});
|
|
@@ -881,15 +880,15 @@ const O = class O extends X {
|
|
|
881
880
|
} });
|
|
882
881
|
}
|
|
883
882
|
};
|
|
884
|
-
|
|
885
|
-
let ie =
|
|
886
|
-
const
|
|
883
|
+
k.type = "collection", k.instances = /* @__PURE__ */ new Map();
|
|
884
|
+
let ie = k;
|
|
885
|
+
const O = class O extends (se = H, re = w, se) {
|
|
887
886
|
constructor() {
|
|
888
887
|
super(...arguments), this[re] = !0;
|
|
889
888
|
}
|
|
890
889
|
static getInstance(e, r, s) {
|
|
891
890
|
const n = `${e}:${r}`;
|
|
892
|
-
return this.instances.has(n) || this.instances.set(n, new
|
|
891
|
+
return this.instances.has(n) || this.instances.set(n, new O(e, r, s)), this.instances.get(n);
|
|
893
892
|
}
|
|
894
893
|
set(e, r = !0) {
|
|
895
894
|
try {
|
|
@@ -897,7 +896,7 @@ const D = class D extends (se = X, re = $, se) {
|
|
|
897
896
|
const n = r ? { ...this.value, ...e } : e;
|
|
898
897
|
return this.updateState(n), void this.error$.next(null);
|
|
899
898
|
}
|
|
900
|
-
const s =
|
|
899
|
+
const s = p(this.value, (n) => {
|
|
901
900
|
if (r) {
|
|
902
901
|
if (e == null) return;
|
|
903
902
|
try {
|
|
@@ -927,7 +926,7 @@ const D = class D extends (se = X, re = $, se) {
|
|
|
927
926
|
clear() {
|
|
928
927
|
try {
|
|
929
928
|
if (this.isImmerDraftable(this.defaultValue)) {
|
|
930
|
-
const e =
|
|
929
|
+
const e = p(this.defaultValue, (r) => r);
|
|
931
930
|
this.set(e, !1);
|
|
932
931
|
} else this.set(this.defaultValue, !1);
|
|
933
932
|
} catch (e) {
|
|
@@ -941,7 +940,7 @@ const D = class D extends (se = X, re = $, se) {
|
|
|
941
940
|
const s = { ...this.value };
|
|
942
941
|
return delete s[e], void this.updateState(s);
|
|
943
942
|
}
|
|
944
|
-
const r =
|
|
943
|
+
const r = p(this.value, (s) => {
|
|
945
944
|
delete s[e];
|
|
946
945
|
});
|
|
947
946
|
this.updateState(r);
|
|
@@ -967,7 +966,7 @@ const D = class D extends (se = X, re = $, se) {
|
|
|
967
966
|
}
|
|
968
967
|
return h[n[n.length - 1]] = r, void this.updateState(a);
|
|
969
968
|
}
|
|
970
|
-
const s =
|
|
969
|
+
const s = p(this.value, (n) => {
|
|
971
970
|
const a = e.split(".");
|
|
972
971
|
let h = n;
|
|
973
972
|
for (let i = 0; i < a.length - 1; i++) {
|
|
@@ -999,7 +998,7 @@ const D = class D extends (se = X, re = $, se) {
|
|
|
999
998
|
}
|
|
1000
999
|
processStoredValue(e) {
|
|
1001
1000
|
try {
|
|
1002
|
-
return this.isImmerDraftable(this.defaultValue) && this.isImmerDraftable(e) ?
|
|
1001
|
+
return this.isImmerDraftable(this.defaultValue) && this.isImmerDraftable(e) ? p(this.defaultValue, (r) => {
|
|
1003
1002
|
Object.assign(r, e);
|
|
1004
1003
|
}) : { ...this.defaultValue, ...e };
|
|
1005
1004
|
} catch {
|
|
@@ -1013,21 +1012,21 @@ const D = class D extends (se = X, re = $, se) {
|
|
|
1013
1012
|
} });
|
|
1014
1013
|
}
|
|
1015
1014
|
isImmerDraftable(e) {
|
|
1016
|
-
return e !== null && typeof e == "object" && (super.isImmerDraftable(e) || e[
|
|
1015
|
+
return e !== null && typeof e == "object" && (super.isImmerDraftable(e) || e[w] === !0);
|
|
1017
1016
|
}
|
|
1018
1017
|
};
|
|
1019
|
-
|
|
1020
|
-
let ae =
|
|
1018
|
+
O.type = "object", O.instances = /* @__PURE__ */ new Map();
|
|
1019
|
+
let ae = O;
|
|
1021
1020
|
export {
|
|
1022
|
-
|
|
1021
|
+
H as B,
|
|
1023
1022
|
q as I,
|
|
1024
|
-
|
|
1023
|
+
be as L,
|
|
1025
1024
|
me as M,
|
|
1026
1025
|
ne as S,
|
|
1027
1026
|
ae as a,
|
|
1028
|
-
|
|
1029
|
-
|
|
1027
|
+
ge as b,
|
|
1028
|
+
ve as c,
|
|
1030
1029
|
u as d,
|
|
1031
1030
|
ie as e
|
|
1032
1031
|
};
|
|
1033
|
-
//# sourceMappingURL=context-object-
|
|
1032
|
+
//# sourceMappingURL=context-object-BE1o2XB3.js.map
|