@blac/core 2.0.13 → 2.0.14
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/README.md +85 -3
- package/dist/Cubit-9jal5zdZ.cjs +1 -1
- package/dist/Cubit-BAUPiUF7.cjs +359 -286
- package/dist/Cubit-BBKF3PIg.js +269 -230
- package/dist/Cubit-BC70gaiA.js +453 -0
- package/dist/Cubit-BC70gaiA.js.map +1 -0
- package/dist/Cubit-BOgUZva7.js +342 -266
- package/dist/Cubit-BOxMvpfc.js +273 -232
- package/dist/Cubit-BTznt8zg.js +1 -1
- package/dist/Cubit-BogJXkLm.js +260 -225
- package/dist/Cubit-C-8R_8db.cjs +475 -0
- package/dist/Cubit-C-8R_8db.cjs.map +1 -0
- package/dist/Cubit-C3Mw3EoO.cjs +401 -0
- package/dist/Cubit-C3Mw3EoO.cjs.map +1 -0
- package/dist/Cubit-CO8Fr72L.cjs +447 -0
- package/dist/Cubit-CO8Fr72L.cjs.map +1 -0
- package/dist/Cubit-COfHT1Bm.cjs +300 -259
- package/dist/Cubit-CROWjjs9.js +481 -0
- package/dist/Cubit-CROWjjs9.js.map +1 -0
- package/dist/Cubit-CWP8Ddzx.cjs +510 -0
- package/dist/Cubit-CWP8Ddzx.cjs.map +1 -0
- package/dist/Cubit-CXxh9iol.js +284 -242
- package/dist/Cubit-CYOWfzQt.cjs +297 -254
- package/dist/Cubit-CZaf_fp4.cjs +1 -1
- package/dist/Cubit-C_dUEUdd.cjs +359 -286
- package/dist/Cubit-C_rxRCTN.cjs +523 -0
- package/dist/Cubit-C_rxRCTN.cjs.map +1 -0
- package/dist/Cubit-CcKgMEBO.js +281 -239
- package/dist/Cubit-CfT6Y1jl.js +328 -280
- package/dist/Cubit-CynJruuO.js +369 -0
- package/dist/Cubit-CynJruuO.js.map +1 -0
- package/dist/Cubit-D2vQ6nMb.js +342 -266
- package/dist/Cubit-D7jOZCoZ.js +342 -266
- package/dist/Cubit-D9j3IGPc.cjs +523 -0
- package/dist/Cubit-D9j3IGPc.cjs.map +1 -0
- package/dist/Cubit-DKEY9WYq.cjs +276 -240
- package/dist/Cubit-DMV_0TCp.js +481 -0
- package/dist/Cubit-DMV_0TCp.js.map +1 -0
- package/dist/Cubit-DP5DXPUK.js +342 -266
- package/dist/Cubit-DRFkzD2h.js +426 -0
- package/dist/Cubit-DRFkzD2h.js.map +1 -0
- package/dist/Cubit-DbnhTUaZ.cjs +359 -286
- package/dist/Cubit-DrqG3SP3.cjs +349 -300
- package/dist/Cubit-DsDkCo42.cjs +292 -250
- package/dist/Cubit-DwRw1E9D.cjs +289 -247
- package/dist/Cubit-Dw_kFBgc.js +1 -1
- package/dist/Cubit-KiXZCubP.cjs +1 -1
- package/dist/Cubit-Ksj7G4uR.js +342 -266
- package/dist/Cubit-MkjbpcPf.cjs +359 -286
- package/dist/Cubit-NRhvdDQ6.js +279 -239
- package/dist/Cubit-PMTXxI_u.js +1 -1
- package/dist/Cubit-VJuu2tt9.js +481 -0
- package/dist/Cubit-VJuu2tt9.js.map +1 -0
- package/dist/Cubit-jz922NKf.cjs +300 -257
- package/dist/Cubit-kU5_4jgC.cjs +359 -286
- package/dist/StateContainerRegistry-B4yVMYbx.cjs +1057 -0
- package/dist/StateContainerRegistry-B4yVMYbx.cjs.map +1 -0
- package/dist/StateContainerRegistry-BAcxouCu.js +683 -615
- package/dist/StateContainerRegistry-BK57H92E.js +701 -630
- package/dist/StateContainerRegistry-BRBATSrx.cjs +1030 -0
- package/dist/StateContainerRegistry-BRBATSrx.cjs.map +1 -0
- package/dist/StateContainerRegistry-BgBIKcQF.js +956 -0
- package/dist/StateContainerRegistry-BgBIKcQF.js.map +1 -0
- package/dist/StateContainerRegistry-BglEhqdA.js +669 -606
- package/dist/StateContainerRegistry-BhcnG0DF.js +625 -562
- package/dist/StateContainerRegistry-BpO5t-0i.js +642 -580
- package/dist/StateContainerRegistry-BqS-wpb_.js +957 -0
- package/dist/StateContainerRegistry-BqS-wpb_.js.map +1 -0
- package/dist/StateContainerRegistry-BrEGYPZT.cjs +1029 -0
- package/dist/StateContainerRegistry-BrEGYPZT.cjs.map +1 -0
- package/dist/StateContainerRegistry-Bxfne4A7.cjs +908 -0
- package/dist/StateContainerRegistry-Bxfne4A7.cjs.map +1 -0
- package/dist/StateContainerRegistry-C0E7vsgy.js +758 -0
- package/dist/StateContainerRegistry-C0E7vsgy.js.map +1 -0
- package/dist/StateContainerRegistry-C0I77Ndz.cjs +920 -0
- package/dist/StateContainerRegistry-C0I77Ndz.cjs.map +1 -0
- package/dist/StateContainerRegistry-CDH9mnQS.cjs +668 -614
- package/dist/StateContainerRegistry-CTOXUf75.cjs +695 -640
- package/dist/StateContainerRegistry-CX2CBOmv.cjs +739 -679
- package/dist/StateContainerRegistry-CXnnf2-l.js +867 -0
- package/dist/StateContainerRegistry-CXnnf2-l.js.map +1 -0
- package/dist/StateContainerRegistry-CehuIpK_.cjs +811 -0
- package/dist/StateContainerRegistry-CehuIpK_.cjs.map +1 -0
- package/dist/StateContainerRegistry-Ci0ajc5g.js +680 -612
- package/dist/StateContainerRegistry-Ck2-XmT_.js +587 -527
- package/dist/StateContainerRegistry-D1lVJFGL.cjs +706 -646
- package/dist/StateContainerRegistry-DC4N73O6.js +632 -569
- package/dist/StateContainerRegistry-DOuGI-l5.js +645 -582
- package/dist/StateContainerRegistry-DT66lr3I.cjs +651 -596
- package/dist/StateContainerRegistry-DmmzYa7S.js +974 -0
- package/dist/StateContainerRegistry-DmmzYa7S.js.map +1 -0
- package/dist/StateContainerRegistry-Upsrlg9G.cjs +709 -649
- package/dist/StateContainerRegistry-WznfcA-Q.js +855 -0
- package/dist/StateContainerRegistry-WznfcA-Q.js.map +1 -0
- package/dist/StateContainerRegistry-Yph6UCA_.js +637 -569
- package/dist/StateContainerRegistry-mseeTqSA.cjs +671 -616
- package/dist/StateContainerRegistry-pRNxHNFD.cjs +658 -603
- package/dist/StateContainerRegistry-vXMWtG7J.cjs +613 -561
- package/dist/StateContainerRegistry-v_prqMcI.cjs +663 -603
- package/dist/branded-BSeA_mZO.cjs.map +1 -1
- package/dist/branded-DCqi3De1.cjs +11 -11
- package/dist/branded-DwtzSsg0.js.map +1 -1
- package/dist/branded-Max3xOTA.js +6 -6
- package/dist/config-0ZD9i3wy.js +16 -0
- package/dist/config-0ZD9i3wy.js.map +1 -0
- package/dist/config-B3NIwDQv.cjs +20 -20
- package/dist/config-BKGHop0V.js +5 -5
- package/dist/config-BKoaAlmb.js +5 -5
- package/dist/config-BPj08-8h.cjs +32 -0
- package/dist/config-BPj08-8h.cjs.map +1 -0
- package/dist/config-BR0Xy-Tn.cjs +20 -20
- package/dist/config-B_4xXpvK.cjs +32 -0
- package/dist/config-B_4xXpvK.cjs.map +1 -0
- package/dist/config-BflrQM4_.cjs +32 -0
- package/dist/config-BflrQM4_.cjs.map +1 -0
- package/dist/config-BzObBsk2.cjs +32 -0
- package/dist/config-BzObBsk2.cjs.map +1 -0
- package/dist/config-C0yumL1H.cjs +32 -0
- package/dist/config-C0yumL1H.cjs.map +1 -0
- package/dist/config-C8xqVHTf.js +16 -0
- package/dist/config-C8xqVHTf.js.map +1 -0
- package/dist/config-CCUhIYIF.js +5 -5
- package/dist/config-CGo__MAt.js +16 -0
- package/dist/config-CGo__MAt.js.map +1 -0
- package/dist/config-CQH9fTY-.cjs +20 -20
- package/dist/config-CR_Bz7RD.js +5 -5
- package/dist/config-CTOa-yPN.cjs +20 -20
- package/dist/config-Cd7Q-B4g.js +16 -0
- package/dist/config-Cd7Q-B4g.js.map +1 -0
- package/dist/config-CmDEX-1o.js +16 -0
- package/dist/config-CmDEX-1o.js.map +1 -0
- package/dist/config-CoNMTnMA.cjs +32 -0
- package/dist/config-CoNMTnMA.cjs.map +1 -0
- package/dist/config-Cwj8-C1J.js +5 -5
- package/dist/config-D3jisfdj.cjs +20 -20
- package/dist/config-D4GifZQ4.js +5 -5
- package/dist/config-DDrSQGpQ.cjs +20 -20
- package/dist/config-DEcslxan.cjs +20 -20
- package/dist/config-DMNZ2YLV.cjs +20 -20
- package/dist/config-De9oQ6Ki.js +5 -5
- package/dist/config-DoHx0Xsl.js +16 -0
- package/dist/config-DoHx0Xsl.js.map +1 -0
- package/dist/config-DokTzpr8.cjs +20 -20
- package/dist/config-DslYBm4Z.js +5 -5
- package/dist/config-H6FAqbW4.cjs +20 -20
- package/dist/config-Yp645dGK.js +5 -5
- package/dist/config-ispAzOZV.js +5 -5
- package/dist/config.d.cts +72 -0
- package/dist/config.d.ts +72 -0
- package/dist/constants.d.cts +13 -0
- package/dist/constants.d.ts +13 -0
- package/dist/core/Cubit.d.ts +14 -4
- package/dist/core/StateContainer.d.ts +111 -11
- package/dist/core/StateContainerRegistry.d.ts +55 -11
- package/dist/core/symbols.d.ts +26 -0
- package/dist/debug.cjs +3 -3
- package/dist/debug.js +3 -3
- package/dist/decorators/blac.d.ts +17 -0
- package/dist/ensure-9VEq5H0L.js +3 -3
- package/dist/ensure-BB6xHQAF.cjs +14 -0
- package/dist/ensure-BB6xHQAF.cjs.map +1 -0
- package/dist/ensure-BNDfTzqg.cjs +8 -8
- package/dist/ensure-BVCnjU7r.js +343 -267
- package/dist/ensure-BbzGXjep.cjs +8 -8
- package/dist/ensure-BlIaQai6.js +9 -0
- package/dist/ensure-BlIaQai6.js.map +1 -0
- package/dist/ensure-Bm3oHxga.js +9 -0
- package/dist/ensure-Bm3oHxga.js.map +1 -0
- package/dist/ensure-C3eIRs6e.cjs +8 -8
- package/dist/ensure-CJZL7bcA.cjs +365 -292
- package/dist/ensure-CN6unBOe.cjs +8 -8
- package/dist/ensure-CU-B1ywv.js +3 -3
- package/dist/ensure-CWKzeno7.js +3 -3
- package/dist/ensure-CkENsuQ9.js +9 -0
- package/dist/ensure-CkENsuQ9.js.map +1 -0
- package/dist/ensure-Cm-4_LSh.cjs +14 -0
- package/dist/ensure-Cm-4_LSh.cjs.map +1 -0
- package/dist/ensure-Cqex5r1P.cjs +14 -0
- package/dist/ensure-Cqex5r1P.cjs.map +1 -0
- package/dist/ensure-Cv5AbNGZ.js +9 -0
- package/dist/ensure-Cv5AbNGZ.js.map +1 -0
- package/dist/ensure-D63lEMUK.cjs +8 -8
- package/dist/ensure-DGEtPU9A.cjs +8 -8
- package/dist/ensure-DM3qb336.cjs +14 -0
- package/dist/ensure-DM3qb336.cjs.map +1 -0
- package/dist/ensure-DME-_T0j.cjs +8 -8
- package/dist/ensure-DWd0GCYB.js +3 -3
- package/dist/ensure-DamKOP6q.cjs +8 -8
- package/dist/ensure-Dcfptl-A.js +9 -0
- package/dist/ensure-Dcfptl-A.js.map +1 -0
- package/dist/ensure-Def-EBWG.js +3 -3
- package/dist/ensure-DnHL5QiQ.cjs +14 -0
- package/dist/ensure-DnHL5QiQ.cjs.map +1 -0
- package/dist/ensure-Dr7I78Ku.cjs +8 -8
- package/dist/ensure-SLVdGd5b.js +3 -3
- package/dist/ensure-Sb92MCXu.js +3 -3
- package/dist/ensure-gFlvevGm.cjs +14 -0
- package/dist/ensure-gFlvevGm.cjs.map +1 -0
- package/dist/ensure-l2-H7S5W.js +3 -3
- package/dist/ensure-mkL-3qh8.js +9 -0
- package/dist/ensure-mkL-3qh8.js.map +1 -0
- package/dist/ensure-n80crSlX.js +3 -3
- package/dist/ensure-nCxg7MCN.js +3 -3
- package/dist/ensure-vS71MV4q.cjs +8 -8
- package/dist/index.cjs +37 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -4
- package/dist/index.d.ts +14 -4
- package/dist/index.js +23 -10
- package/dist/index.js.map +1 -1
- package/dist/management-6oQbmf0z.js +41 -0
- package/dist/management-6oQbmf0z.js.map +1 -0
- package/dist/management-B46QwA9Y.js +20 -11
- package/dist/management-B9yrRpeg.js +41 -0
- package/dist/management-B9yrRpeg.js.map +1 -0
- package/dist/management-BCKTEZ8Q.js +20 -11
- package/dist/management-BbMzdXbT.js +41 -0
- package/dist/management-BbMzdXbT.js.map +1 -0
- package/dist/management-Bg652agq.js +20 -11
- package/dist/management-BnedF5ZD.cjs +50 -50
- package/dist/management-BoUa99eB.cjs +79 -0
- package/dist/management-BoUa99eB.cjs.map +1 -0
- package/dist/management-C4SHcrJm.cjs +79 -0
- package/dist/management-C4SHcrJm.cjs.map +1 -0
- package/dist/management-CK-GL3wY.js +20 -11
- package/dist/management-CPhgY8OE.js +41 -0
- package/dist/management-CPhgY8OE.js.map +1 -0
- package/dist/management-CU_V3LIP.js +20 -11
- package/dist/management-CUwXDSi9.cjs +79 -0
- package/dist/management-CUwXDSi9.cjs.map +1 -0
- package/dist/management-CaqiyNzB.js +20 -11
- package/dist/management-Cin-JvYe.js +20 -11
- package/dist/management-ClaXym0F.cjs +50 -50
- package/dist/management-DL0Uzsoz.js +20 -11
- package/dist/management-DLdAQfqk.cjs +79 -0
- package/dist/management-DLdAQfqk.cjs.map +1 -0
- package/dist/management-DMZ8qpwr.cjs +50 -50
- package/dist/management-DTzcC6aD.cjs +79 -0
- package/dist/management-DTzcC6aD.cjs.map +1 -0
- package/dist/management-DYLNyj9p.cjs +50 -50
- package/dist/management-Dag9u4t6.cjs +50 -50
- package/dist/management-DbMRdDBo.cjs +50 -50
- package/dist/management-DfnDAKmP.js +41 -0
- package/dist/management-DfnDAKmP.js.map +1 -0
- package/dist/management-DjBU1gtb.cjs +50 -50
- package/dist/management-DwCozsY8.js +20 -11
- package/dist/management-H4m3ciJO.js +32 -0
- package/dist/management-H4m3ciJO.js.map +1 -0
- package/dist/management-Xo3A6Za3.cjs +79 -0
- package/dist/management-Xo3A6Za3.cjs.map +1 -0
- package/dist/management-ZU2YzOkr.js +18 -10
- package/dist/management-baPDwA9n.cjs +50 -50
- package/dist/management-jQGCvZNN.cjs +44 -44
- package/dist/management-ry_KteFK.cjs +50 -50
- package/dist/plugin/BlacPlugin.d.ts +89 -15
- package/dist/plugin/PluginManager.d.ts +65 -5
- package/dist/plugins.cjs +1 -1
- package/dist/plugins.d.cts +2 -2
- package/dist/plugins.d.ts +2 -2
- package/dist/plugins.js +1 -1
- package/dist/registry/acquire.d.ts +9 -2
- package/dist/registry/ensure.d.ts +2 -2
- package/dist/registry/index.d.ts +1 -1
- package/dist/resolve-dependencies-B2QggQAi.js +641 -558
- package/dist/resolve-dependencies-B6JDXvpr.js +651 -566
- package/dist/resolve-dependencies-BAKAoD0U.js +878 -0
- package/dist/resolve-dependencies-BAKAoD0U.js.map +1 -0
- package/dist/resolve-dependencies-BFZQq60Y.cjs +724 -666
- package/dist/resolve-dependencies-BGafS3Ww.js +643 -561
- package/dist/resolve-dependencies-BHd34gS3.cjs +724 -666
- package/dist/resolve-dependencies-BNeayhbQ.cjs +732 -671
- package/dist/resolve-dependencies-BWEMpuDy.js +641 -558
- package/dist/resolve-dependencies-BiWkW2eS.js +643 -561
- package/dist/resolve-dependencies-BjxCztYD.js +739 -0
- package/dist/resolve-dependencies-BjxCztYD.js.map +1 -0
- package/dist/resolve-dependencies-BlyBV0hB.cjs +969 -0
- package/dist/resolve-dependencies-BlyBV0hB.cjs.map +1 -0
- package/dist/resolve-dependencies-By26rT_i.js +651 -566
- package/dist/resolve-dependencies-C9Kf7AzY.cjs +724 -666
- package/dist/resolve-dependencies-CTzV1txG.js +643 -561
- package/dist/resolve-dependencies-CWjuGHiF.cjs +969 -0
- package/dist/resolve-dependencies-CWjuGHiF.cjs.map +1 -0
- package/dist/resolve-dependencies-ClSsP0DJ.cjs +722 -663
- package/dist/resolve-dependencies-D0vTzZgs.js +643 -561
- package/dist/resolve-dependencies-D2WnZMF-.cjs +724 -666
- package/dist/resolve-dependencies-DCBLTeza.cjs +969 -0
- package/dist/resolve-dependencies-DCBLTeza.cjs.map +1 -0
- package/dist/resolve-dependencies-DMlqYJR2.js +643 -561
- package/dist/resolve-dependencies-DP6U1EYB.cjs +840 -0
- package/dist/resolve-dependencies-DP6U1EYB.cjs.map +1 -0
- package/dist/resolve-dependencies-DSQNXvnV.cjs +724 -666
- package/dist/resolve-dependencies-DV3HO_uH.js +878 -0
- package/dist/resolve-dependencies-DV3HO_uH.js.map +1 -0
- package/dist/resolve-dependencies-DXwMhP0Y.js +878 -0
- package/dist/resolve-dependencies-DXwMhP0Y.js.map +1 -0
- package/dist/resolve-dependencies-DbRWlt9u.js +878 -0
- package/dist/resolve-dependencies-DbRWlt9u.js.map +1 -0
- package/dist/resolve-dependencies-DcUUva2P.cjs +724 -666
- package/dist/resolve-dependencies-Dd8T6TLt.cjs +724 -666
- package/dist/resolve-dependencies-Dfdp_DZd.cjs +732 -671
- package/dist/resolve-dependencies-GJ8PNyNB.cjs +969 -0
- package/dist/resolve-dependencies-GJ8PNyNB.cjs.map +1 -0
- package/dist/resolve-dependencies-KSpTt4jy.cjs +722 -663
- package/dist/resolve-dependencies-Nvjp4CwS.js +643 -561
- package/dist/resolve-dependencies-f-QUqYiL.js +643 -561
- package/dist/testing.cjs +27 -20
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +22 -1
- package/dist/testing.d.ts +22 -1
- package/dist/testing.js +27 -21
- package/dist/testing.js.map +1 -1
- package/dist/tracked-B77j2g9M.js +171 -151
- package/dist/tracked-BDVi2LKM.cjs +196 -175
- package/dist/tracked-BFdJCzL0.cjs +242 -0
- package/dist/tracked-BFdJCzL0.cjs.map +1 -0
- package/dist/tracked-BH-gX4T1.cjs +196 -175
- package/dist/tracked-BTHok3Dl.cjs +196 -175
- package/dist/tracked-BTbFkFeM.js +186 -166
- package/dist/tracked-BU_OBWqM.cjs +242 -0
- package/dist/tracked-BU_OBWqM.cjs.map +1 -0
- package/dist/tracked-BfctH2es.cjs +242 -0
- package/dist/tracked-BfctH2es.cjs.map +1 -0
- package/dist/tracked-BhQtzUhZ.js +186 -166
- package/dist/tracked-BnqrYXiO.js +212 -0
- package/dist/tracked-BnqrYXiO.js.map +1 -0
- package/dist/tracked-BtgFOGup.js +212 -0
- package/dist/tracked-BtgFOGup.js.map +1 -0
- package/dist/tracked-C3nIS4J7.cjs +242 -0
- package/dist/tracked-C3nIS4J7.cjs.map +1 -0
- package/dist/tracked-C52awNV9.js +171 -151
- package/dist/tracked-CGzduF2m.js +186 -166
- package/dist/tracked-CK_-ixtX.cjs +196 -175
- package/dist/tracked-CLlvURln.js +186 -166
- package/dist/tracked-CgHWmuGC.cjs +211 -190
- package/dist/tracked-CoAlC8fs.js +171 -151
- package/dist/tracked-D3Xjm1H1.cjs +211 -190
- package/dist/tracked-DB6yMV5F.js +212 -0
- package/dist/tracked-DB6yMV5F.js.map +1 -0
- package/dist/tracked-DBn-bs_G.js +171 -151
- package/dist/tracked-DMBTDF0P.js +171 -151
- package/dist/tracked-DN3h3Rp1.js +171 -151
- package/dist/tracked-DOGh1Q5Z.cjs +242 -0
- package/dist/tracked-DOGh1Q5Z.cjs.map +1 -0
- package/dist/tracked-DUkp4zve.cjs +196 -175
- package/dist/tracked-D_ou7mYG.js +212 -0
- package/dist/tracked-D_ou7mYG.js.map +1 -0
- package/dist/tracked-Dcu6EATB.js +171 -151
- package/dist/tracked-GvAJQVAI.cjs +227 -196
- package/dist/tracked-O2lv-kJV.cjs +211 -190
- package/dist/tracked-WF6aXuAo.js +186 -162
- package/dist/tracked-d_sQWU3c.cjs +196 -175
- package/dist/tracked-n9TMK-30.cjs +196 -175
- package/dist/tracked-njU-_pVa.cjs +211 -190
- package/dist/tracked-zAgmKIlC.js +212 -0
- package/dist/tracked-zAgmKIlC.js.map +1 -0
- package/dist/tracking/dependency-manager.d.ts +33 -29
- package/dist/tracking/index.d.ts +16 -1
- package/dist/tracking/iteration-perf.bench.d.ts +1 -0
- package/dist/tracking/path-utils.d.ts +18 -1
- package/dist/tracking/resolve-dependencies.d.ts +3 -1
- package/dist/tracking/tracked.d.ts +37 -34
- package/dist/tracking/tracking-proxy.d.ts +94 -47
- package/dist/tracking.cjs +12 -9
- package/dist/tracking.js +32 -2
- package/dist/types/utilities.d.ts +15 -3
- package/dist/types.cjs +1 -1
- package/dist/types.js +1 -1
- package/dist/utils/static-props.d.ts +14 -0
- package/dist/utils/structural-key.d.ts +14 -0
- package/dist/watch/watch.d.ts +1 -1
- package/dist/watch-BpwaUL8r.cjs +68 -0
- package/dist/watch-BpwaUL8r.cjs.map +1 -0
- package/dist/watch-DWCqXllW.js +57 -0
- package/dist/watch-DWCqXllW.js.map +1 -0
- package/dist/watch-entry.cjs +3 -6
- package/dist/watch-entry.d.cts +1 -3
- package/dist/watch-entry.d.ts +1 -3
- package/dist/watch-entry.js +2 -2
- package/package.json +4 -14
package/dist/ensure-CN6unBOe.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const require_config = require(
|
|
1
|
+
const require_config = require('./config-CQH9fTY-.cjs');
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
|
-
Object.defineProperty(exports,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=ensure-CN6unBOe.cjs.map
|
|
14
|
+
//# sourceMappingURL=ensure-CN6unBOe.cjs.map
|
package/dist/ensure-CU-B1ywv.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getRegistry } from
|
|
1
|
+
import { t as getRegistry } from './config-CCUhIYIF.js';
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ensure as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=ensure-CU-B1ywv.js.map
|
|
9
|
+
//# sourceMappingURL=ensure-CU-B1ywv.js.map
|
package/dist/ensure-CWKzeno7.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getRegistry } from
|
|
1
|
+
import { t as getRegistry } from './config-ispAzOZV.js';
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ensure as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=ensure-CWKzeno7.js.map
|
|
9
|
+
//# sourceMappingURL=ensure-CWKzeno7.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as getRegistry } from './config-0ZD9i3wy.js';
|
|
2
|
+
//#region src/registry/ensure.ts
|
|
3
|
+
function ensure(BlocClass, instanceKey, args) {
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey, args);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { ensure as t };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=ensure-CkENsuQ9.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-CkENsuQ9.js","names":[],"sources":["../src/registry/ensure.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type { ExtractArgs, StateContainerConstructor } from '../types/utilities';\n\nexport function ensure<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n args?: ExtractArgs<T>,\n): InstanceType<T> {\n return getRegistry().ensure(BlocClass, instanceKey, args);\n}\n"],"mappings":";;AAGA,SAAgB,OACd,WACA,aACA,MACiB;AACjB,QAAO,aAAa,CAAC,OAAO,WAAW,aAAa,KAAK"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const require_config = require('./config-CoNMTnMA.cjs');
|
|
2
|
+
//#region src/registry/ensure.ts
|
|
3
|
+
function ensure(BlocClass, instanceKey, args) {
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey, args);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=ensure-Cm-4_LSh.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-Cm-4_LSh.cjs","names":["getRegistry"],"sources":["../src/registry/ensure.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type { ExtractArgs, StateContainerConstructor } from '../types/utilities';\n\nexport function ensure<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n args?: ExtractArgs<T>,\n): InstanceType<T> {\n return getRegistry().ensure(BlocClass, instanceKey, args);\n}\n"],"mappings":";;AAGA,SAAgB,OACd,WACA,aACA,MACiB;AACjB,QAAOA,eAAAA,aAAa,CAAC,OAAO,WAAW,aAAa,KAAK"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const require_config = require('./config-C0yumL1H.cjs');
|
|
2
|
+
//#region src/registry/ensure.ts
|
|
3
|
+
function ensure(BlocClass, instanceKey) {
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=ensure-Cqex5r1P.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-Cqex5r1P.cjs","names":["getRegistry"],"sources":["../src/registry/ensure.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type { StateContainerConstructor } from '../types/utilities';\n\nexport function ensure<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n): InstanceType<T> {\n return getRegistry().ensure(BlocClass, instanceKey);\n}\n"],"mappings":";;AAGA,SAAgB,OACd,WACA,aACiB;AACjB,QAAOA,eAAAA,aAAa,CAAC,OAAO,WAAW,YAAY"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as getRegistry } from './config-Cd7Q-B4g.js';
|
|
2
|
+
//#region src/registry/ensure.ts
|
|
3
|
+
function ensure(BlocClass, instanceKey, args) {
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey, args);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { ensure as t };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=ensure-Cv5AbNGZ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-Cv5AbNGZ.js","names":[],"sources":["../src/registry/ensure.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type { ExtractArgs, StateContainerConstructor } from '../types/utilities';\n\nexport function ensure<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n args?: ExtractArgs<T>,\n): InstanceType<T> {\n return getRegistry().ensure(BlocClass, instanceKey, args);\n}\n"],"mappings":";;AAGA,SAAgB,OACd,WACA,aACA,MACiB;AACjB,QAAO,aAAa,CAAC,OAAO,WAAW,aAAa,KAAK"}
|
package/dist/ensure-D63lEMUK.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const require_config = require(
|
|
1
|
+
const require_config = require('./config-DDrSQGpQ.cjs');
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
|
-
Object.defineProperty(exports,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=ensure-D63lEMUK.cjs.map
|
|
14
|
+
//# sourceMappingURL=ensure-D63lEMUK.cjs.map
|
package/dist/ensure-DGEtPU9A.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const require_config = require(
|
|
1
|
+
const require_config = require('./config-BR0Xy-Tn.cjs');
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
|
-
Object.defineProperty(exports,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=ensure-DGEtPU9A.cjs.map
|
|
14
|
+
//# sourceMappingURL=ensure-DGEtPU9A.cjs.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const require_config = require('./config-BPj08-8h.cjs');
|
|
2
|
+
//#region src/registry/ensure.ts
|
|
3
|
+
function ensure(BlocClass, instanceKey, args) {
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey, args);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=ensure-DM3qb336.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-DM3qb336.cjs","names":["getRegistry"],"sources":["../src/registry/ensure.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type { ExtractArgs, StateContainerConstructor } from '../types/utilities';\n\nexport function ensure<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n args?: ExtractArgs<T>,\n): InstanceType<T> {\n return getRegistry().ensure(BlocClass, instanceKey, args);\n}\n"],"mappings":";;AAGA,SAAgB,OACd,WACA,aACA,MACiB;AACjB,QAAOA,eAAAA,aAAa,CAAC,OAAO,WAAW,aAAa,KAAK"}
|
package/dist/ensure-DME-_T0j.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const require_config = require(
|
|
1
|
+
const require_config = require('./config-B3NIwDQv.cjs');
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
|
-
Object.defineProperty(exports,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=ensure-DME-_T0j.cjs.map
|
|
14
|
+
//# sourceMappingURL=ensure-DME-_T0j.cjs.map
|
package/dist/ensure-DWd0GCYB.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getRegistry } from
|
|
1
|
+
import { t as getRegistry } from './config-De9oQ6Ki.js';
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ensure as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=ensure-DWd0GCYB.js.map
|
|
9
|
+
//# sourceMappingURL=ensure-DWd0GCYB.js.map
|
package/dist/ensure-DamKOP6q.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const require_config = require(
|
|
1
|
+
const require_config = require('./config-DokTzpr8.cjs');
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
|
-
Object.defineProperty(exports,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=ensure-DamKOP6q.cjs.map
|
|
14
|
+
//# sourceMappingURL=ensure-DamKOP6q.cjs.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as getRegistry } from './config-C8xqVHTf.js';
|
|
2
|
+
//#region src/registry/ensure.ts
|
|
3
|
+
function ensure(BlocClass, instanceKey, args) {
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey, args);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { ensure as t };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=ensure-Dcfptl-A.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-Dcfptl-A.js","names":[],"sources":["../src/registry/ensure.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type { ExtractArgs, StateContainerConstructor } from '../types/utilities';\n\nexport function ensure<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n args?: ExtractArgs<T>,\n): InstanceType<T> {\n return getRegistry().ensure(BlocClass, instanceKey, args);\n}\n"],"mappings":";;AAGA,SAAgB,OACd,WACA,aACA,MACiB;AACjB,QAAO,aAAa,CAAC,OAAO,WAAW,aAAa,KAAK"}
|
package/dist/ensure-Def-EBWG.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getRegistry } from
|
|
1
|
+
import { t as getRegistry } from './config-BKoaAlmb.js';
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ensure as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=ensure-Def-EBWG.js.map
|
|
9
|
+
//# sourceMappingURL=ensure-Def-EBWG.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const require_config = require('./config-BzObBsk2.cjs');
|
|
2
|
+
//#region src/registry/ensure.ts
|
|
3
|
+
function ensure(BlocClass, instanceKey, args) {
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey, args);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=ensure-DnHL5QiQ.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-DnHL5QiQ.cjs","names":["getRegistry"],"sources":["../src/registry/ensure.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type { ExtractArgs, StateContainerConstructor } from '../types/utilities';\n\nexport function ensure<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n args?: ExtractArgs<T>,\n): InstanceType<T> {\n return getRegistry().ensure(BlocClass, instanceKey, args);\n}\n"],"mappings":";;AAGA,SAAgB,OACd,WACA,aACA,MACiB;AACjB,QAAOA,eAAAA,aAAa,CAAC,OAAO,WAAW,aAAa,KAAK"}
|
package/dist/ensure-Dr7I78Ku.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const require_config = require(
|
|
1
|
+
const require_config = require('./config-H6FAqbW4.cjs');
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
|
-
Object.defineProperty(exports,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=ensure-Dr7I78Ku.cjs.map
|
|
14
|
+
//# sourceMappingURL=ensure-Dr7I78Ku.cjs.map
|
package/dist/ensure-SLVdGd5b.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getRegistry } from
|
|
1
|
+
import { t as getRegistry } from './config-Yp645dGK.js';
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ensure as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=ensure-SLVdGd5b.js.map
|
|
9
|
+
//# sourceMappingURL=ensure-SLVdGd5b.js.map
|
package/dist/ensure-Sb92MCXu.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getRegistry } from
|
|
1
|
+
import { t as getRegistry } from './config-D4GifZQ4.js';
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ensure as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=ensure-Sb92MCXu.js.map
|
|
9
|
+
//# sourceMappingURL=ensure-Sb92MCXu.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
const require_config = require('./config-BflrQM4_.cjs');
|
|
2
|
+
//#region src/registry/ensure.ts
|
|
3
|
+
function ensure(BlocClass, instanceKey, args) {
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey, args);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//# sourceMappingURL=ensure-gFlvevGm.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-gFlvevGm.cjs","names":["getRegistry"],"sources":["../src/registry/ensure.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type { ExtractArgs, StateContainerConstructor } from '../types/utilities';\n\nexport function ensure<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n args?: ExtractArgs<T>,\n): InstanceType<T> {\n return getRegistry().ensure(BlocClass, instanceKey, args);\n}\n"],"mappings":";;AAGA,SAAgB,OACd,WACA,aACA,MACiB;AACjB,QAAOA,eAAAA,aAAa,CAAC,OAAO,WAAW,aAAa,KAAK"}
|
package/dist/ensure-l2-H7S5W.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getRegistry } from
|
|
1
|
+
import { t as getRegistry } from './config-BKGHop0V.js';
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ensure as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=ensure-l2-H7S5W.js.map
|
|
9
|
+
//# sourceMappingURL=ensure-l2-H7S5W.js.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { t as getRegistry } from "./config-DoHx0Xsl.js";
|
|
2
|
+
//#region src/registry/ensure.ts
|
|
3
|
+
function ensure(BlocClass, instanceKey, args) {
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey, args);
|
|
5
|
+
}
|
|
6
|
+
//#endregion
|
|
7
|
+
export { ensure as t };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=ensure-mkL-3qh8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ensure-mkL-3qh8.js","names":[],"sources":["../src/registry/ensure.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type {\n ExtractArgs,\n StateContainerConstructor,\n} from '../types/utilities';\n\nexport function ensure<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n args?: ExtractArgs<T>,\n): InstanceType<T> {\n return getRegistry().ensure(BlocClass, instanceKey, args);\n}\n"],"mappings":";;AAMA,SAAgB,OACd,WACA,aACA,MACiB;CACjB,OAAO,aAAa,CAAC,OAAO,WAAW,aAAa,KAAK"}
|
package/dist/ensure-n80crSlX.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getRegistry } from
|
|
1
|
+
import { t as getRegistry } from './config-DslYBm4Z.js';
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ensure as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=ensure-n80crSlX.js.map
|
|
9
|
+
//# sourceMappingURL=ensure-n80crSlX.js.map
|
package/dist/ensure-nCxg7MCN.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as getRegistry } from
|
|
1
|
+
import { t as getRegistry } from './config-Cwj8-C1J.js';
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ensure as t };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=ensure-nCxg7MCN.js.map
|
|
9
|
+
//# sourceMappingURL=ensure-nCxg7MCN.js.map
|
package/dist/ensure-vS71MV4q.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
const require_config = require(
|
|
1
|
+
const require_config = require('./config-DMNZ2YLV.cjs');
|
|
2
2
|
//#region src/registry/ensure.ts
|
|
3
3
|
function ensure(BlocClass, instanceKey) {
|
|
4
|
-
|
|
4
|
+
return require_config.getRegistry().ensure(BlocClass, instanceKey);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
|
-
Object.defineProperty(exports,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
7
|
+
Object.defineProperty(exports, 'ensure', {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return ensure;
|
|
11
|
+
},
|
|
12
12
|
});
|
|
13
13
|
|
|
14
|
-
//# sourceMappingURL=ensure-vS71MV4q.cjs.map
|
|
14
|
+
//# sourceMappingURL=ensure-vS71MV4q.cjs.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,19 +1,30 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
const require_config = require("./config-
|
|
5
|
-
const require_ensure = require("./ensure-
|
|
6
|
-
const require_management = require("./management-
|
|
7
|
-
const
|
|
8
|
-
const require_branded = require("./branded-
|
|
2
|
+
const require_StateContainerRegistry = require("./StateContainerRegistry-B4yVMYbx.cjs");
|
|
3
|
+
const require_Cubit = require("./Cubit-CWP8Ddzx.cjs");
|
|
4
|
+
const require_config = require("./config-B_4xXpvK.cjs");
|
|
5
|
+
const require_ensure = require("./ensure-BB6xHQAF.cjs");
|
|
6
|
+
const require_management = require("./management-DTzcC6aD.cjs");
|
|
7
|
+
const require_watch = require("./watch-BpwaUL8r.cjs");
|
|
8
|
+
const require_branded = require("./branded-BSeA_mZO.cjs");
|
|
9
|
+
let _dirtytalk_structural = require("@dirtytalk/structural");
|
|
9
10
|
//#region src/registry/acquire.ts
|
|
10
|
-
function acquire(BlocClass, instanceKey, refId) {
|
|
11
|
+
function acquire(BlocClass, instanceKey, refId, args) {
|
|
11
12
|
return require_config.getRegistry().acquire(BlocClass, instanceKey, {
|
|
12
13
|
canCreate: true,
|
|
13
14
|
countRef: true,
|
|
14
|
-
refId
|
|
15
|
+
refId,
|
|
16
|
+
args
|
|
15
17
|
});
|
|
16
18
|
}
|
|
19
|
+
/**
|
|
20
|
+
* Resolve the storage key an instance would be acquired under, given an
|
|
21
|
+
* (optional) explicit key and construction args. Callers that both acquire and
|
|
22
|
+
* release (e.g. `@blac/react` `useBloc`) must use this once and pass the same
|
|
23
|
+
* resolved key to both, so the ref is dropped under the key it was taken.
|
|
24
|
+
*/
|
|
25
|
+
function resolveInstanceKey(BlocClass, instanceKey, args) {
|
|
26
|
+
return require_config.getRegistry().resolveKey(BlocClass, instanceKey, args);
|
|
27
|
+
}
|
|
17
28
|
//#endregion
|
|
18
29
|
//#region src/registry/borrow.ts
|
|
19
30
|
function borrow(BlocClass, instanceKey) {
|
|
@@ -52,26 +63,36 @@ function blac(options) {
|
|
|
52
63
|
return function(target, _context) {
|
|
53
64
|
if ("keepAlive" in options && options.keepAlive) target[require_StateContainerRegistry.BLAC_STATIC_PROPS.KEEP_ALIVE] = true;
|
|
54
65
|
if ("excludeFromDevTools" in options && options.excludeFromDevTools) target[require_StateContainerRegistry.BLAC_STATIC_PROPS.EXCLUDE_FROM_DEVTOOLS] = true;
|
|
66
|
+
if ("equality" in options && typeof options.equality === "function") target[require_StateContainerRegistry.BLAC_STATIC_PROPS.EQUALITY] = options.equality;
|
|
67
|
+
if ("key" in options && typeof options.key === "function") target[require_StateContainerRegistry.BLAC_STATIC_PROPS.KEY] = options.key;
|
|
55
68
|
return target;
|
|
56
69
|
};
|
|
57
70
|
}
|
|
58
71
|
//#endregion
|
|
72
|
+
Object.defineProperty(exports, "ALL_PATHS", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function() {
|
|
75
|
+
return _dirtytalk_structural.ALL_PATHS;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
exports.APPLY_DEPS = require_Cubit.APPLY_DEPS;
|
|
59
79
|
exports.Cubit = require_Cubit.Cubit;
|
|
60
80
|
exports.EMIT = require_Cubit.EMIT;
|
|
61
81
|
exports.PluginManager = require_StateContainerRegistry.PluginManager;
|
|
82
|
+
exports.REMOVE_DEPS_OWNER = require_Cubit.REMOVE_DEPS_OWNER;
|
|
62
83
|
exports.StateContainer = require_Cubit.StateContainer;
|
|
63
84
|
exports.StateContainerRegistry = require_StateContainerRegistry.StateContainerRegistry;
|
|
64
|
-
exports.TrackedContext = require_tracked.TrackedContext;
|
|
65
85
|
exports.acquire = acquire;
|
|
66
86
|
exports.blac = blac;
|
|
67
87
|
exports.borrow = borrow;
|
|
68
88
|
exports.borrowSafe = borrowSafe;
|
|
69
89
|
exports.clear = require_management.clear;
|
|
70
90
|
exports.clearAll = require_management.clearAll;
|
|
71
|
-
exports.
|
|
91
|
+
exports.configureBlac = require_StateContainerRegistry.configureBlac;
|
|
72
92
|
exports.ensure = require_ensure.ensure;
|
|
73
93
|
exports.forEach = require_management.forEach;
|
|
74
94
|
exports.getAll = require_management.getAll;
|
|
95
|
+
exports.getBlacConfig = require_StateContainerRegistry.getBlacConfig;
|
|
75
96
|
exports.getPluginManager = require_StateContainerRegistry.getPluginManager;
|
|
76
97
|
exports.getRefCount = require_management.getRefCount;
|
|
77
98
|
exports.getRefIds = require_management.getRefIds;
|
|
@@ -79,15 +100,17 @@ exports.getRegistry = require_config.getRegistry;
|
|
|
79
100
|
exports.getStats = require_config.getStats;
|
|
80
101
|
exports.globalRegistry = require_StateContainerRegistry.globalRegistry;
|
|
81
102
|
exports.hasInstance = require_management.hasInstance;
|
|
82
|
-
exports.instance =
|
|
103
|
+
exports.instance = require_watch.instance;
|
|
83
104
|
exports.instanceId = require_branded.instanceId;
|
|
84
105
|
exports.isExcludedFromDevTools = require_StateContainerRegistry.isExcludedFromDevTools;
|
|
85
106
|
exports.isIsolatedClass = require_StateContainerRegistry.isIsolatedClass;
|
|
86
107
|
exports.isKeepAliveClass = require_StateContainerRegistry.isKeepAliveClass;
|
|
87
108
|
exports.register = require_management.register;
|
|
88
109
|
exports.release = release;
|
|
110
|
+
exports.resetBlacConfig = require_StateContainerRegistry.resetBlacConfig;
|
|
111
|
+
exports.resolveInstanceKey = resolveInstanceKey;
|
|
89
112
|
exports.setRegistry = require_config.setRegistry;
|
|
90
|
-
exports.
|
|
91
|
-
exports.watch =
|
|
113
|
+
exports.shallowEqualState = require_StateContainerRegistry.shallowEqualState;
|
|
114
|
+
exports.watch = require_watch.watch;
|
|
92
115
|
|
|
93
116
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["getRegistry","getRegistry","BLAC_STATIC_PROPS"],"sources":["../src/registry/acquire.ts","../src/registry/borrow.ts","../src/registry/release.ts","../src/decorators/blac.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type {
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["getRegistry","getRegistry","BLAC_STATIC_PROPS"],"sources":["../src/registry/acquire.ts","../src/registry/borrow.ts","../src/registry/release.ts","../src/decorators/blac.ts"],"sourcesContent":["import { getRegistry } from './config';\nimport type {\n ExtractArgs,\n StateContainerConstructor,\n} from '../types/utilities';\n\nexport function acquire<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n refId?: string,\n args?: ExtractArgs<T>,\n): InstanceType<T> {\n return getRegistry().acquire(BlocClass, instanceKey, {\n canCreate: true,\n countRef: true,\n refId,\n args,\n });\n}\n\n/**\n * Resolve the storage key an instance would be acquired under, given an\n * (optional) explicit key and construction args. Callers that both acquire and\n * release (e.g. `@blac/react` `useBloc`) must use this once and pass the same\n * resolved key to both, so the ref is dropped under the key it was taken.\n */\nexport function resolveInstanceKey<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey: string | undefined,\n args?: ExtractArgs<T>,\n): string {\n return getRegistry().resolveKey(BlocClass, instanceKey, args);\n}\n","import { getRegistry } from './config';\nimport type { StateContainerConstructor } from '../types/utilities';\n\nexport function borrow<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n): InstanceType<T> {\n return getRegistry().borrow(BlocClass, instanceKey);\n}\n\nexport function borrowSafe<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n):\n | { error: Error; instance: null }\n | { error: null; instance: InstanceType<T> } {\n return getRegistry().borrowSafe(BlocClass, instanceKey);\n}\n","import { getRegistry } from './config';\nimport type { StateContainerConstructor } from '../types/utilities';\n\nexport function release<T extends StateContainerConstructor>(\n BlocClass: T,\n instanceKey?: string,\n forceDispose = false,\n refId?: string,\n): void {\n getRegistry().release(BlocClass, instanceKey, forceDispose, refId);\n}\n","import { BLAC_STATIC_PROPS } from '../constants';\nimport type { EqualityFn } from '../config';\n\n/**\n * Configuration options for the @blac decorator.\n * Only one option can be specified at a time (union type).\n */\nexport type BlacOptions =\n /** Mark bloc to never be auto-disposed when ref count reaches 0 */\n | { keepAlive: true }\n /** Exclude bloc from DevTools tracking (prevents infinite loops) */\n | { excludeFromDevTools: true }\n /**\n * Override the global equality check for this bloc.\n * Return `true` to skip the emit (states considered equal).\n */\n | { equality: EqualityFn }\n /**\n * Override the default structural-hash identity key.\n * The function receives `args` and returns the instance key string.\n * Distinct return values → distinct instances; identical values → shared instance.\n * Non-identity fields can be excluded so they don't fork new instances.\n */\n | { key: (args: any) => string };\n\n/**\n * Decorator to configure StateContainer classes.\n *\n * @example Decorator syntax (requires experimentalDecorators or TC39 decorators)\n * ```ts\n * @blac({ keepAlive: true })\n * class AuthBloc extends Cubit<AuthState> {}\n *\n * @blac({ excludeFromDevTools: true })\n * class InternalBloc extends Cubit<InternalState> {}\n * ```\n *\n * @example Function syntax (no decorator support needed)\n * ```ts\n * const AuthBloc = blac({ keepAlive: true })(\n * class extends Cubit<AuthState> {}\n * );\n * ```\n */\nexport function blac(options: BlacOptions) {\n return function <T extends new (...args: any[]) => any>(\n target: T,\n _context?: ClassDecoratorContext,\n ): T {\n if ('keepAlive' in options && options.keepAlive) {\n (target as any)[BLAC_STATIC_PROPS.KEEP_ALIVE] = true;\n }\n if ('excludeFromDevTools' in options && options.excludeFromDevTools) {\n (target as any)[BLAC_STATIC_PROPS.EXCLUDE_FROM_DEVTOOLS] = true;\n }\n if ('equality' in options && typeof options.equality === 'function') {\n (target as any)[BLAC_STATIC_PROPS.EQUALITY] = options.equality;\n }\n if ('key' in options && typeof options.key === 'function') {\n (target as any)[BLAC_STATIC_PROPS.KEY] = options.key;\n }\n return target;\n };\n}\n"],"mappings":";;;;;;;;;;AAMA,SAAgB,QACd,WACA,aACA,OACA,MACiB;CACjB,OAAOA,eAAAA,aAAa,CAAC,QAAQ,WAAW,aAAa;EACnD,WAAW;EACX,UAAU;EACV;EACA;EACD,CAAC;;;;;;;;AASJ,SAAgB,mBACd,WACA,aACA,MACQ;CACR,OAAOA,eAAAA,aAAa,CAAC,WAAW,WAAW,aAAa,KAAK;;;;AC5B/D,SAAgB,OACd,WACA,aACiB;CACjB,OAAOC,eAAAA,aAAa,CAAC,OAAO,WAAW,YAAY;;AAGrD,SAAgB,WACd,WACA,aAG6C;CAC7C,OAAOA,eAAAA,aAAa,CAAC,WAAW,WAAW,YAAY;;;;ACbzD,SAAgB,QACd,WACA,aACA,eAAe,OACf,OACM;CACN,eAAA,aAAa,CAAC,QAAQ,WAAW,aAAa,cAAc,MAAM;;;;;;;;;;;;;;;;;;;;;;;ACmCpE,SAAgB,KAAK,SAAsB;CACzC,OAAO,SACL,QACA,UACG;EACH,IAAI,eAAe,WAAW,QAAQ,WACpC,OAAgBC,+BAAAA,kBAAkB,cAAc;EAElD,IAAI,yBAAyB,WAAW,QAAQ,qBAC9C,OAAgBA,+BAAAA,kBAAkB,yBAAyB;EAE7D,IAAI,cAAc,WAAW,OAAO,QAAQ,aAAa,YACvD,OAAgBA,+BAAAA,kBAAkB,YAAY,QAAQ;EAExD,IAAI,SAAS,WAAW,OAAO,QAAQ,QAAQ,YAC7C,OAAgBA,+BAAAA,kBAAkB,OAAO,QAAQ;EAEnD,OAAO"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,19 @@
|
|
|
1
|
+
export { configureBlac, getBlacConfig, resetBlacConfig, shallowEqualState, type BlacConfig, type EqualityFn, } from './config';
|
|
1
2
|
export { StateContainer } from './core/StateContainer';
|
|
2
3
|
export type { HydrationStatus, StateContainerConfig, SystemEvent, SystemEventPayloads, } from './core/StateContainer';
|
|
3
4
|
export { Cubit } from './core/Cubit';
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* @internal symbols — read by framework adapters (`@blac/react` via the
|
|
7
|
+
* `@blac/adapter` re-export). Kept until D0 ports `useBloc` off this surface.
|
|
8
|
+
*
|
|
9
|
+
* `EMIT` is deprecated: zero external consumers per A2 audit, but the
|
|
10
|
+
* in-package legacy tests still index `[EMIT]`. Kept as a thin alias for
|
|
11
|
+
* `emit()` so those tests typecheck and run unchanged; C5 deletes it.
|
|
12
|
+
*/
|
|
13
|
+
export { EMIT, APPLY_DEPS, REMOVE_DEPS_OWNER } from './core/symbols';
|
|
14
|
+
export { ALL_PATHS } from '@dirtytalk/structural';
|
|
15
|
+
export type { PathSet } from '@dirtytalk/structural';
|
|
16
|
+
export { acquire, resolveInstanceKey, borrow, borrowSafe, ensure, release, clear, clearAll, register, hasInstance, getRefCount, getRefIds, getAll, forEach, getRegistry, setRegistry, getStats, } from './registry';
|
|
6
17
|
export { globalRegistry, StateContainerRegistry, } from './core/StateContainerRegistry';
|
|
7
18
|
export type { LifecycleEvent, LifecycleListener, InstanceEntry, } from './core/StateContainerRegistry';
|
|
8
19
|
export { blac, type BlacOptions } from './decorators';
|
|
@@ -11,7 +22,6 @@ export { getPluginManager } from './core/StateContainerRegistry';
|
|
|
11
22
|
export type { BlacPlugin, BlacPluginWithInit, PluginContext, PluginConfig, InstanceMetadata, } from './plugin/BlacPlugin';
|
|
12
23
|
export { PluginManager } from './plugin/PluginManager';
|
|
13
24
|
export { watch, instance, type WatchFn, type BlocRef } from './watch';
|
|
14
|
-
export {
|
|
15
|
-
export type { StateContainerConstructor, ExtractState, ExtractStateMutable, ExtractConstructorArgs, BlocInstanceType, BlocConstructor, InstanceReadonlyState, InstanceState, StateContainerInstance, } from './types/utilities';
|
|
25
|
+
export type { StateContainerConstructor, ExtractState, ExtractStateMutable, ExtractConstructorArgs, ExtractArgs, ExtractDeps, BlocInstanceType, BlocConstructor, InstanceReadonlyState, InstanceState, StateContainerInstance, } from './types/utilities';
|
|
16
26
|
export type { Brand, BrandedId, InstanceId } from './types/branded';
|
|
17
27
|
export { instanceId } from './types/branded';
|