@crimsonsunset/jsg-logger 1.7.12 → 1.7.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/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js +5 -0
- package/devtools/dist/__vite-browser-external-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW-2Ng8QIWW.js.map +1 -0
- package/devtools/dist/panel-entry-Ahej53sX-y0jCvGoU-BGR5GUGQ-B-CAdAd3-DipRT8xT-CSMwqnO2-CHbiC4Qe-BRrWXqYD-CNcJekPg.js +13932 -0
- package/devtools/dist/panel-entry-Ahej53sX-y0jCvGoU-BGR5GUGQ-B-CAdAd3-DipRT8xT-CSMwqnO2-CHbiC4Qe-BRrWXqYD-CNcJekPg.js.map +1 -0
- package/devtools/dist/panel-entry-B0ZWdsQY-DQdquw3J-TpkzsLdj-BGvdXuoS-CzTJvBQl-CAQNpg2W-Bo2gswMb-CAJV5DP5-DZe7oWlk-tDqwNUld.js +13923 -0
- package/devtools/dist/panel-entry-B0ZWdsQY-DQdquw3J-TpkzsLdj-BGvdXuoS-CzTJvBQl-CAQNpg2W-Bo2gswMb-CAJV5DP5-DZe7oWlk-tDqwNUld.js.map +1 -0
- package/devtools/dist/panel-entry-B2MhZ3gp.js +13975 -0
- package/devtools/dist/panel-entry-B2MhZ3gp.js.map +1 -0
- package/devtools/dist/{panel-entry-BZ56bT66-BMyD75mc.js → panel-entry-BZ56bT66-BMyD75mc-BxfcB-io-DLFBg4X2-By57n0cz-DG9FfyPU-tsDeIORn-Brgs9eZh-C1aTwqVx-Bga5v200-D2uIBkta-DFygDOuM-CiZQ0ZWs-CK-Qy7JF-3_LfnrLj-C80pq-Ox-BAydVBl9.js} +4 -4
- package/devtools/dist/panel-entry-BZ56bT66-BMyD75mc-BxfcB-io-DLFBg4X2-By57n0cz-DG9FfyPU-tsDeIORn-Brgs9eZh-C1aTwqVx-Bga5v200-D2uIBkta-DFygDOuM-CiZQ0ZWs-CK-Qy7JF-3_LfnrLj-C80pq-Ox-BAydVBl9.js.map +1 -0
- package/devtools/dist/panel-entry-BaBkkSt6-B3YoMX06.js +13963 -0
- package/devtools/dist/panel-entry-BaBkkSt6-B3YoMX06.js.map +1 -0
- package/devtools/dist/panel-entry-CIG0rw0G-C23A9sjU-CbDuened.js +13957 -0
- package/devtools/dist/panel-entry-CIG0rw0G-C23A9sjU-CbDuened.js.map +1 -0
- package/devtools/dist/panel-entry-CLDrp2P4-BhE5Qmzo-DsrDp_aW-D77vFWhc-D0p-3Vck-juqy3fYf-Dla5eR-o-CER385zO-3kQqst6Z-mEXeTQxs-XDwY_WUW-CcUUttdq-BGVY77mY.js +13914 -0
- package/devtools/dist/panel-entry-CLDrp2P4-BhE5Qmzo-DsrDp_aW-D77vFWhc-D0p-3Vck-juqy3fYf-Dla5eR-o-CER385zO-3kQqst6Z-mEXeTQxs-XDwY_WUW-CcUUttdq-BGVY77mY.js.map +1 -0
- package/devtools/dist/panel-entry-Car1txqz-Cujk5tL9-pWwzfz1C-C_CMO2R5-BtcT6buV-DEh6fx7S-BLtwgJNF-CUuTgFqX.js +13935 -0
- package/devtools/dist/panel-entry-Car1txqz-Cujk5tL9-pWwzfz1C-C_CMO2R5-BtcT6buV-DEh6fx7S-BLtwgJNF-CUuTgFqX.js.map +1 -0
- package/devtools/dist/panel-entry-CdHyTMuR-wqllnGMv-CJFeg7x9-C7mRB5fj-DOgQaLRi-yYTqC4-t-DKUNOg6F-BtruRO_z-BDQrJIZQ-ByHq-LMj-Drlk5OTb-BAoinR4q-CD8VtN79-Cidg8klg-CA9PGoiF.js +13728 -0
- package/devtools/dist/panel-entry-CdHyTMuR-wqllnGMv-CJFeg7x9-C7mRB5fj-DOgQaLRi-yYTqC4-t-DKUNOg6F-BtruRO_z-BDQrJIZQ-ByHq-LMj-Drlk5OTb-BAoinR4q-CD8VtN79-Cidg8klg-CA9PGoiF.js.map +1 -0
- package/devtools/dist/panel-entry-D53S3yYJ-DlRCzJ0q-BnWPSxII-B57eqdYD-CRpb7P7m-CSgQ8r4U-DqjeAoTP.js +13935 -0
- package/devtools/dist/panel-entry-D53S3yYJ-DlRCzJ0q-BnWPSxII-B57eqdYD-CRpb7P7m-CSgQ8r4U-DqjeAoTP.js.map +1 -0
- package/devtools/dist/panel-entry-D6EQIVsV-51lrmGiZ-D4qVD_00-DVb1ySI7-C_RfHhv5-D78tUI3_.js +13945 -0
- package/devtools/dist/panel-entry-D6EQIVsV-51lrmGiZ-D4qVD_00-DVb1ySI7-C_RfHhv5-D78tUI3_.js.map +1 -0
- package/devtools/dist/{panel-entry-Da9n85v7.js → panel-entry-Da9n85v7-C6Gam2oq-DDT89MNj-D9ZqvcEM-Dx--LZLa-BJiXK46m-DGuagWzT-B6evq62k-Cj2QcsAJ-BnxooYWW-D4oxy7MQ-g1-2DT91-DESRmxtW-BFO1EmVx-MWoTuzW5-Cg1SKwet.js} +4 -4
- package/devtools/dist/panel-entry-Da9n85v7-C6Gam2oq-DDT89MNj-D9ZqvcEM-Dx--LZLa-BJiXK46m-DGuagWzT-B6evq62k-Cj2QcsAJ-BnxooYWW-D4oxy7MQ-g1-2DT91-DESRmxtW-BFO1EmVx-MWoTuzW5-Cg1SKwet.js.map +1 -0
- package/devtools/dist/panel-entry-DeLbn5Tk-P7ZtOAd3-DXeez3fy-BFxPfyZi-9L9N-1f8-DzO_hXuM-CWXuuiJk-CI3ufk2T-CP3JflFQ-CLoczwy1-D7ukr7PE-DbMhopxi-BHxIMhDL-CDnadrxB.js +13999 -0
- package/devtools/dist/panel-entry-DeLbn5Tk-P7ZtOAd3-DXeez3fy-BFxPfyZi-9L9N-1f8-DzO_hXuM-CWXuuiJk-CI3ufk2T-CP3JflFQ-CLoczwy1-D7ukr7PE-DbMhopxi-BHxIMhDL-CDnadrxB.js.map +1 -0
- package/devtools/dist/panel-entry-Dh3i-JKj-D7NSYIQS-C_qI61WQ-BfJ0BW16-Df40_Q6R.js +13951 -0
- package/devtools/dist/panel-entry-Dh3i-JKj-D7NSYIQS-C_qI61WQ-BfJ0BW16-Df40_Q6R.js.map +1 -0
- package/devtools/dist/panel-entry-DlWAx2yA-vZadFV4d-DTvClgVl-zRu1NJo4-rPRjTg0e-dbBSWeq3-jx9KYEq_-B3sEcSWI-DeCc9Glr-02P4pIqr-CrzX1Fsr-C1C-Fcde.js +13921 -0
- package/devtools/dist/panel-entry-DlWAx2yA-vZadFV4d-DTvClgVl-zRu1NJo4-rPRjTg0e-dbBSWeq3-jx9KYEq_-B3sEcSWI-DeCc9Glr-02P4pIqr-CrzX1Fsr-C1C-Fcde.js.map +1 -0
- package/devtools/dist/{panel-entry-DzGsV7s--DzGsV7s--DzGsV7s-.js → panel-entry-DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s-.js} +1 -1
- package/devtools/dist/panel-entry-DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s--DzGsV7s-.js.map +1 -0
- package/devtools/dist/panel-entry-F_czAD5m-haMWJ-NK-CsYx2f8v-CczoKRsz-CIS8-qZe-F0ks_Y8t-CZBpt1gj-QmZJhT5N-460P-RpL-CKLofb-z-DEXl2ipp.js +13921 -0
- package/devtools/dist/panel-entry-F_czAD5m-haMWJ-NK-CsYx2f8v-CczoKRsz-CIS8-qZe-F0ks_Y8t-CZBpt1gj-QmZJhT5N-460P-RpL-CKLofb-z-DEXl2ipp.js.map +1 -0
- package/devtools/dist/panel-entry-L66PnOAy-CSPip1Cq-DIdgAB36-D56Z9rwz.js +13957 -0
- package/devtools/dist/panel-entry-L66PnOAy-CSPip1Cq-DIdgAB36-D56Z9rwz.js.map +1 -0
- package/devtools/dist/panel-entry.js +449 -193
- package/devtools/dist/panel-entry.js.map +1 -1
- package/docs/roadmap.md +5 -0
- package/index.js +118 -7
- package/package.json +1 -1
- package/devtools/dist/panel-entry-BZ56bT66-BMyD75mc.js.map +0 -1
- package/devtools/dist/panel-entry-Da9n85v7.js.map +0 -1
- package/devtools/dist/panel-entry-DzGsV7s--DzGsV7s--DzGsV7s-.js.map +0 -1
|
@@ -1134,26 +1134,26 @@ function requireReactIs_development$1() {
|
|
|
1134
1134
|
var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for("react.fundamental") : 60117;
|
|
1135
1135
|
var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for("react.responder") : 60118;
|
|
1136
1136
|
var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for("react.scope") : 60119;
|
|
1137
|
-
function isValidElementType(
|
|
1138
|
-
return typeof
|
|
1139
|
-
|
|
1137
|
+
function isValidElementType(type2) {
|
|
1138
|
+
return typeof type2 === "string" || typeof type2 === "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1139
|
+
type2 === REACT_FRAGMENT_TYPE || type2 === REACT_CONCURRENT_MODE_TYPE || type2 === REACT_PROFILER_TYPE || type2 === REACT_STRICT_MODE_TYPE || type2 === REACT_SUSPENSE_TYPE || type2 === REACT_SUSPENSE_LIST_TYPE || typeof type2 === "object" && type2 !== null && (type2.$$typeof === REACT_LAZY_TYPE || type2.$$typeof === REACT_MEMO_TYPE || type2.$$typeof === REACT_PROVIDER_TYPE || type2.$$typeof === REACT_CONTEXT_TYPE || type2.$$typeof === REACT_FORWARD_REF_TYPE || type2.$$typeof === REACT_FUNDAMENTAL_TYPE || type2.$$typeof === REACT_RESPONDER_TYPE || type2.$$typeof === REACT_SCOPE_TYPE || type2.$$typeof === REACT_BLOCK_TYPE);
|
|
1140
1140
|
}
|
|
1141
1141
|
function typeOf(object) {
|
|
1142
1142
|
if (typeof object === "object" && object !== null) {
|
|
1143
1143
|
var $$typeof = object.$$typeof;
|
|
1144
1144
|
switch ($$typeof) {
|
|
1145
1145
|
case REACT_ELEMENT_TYPE:
|
|
1146
|
-
var
|
|
1147
|
-
switch (
|
|
1146
|
+
var type2 = object.type;
|
|
1147
|
+
switch (type2) {
|
|
1148
1148
|
case REACT_ASYNC_MODE_TYPE:
|
|
1149
1149
|
case REACT_CONCURRENT_MODE_TYPE:
|
|
1150
1150
|
case REACT_FRAGMENT_TYPE:
|
|
1151
1151
|
case REACT_PROFILER_TYPE:
|
|
1152
1152
|
case REACT_STRICT_MODE_TYPE:
|
|
1153
1153
|
case REACT_SUSPENSE_TYPE:
|
|
1154
|
-
return
|
|
1154
|
+
return type2;
|
|
1155
1155
|
default:
|
|
1156
|
-
var $$typeofType =
|
|
1156
|
+
var $$typeofType = type2 && type2.$$typeof;
|
|
1157
1157
|
switch ($$typeofType) {
|
|
1158
1158
|
case REACT_CONTEXT_TYPE:
|
|
1159
1159
|
case REACT_FORWARD_REF_TYPE:
|
|
@@ -1634,8 +1634,8 @@ function requireFactoryWithTypeCheckers() {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
}
|
|
1636
1636
|
var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {
|
|
1637
|
-
var
|
|
1638
|
-
if (
|
|
1637
|
+
var type2 = getPreciseType(value);
|
|
1638
|
+
if (type2 === "symbol") {
|
|
1639
1639
|
return String(value);
|
|
1640
1640
|
}
|
|
1641
1641
|
return value;
|
|
@@ -1706,9 +1706,9 @@ function requireFactoryWithTypeCheckers() {
|
|
|
1706
1706
|
}
|
|
1707
1707
|
return createChainableTypeChecker(validate);
|
|
1708
1708
|
}
|
|
1709
|
-
function invalidValidatorError(componentName, location, propFullName, key,
|
|
1709
|
+
function invalidValidatorError(componentName, location, propFullName, key, type2) {
|
|
1710
1710
|
return new PropTypeError(
|
|
1711
|
-
(componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
1711
|
+
(componentName || "React class") + ": " + location + " type `" + propFullName + "." + key + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + type2 + "`."
|
|
1712
1712
|
);
|
|
1713
1713
|
}
|
|
1714
1714
|
function createShapeTypeChecker(shapeTypes) {
|
|
@@ -1845,17 +1845,17 @@ function requireFactoryWithTypeCheckers() {
|
|
|
1845
1845
|
return propType;
|
|
1846
1846
|
}
|
|
1847
1847
|
function getPostfixForTypeWarning(value) {
|
|
1848
|
-
var
|
|
1849
|
-
switch (
|
|
1848
|
+
var type2 = getPreciseType(value);
|
|
1849
|
+
switch (type2) {
|
|
1850
1850
|
case "array":
|
|
1851
1851
|
case "object":
|
|
1852
|
-
return "an " +
|
|
1852
|
+
return "an " + type2;
|
|
1853
1853
|
case "boolean":
|
|
1854
1854
|
case "date":
|
|
1855
1855
|
case "regexp":
|
|
1856
|
-
return "a " +
|
|
1856
|
+
return "a " + type2;
|
|
1857
1857
|
default:
|
|
1858
|
-
return
|
|
1858
|
+
return type2;
|
|
1859
1859
|
}
|
|
1860
1860
|
}
|
|
1861
1861
|
function getClassName2(propValue) {
|
|
@@ -2041,16 +2041,16 @@ function cursor$1(property, value) {
|
|
|
2041
2041
|
}
|
|
2042
2042
|
}
|
|
2043
2043
|
var isPrefixedValue$1 = { exports: {} };
|
|
2044
|
-
(function(module,
|
|
2045
|
-
Object.defineProperty(
|
|
2044
|
+
(function(module, exports2) {
|
|
2045
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2046
2046
|
value: true
|
|
2047
2047
|
});
|
|
2048
|
-
|
|
2048
|
+
exports2.default = isPrefixedValue2;
|
|
2049
2049
|
var regex3 = /-webkit-|-moz-|-ms-/;
|
|
2050
2050
|
function isPrefixedValue2(value) {
|
|
2051
2051
|
return typeof value === "string" && regex3.test(value);
|
|
2052
2052
|
}
|
|
2053
|
-
module.exports =
|
|
2053
|
+
module.exports = exports2["default"];
|
|
2054
2054
|
})(isPrefixedValue$1, isPrefixedValue$1.exports);
|
|
2055
2055
|
var isPrefixedValueExports = isPrefixedValue$1.exports;
|
|
2056
2056
|
const isPrefixedValue = /* @__PURE__ */ getDefaultExportFromCjs(isPrefixedValueExports);
|
|
@@ -2324,23 +2324,23 @@ var cache$2 = {};
|
|
|
2324
2324
|
function toHyphenLower(match) {
|
|
2325
2325
|
return "-" + match.toLowerCase();
|
|
2326
2326
|
}
|
|
2327
|
-
function hyphenateStyleName(
|
|
2328
|
-
if (cache$2.hasOwnProperty(
|
|
2329
|
-
return cache$2[
|
|
2327
|
+
function hyphenateStyleName(name2) {
|
|
2328
|
+
if (cache$2.hasOwnProperty(name2)) {
|
|
2329
|
+
return cache$2[name2];
|
|
2330
2330
|
}
|
|
2331
|
-
var hName =
|
|
2332
|
-
return cache$2[
|
|
2331
|
+
var hName = name2.replace(uppercasePattern, toHyphenLower);
|
|
2332
|
+
return cache$2[name2] = msPattern.test(hName) ? "-" + hName : hName;
|
|
2333
2333
|
}
|
|
2334
2334
|
const hyphenateStyleName$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2335
2335
|
__proto__: null,
|
|
2336
2336
|
default: hyphenateStyleName
|
|
2337
2337
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2338
2338
|
const require$$0$2 = /* @__PURE__ */ getAugmentedNamespace(hyphenateStyleName$1);
|
|
2339
|
-
(function(module,
|
|
2340
|
-
Object.defineProperty(
|
|
2339
|
+
(function(module, exports2) {
|
|
2340
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
2341
2341
|
value: true
|
|
2342
2342
|
});
|
|
2343
|
-
|
|
2343
|
+
exports2.default = hyphenateProperty2;
|
|
2344
2344
|
var _hyphenateStyleName = require$$0$2;
|
|
2345
2345
|
var _hyphenateStyleName2 = _interopRequireDefault2(_hyphenateStyleName);
|
|
2346
2346
|
function _interopRequireDefault2(obj) {
|
|
@@ -2349,7 +2349,7 @@ const require$$0$2 = /* @__PURE__ */ getAugmentedNamespace(hyphenateStyleName$1)
|
|
|
2349
2349
|
function hyphenateProperty2(property) {
|
|
2350
2350
|
return (0, _hyphenateStyleName2.default)(property);
|
|
2351
2351
|
}
|
|
2352
|
-
module.exports =
|
|
2352
|
+
module.exports = exports2["default"];
|
|
2353
2353
|
})(hyphenateProperty$1, hyphenateProperty$1.exports);
|
|
2354
2354
|
var hyphenatePropertyExports = hyphenateProperty$1.exports;
|
|
2355
2355
|
const hyphenateProperty = /* @__PURE__ */ getDefaultExportFromCjs(hyphenatePropertyExports);
|
|
@@ -2552,9 +2552,9 @@ function getCss(propertyInfo, value, selector = "") {
|
|
|
2552
2552
|
const valueType = typeof value;
|
|
2553
2553
|
if (valueType !== "string" && valueType !== "number") {
|
|
2554
2554
|
if (process.env.NODE_ENV !== "production") {
|
|
2555
|
-
const
|
|
2555
|
+
const name2 = propertyInfo.jsName;
|
|
2556
2556
|
const encodedValue = JSON.stringify(value);
|
|
2557
|
-
console.error(`📦 ui-box: property “${
|
|
2557
|
+
console.error(`📦 ui-box: property “${name2}” was passed invalid value “${encodedValue}”. Only numbers and strings are supported.`);
|
|
2558
2558
|
}
|
|
2559
2559
|
return null;
|
|
2560
2560
|
}
|
|
@@ -2751,16 +2751,16 @@ background$1.propEnhancers = {
|
|
|
2751
2751
|
backgroundSize: (value, selector) => (0, get_css_1$g.default)(backgroundSize, value, selector)
|
|
2752
2752
|
};
|
|
2753
2753
|
var borderRadius = {};
|
|
2754
|
-
(function(
|
|
2754
|
+
(function(exports2) {
|
|
2755
2755
|
var __importDefault2 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
2756
2756
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
2757
2757
|
};
|
|
2758
|
-
Object.defineProperty(
|
|
2759
|
-
|
|
2758
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2759
|
+
exports2.propEnhancers = exports2.propValidators = exports2.propAliases = exports2.propTypes = void 0;
|
|
2760
2760
|
const prop_types_12 = __importDefault2(propTypesExports);
|
|
2761
2761
|
const get_css_12 = __importDefault2(getCss$1);
|
|
2762
2762
|
const regex_12 = regex;
|
|
2763
|
-
|
|
2763
|
+
exports2.propTypes = {
|
|
2764
2764
|
borderBottomLeftRadius: prop_types_12.default.oneOfType([
|
|
2765
2765
|
prop_types_12.default.string,
|
|
2766
2766
|
prop_types_12.default.number
|
|
@@ -2779,7 +2779,7 @@ var borderRadius = {};
|
|
|
2779
2779
|
prop_types_12.default.number
|
|
2780
2780
|
])
|
|
2781
2781
|
};
|
|
2782
|
-
|
|
2782
|
+
exports2.propAliases = {
|
|
2783
2783
|
borderRadius: [
|
|
2784
2784
|
"borderBottomLeftRadius",
|
|
2785
2785
|
"borderBottomRightRadius",
|
|
@@ -2787,9 +2787,9 @@ var borderRadius = {};
|
|
|
2787
2787
|
"borderTopRightRadius"
|
|
2788
2788
|
]
|
|
2789
2789
|
};
|
|
2790
|
-
|
|
2790
|
+
exports2.propValidators = {};
|
|
2791
2791
|
if (process.env.NODE_ENV !== "production") {
|
|
2792
|
-
|
|
2792
|
+
exports2.propValidators.borderRadius = (value) => {
|
|
2793
2793
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
2794
2794
|
return `multiple values (“${value}”) aren՚t supported with “borderRadius”. Use “borderBottomLeftRadius”, “borderBottomRightRadius” “borderTopLeftRadius” and “borderTopRightRadius” instead.`;
|
|
2795
2795
|
}
|
|
@@ -2816,7 +2816,7 @@ var borderRadius = {};
|
|
|
2816
2816
|
cssName: "border-bottom-right-radius",
|
|
2817
2817
|
jsName: "borderBottomRightRadius"
|
|
2818
2818
|
};
|
|
2819
|
-
|
|
2819
|
+
exports2.propEnhancers = {
|
|
2820
2820
|
borderBottomLeftRadius: (value, selector) => (0, get_css_12.default)(borderBottomLeftRadius, value, selector),
|
|
2821
2821
|
borderBottomRightRadius: (value, selector) => (0, get_css_12.default)(borderBottomRightRadius, value, selector),
|
|
2822
2822
|
borderTopLeftRadius: (value, selector) => (0, get_css_12.default)(borderTopLeftRadius, value, selector),
|
|
@@ -2824,16 +2824,16 @@ var borderRadius = {};
|
|
|
2824
2824
|
};
|
|
2825
2825
|
})(borderRadius);
|
|
2826
2826
|
var borders = {};
|
|
2827
|
-
(function(
|
|
2827
|
+
(function(exports2) {
|
|
2828
2828
|
var __importDefault2 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
2829
2829
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
2830
2830
|
};
|
|
2831
|
-
Object.defineProperty(
|
|
2832
|
-
|
|
2831
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
2832
|
+
exports2.propEnhancers = exports2.propValidators = exports2.propAliases = exports2.propTypes = void 0;
|
|
2833
2833
|
const prop_types_12 = __importDefault2(propTypesExports);
|
|
2834
2834
|
const get_css_12 = __importDefault2(getCss$1);
|
|
2835
2835
|
const regex_12 = regex;
|
|
2836
|
-
|
|
2836
|
+
exports2.propTypes = {
|
|
2837
2837
|
border: prop_types_12.default.string,
|
|
2838
2838
|
borderBottom: prop_types_12.default.string,
|
|
2839
2839
|
borderBottomColor: prop_types_12.default.string,
|
|
@@ -2855,7 +2855,7 @@ var borders = {};
|
|
|
2855
2855
|
borderTopWidth: prop_types_12.default.oneOfType([prop_types_12.default.string, prop_types_12.default.number]),
|
|
2856
2856
|
borderWidth: prop_types_12.default.oneOfType([prop_types_12.default.string, prop_types_12.default.number])
|
|
2857
2857
|
};
|
|
2858
|
-
|
|
2858
|
+
exports2.propAliases = {
|
|
2859
2859
|
border: ["borderBottom", "borderLeft", "borderRight", "borderTop"],
|
|
2860
2860
|
borderColor: [
|
|
2861
2861
|
"borderBottomColor",
|
|
@@ -2876,21 +2876,21 @@ var borders = {};
|
|
|
2876
2876
|
"borderTopWidth"
|
|
2877
2877
|
]
|
|
2878
2878
|
};
|
|
2879
|
-
|
|
2879
|
+
exports2.propValidators = {};
|
|
2880
2880
|
if (process.env.NODE_ENV !== "production") {
|
|
2881
|
-
|
|
2881
|
+
exports2.propValidators.borderColor = (value) => {
|
|
2882
2882
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
2883
2883
|
return `multiple values (“${value}”) aren՚t supported with “borderColor”. Use “borderBottomColor”, “borderLeftColor” “borderRightColor” and “borderTopColor” instead.`;
|
|
2884
2884
|
}
|
|
2885
2885
|
return;
|
|
2886
2886
|
};
|
|
2887
|
-
|
|
2887
|
+
exports2.propValidators.borderStyle = (value) => {
|
|
2888
2888
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
2889
2889
|
return `multiple values (“${value}”) aren՚t supported with “borderStyle”. Use “borderBottomStyle”, “borderLeftStyle” “borderRightStyle” and “borderTopStyle” instead.`;
|
|
2890
2890
|
}
|
|
2891
2891
|
return;
|
|
2892
2892
|
};
|
|
2893
|
-
|
|
2893
|
+
exports2.propValidators.borderWidth = (value) => {
|
|
2894
2894
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
2895
2895
|
return `multiple values (“${value}”) aren՚t supported with “borderWidth”. Use “borderBottomWidth”, “borderLeftWidth” “borderRightWidth” and “borderTopWidth” instead.`;
|
|
2896
2896
|
}
|
|
@@ -2981,7 +2981,7 @@ var borders = {};
|
|
|
2981
2981
|
cssName: "border-bottom-width",
|
|
2982
2982
|
jsName: "borderBottomWidth"
|
|
2983
2983
|
};
|
|
2984
|
-
|
|
2984
|
+
exports2.propEnhancers = {
|
|
2985
2985
|
borderBottom: (value, selector) => (0, get_css_12.default)(borderBottom2, value, selector),
|
|
2986
2986
|
borderBottomColor: (value, selector) => (0, get_css_12.default)(borderBottomColor, value, selector),
|
|
2987
2987
|
borderBottomStyle: (value, selector) => (0, get_css_12.default)(borderBottomStyle, value, selector),
|
|
@@ -3745,16 +3745,16 @@ selectors.propAliases = {};
|
|
|
3745
3745
|
selectors.propValidators = {};
|
|
3746
3746
|
selectors.propEnhancers = {};
|
|
3747
3747
|
var spacing = {};
|
|
3748
|
-
(function(
|
|
3748
|
+
(function(exports2) {
|
|
3749
3749
|
var __importDefault2 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
3750
3750
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
3751
3751
|
};
|
|
3752
|
-
Object.defineProperty(
|
|
3753
|
-
|
|
3752
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
3753
|
+
exports2.propEnhancers = exports2.propValidators = exports2.propAliases = exports2.propTypes = void 0;
|
|
3754
3754
|
const prop_types_12 = __importDefault2(propTypesExports);
|
|
3755
3755
|
const get_css_12 = __importDefault2(getCss$1);
|
|
3756
3756
|
const regex_12 = regex;
|
|
3757
|
-
|
|
3757
|
+
exports2.propTypes = {
|
|
3758
3758
|
margin: prop_types_12.default.oneOfType([prop_types_12.default.string, prop_types_12.default.number]),
|
|
3759
3759
|
marginBottom: prop_types_12.default.oneOfType([prop_types_12.default.string, prop_types_12.default.number]),
|
|
3760
3760
|
marginLeft: prop_types_12.default.oneOfType([prop_types_12.default.string, prop_types_12.default.number]),
|
|
@@ -3770,7 +3770,7 @@ var spacing = {};
|
|
|
3770
3770
|
paddingX: prop_types_12.default.oneOfType([prop_types_12.default.string, prop_types_12.default.number]),
|
|
3771
3771
|
paddingY: prop_types_12.default.oneOfType([prop_types_12.default.string, prop_types_12.default.number])
|
|
3772
3772
|
};
|
|
3773
|
-
|
|
3773
|
+
exports2.propAliases = {
|
|
3774
3774
|
margin: ["marginBottom", "marginLeft", "marginRight", "marginTop"],
|
|
3775
3775
|
marginX: ["marginLeft", "marginRight"],
|
|
3776
3776
|
marginY: ["marginBottom", "marginTop"],
|
|
@@ -3778,39 +3778,39 @@ var spacing = {};
|
|
|
3778
3778
|
paddingX: ["paddingLeft", "paddingRight"],
|
|
3779
3779
|
paddingY: ["paddingBottom", "paddingTop"]
|
|
3780
3780
|
};
|
|
3781
|
-
|
|
3781
|
+
exports2.propValidators = {};
|
|
3782
3782
|
if (process.env.NODE_ENV !== "production") {
|
|
3783
|
-
|
|
3783
|
+
exports2.propValidators.margin = (value) => {
|
|
3784
3784
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
3785
3785
|
return `multiple values (“${value}”) aren՚t supported with “margin”. Use “marginX”, “marginY” “marginBottom”, “marginLeft”, “marginRight” and “marginTop” instead.`;
|
|
3786
3786
|
}
|
|
3787
3787
|
return;
|
|
3788
3788
|
};
|
|
3789
|
-
|
|
3789
|
+
exports2.propValidators.marginX = (value) => {
|
|
3790
3790
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
3791
3791
|
return `multiple values (“${value}”) aren՚t supported with “marginX”. Use “marginLeft” and “marginRight” instead.`;
|
|
3792
3792
|
}
|
|
3793
3793
|
return;
|
|
3794
3794
|
};
|
|
3795
|
-
|
|
3795
|
+
exports2.propValidators.marginY = (value) => {
|
|
3796
3796
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
3797
3797
|
return `multiple values (“${value}”) aren՚t supported with “marginY”. Use “marginBottom” and “marginTop” instead.`;
|
|
3798
3798
|
}
|
|
3799
3799
|
return;
|
|
3800
3800
|
};
|
|
3801
|
-
|
|
3801
|
+
exports2.propValidators.padding = (value) => {
|
|
3802
3802
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
3803
3803
|
return `multiple values (“${value}”) aren՚t supported with “padding”. Use “paddingX”, “paddingY” “paddingBottom”, “paddingLeft”, “paddingRight” and “paddingTop” instead.`;
|
|
3804
3804
|
}
|
|
3805
3805
|
return;
|
|
3806
3806
|
};
|
|
3807
|
-
|
|
3807
|
+
exports2.propValidators.paddingX = (value) => {
|
|
3808
3808
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
3809
3809
|
return `multiple values (“${value}”) aren՚t supported with “paddingX”. Use “paddingLeft” and “paddingRight” instead.`;
|
|
3810
3810
|
}
|
|
3811
3811
|
return;
|
|
3812
3812
|
};
|
|
3813
|
-
|
|
3813
|
+
exports2.propValidators.paddingY = (value) => {
|
|
3814
3814
|
if (regex_12.spacesOutsideParentheses.test(value)) {
|
|
3815
3815
|
return `multiple values (“${value}”) aren՚t supported with “paddingY”. Use “paddingBottom” and “paddingTop” instead.`;
|
|
3816
3816
|
}
|
|
@@ -3857,7 +3857,7 @@ var spacing = {};
|
|
|
3857
3857
|
cssName: "padding-left",
|
|
3858
3858
|
jsName: "paddingLeft"
|
|
3859
3859
|
};
|
|
3860
|
-
|
|
3860
|
+
exports2.propEnhancers = {
|
|
3861
3861
|
marginBottom: (value, selector) => (0, get_css_12.default)(marginBottom2, value, selector),
|
|
3862
3862
|
marginLeft: (value, selector) => (0, get_css_12.default)(marginLeft, value, selector),
|
|
3863
3863
|
marginRight: (value, selector) => (0, get_css_12.default)(marginRight3, value, selector),
|
|
@@ -4160,7 +4160,7 @@ transition$1.propEnhancers = {
|
|
|
4160
4160
|
transitionProperty: (value, selector) => (0, get_css_1.default)(transitionProperty, value, selector),
|
|
4161
4161
|
transitionTimingFunction: (value, selector) => (0, get_css_1.default)(transitionTimingFunction, value, selector)
|
|
4162
4162
|
};
|
|
4163
|
-
(function(
|
|
4163
|
+
(function(exports2) {
|
|
4164
4164
|
var __createBinding2 = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o2, m2, k2, k22) {
|
|
4165
4165
|
if (k22 === void 0) k22 = k2;
|
|
4166
4166
|
var desc = Object.getOwnPropertyDescriptor(m2, k2);
|
|
@@ -4188,57 +4188,57 @@ transition$1.propEnhancers = {
|
|
|
4188
4188
|
__setModuleDefault2(result, mod);
|
|
4189
4189
|
return result;
|
|
4190
4190
|
};
|
|
4191
|
-
Object.defineProperty(
|
|
4192
|
-
|
|
4191
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4192
|
+
exports2.propEnhancers = exports2.propValidators = exports2.propAliases = exports2.propNames = exports2.propTypes = exports2.transition = exports2.transform = exports2.text = exports2.svg = exports2.spacing = exports2.selectors = exports2.resize = exports2.position = exports2.overflow = exports2.outline = exports2.opacity = exports2.list = exports2.layout = exports2.interaction = exports2.grid = exports2.flex = exports2.dimensions = exports2.boxShadow = exports2.borders = exports2.borderRadius = exports2.background = exports2.animation = void 0;
|
|
4193
4193
|
const animation2 = __importStar2(animation$1);
|
|
4194
|
-
|
|
4194
|
+
exports2.animation = animation2;
|
|
4195
4195
|
const background2 = __importStar2(background$1);
|
|
4196
|
-
|
|
4196
|
+
exports2.background = background2;
|
|
4197
4197
|
const borderRadius$1 = __importStar2(borderRadius);
|
|
4198
|
-
|
|
4198
|
+
exports2.borderRadius = borderRadius$1;
|
|
4199
4199
|
const borders$1 = __importStar2(borders);
|
|
4200
|
-
|
|
4200
|
+
exports2.borders = borders$1;
|
|
4201
4201
|
const boxShadow13 = __importStar2(boxShadow$1);
|
|
4202
|
-
|
|
4202
|
+
exports2.boxShadow = boxShadow13;
|
|
4203
4203
|
const dimensions$1 = __importStar2(dimensions);
|
|
4204
|
-
|
|
4204
|
+
exports2.dimensions = dimensions$1;
|
|
4205
4205
|
const flex2 = __importStar2(flex$1);
|
|
4206
|
-
|
|
4206
|
+
exports2.flex = flex2;
|
|
4207
4207
|
const grid2 = __importStar2(grid$1);
|
|
4208
|
-
|
|
4208
|
+
exports2.grid = grid2;
|
|
4209
4209
|
const interaction$1 = __importStar2(interaction);
|
|
4210
|
-
|
|
4210
|
+
exports2.interaction = interaction$1;
|
|
4211
4211
|
const layout$1 = __importStar2(layout);
|
|
4212
|
-
|
|
4212
|
+
exports2.layout = layout$1;
|
|
4213
4213
|
const list$1 = __importStar2(list);
|
|
4214
|
-
|
|
4214
|
+
exports2.list = list$1;
|
|
4215
4215
|
const opacity2 = __importStar2(opacity$1);
|
|
4216
|
-
|
|
4216
|
+
exports2.opacity = opacity2;
|
|
4217
4217
|
const outline2 = __importStar2(outline$1);
|
|
4218
|
-
|
|
4218
|
+
exports2.outline = outline2;
|
|
4219
4219
|
const overflow$1 = __importStar2(overflow);
|
|
4220
|
-
|
|
4220
|
+
exports2.overflow = overflow$1;
|
|
4221
4221
|
const position2 = __importStar2(position$1);
|
|
4222
|
-
|
|
4222
|
+
exports2.position = position2;
|
|
4223
4223
|
const resize2 = __importStar2(resize$1);
|
|
4224
|
-
|
|
4224
|
+
exports2.resize = resize2;
|
|
4225
4225
|
const selectors$1 = __importStar2(selectors);
|
|
4226
|
-
|
|
4226
|
+
exports2.selectors = selectors$1;
|
|
4227
4227
|
const spacing$1 = __importStar2(spacing);
|
|
4228
|
-
|
|
4228
|
+
exports2.spacing = spacing$1;
|
|
4229
4229
|
const svg$1 = __importStar2(svg);
|
|
4230
|
-
|
|
4230
|
+
exports2.svg = svg$1;
|
|
4231
4231
|
const text2 = __importStar2(text$1);
|
|
4232
|
-
|
|
4232
|
+
exports2.text = text2;
|
|
4233
4233
|
const transform2 = __importStar2(transform$1);
|
|
4234
|
-
|
|
4234
|
+
exports2.transform = transform2;
|
|
4235
4235
|
const transition2 = __importStar2(transition$1);
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4236
|
+
exports2.transition = transition2;
|
|
4237
|
+
exports2.propTypes = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, animation2.propTypes), background2.propTypes), borderRadius$1.propTypes), borders$1.propTypes), boxShadow13.propTypes), dimensions$1.propTypes), flex2.propTypes), grid2.propTypes), interaction$1.propTypes), layout$1.propTypes), list$1.propTypes), opacity2.propTypes), outline2.propTypes), overflow$1.propTypes), position2.propTypes), resize2.propTypes), selectors$1.propTypes), spacing$1.propTypes), svg$1.propTypes), text2.propTypes), transform2.propTypes), transition2.propTypes);
|
|
4238
|
+
exports2.propNames = Object.keys(exports2.propTypes);
|
|
4239
|
+
exports2.propAliases = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, animation2.propAliases), background2.propAliases), borderRadius$1.propAliases), borders$1.propAliases), boxShadow13.propAliases), dimensions$1.propAliases), flex2.propAliases), grid2.propAliases), interaction$1.propAliases), layout$1.propAliases), list$1.propAliases), opacity2.propAliases), outline2.propAliases), overflow$1.propAliases), position2.propAliases), resize2.propAliases), selectors$1.propAliases), spacing$1.propAliases), svg$1.propAliases), text2.propAliases), transform2.propAliases), transition2.propAliases);
|
|
4240
|
+
exports2.propValidators = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, animation2.propValidators), background2.propValidators), borderRadius$1.propValidators), borders$1.propValidators), boxShadow13.propValidators), dimensions$1.propValidators), flex2.propValidators), grid2.propValidators), interaction$1.propValidators), layout$1.propValidators), list$1.propValidators), opacity2.propValidators), outline2.propValidators), overflow$1.propValidators), position2.propValidators), resize2.propValidators), selectors$1.propValidators), spacing$1.propValidators), svg$1.propValidators), text2.propValidators), transform2.propValidators), transition2.propValidators);
|
|
4241
|
+
exports2.propEnhancers = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, animation2.propEnhancers), background2.propEnhancers), borderRadius$1.propEnhancers), borders$1.propEnhancers), boxShadow13.propEnhancers), dimensions$1.propEnhancers), flex2.propEnhancers), grid2.propEnhancers), interaction$1.propEnhancers), layout$1.propEnhancers), list$1.propEnhancers), opacity2.propEnhancers), outline2.propEnhancers), overflow$1.propEnhancers), position2.propEnhancers), resize2.propEnhancers), selectors$1.propEnhancers), spacing$1.propEnhancers), svg$1.propEnhancers), text2.propEnhancers), transform2.propEnhancers), transition2.propEnhancers);
|
|
4242
4242
|
})(enhancers);
|
|
4243
4243
|
var enhanceProps$1 = {};
|
|
4244
4244
|
var expandAliases$1 = {};
|
|
@@ -4451,14 +4451,14 @@ const flattenObject = (object) => {
|
|
|
4451
4451
|
const keys = Object.keys(object);
|
|
4452
4452
|
return keys.map((key) => {
|
|
4453
4453
|
const value = object[key];
|
|
4454
|
-
const
|
|
4454
|
+
const type2 = typeof value;
|
|
4455
4455
|
if (Array.isArray(value)) {
|
|
4456
4456
|
return `${key}:array:[${value.map((value2, index) => flattenObject({ [index]: value2 }))}]`;
|
|
4457
4457
|
}
|
|
4458
|
-
if (value != null &&
|
|
4459
|
-
return `${key}:${
|
|
4458
|
+
if (value != null && type2 === "object") {
|
|
4459
|
+
return `${key}:${type2}:${flattenObject(value)}`;
|
|
4460
4460
|
}
|
|
4461
|
-
return `${key}:${
|
|
4461
|
+
return `${key}:${type2}:${value}`;
|
|
4462
4462
|
}).join(";");
|
|
4463
4463
|
};
|
|
4464
4464
|
flattenObject$1.default = flattenObject;
|
|
@@ -4501,17 +4501,17 @@ const stylesheet = __importStar(styles$1);
|
|
|
4501
4501
|
const cache = __importStar(cache$4);
|
|
4502
4502
|
const keyframes = (friendlyName, timeline) => {
|
|
4503
4503
|
const hashedValue = (0, hash_1.default)((0, flatten_object_1.default)(timeline));
|
|
4504
|
-
const
|
|
4504
|
+
const name2 = `${friendlyName}_${hashedValue}`;
|
|
4505
4505
|
const cachedStyles = cache.get(friendlyName, hashedValue, "keyframe");
|
|
4506
4506
|
if (cachedStyles != null) {
|
|
4507
|
-
return
|
|
4507
|
+
return name2;
|
|
4508
4508
|
}
|
|
4509
4509
|
const keys = Object.keys(timeline);
|
|
4510
4510
|
const timelineStyles = keys.map((key) => getStylesForTimelineKey(key, timeline[key] || {}));
|
|
4511
|
-
const styles2 = getKeyframesStyles(
|
|
4511
|
+
const styles2 = getKeyframesStyles(name2, timelineStyles);
|
|
4512
4512
|
cache.set(friendlyName, hashedValue, styles2, "keyframe");
|
|
4513
4513
|
stylesheet.add(styles2);
|
|
4514
|
-
return
|
|
4514
|
+
return name2;
|
|
4515
4515
|
};
|
|
4516
4516
|
const flatten = (values2) => {
|
|
4517
4517
|
const flattenedValues = [];
|
|
@@ -4547,12 +4547,12 @@ const getRulesForKey = (key, cssProps) => {
|
|
|
4547
4547
|
}
|
|
4548
4548
|
return enhancedProp.rules;
|
|
4549
4549
|
};
|
|
4550
|
-
const getKeyframesStyles = (
|
|
4550
|
+
const getKeyframesStyles = (name2, rules) => {
|
|
4551
4551
|
const separator2 = (0, is_production_1.default)() ? "" : "\n";
|
|
4552
4552
|
const openBrace = `{${separator2}`;
|
|
4553
4553
|
const closeBrace = `${separator2}}`;
|
|
4554
4554
|
const concatenatedRules = rules.join(separator2);
|
|
4555
|
-
return `@keyframes ${
|
|
4555
|
+
return `@keyframes ${name2} ${openBrace}${concatenatedRules}${closeBrace}`;
|
|
4556
4556
|
};
|
|
4557
4557
|
const timelineKeyToString = (timelineKey) => {
|
|
4558
4558
|
const isNumber = !isNaN(Number(timelineKey));
|
|
@@ -4588,7 +4588,7 @@ function splitBoxProps(props) {
|
|
|
4588
4588
|
return (0, split_props_1.default)(props, index_1.propNames);
|
|
4589
4589
|
}
|
|
4590
4590
|
splitBoxProps$1.default = splitBoxProps;
|
|
4591
|
-
(function(
|
|
4591
|
+
(function(exports2) {
|
|
4592
4592
|
var __createBinding2 = commonjsGlobal && commonjsGlobal.__createBinding || (Object.create ? function(o2, m2, k2, k22) {
|
|
4593
4593
|
if (k22 === void 0) k22 = k2;
|
|
4594
4594
|
var desc = Object.getOwnPropertyDescriptor(m2, k2);
|
|
@@ -4619,93 +4619,93 @@ splitBoxProps$1.default = splitBoxProps;
|
|
|
4619
4619
|
var __importDefault2 = commonjsGlobal && commonjsGlobal.__importDefault || function(mod) {
|
|
4620
4620
|
return mod && mod.__esModule ? mod : { "default": mod };
|
|
4621
4621
|
};
|
|
4622
|
-
Object.defineProperty(
|
|
4623
|
-
|
|
4622
|
+
Object.defineProperty(exports2, "__esModule", { value: true });
|
|
4623
|
+
exports2.clearStyles = exports2.extractStyles = exports2.hydrate = exports2.propEnhancers = exports2.propAliases = exports2.propNames = exports2.propTypes = exports2.transform = exports2.text = exports2.spacing = exports2.position = exports2.overflow = exports2.opacity = exports2.list = exports2.layout = exports2.interaction = exports2.flex = exports2.dimensions = exports2.boxShadow = exports2.borders = exports2.borderRadius = exports2.background = exports2.configureSafeHref = exports2.setClassNamePrefix = exports2.splitBoxProps = exports2.splitProps = exports2.keyframes = exports2.default = void 0;
|
|
4624
4624
|
const cache2 = __importStar2(cache$4);
|
|
4625
4625
|
const styles2 = __importStar2(styles$1);
|
|
4626
4626
|
var box_1 = box;
|
|
4627
|
-
Object.defineProperty(
|
|
4627
|
+
Object.defineProperty(exports2, "default", { enumerable: true, get: function() {
|
|
4628
4628
|
return __importDefault2(box_1).default;
|
|
4629
4629
|
} });
|
|
4630
4630
|
var keyframes_1 = keyframes$1;
|
|
4631
|
-
Object.defineProperty(
|
|
4631
|
+
Object.defineProperty(exports2, "keyframes", { enumerable: true, get: function() {
|
|
4632
4632
|
return __importDefault2(keyframes_1).default;
|
|
4633
4633
|
} });
|
|
4634
4634
|
var split_props_12 = splitProps$1;
|
|
4635
|
-
Object.defineProperty(
|
|
4635
|
+
Object.defineProperty(exports2, "splitProps", { enumerable: true, get: function() {
|
|
4636
4636
|
return __importDefault2(split_props_12).default;
|
|
4637
4637
|
} });
|
|
4638
4638
|
var split_box_props_1 = splitBoxProps$1;
|
|
4639
|
-
Object.defineProperty(
|
|
4639
|
+
Object.defineProperty(exports2, "splitBoxProps", { enumerable: true, get: function() {
|
|
4640
4640
|
return __importDefault2(split_box_props_1).default;
|
|
4641
4641
|
} });
|
|
4642
4642
|
var get_class_name_12 = getClassName$1;
|
|
4643
|
-
Object.defineProperty(
|
|
4643
|
+
Object.defineProperty(exports2, "setClassNamePrefix", { enumerable: true, get: function() {
|
|
4644
4644
|
return get_class_name_12.setClassNamePrefix;
|
|
4645
4645
|
} });
|
|
4646
4646
|
var safeHref_12 = safeHref;
|
|
4647
|
-
Object.defineProperty(
|
|
4647
|
+
Object.defineProperty(exports2, "configureSafeHref", { enumerable: true, get: function() {
|
|
4648
4648
|
return safeHref_12.configureSafeHref;
|
|
4649
4649
|
} });
|
|
4650
4650
|
var index_12 = enhancers;
|
|
4651
|
-
Object.defineProperty(
|
|
4651
|
+
Object.defineProperty(exports2, "background", { enumerable: true, get: function() {
|
|
4652
4652
|
return index_12.background;
|
|
4653
4653
|
} });
|
|
4654
|
-
Object.defineProperty(
|
|
4654
|
+
Object.defineProperty(exports2, "borderRadius", { enumerable: true, get: function() {
|
|
4655
4655
|
return index_12.borderRadius;
|
|
4656
4656
|
} });
|
|
4657
|
-
Object.defineProperty(
|
|
4657
|
+
Object.defineProperty(exports2, "borders", { enumerable: true, get: function() {
|
|
4658
4658
|
return index_12.borders;
|
|
4659
4659
|
} });
|
|
4660
|
-
Object.defineProperty(
|
|
4660
|
+
Object.defineProperty(exports2, "boxShadow", { enumerable: true, get: function() {
|
|
4661
4661
|
return index_12.boxShadow;
|
|
4662
4662
|
} });
|
|
4663
|
-
Object.defineProperty(
|
|
4663
|
+
Object.defineProperty(exports2, "dimensions", { enumerable: true, get: function() {
|
|
4664
4664
|
return index_12.dimensions;
|
|
4665
4665
|
} });
|
|
4666
|
-
Object.defineProperty(
|
|
4666
|
+
Object.defineProperty(exports2, "flex", { enumerable: true, get: function() {
|
|
4667
4667
|
return index_12.flex;
|
|
4668
4668
|
} });
|
|
4669
|
-
Object.defineProperty(
|
|
4669
|
+
Object.defineProperty(exports2, "interaction", { enumerable: true, get: function() {
|
|
4670
4670
|
return index_12.interaction;
|
|
4671
4671
|
} });
|
|
4672
|
-
Object.defineProperty(
|
|
4672
|
+
Object.defineProperty(exports2, "layout", { enumerable: true, get: function() {
|
|
4673
4673
|
return index_12.layout;
|
|
4674
4674
|
} });
|
|
4675
|
-
Object.defineProperty(
|
|
4675
|
+
Object.defineProperty(exports2, "list", { enumerable: true, get: function() {
|
|
4676
4676
|
return index_12.list;
|
|
4677
4677
|
} });
|
|
4678
|
-
Object.defineProperty(
|
|
4678
|
+
Object.defineProperty(exports2, "opacity", { enumerable: true, get: function() {
|
|
4679
4679
|
return index_12.opacity;
|
|
4680
4680
|
} });
|
|
4681
|
-
Object.defineProperty(
|
|
4681
|
+
Object.defineProperty(exports2, "overflow", { enumerable: true, get: function() {
|
|
4682
4682
|
return index_12.overflow;
|
|
4683
4683
|
} });
|
|
4684
|
-
Object.defineProperty(
|
|
4684
|
+
Object.defineProperty(exports2, "position", { enumerable: true, get: function() {
|
|
4685
4685
|
return index_12.position;
|
|
4686
4686
|
} });
|
|
4687
|
-
Object.defineProperty(
|
|
4687
|
+
Object.defineProperty(exports2, "spacing", { enumerable: true, get: function() {
|
|
4688
4688
|
return index_12.spacing;
|
|
4689
4689
|
} });
|
|
4690
|
-
Object.defineProperty(
|
|
4690
|
+
Object.defineProperty(exports2, "text", { enumerable: true, get: function() {
|
|
4691
4691
|
return index_12.text;
|
|
4692
4692
|
} });
|
|
4693
|
-
Object.defineProperty(
|
|
4693
|
+
Object.defineProperty(exports2, "transform", { enumerable: true, get: function() {
|
|
4694
4694
|
return index_12.transform;
|
|
4695
4695
|
} });
|
|
4696
|
-
Object.defineProperty(
|
|
4696
|
+
Object.defineProperty(exports2, "propTypes", { enumerable: true, get: function() {
|
|
4697
4697
|
return index_12.propTypes;
|
|
4698
4698
|
} });
|
|
4699
|
-
Object.defineProperty(
|
|
4699
|
+
Object.defineProperty(exports2, "propNames", { enumerable: true, get: function() {
|
|
4700
4700
|
return index_12.propNames;
|
|
4701
4701
|
} });
|
|
4702
|
-
Object.defineProperty(
|
|
4702
|
+
Object.defineProperty(exports2, "propAliases", { enumerable: true, get: function() {
|
|
4703
4703
|
return index_12.propAliases;
|
|
4704
4704
|
} });
|
|
4705
|
-
Object.defineProperty(
|
|
4705
|
+
Object.defineProperty(exports2, "propEnhancers", { enumerable: true, get: function() {
|
|
4706
4706
|
return index_12.propEnhancers;
|
|
4707
4707
|
} });
|
|
4708
|
-
|
|
4708
|
+
exports2.hydrate = cache2.hydrate;
|
|
4709
4709
|
function extractStyles() {
|
|
4710
4710
|
const output = {
|
|
4711
4711
|
cache: cache2.entries(),
|
|
@@ -4714,12 +4714,12 @@ splitBoxProps$1.default = splitBoxProps;
|
|
|
4714
4714
|
clearStyles();
|
|
4715
4715
|
return output;
|
|
4716
4716
|
}
|
|
4717
|
-
|
|
4717
|
+
exports2.extractStyles = extractStyles;
|
|
4718
4718
|
function clearStyles() {
|
|
4719
4719
|
cache2.clear();
|
|
4720
4720
|
styles2.clear();
|
|
4721
4721
|
}
|
|
4722
|
-
|
|
4722
|
+
exports2.clearStyles = clearStyles;
|
|
4723
4723
|
})(src);
|
|
4724
4724
|
const Box = /* @__PURE__ */ getDefaultExportFromCjs(src);
|
|
4725
4725
|
function _typeof(o2) {
|
|
@@ -4821,7 +4821,7 @@ function _slicedToArray(r2, e2) {
|
|
|
4821
4821
|
}
|
|
4822
4822
|
var lodash_merge = { exports: {} };
|
|
4823
4823
|
lodash_merge.exports;
|
|
4824
|
-
(function(module,
|
|
4824
|
+
(function(module, exports2) {
|
|
4825
4825
|
var LARGE_ARRAY_SIZE = 200;
|
|
4826
4826
|
var HASH_UNDEFINED = "__lodash_hash_undefined__";
|
|
4827
4827
|
var HOT_COUNT = 800, HOT_SPAN = 16;
|
|
@@ -4837,15 +4837,15 @@ lodash_merge.exports;
|
|
|
4837
4837
|
var freeGlobal = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
|
|
4838
4838
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
4839
4839
|
var root = freeGlobal || freeSelf || Function("return this")();
|
|
4840
|
-
var freeExports =
|
|
4840
|
+
var freeExports = exports2 && !exports2.nodeType && exports2;
|
|
4841
4841
|
var freeModule = freeExports && true && module && !module.nodeType && module;
|
|
4842
4842
|
var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
4843
4843
|
var freeProcess = moduleExports && freeGlobal.process;
|
|
4844
4844
|
var nodeUtil = function() {
|
|
4845
4845
|
try {
|
|
4846
|
-
var
|
|
4847
|
-
if (
|
|
4848
|
-
return
|
|
4846
|
+
var types2 = freeModule && freeModule.require && freeModule.require("util").types;
|
|
4847
|
+
if (types2) {
|
|
4848
|
+
return types2;
|
|
4849
4849
|
}
|
|
4850
4850
|
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
4851
4851
|
} catch (e2) {
|
|
@@ -5339,23 +5339,23 @@ lodash_merge.exports;
|
|
|
5339
5339
|
return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
|
|
5340
5340
|
}
|
|
5341
5341
|
function isIndex(value, length) {
|
|
5342
|
-
var
|
|
5342
|
+
var type2 = typeof value;
|
|
5343
5343
|
length = length == null ? MAX_SAFE_INTEGER : length;
|
|
5344
|
-
return !!length && (
|
|
5344
|
+
return !!length && (type2 == "number" || type2 != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
|
|
5345
5345
|
}
|
|
5346
5346
|
function isIterateeCall(value, index, object) {
|
|
5347
5347
|
if (!isObject2(object)) {
|
|
5348
5348
|
return false;
|
|
5349
5349
|
}
|
|
5350
|
-
var
|
|
5351
|
-
if (
|
|
5350
|
+
var type2 = typeof index;
|
|
5351
|
+
if (type2 == "number" ? isArrayLike(object) && isIndex(index, object.length) : type2 == "string" && index in object) {
|
|
5352
5352
|
return eq(object[index], value);
|
|
5353
5353
|
}
|
|
5354
5354
|
return false;
|
|
5355
5355
|
}
|
|
5356
5356
|
function isKeyable(value) {
|
|
5357
|
-
var
|
|
5358
|
-
return
|
|
5357
|
+
var type2 = typeof value;
|
|
5358
|
+
return type2 == "string" || type2 == "number" || type2 == "symbol" || type2 == "boolean" ? value !== "__proto__" : value === null;
|
|
5359
5359
|
}
|
|
5360
5360
|
function isMasked(func) {
|
|
5361
5361
|
return !!maskSrcKey && maskSrcKey in func;
|
|
@@ -5457,8 +5457,8 @@ lodash_merge.exports;
|
|
|
5457
5457
|
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
|
|
5458
5458
|
}
|
|
5459
5459
|
function isObject2(value) {
|
|
5460
|
-
var
|
|
5461
|
-
return value != null && (
|
|
5460
|
+
var type2 = typeof value;
|
|
5461
|
+
return value != null && (type2 == "object" || type2 == "function");
|
|
5462
5462
|
}
|
|
5463
5463
|
function isObjectLike(value) {
|
|
5464
5464
|
return value != null && typeof value == "object";
|
|
@@ -7855,19 +7855,19 @@ function requireReactIs_development() {
|
|
|
7855
7855
|
{
|
|
7856
7856
|
REACT_MODULE_REFERENCE = Symbol.for("react.module.reference");
|
|
7857
7857
|
}
|
|
7858
|
-
function isValidElementType(
|
|
7859
|
-
if (typeof
|
|
7858
|
+
function isValidElementType(type2) {
|
|
7859
|
+
if (typeof type2 === "string" || typeof type2 === "function") {
|
|
7860
7860
|
return true;
|
|
7861
7861
|
}
|
|
7862
|
-
if (
|
|
7862
|
+
if (type2 === REACT_FRAGMENT_TYPE || type2 === REACT_PROFILER_TYPE || enableDebugTracing || type2 === REACT_STRICT_MODE_TYPE || type2 === REACT_SUSPENSE_TYPE || type2 === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type2 === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
7863
7863
|
return true;
|
|
7864
7864
|
}
|
|
7865
|
-
if (typeof
|
|
7866
|
-
if (
|
|
7865
|
+
if (typeof type2 === "object" && type2 !== null) {
|
|
7866
|
+
if (type2.$$typeof === REACT_LAZY_TYPE || type2.$$typeof === REACT_MEMO_TYPE || type2.$$typeof === REACT_PROVIDER_TYPE || type2.$$typeof === REACT_CONTEXT_TYPE || type2.$$typeof === REACT_FORWARD_REF_TYPE || // This needs to include all possible module reference object
|
|
7867
7867
|
// types supported by any Flight configuration anywhere since
|
|
7868
7868
|
// we don't know which Flight build this will end up being used
|
|
7869
7869
|
// with.
|
|
7870
|
-
|
|
7870
|
+
type2.$$typeof === REACT_MODULE_REFERENCE || type2.getModuleId !== void 0) {
|
|
7871
7871
|
return true;
|
|
7872
7872
|
}
|
|
7873
7873
|
}
|
|
@@ -7878,16 +7878,16 @@ function requireReactIs_development() {
|
|
|
7878
7878
|
var $$typeof = object.$$typeof;
|
|
7879
7879
|
switch ($$typeof) {
|
|
7880
7880
|
case REACT_ELEMENT_TYPE:
|
|
7881
|
-
var
|
|
7882
|
-
switch (
|
|
7881
|
+
var type2 = object.type;
|
|
7882
|
+
switch (type2) {
|
|
7883
7883
|
case REACT_FRAGMENT_TYPE:
|
|
7884
7884
|
case REACT_PROFILER_TYPE:
|
|
7885
7885
|
case REACT_STRICT_MODE_TYPE:
|
|
7886
7886
|
case REACT_SUSPENSE_TYPE:
|
|
7887
7887
|
case REACT_SUSPENSE_LIST_TYPE:
|
|
7888
|
-
return
|
|
7888
|
+
return type2;
|
|
7889
7889
|
default:
|
|
7890
|
-
var $$typeofType =
|
|
7890
|
+
var $$typeofType = type2 && type2.$$typeof;
|
|
7891
7891
|
switch ($$typeofType) {
|
|
7892
7892
|
case REACT_SERVER_CONTEXT_TYPE:
|
|
7893
7893
|
case REACT_CONTEXT_TYPE:
|
|
@@ -8715,7 +8715,7 @@ var internalStyles = {
|
|
|
8715
8715
|
})
|
|
8716
8716
|
};
|
|
8717
8717
|
var Switch = /* @__PURE__ */ M(/* @__PURE__ */ D(function Switch2(props, ref) {
|
|
8718
|
-
var id = props.id,
|
|
8718
|
+
var id = props.id, name2 = props.name, _props$height = props.height, height2 = _props$height === void 0 ? 16 : _props$height, _props$checked = props.checked, checked = _props$checked === void 0 ? false : _props$checked, _props$onChange = props.onChange, onChange = _props$onChange === void 0 ? noop$1 : _props$onChange, _props$disabled = props.disabled, disabled = _props$disabled === void 0 ? false : _props$disabled, _props$appearance = props.appearance, appearance = _props$appearance === void 0 ? "default" : _props$appearance, _props$hasCheckIcon = props.hasCheckIcon, hasCheckIcon = _props$hasCheckIcon === void 0 ? false : _props$hasCheckIcon, defaultChecked = props.defaultChecked, rest = _objectWithoutProperties(props, _excluded2);
|
|
8719
8719
|
var themedProps = useStyleConfig("Switch", {
|
|
8720
8720
|
appearance
|
|
8721
8721
|
}, pseudoSelectors, internalStyles);
|
|
@@ -8728,7 +8728,7 @@ var Switch = /* @__PURE__ */ M(/* @__PURE__ */ D(function Switch2(props, ref) {
|
|
|
8728
8728
|
}, rest), /* @__PURE__ */ Rn.createElement(Box, _extends({
|
|
8729
8729
|
is: "input",
|
|
8730
8730
|
id,
|
|
8731
|
-
name
|
|
8731
|
+
name: name2
|
|
8732
8732
|
}, themedProps, {
|
|
8733
8733
|
type: "checkbox",
|
|
8734
8734
|
checked,
|
|
@@ -9608,17 +9608,17 @@ _defineProperty(DraggableCore$1, "defaultProps", {
|
|
|
9608
9608
|
},
|
|
9609
9609
|
scale: 1
|
|
9610
9610
|
});
|
|
9611
|
-
(function(
|
|
9612
|
-
Object.defineProperty(
|
|
9611
|
+
(function(exports2) {
|
|
9612
|
+
Object.defineProperty(exports2, "__esModule", {
|
|
9613
9613
|
value: true
|
|
9614
9614
|
});
|
|
9615
|
-
Object.defineProperty(
|
|
9615
|
+
Object.defineProperty(exports2, "DraggableCore", {
|
|
9616
9616
|
enumerable: true,
|
|
9617
9617
|
get: function() {
|
|
9618
9618
|
return _DraggableCore.default;
|
|
9619
9619
|
}
|
|
9620
9620
|
});
|
|
9621
|
-
|
|
9621
|
+
exports2.default = void 0;
|
|
9622
9622
|
var React2 = _interopRequireWildcard2(require$$2);
|
|
9623
9623
|
var _propTypes2 = _interopRequireDefault2(propTypesExports);
|
|
9624
9624
|
var _reactDom2 = _interopRequireDefault2(require$$2);
|
|
@@ -9848,7 +9848,7 @@ _defineProperty(DraggableCore$1, "defaultProps", {
|
|
|
9848
9848
|
}));
|
|
9849
9849
|
}
|
|
9850
9850
|
}
|
|
9851
|
-
|
|
9851
|
+
exports2.default = Draggable2;
|
|
9852
9852
|
_defineProperty2(Draggable2, "displayName", "Draggable");
|
|
9853
9853
|
_defineProperty2(Draggable2, "propTypes", {
|
|
9854
9854
|
// Accepts all props <DraggableCore> accepts.
|
|
@@ -10224,10 +10224,10 @@ function ComponentFilters({ components: components2, loggerControls, onLevelChan
|
|
|
10224
10224
|
const [componentLevels, setComponentLevels] = d({});
|
|
10225
10225
|
y(() => {
|
|
10226
10226
|
const levels2 = {};
|
|
10227
|
-
components2.forEach((
|
|
10227
|
+
components2.forEach((name2) => {
|
|
10228
10228
|
var _a2;
|
|
10229
|
-
const level = ((_a2 = loggerControls.getLevel) == null ? void 0 : _a2.call(loggerControls,
|
|
10230
|
-
levels2[
|
|
10229
|
+
const level = ((_a2 = loggerControls.getLevel) == null ? void 0 : _a2.call(loggerControls, name2)) || "info";
|
|
10230
|
+
levels2[name2] = levelNameToValue[level] ?? 3;
|
|
10231
10231
|
});
|
|
10232
10232
|
setComponentLevels(levels2);
|
|
10233
10233
|
}, [components2, loggerControls]);
|
|
@@ -10426,14 +10426,14 @@ function format$2(f2, args, opts) {
|
|
|
10426
10426
|
if (args[a2] === void 0) break;
|
|
10427
10427
|
if (lastPos < i2)
|
|
10428
10428
|
str += f2.slice(lastPos, i2);
|
|
10429
|
-
var
|
|
10430
|
-
if (
|
|
10429
|
+
var type2 = typeof args[a2];
|
|
10430
|
+
if (type2 === "string") {
|
|
10431
10431
|
str += "'" + args[a2] + "'";
|
|
10432
10432
|
lastPos = i2 + 2;
|
|
10433
10433
|
i2++;
|
|
10434
10434
|
break;
|
|
10435
10435
|
}
|
|
10436
|
-
if (
|
|
10436
|
+
if (type2 === "function") {
|
|
10437
10437
|
str += args[a2].name || "<anonymous>";
|
|
10438
10438
|
lastPos = i2 + 2;
|
|
10439
10439
|
i2++;
|
|
@@ -11225,11 +11225,11 @@ class ConfigManager {
|
|
|
11225
11225
|
*/
|
|
11226
11226
|
_normalizeComponents(components2) {
|
|
11227
11227
|
const normalized = {};
|
|
11228
|
-
for (const [
|
|
11229
|
-
normalized[
|
|
11230
|
-
emoji: config.emoji || this._getDefaultEmoji(
|
|
11231
|
-
color: config.color || this._getDefaultColor(
|
|
11232
|
-
name: config.name || this._formatComponentName(
|
|
11228
|
+
for (const [name2, config] of Object.entries(components2)) {
|
|
11229
|
+
normalized[name2] = {
|
|
11230
|
+
emoji: config.emoji || this._getDefaultEmoji(name2),
|
|
11231
|
+
color: config.color || this._getDefaultColor(name2),
|
|
11232
|
+
name: config.name || this._formatComponentName(name2),
|
|
11233
11233
|
level: config.level || "info",
|
|
11234
11234
|
enabled: config.enabled ?? true,
|
|
11235
11235
|
description: config.description
|
|
@@ -11944,12 +11944,134 @@ class LogStore {
|
|
|
11944
11944
|
return levelMap[level] || "unknown";
|
|
11945
11945
|
}
|
|
11946
11946
|
}
|
|
11947
|
+
const name = "@crimsonsunset/jsg-logger";
|
|
11948
|
+
const version = "1.7.13";
|
|
11949
|
+
const type = "module";
|
|
11950
|
+
const description = "Multi-environment logger with smart detection, file-level overrides, and beautiful console formatting. Test it live: https://logger.joesangiorgio.com/";
|
|
11951
|
+
const main = "index.js";
|
|
11952
|
+
const types = "./index.d.ts";
|
|
11953
|
+
const keywords = [
|
|
11954
|
+
"logging",
|
|
11955
|
+
"pino",
|
|
11956
|
+
"browser",
|
|
11957
|
+
"cli",
|
|
11958
|
+
"server",
|
|
11959
|
+
"chrome-extension",
|
|
11960
|
+
"adaptive",
|
|
11961
|
+
"jsg-logger",
|
|
11962
|
+
"environment-detection",
|
|
11963
|
+
"file-overrides"
|
|
11964
|
+
];
|
|
11965
|
+
const author = "Joe Sangiorgio <jsangio1@gmail.com>";
|
|
11966
|
+
const license = "ISC";
|
|
11967
|
+
const repository = {
|
|
11968
|
+
type: "git",
|
|
11969
|
+
url: "git+https://github.com/crimsonsunset/jsg-logger.git"
|
|
11970
|
+
};
|
|
11971
|
+
const bugs = {
|
|
11972
|
+
url: "https://github.com/crimsonsunset/jsg-logger/issues"
|
|
11973
|
+
};
|
|
11974
|
+
const homepage = "https://github.com/crimsonsunset/jsg-logger#readme";
|
|
11975
|
+
const dependencies = {
|
|
11976
|
+
"lodash.merge": "^4.6.2",
|
|
11977
|
+
pino: "^9.7.0"
|
|
11978
|
+
};
|
|
11979
|
+
const peerDependencies = {
|
|
11980
|
+
preact: "^10.27.1",
|
|
11981
|
+
"evergreen-ui": "^7.1.9"
|
|
11982
|
+
};
|
|
11983
|
+
const peerDependenciesMeta = {
|
|
11984
|
+
preact: {
|
|
11985
|
+
optional: true
|
|
11986
|
+
},
|
|
11987
|
+
"evergreen-ui": {
|
|
11988
|
+
optional: true
|
|
11989
|
+
}
|
|
11990
|
+
};
|
|
11991
|
+
const devDependencies = {
|
|
11992
|
+
"@preact/preset-vite": "^2.10.2",
|
|
11993
|
+
"evergreen-ui": "^7.1.9",
|
|
11994
|
+
preact: "^10.27.1",
|
|
11995
|
+
vite: "^5.1.3"
|
|
11996
|
+
};
|
|
11997
|
+
const files = [
|
|
11998
|
+
"index.js",
|
|
11999
|
+
"index.d.ts",
|
|
12000
|
+
"config/",
|
|
12001
|
+
"formatters/",
|
|
12002
|
+
"stores/",
|
|
12003
|
+
"utils/",
|
|
12004
|
+
"examples/",
|
|
12005
|
+
"docs/",
|
|
12006
|
+
"devtools/dist/",
|
|
12007
|
+
"README.md",
|
|
12008
|
+
"CHANGELOG.md",
|
|
12009
|
+
"CONTRIBUTING.md",
|
|
12010
|
+
"LICENSE"
|
|
12011
|
+
];
|
|
12012
|
+
const exports = {
|
|
12013
|
+
".": {
|
|
12014
|
+
"import": "./index.js",
|
|
12015
|
+
require: "./index.js",
|
|
12016
|
+
types: "./index.d.ts"
|
|
12017
|
+
},
|
|
12018
|
+
"./config": "./config/config-manager.js",
|
|
12019
|
+
"./config/manager": "./config/config-manager.js",
|
|
12020
|
+
"./config/schemes": "./config/component-schemes.js",
|
|
12021
|
+
"./config/default": "./config/default-config.json",
|
|
12022
|
+
"./formatters/browser": "./formatters/browser-formatter.js",
|
|
12023
|
+
"./formatters/cli": "./formatters/cli-formatter.js",
|
|
12024
|
+
"./formatters/server": "./formatters/server-formatter.js",
|
|
12025
|
+
"./stores": "./stores/log-store.js",
|
|
12026
|
+
"./stores/log-store": "./stores/log-store.js",
|
|
12027
|
+
"./utils": "./utils/environment-detector.js",
|
|
12028
|
+
"./utils/environment": "./utils/environment-detector.js",
|
|
12029
|
+
"./devtools": "./devtools/dist/panel-entry.js",
|
|
12030
|
+
"./examples/*": "./examples/*"
|
|
12031
|
+
};
|
|
12032
|
+
const scripts = {
|
|
12033
|
+
test: "node tests/run-all.js",
|
|
12034
|
+
"test:watch": "nodemon --watch . --ext js --exec 'npm test'",
|
|
12035
|
+
dev: "vite",
|
|
12036
|
+
"dev:devtools": "cd devtools && npm run dev",
|
|
12037
|
+
"test:devtools": "vite",
|
|
12038
|
+
"build:devtools": "cd devtools && npm run build",
|
|
12039
|
+
"build:devtools:netlify": "npm install && cd devtools && npm install && npm run build:netlify",
|
|
12040
|
+
"preview:devtools": "cd devtools && npm run preview",
|
|
12041
|
+
"release:patch": "node scripts/release.js patch",
|
|
12042
|
+
"release:minor": "node scripts/release.js minor",
|
|
12043
|
+
"release:major": "node scripts/release.js major",
|
|
12044
|
+
"publish:public": "npm publish --access public",
|
|
12045
|
+
"publish:github": "npm publish --registry=https://npm.pkg.github.com/ --access public",
|
|
12046
|
+
check: "npm run test && echo 'Package ready for publishing'"
|
|
12047
|
+
};
|
|
12048
|
+
const packageJson = {
|
|
12049
|
+
name,
|
|
12050
|
+
version,
|
|
12051
|
+
type,
|
|
12052
|
+
description,
|
|
12053
|
+
main,
|
|
12054
|
+
types,
|
|
12055
|
+
keywords,
|
|
12056
|
+
author,
|
|
12057
|
+
license,
|
|
12058
|
+
repository,
|
|
12059
|
+
bugs,
|
|
12060
|
+
homepage,
|
|
12061
|
+
dependencies,
|
|
12062
|
+
peerDependencies,
|
|
12063
|
+
peerDependenciesMeta,
|
|
12064
|
+
devDependencies,
|
|
12065
|
+
files,
|
|
12066
|
+
exports,
|
|
12067
|
+
scripts
|
|
12068
|
+
};
|
|
11947
12069
|
const defaultDevtoolsEnabled = ((_a = defaultConfig.devtools) == null ? void 0 : _a.enabled) ?? false;
|
|
11948
12070
|
let devtoolsModule = null;
|
|
11949
12071
|
let devtoolsModulePromise = null;
|
|
11950
12072
|
if (defaultDevtoolsEnabled) {
|
|
11951
12073
|
metaLog("[JSG-LOGGER] DevTools module pre-loading started (default config enabled)");
|
|
11952
|
-
devtoolsModulePromise = import("./panel-entry-
|
|
12074
|
+
devtoolsModulePromise = import("./panel-entry-B2MhZ3gp.js").then((module) => {
|
|
11953
12075
|
devtoolsModule = module;
|
|
11954
12076
|
metaLog("[JSG-LOGGER] DevTools module pre-loaded successfully");
|
|
11955
12077
|
return module;
|
|
@@ -11961,12 +12083,14 @@ if (defaultDevtoolsEnabled) {
|
|
|
11961
12083
|
metaLog("[JSG-LOGGER] DevTools module NOT pre-loaded (default config disabled - will tree-shake)");
|
|
11962
12084
|
}
|
|
11963
12085
|
const _JSGLogger = class _JSGLogger {
|
|
12086
|
+
// Lock to prevent concurrent initializations
|
|
11964
12087
|
constructor() {
|
|
11965
12088
|
this.loggers = {};
|
|
11966
12089
|
this.logStore = new LogStore();
|
|
11967
12090
|
this.environment = null;
|
|
11968
12091
|
this.initialized = false;
|
|
11969
12092
|
this.components = {};
|
|
12093
|
+
this.componentSubscribers = [];
|
|
11970
12094
|
}
|
|
11971
12095
|
/**
|
|
11972
12096
|
* Get singleton instance with auto-initialization
|
|
@@ -11981,27 +12105,59 @@ const _JSGLogger = class _JSGLogger {
|
|
|
11981
12105
|
_JSGLogger._enhancedLoggers = await _JSGLogger._instance.init(options);
|
|
11982
12106
|
if (isBrowser() && typeof window !== "undefined" && ((_a2 = _JSGLogger._enhancedLoggers) == null ? void 0 : _a2.controls)) {
|
|
11983
12107
|
window.JSG_Logger = _JSGLogger._enhancedLoggers.controls;
|
|
12108
|
+
window.__JSG_Logger_Enhanced__ = _JSGLogger._enhancedLoggers;
|
|
11984
12109
|
}
|
|
11985
12110
|
} else if (hasOptions) {
|
|
11986
12111
|
_JSGLogger._enhancedLoggers = await _JSGLogger._instance.init(options);
|
|
11987
12112
|
if (isBrowser() && typeof window !== "undefined" && ((_b = _JSGLogger._enhancedLoggers) == null ? void 0 : _b.controls)) {
|
|
11988
12113
|
window.JSG_Logger = _JSGLogger._enhancedLoggers.controls;
|
|
12114
|
+
window.__JSG_Logger_Enhanced__ = _JSGLogger._enhancedLoggers;
|
|
11989
12115
|
}
|
|
11990
12116
|
}
|
|
11991
12117
|
return _JSGLogger._enhancedLoggers;
|
|
11992
12118
|
}
|
|
11993
12119
|
/**
|
|
11994
12120
|
* Get singleton instance synchronously (for environments without async support)
|
|
12121
|
+
* Checks window.JSG_Logger first to ensure singleton works across separate bundles
|
|
11995
12122
|
* @param {Object} options - Initialization options (only used on first call)
|
|
11996
12123
|
* @returns {Object} Enhanced logger exports with controls API
|
|
11997
12124
|
*/
|
|
11998
12125
|
static getInstanceSync(options = {}) {
|
|
12126
|
+
var _a2, _b;
|
|
11999
12127
|
const hasOptions = options && Object.keys(options).length > 0;
|
|
12128
|
+
if (hasOptions) {
|
|
12129
|
+
if (!_JSGLogger._instance) {
|
|
12130
|
+
_JSGLogger._instance = new _JSGLogger();
|
|
12131
|
+
}
|
|
12132
|
+
_JSGLogger._enhancedLoggers = _JSGLogger._instance.initSync(options);
|
|
12133
|
+
if (isBrowser() && typeof window !== "undefined" && ((_a2 = _JSGLogger._enhancedLoggers) == null ? void 0 : _a2.controls)) {
|
|
12134
|
+
window.JSG_Logger = _JSGLogger._enhancedLoggers.controls;
|
|
12135
|
+
window.__JSG_Logger_Enhanced__ = _JSGLogger._enhancedLoggers;
|
|
12136
|
+
}
|
|
12137
|
+
return _JSGLogger._enhancedLoggers;
|
|
12138
|
+
}
|
|
12139
|
+
if (isBrowser() && typeof window !== "undefined" && window.JSG_Logger) {
|
|
12140
|
+
if (window.__JSG_Logger_Enhanced__) {
|
|
12141
|
+
return window.__JSG_Logger_Enhanced__;
|
|
12142
|
+
}
|
|
12143
|
+
const globalControls = window.JSG_Logger;
|
|
12144
|
+
return {
|
|
12145
|
+
...globalControls,
|
|
12146
|
+
controls: globalControls,
|
|
12147
|
+
getComponent: globalControls.getComponent,
|
|
12148
|
+
getInstanceSync: _JSGLogger.getInstanceSync.bind(_JSGLogger),
|
|
12149
|
+
getInstance: _JSGLogger.getInstance.bind(_JSGLogger),
|
|
12150
|
+
logPerformance: _JSGLogger.logPerformance.bind(_JSGLogger),
|
|
12151
|
+
JSGLogger: _JSGLogger
|
|
12152
|
+
};
|
|
12153
|
+
}
|
|
12000
12154
|
if (!_JSGLogger._instance) {
|
|
12001
12155
|
_JSGLogger._instance = new _JSGLogger();
|
|
12002
12156
|
_JSGLogger._enhancedLoggers = _JSGLogger._instance.initSync(options);
|
|
12003
|
-
|
|
12004
|
-
|
|
12157
|
+
if (isBrowser() && typeof window !== "undefined" && ((_b = _JSGLogger._enhancedLoggers) == null ? void 0 : _b.controls)) {
|
|
12158
|
+
window.JSG_Logger = _JSGLogger._enhancedLoggers.controls;
|
|
12159
|
+
window.__JSG_Logger_Enhanced__ = _JSGLogger._enhancedLoggers;
|
|
12160
|
+
}
|
|
12005
12161
|
}
|
|
12006
12162
|
return _JSGLogger._enhancedLoggers;
|
|
12007
12163
|
}
|
|
@@ -12013,6 +12169,9 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12013
12169
|
async init(options = {}) {
|
|
12014
12170
|
var _a2;
|
|
12015
12171
|
try {
|
|
12172
|
+
const isReinit = this.initialized;
|
|
12173
|
+
const globalInitFlag = typeof window !== "undefined" ? window.__JSG_LOGGER_INITIALIZED__ = window.__JSG_LOGGER_INITIALIZED__ || false : false;
|
|
12174
|
+
const shouldLogInit = !_JSGLogger._hasLoggedInitialization && !globalInitFlag && !isReinit;
|
|
12016
12175
|
metaLog("[JSG-LOGGER] Initializing logger...", options.configPath ? `configPath: ${options.configPath}` : options.config ? "inline config provided" : "using defaults");
|
|
12017
12176
|
if (options.configPath || options.config) {
|
|
12018
12177
|
await configManager.loadConfig(options.configPath || options.config);
|
|
@@ -12030,14 +12189,20 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12030
12189
|
this.addUtilityMethods();
|
|
12031
12190
|
this._createAutoDiscoveryGetters();
|
|
12032
12191
|
this.initialized = true;
|
|
12033
|
-
|
|
12192
|
+
const finalCheck = shouldLogInit && !_JSGLogger._hasLoggedInitialization && !(typeof window !== "undefined" && window.__JSG_LOGGER_INITIALIZED__) && this.loggers.core;
|
|
12193
|
+
if (finalCheck) {
|
|
12034
12194
|
this.loggers.core.info("JSG Logger initialized", {
|
|
12195
|
+
version: packageJson.version,
|
|
12035
12196
|
environment: this.environment,
|
|
12036
12197
|
components: components2.length,
|
|
12037
12198
|
projectName: configManager.getProjectName(),
|
|
12038
12199
|
configPaths: configManager.loadedPaths,
|
|
12039
12200
|
fileOverrides: Object.keys(configManager.config.fileOverrides || {}).length
|
|
12040
12201
|
});
|
|
12202
|
+
_JSGLogger._hasLoggedInitialization = true;
|
|
12203
|
+
if (typeof window !== "undefined") {
|
|
12204
|
+
window.__JSG_LOGGER_INITIALIZED__ = true;
|
|
12205
|
+
}
|
|
12041
12206
|
}
|
|
12042
12207
|
return this.getLoggerExports();
|
|
12043
12208
|
} catch (error) {
|
|
@@ -12057,6 +12222,17 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12057
12222
|
initSync(options = {}) {
|
|
12058
12223
|
var _a2;
|
|
12059
12224
|
try {
|
|
12225
|
+
const isReinit = this.initialized;
|
|
12226
|
+
const globalInitFlag = typeof window !== "undefined" ? window.__JSG_LOGGER_INITIALIZED__ = window.__JSG_LOGGER_INITIALIZED__ || false : false;
|
|
12227
|
+
if (!isReinit && _JSGLogger._initLock) {
|
|
12228
|
+
if (_JSGLogger._enhancedLoggers) {
|
|
12229
|
+
return _JSGLogger._enhancedLoggers;
|
|
12230
|
+
}
|
|
12231
|
+
}
|
|
12232
|
+
if (!isReinit && !_JSGLogger._hasLoggedInitialization && !globalInitFlag) {
|
|
12233
|
+
_JSGLogger._initLock = true;
|
|
12234
|
+
}
|
|
12235
|
+
const shouldLogInit = !_JSGLogger._hasLoggedInitialization && !globalInitFlag && !isReinit;
|
|
12060
12236
|
if (options && Object.keys(options).length > 0) {
|
|
12061
12237
|
configManager.config = { ...defaultConfig };
|
|
12062
12238
|
const normalizedOptions = configManager._normalizeConfigStructure(options);
|
|
@@ -12069,21 +12245,43 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12069
12245
|
this.loggers = {};
|
|
12070
12246
|
this.components = {};
|
|
12071
12247
|
const components2 = configManager.getAvailableComponents();
|
|
12248
|
+
if (components2.length > 0) {
|
|
12249
|
+
console.log(`[JSG-LOGGER] Creating ${components2.length} loggers during initSync:`, components2);
|
|
12250
|
+
}
|
|
12072
12251
|
components2.forEach((componentName) => {
|
|
12073
12252
|
const createFn = this._createLoggerOriginal || this.createLogger.bind(this);
|
|
12074
12253
|
this.loggers[componentName] = createFn(componentName);
|
|
12075
12254
|
});
|
|
12076
12255
|
this.addUtilityMethods();
|
|
12077
12256
|
this._createAutoDiscoveryGetters();
|
|
12257
|
+
if (this.componentSubscribers.length > 0) {
|
|
12258
|
+
const currentComponents = Object.keys(this.loggers);
|
|
12259
|
+
this.componentSubscribers.forEach((callback) => {
|
|
12260
|
+
try {
|
|
12261
|
+
callback(currentComponents);
|
|
12262
|
+
} catch (error) {
|
|
12263
|
+
console.error("Component subscriber error:", error);
|
|
12264
|
+
}
|
|
12265
|
+
});
|
|
12266
|
+
}
|
|
12078
12267
|
this.initialized = true;
|
|
12079
|
-
|
|
12268
|
+
const finalCheck = shouldLogInit && !_JSGLogger._hasLoggedInitialization && !(typeof window !== "undefined" && window.__JSG_LOGGER_INITIALIZED__) && this.loggers.core;
|
|
12269
|
+
if (finalCheck) {
|
|
12080
12270
|
this.loggers.core.info("JSG Logger initialized (sync)", {
|
|
12271
|
+
version: packageJson.version,
|
|
12081
12272
|
environment: this.environment,
|
|
12082
12273
|
components: components2.length,
|
|
12083
12274
|
projectName: configManager.getProjectName(),
|
|
12084
12275
|
fileOverrides: Object.keys(configManager.config.fileOverrides || {}).length,
|
|
12085
12276
|
timestampMode: configManager.getTimestampMode()
|
|
12086
12277
|
});
|
|
12278
|
+
_JSGLogger._hasLoggedInitialization = true;
|
|
12279
|
+
if (typeof window !== "undefined") {
|
|
12280
|
+
window.__JSG_LOGGER_INITIALIZED__ = true;
|
|
12281
|
+
}
|
|
12282
|
+
}
|
|
12283
|
+
if (_JSGLogger._initLock) {
|
|
12284
|
+
_JSGLogger._initLock = false;
|
|
12087
12285
|
}
|
|
12088
12286
|
return this.getLoggerExports();
|
|
12089
12287
|
} catch (error) {
|
|
@@ -12225,7 +12423,22 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12225
12423
|
return (_a2 = this.loggers[component]) == null ? void 0 : _a2._effectiveLevel;
|
|
12226
12424
|
},
|
|
12227
12425
|
// Component controls
|
|
12228
|
-
listComponents: () =>
|
|
12426
|
+
listComponents: () => Object.keys(this.loggers),
|
|
12427
|
+
subscribeToComponents: (callback) => {
|
|
12428
|
+
this.componentSubscribers.push(callback);
|
|
12429
|
+
const currentComponents = Object.keys(this.loggers);
|
|
12430
|
+
try {
|
|
12431
|
+
callback(currentComponents);
|
|
12432
|
+
} catch (error) {
|
|
12433
|
+
console.error("Component subscriber error (initial call):", error);
|
|
12434
|
+
}
|
|
12435
|
+
return () => {
|
|
12436
|
+
const index = this.componentSubscribers.indexOf(callback);
|
|
12437
|
+
if (index > -1) {
|
|
12438
|
+
this.componentSubscribers.splice(index, 1);
|
|
12439
|
+
}
|
|
12440
|
+
};
|
|
12441
|
+
},
|
|
12229
12442
|
enableDebugMode: () => {
|
|
12230
12443
|
Object.keys(this.loggers).forEach((component) => {
|
|
12231
12444
|
if (this.loggers[component]) {
|
|
@@ -12297,6 +12510,8 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12297
12510
|
var _a2, _b;
|
|
12298
12511
|
return (_b = (_a2 = configManager.config.components) == null ? void 0 : _a2[component]) == null ? void 0 : _b.level;
|
|
12299
12512
|
},
|
|
12513
|
+
// Component logger access
|
|
12514
|
+
getComponent: (componentName) => this.getComponent(componentName),
|
|
12300
12515
|
// DevTools panel controls
|
|
12301
12516
|
enableDevPanel: async () => {
|
|
12302
12517
|
var _a2;
|
|
@@ -12320,7 +12535,7 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12320
12535
|
devtoolsModule = await devtoolsModulePromise;
|
|
12321
12536
|
} else {
|
|
12322
12537
|
devtoolsLogger.info("Loading DevTools module dynamically (runtime config override)...");
|
|
12323
|
-
devtoolsModule = await import("./panel-entry-
|
|
12538
|
+
devtoolsModule = await import("./panel-entry-B2MhZ3gp.js");
|
|
12324
12539
|
}
|
|
12325
12540
|
} else {
|
|
12326
12541
|
devtoolsLogger.info("Using pre-loaded DevTools module");
|
|
@@ -12451,11 +12666,11 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12451
12666
|
*/
|
|
12452
12667
|
_createAutoDiscoveryGetters() {
|
|
12453
12668
|
this.components = {};
|
|
12454
|
-
Object.keys(this.loggers).forEach((
|
|
12455
|
-
this.components[
|
|
12456
|
-
const camelName =
|
|
12457
|
-
if (camelName !==
|
|
12458
|
-
this.components[camelName] = () => this.getComponent(
|
|
12669
|
+
Object.keys(this.loggers).forEach((name2) => {
|
|
12670
|
+
this.components[name2] = () => this.getComponent(name2);
|
|
12671
|
+
const camelName = name2.replace(/-([a-z])/g, (match, letter) => letter.toUpperCase());
|
|
12672
|
+
if (camelName !== name2) {
|
|
12673
|
+
this.components[camelName] = () => this.getComponent(name2);
|
|
12459
12674
|
}
|
|
12460
12675
|
});
|
|
12461
12676
|
}
|
|
@@ -12480,6 +12695,23 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12480
12695
|
if (camelName !== componentName) {
|
|
12481
12696
|
this.components[camelName] = () => this.getComponent(componentName);
|
|
12482
12697
|
}
|
|
12698
|
+
const currentComponents = Object.keys(this.loggers);
|
|
12699
|
+
if (this.componentSubscribers.length > 0) {
|
|
12700
|
+
if (this.loggers.core) {
|
|
12701
|
+
this.loggers.core.debug(`Notifying ${this.componentSubscribers.length} subscribers of component change`, {
|
|
12702
|
+
component: componentName,
|
|
12703
|
+
totalComponents: currentComponents.length,
|
|
12704
|
+
components: currentComponents
|
|
12705
|
+
});
|
|
12706
|
+
}
|
|
12707
|
+
}
|
|
12708
|
+
this.componentSubscribers.forEach((callback) => {
|
|
12709
|
+
try {
|
|
12710
|
+
callback(currentComponents);
|
|
12711
|
+
} catch (error) {
|
|
12712
|
+
console.error("Component subscriber error:", error);
|
|
12713
|
+
}
|
|
12714
|
+
});
|
|
12483
12715
|
}
|
|
12484
12716
|
return this.loggers[componentName];
|
|
12485
12717
|
}
|
|
@@ -12529,21 +12761,28 @@ const _JSGLogger = class _JSGLogger {
|
|
|
12529
12761
|
}
|
|
12530
12762
|
/**
|
|
12531
12763
|
* Get singleton controls without triggering initialization
|
|
12764
|
+
* Checks window.JSG_Logger first to ensure singleton works across separate bundles
|
|
12532
12765
|
* Returns the controls object from the current singleton instance if it exists
|
|
12533
12766
|
* @returns {Object|null} Controls object or null if singleton not initialized
|
|
12534
12767
|
*/
|
|
12535
12768
|
static getControls() {
|
|
12536
12769
|
var _a2;
|
|
12770
|
+
if (isBrowser() && typeof window !== "undefined" && window.JSG_Logger) {
|
|
12771
|
+
return window.JSG_Logger;
|
|
12772
|
+
}
|
|
12537
12773
|
return ((_a2 = _JSGLogger._enhancedLoggers) == null ? void 0 : _a2.controls) || null;
|
|
12538
12774
|
}
|
|
12539
12775
|
};
|
|
12540
12776
|
// Static singleton instance
|
|
12541
12777
|
__publicField(_JSGLogger, "_instance", null);
|
|
12542
12778
|
__publicField(_JSGLogger, "_enhancedLoggers", null);
|
|
12779
|
+
__publicField(_JSGLogger, "_hasLoggedInitialization", false);
|
|
12780
|
+
__publicField(_JSGLogger, "_initLock", false);
|
|
12543
12781
|
let JSGLogger = _JSGLogger;
|
|
12544
12782
|
const enhancedLoggers = JSGLogger.getInstanceSync();
|
|
12545
12783
|
if (isBrowser() && typeof window !== "undefined") {
|
|
12546
12784
|
window.JSG_Logger = enhancedLoggers.controls;
|
|
12785
|
+
window.__JSG_Logger_Enhanced__ = enhancedLoggers;
|
|
12547
12786
|
}
|
|
12548
12787
|
enhancedLoggers.getInstance = JSGLogger.getInstance;
|
|
12549
12788
|
enhancedLoggers.getInstanceSync = JSGLogger.getInstanceSync;
|
|
@@ -13202,9 +13441,11 @@ function DevToolsPanel({ loggerControls, onUnmount }) {
|
|
|
13202
13441
|
const [components2, setComponents] = d([]);
|
|
13203
13442
|
const [loggerStats, setLoggerStats] = d({ total: 0 });
|
|
13204
13443
|
y(() => {
|
|
13205
|
-
var _a2, _b, _c;
|
|
13444
|
+
var _a2, _b, _c, _d;
|
|
13206
13445
|
if (loggerControls) {
|
|
13207
13446
|
const componentList = ((_a2 = loggerControls.listComponents) == null ? void 0 : _a2.call(loggerControls)) || [];
|
|
13447
|
+
const devtoolsLogger = getDevToolsLogger$1();
|
|
13448
|
+
devtoolsLogger.info("📋 Initial component list read", { componentCount: componentList.length, components: componentList });
|
|
13208
13449
|
setComponents(componentList);
|
|
13209
13450
|
const stats = ((_b = loggerControls.getStats) == null ? void 0 : _b.call(loggerControls)) || { total: 0 };
|
|
13210
13451
|
setLoggerStats(stats);
|
|
@@ -13213,8 +13454,28 @@ function DevToolsPanel({ loggerControls, onUnmount }) {
|
|
|
13213
13454
|
const updatedStats = ((_a3 = loggerControls.getStats) == null ? void 0 : _a3.call(loggerControls)) || { total: 0 };
|
|
13214
13455
|
setLoggerStats(updatedStats);
|
|
13215
13456
|
});
|
|
13457
|
+
const unsubscribeComponents = (_d = loggerControls.subscribeToComponents) == null ? void 0 : _d.call(loggerControls, (newComponents) => {
|
|
13458
|
+
const devtoolsLogger2 = getDevToolsLogger$1();
|
|
13459
|
+
devtoolsLogger2.info("✅ Component list updated via subscription", { componentCount: newComponents.length, components: newComponents });
|
|
13460
|
+
setComponents(newComponents);
|
|
13461
|
+
});
|
|
13462
|
+
let timeoutId;
|
|
13463
|
+
if (!loggerControls.subscribeToComponents) {
|
|
13464
|
+
const devtoolsLogger2 = getDevToolsLogger$1();
|
|
13465
|
+
devtoolsLogger2.warn("⚠️ subscribeToComponents not available, using timeout fallback");
|
|
13466
|
+
timeoutId = setTimeout(() => {
|
|
13467
|
+
var _a3;
|
|
13468
|
+
const updated = ((_a3 = loggerControls.listComponents) == null ? void 0 : _a3.call(loggerControls)) || [];
|
|
13469
|
+
setComponents(updated);
|
|
13470
|
+
}, 100);
|
|
13471
|
+
} else {
|
|
13472
|
+
const devtoolsLogger2 = getDevToolsLogger$1();
|
|
13473
|
+
devtoolsLogger2.info("✅ Component subscription active - real-time updates enabled");
|
|
13474
|
+
}
|
|
13216
13475
|
return () => {
|
|
13217
13476
|
if (unsubscribe) unsubscribe();
|
|
13477
|
+
if (unsubscribeComponents) unsubscribeComponents();
|
|
13478
|
+
if (timeoutId) clearTimeout(timeoutId);
|
|
13218
13479
|
};
|
|
13219
13480
|
}
|
|
13220
13481
|
}, [loggerControls]);
|
|
@@ -13567,10 +13828,6 @@ const getDevToolsLogger = () => {
|
|
|
13567
13828
|
if (instance == null ? void 0 : instance.getComponent) {
|
|
13568
13829
|
return instance.getComponent("devtools-ui");
|
|
13569
13830
|
}
|
|
13570
|
-
const windowLogger = typeof window !== "undefined" ? window.JSG_Logger : null;
|
|
13571
|
-
if (windowLogger == null ? void 0 : windowLogger.getComponent) {
|
|
13572
|
-
return windowLogger.getComponent("devtools-ui");
|
|
13573
|
-
}
|
|
13574
13831
|
return {
|
|
13575
13832
|
info: console.log.bind(console, "[JSG-DEVTOOLS]"),
|
|
13576
13833
|
warn: console.warn.bind(console, "[JSG-DEVTOOLS]"),
|
|
@@ -13610,8 +13867,7 @@ function initializePanel() {
|
|
|
13610
13867
|
devtoolsLogger.info("Initializing DevTools panel");
|
|
13611
13868
|
devtoolsLogger.info("theme.colors exists?", !!(devToolsTheme == null ? void 0 : devToolsTheme.colors));
|
|
13612
13869
|
try {
|
|
13613
|
-
const
|
|
13614
|
-
const controls = loggerControls || (typeof window !== "undefined" ? window.JSG_Logger : null);
|
|
13870
|
+
const controls = JSGLogger.getControls();
|
|
13615
13871
|
if (!controls) {
|
|
13616
13872
|
devtoolsLogger.warn("JSG Logger not found. Make sure logger is initialized.");
|
|
13617
13873
|
return null;
|