@fayz-ai/core 0.1.7 → 0.2.0
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/LICENSE +21 -0
- package/dist/{chunk-EGWWQ7AT.cjs → chunk-5X2VX3RQ.cjs} +15 -4
- package/dist/chunk-5X2VX3RQ.cjs.map +1 -0
- package/dist/{chunk-YSBXGHAM.js → chunk-ATLZ3SGJ.js} +20 -11
- package/dist/chunk-ATLZ3SGJ.js.map +1 -0
- package/dist/{chunk-KAYQFSR6.js → chunk-CHGX6UYR.js} +15 -5
- package/dist/chunk-CHGX6UYR.js.map +1 -0
- package/dist/chunk-EKOH5PRX.js +33 -0
- package/dist/chunk-EKOH5PRX.js.map +1 -0
- package/dist/{chunk-SNQW6TRF.cjs → chunk-ILPJFUU6.cjs} +20 -11
- package/dist/chunk-ILPJFUU6.cjs.map +1 -0
- package/dist/chunk-MTDQDB7M.cjs +81 -0
- package/dist/chunk-MTDQDB7M.cjs.map +1 -0
- package/dist/chunk-NE4GLVVT.js +77 -0
- package/dist/chunk-NE4GLVVT.js.map +1 -0
- package/dist/chunk-OHRATZZH.cjs +35 -0
- package/dist/chunk-OHRATZZH.cjs.map +1 -0
- package/dist/{chunk-5EAZOMVP.js → chunk-QWUGGF2B.js} +30 -2
- package/dist/chunk-QWUGGF2B.js.map +1 -0
- package/dist/{chunk-LSVBDYFQ.cjs → chunk-VXEXM6IY.cjs} +30 -2
- package/dist/chunk-VXEXM6IY.cjs.map +1 -0
- package/dist/data/archetype.d.ts.map +1 -1
- package/dist/data/index.cjs +7 -7
- package/dist/data/index.js +1 -1
- package/dist/i18n/index.cjs +10 -10
- package/dist/i18n/index.d.ts.map +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/shell-translations.d.ts.map +1 -1
- package/dist/index.cjs +134 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +8 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +50 -8
- package/dist/index.js.map +1 -1
- package/dist/integrations/index.cjs +12 -0
- package/dist/integrations/index.cjs.map +1 -0
- package/dist/integrations/index.d.ts +119 -0
- package/dist/integrations/index.d.ts.map +1 -0
- package/dist/integrations/index.js +3 -0
- package/dist/integrations/index.js.map +1 -0
- package/dist/plugin/index.cjs +7 -7
- package/dist/plugin/index.js +1 -1
- package/dist/plugin/runtime.d.ts +3 -0
- package/dist/plugin/runtime.d.ts.map +1 -1
- package/dist/router/history.d.ts +41 -0
- package/dist/router/history.d.ts.map +1 -0
- package/dist/testing/index.cjs +20 -0
- package/dist/testing/index.cjs.map +1 -0
- package/dist/testing/index.d.ts +19 -0
- package/dist/testing/index.d.ts.map +1 -0
- package/dist/testing/index.js +3 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/types/crud.d.ts +24 -1
- package/dist/types/crud.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/plugins.d.ts +72 -1
- package/dist/types/plugins.d.ts.map +1 -1
- package/package.json +14 -2
- package/src/i18n/index.ts +24 -0
- package/src/i18n/shell-translations.ts +4 -0
- package/src/index.ts +32 -3
- package/src/integrations/index.ts +170 -0
- package/src/manifest/index.ts +1 -1
- package/src/plugin/runtime.ts +16 -2
- package/src/router/history.ts +86 -0
- package/src/testing/index.ts +116 -0
- package/src/types/crud.ts +25 -0
- package/src/types/index.ts +2 -2
- package/src/types/plugins.ts +75 -1
- package/dist/chunk-5EAZOMVP.js.map +0 -1
- package/dist/chunk-EGWWQ7AT.cjs.map +0 -1
- package/dist/chunk-KAYQFSR6.js.map +0 -1
- package/dist/chunk-LSVBDYFQ.cjs.map +0 -1
- package/dist/chunk-SNQW6TRF.cjs.map +0 -1
- package/dist/chunk-YSBXGHAM.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkOHRATZZH_cjs = require('./chunk-OHRATZZH.cjs');
|
|
4
|
+
var chunkMTDQDB7M_cjs = require('./chunk-MTDQDB7M.cjs');
|
|
5
|
+
var chunkILPJFUU6_cjs = require('./chunk-ILPJFUU6.cjs');
|
|
4
6
|
var chunk2NTHNWEH_cjs = require('./chunk-2NTHNWEH.cjs');
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
+
var chunk5X2VX3RQ_cjs = require('./chunk-5X2VX3RQ.cjs');
|
|
8
|
+
var chunkVXEXM6IY_cjs = require('./chunk-VXEXM6IY.cjs');
|
|
7
9
|
var chunkAXTWKF5X_cjs = require('./chunk-AXTWKF5X.cjs');
|
|
8
10
|
var chunk5TKIZVVJ_cjs = require('./chunk-5TKIZVVJ.cjs');
|
|
9
11
|
var React2 = require('react');
|
|
12
|
+
var zustand = require('zustand');
|
|
10
13
|
|
|
11
14
|
function _interopNamespace(e) {
|
|
12
15
|
if (e && e.__esModule) return e;
|
|
@@ -46,7 +49,7 @@ function createSafeDataProvider(makeSupabase, makeMock) {
|
|
|
46
49
|
let resolved = null;
|
|
47
50
|
const get = () => {
|
|
48
51
|
if (!resolved) {
|
|
49
|
-
resolved =
|
|
52
|
+
resolved = chunkILPJFUU6_cjs.getSupabaseClientOptional() ? makeSupabase() : makeMock();
|
|
50
53
|
}
|
|
51
54
|
return resolved;
|
|
52
55
|
};
|
|
@@ -70,7 +73,7 @@ function setDefaultCurrency(code) {
|
|
|
70
73
|
}
|
|
71
74
|
function getActiveLocale() {
|
|
72
75
|
try {
|
|
73
|
-
return
|
|
76
|
+
return chunkVXEXM6IY_cjs.getCurrentLocale() || "en";
|
|
74
77
|
} catch {
|
|
75
78
|
return "en";
|
|
76
79
|
}
|
|
@@ -203,7 +206,7 @@ function UnknownBlock({ type }) {
|
|
|
203
206
|
);
|
|
204
207
|
}
|
|
205
208
|
function BlockRenderer({ node }) {
|
|
206
|
-
const Comp =
|
|
209
|
+
const Comp = chunk5X2VX3RQ_cjs.getBlock(node.type);
|
|
207
210
|
const childEls = node.children?.length ? node.children.map(
|
|
208
211
|
(child, i) => React2__namespace.createElement(BlockRenderer, { key: child.id ?? `${child.type}-${i}`, node: child })
|
|
209
212
|
) : null;
|
|
@@ -252,7 +255,7 @@ function migrateManifest(input) {
|
|
|
252
255
|
let version = typeof m.manifestVersion === "number" ? m.manifestVersion : 1;
|
|
253
256
|
if (version > CURRENT_MANIFEST_VERSION) {
|
|
254
257
|
throw new Error(
|
|
255
|
-
`Manifest version ${version} is newer than this SDK supports (${CURRENT_MANIFEST_VERSION}). Upgrade @fayz-ai/
|
|
258
|
+
`Manifest version ${version} is newer than this SDK supports (${CURRENT_MANIFEST_VERSION}). Upgrade @fayz-ai/core.`
|
|
256
259
|
);
|
|
257
260
|
}
|
|
258
261
|
while (version < CURRENT_MANIFEST_VERSION) {
|
|
@@ -597,7 +600,7 @@ function renderApp(input, opts = {}) {
|
|
|
597
600
|
if (!surface) {
|
|
598
601
|
throw new Error(`Surface "${surfaceName}" not found in manifest.`);
|
|
599
602
|
}
|
|
600
|
-
const Scaffold =
|
|
603
|
+
const Scaffold = chunk5X2VX3RQ_cjs.getScaffold(surface.scaffold);
|
|
601
604
|
if (!Scaffold) {
|
|
602
605
|
throw new Error(
|
|
603
606
|
`Scaffold "${surface.scaffold}" is not registered. Import the package that provides it (e.g. @fayz-ai/saas or @fayz-ai/shop) before calling renderApp.`
|
|
@@ -609,62 +612,117 @@ function renderApp(input, opts = {}) {
|
|
|
609
612
|
React2__namespace.createElement(Scaffold, { manifest, surface: surfaceName })
|
|
610
613
|
);
|
|
611
614
|
}
|
|
615
|
+
var MAX_ENTRIES = 20;
|
|
616
|
+
var useNavHistoryStore = zustand.create((set) => ({
|
|
617
|
+
stack: [],
|
|
618
|
+
record: (entry) => set((s) => {
|
|
619
|
+
const top = s.stack[s.stack.length - 1];
|
|
620
|
+
if (top && top.path === entry.path) {
|
|
621
|
+
if (top.label === entry.label) return s;
|
|
622
|
+
const next2 = s.stack.slice();
|
|
623
|
+
next2[next2.length - 1] = entry;
|
|
624
|
+
return { stack: next2 };
|
|
625
|
+
}
|
|
626
|
+
const next = [...s.stack, entry];
|
|
627
|
+
return { stack: next.length > MAX_ENTRIES ? next.slice(-MAX_ENTRIES) : next };
|
|
628
|
+
})
|
|
629
|
+
}));
|
|
630
|
+
function recordNavigation(path, label) {
|
|
631
|
+
useNavHistoryStore.getState().record({ path, label });
|
|
632
|
+
}
|
|
633
|
+
if (typeof window !== "undefined") {
|
|
634
|
+
window.__navHistory = useNavHistoryStore;
|
|
635
|
+
}
|
|
636
|
+
function useNavReferrer(currentPath) {
|
|
637
|
+
return useNavHistoryStore((s) => {
|
|
638
|
+
for (let i = s.stack.length - 1; i >= 0; i--) {
|
|
639
|
+
if (s.stack[i].path !== currentPath) return s.stack[i];
|
|
640
|
+
}
|
|
641
|
+
return null;
|
|
642
|
+
});
|
|
643
|
+
}
|
|
644
|
+
function navHistoryBack(fallback) {
|
|
645
|
+
if (useNavHistoryStore.getState().stack.length >= 2) {
|
|
646
|
+
window.history.back();
|
|
647
|
+
} else {
|
|
648
|
+
fallback?.();
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
function routeModule(path) {
|
|
652
|
+
return path.replace(/^\/+/, "").split("/")[0] ?? "";
|
|
653
|
+
}
|
|
612
654
|
|
|
655
|
+
Object.defineProperty(exports, "withAfterHooks", {
|
|
656
|
+
enumerable: true,
|
|
657
|
+
get: function () { return chunkOHRATZZH_cjs.withAfterHooks; }
|
|
658
|
+
});
|
|
659
|
+
Object.defineProperty(exports, "PluginContractError", {
|
|
660
|
+
enumerable: true,
|
|
661
|
+
get: function () { return chunkMTDQDB7M_cjs.PluginContractError; }
|
|
662
|
+
});
|
|
663
|
+
Object.defineProperty(exports, "assertConnectorContract", {
|
|
664
|
+
enumerable: true,
|
|
665
|
+
get: function () { return chunkMTDQDB7M_cjs.assertConnectorContract; }
|
|
666
|
+
});
|
|
667
|
+
Object.defineProperty(exports, "assertPluginManifestContract", {
|
|
668
|
+
enumerable: true,
|
|
669
|
+
get: function () { return chunkMTDQDB7M_cjs.assertPluginManifestContract; }
|
|
670
|
+
});
|
|
613
671
|
Object.defineProperty(exports, "clearGlobalCache", {
|
|
614
672
|
enumerable: true,
|
|
615
|
-
get: function () { return
|
|
673
|
+
get: function () { return chunkILPJFUU6_cjs.clearGlobalCache; }
|
|
616
674
|
});
|
|
617
675
|
Object.defineProperty(exports, "createArchetypeProvider", {
|
|
618
676
|
enumerable: true,
|
|
619
|
-
get: function () { return
|
|
677
|
+
get: function () { return chunkILPJFUU6_cjs.createArchetypeProvider; }
|
|
620
678
|
});
|
|
621
679
|
Object.defineProperty(exports, "createCacheStore", {
|
|
622
680
|
enumerable: true,
|
|
623
|
-
get: function () { return
|
|
681
|
+
get: function () { return chunkILPJFUU6_cjs.createCacheStore; }
|
|
624
682
|
});
|
|
625
683
|
Object.defineProperty(exports, "createFayzApiProvider", {
|
|
626
684
|
enumerable: true,
|
|
627
|
-
get: function () { return
|
|
685
|
+
get: function () { return chunkILPJFUU6_cjs.createFayzApiProvider; }
|
|
628
686
|
});
|
|
629
687
|
Object.defineProperty(exports, "createMockProvider", {
|
|
630
688
|
enumerable: true,
|
|
631
|
-
get: function () { return
|
|
689
|
+
get: function () { return chunkILPJFUU6_cjs.createMockProvider; }
|
|
632
690
|
});
|
|
633
691
|
Object.defineProperty(exports, "createSupabaseProvider", {
|
|
634
692
|
enumerable: true,
|
|
635
|
-
get: function () { return
|
|
693
|
+
get: function () { return chunkILPJFUU6_cjs.createSupabaseProvider; }
|
|
636
694
|
});
|
|
637
695
|
Object.defineProperty(exports, "getActiveTenantId", {
|
|
638
696
|
enumerable: true,
|
|
639
|
-
get: function () { return
|
|
697
|
+
get: function () { return chunkILPJFUU6_cjs.getActiveTenantId; }
|
|
640
698
|
});
|
|
641
699
|
Object.defineProperty(exports, "getSupabaseClientOptional", {
|
|
642
700
|
enumerable: true,
|
|
643
|
-
get: function () { return
|
|
701
|
+
get: function () { return chunkILPJFUU6_cjs.getSupabaseClientOptional; }
|
|
644
702
|
});
|
|
645
703
|
Object.defineProperty(exports, "globalCache", {
|
|
646
704
|
enumerable: true,
|
|
647
|
-
get: function () { return
|
|
705
|
+
get: function () { return chunkILPJFUU6_cjs.globalCache; }
|
|
648
706
|
});
|
|
649
707
|
Object.defineProperty(exports, "resolveDataProvider", {
|
|
650
708
|
enumerable: true,
|
|
651
|
-
get: function () { return
|
|
709
|
+
get: function () { return chunkILPJFUU6_cjs.resolveDataProvider; }
|
|
652
710
|
});
|
|
653
711
|
Object.defineProperty(exports, "setActiveTenantId", {
|
|
654
712
|
enumerable: true,
|
|
655
|
-
get: function () { return
|
|
713
|
+
get: function () { return chunkILPJFUU6_cjs.setActiveTenantId; }
|
|
656
714
|
});
|
|
657
715
|
Object.defineProperty(exports, "setGlobalSupabaseClient", {
|
|
658
716
|
enumerable: true,
|
|
659
|
-
get: function () { return
|
|
717
|
+
get: function () { return chunkILPJFUU6_cjs.setGlobalSupabaseClient; }
|
|
660
718
|
});
|
|
661
719
|
Object.defineProperty(exports, "stableKey", {
|
|
662
720
|
enumerable: true,
|
|
663
|
-
get: function () { return
|
|
721
|
+
get: function () { return chunkILPJFUU6_cjs.stableKey; }
|
|
664
722
|
});
|
|
665
723
|
Object.defineProperty(exports, "withCache", {
|
|
666
724
|
enumerable: true,
|
|
667
|
-
get: function () { return
|
|
725
|
+
get: function () { return chunkILPJFUU6_cjs.withCache; }
|
|
668
726
|
});
|
|
669
727
|
Object.defineProperty(exports, "clearEntityRegistry", {
|
|
670
728
|
enumerable: true,
|
|
@@ -688,183 +746,187 @@ Object.defineProperty(exports, "registerEntity", {
|
|
|
688
746
|
});
|
|
689
747
|
Object.defineProperty(exports, "PLUGIN_API_VERSION", {
|
|
690
748
|
enumerable: true,
|
|
691
|
-
get: function () { return
|
|
749
|
+
get: function () { return chunk5X2VX3RQ_cjs.PLUGIN_API_VERSION; }
|
|
692
750
|
});
|
|
693
751
|
Object.defineProperty(exports, "PluginRuntimeProvider", {
|
|
694
752
|
enumerable: true,
|
|
695
|
-
get: function () { return
|
|
753
|
+
get: function () { return chunk5X2VX3RQ_cjs.PluginRuntimeProvider; }
|
|
696
754
|
});
|
|
697
755
|
Object.defineProperty(exports, "Registry", {
|
|
698
756
|
enumerable: true,
|
|
699
|
-
get: function () { return
|
|
757
|
+
get: function () { return chunk5X2VX3RQ_cjs.Registry; }
|
|
700
758
|
});
|
|
701
759
|
Object.defineProperty(exports, "blockRegistry", {
|
|
702
760
|
enumerable: true,
|
|
703
|
-
get: function () { return
|
|
761
|
+
get: function () { return chunk5X2VX3RQ_cjs.blockRegistry; }
|
|
704
762
|
});
|
|
705
763
|
Object.defineProperty(exports, "componentRegistry", {
|
|
706
764
|
enumerable: true,
|
|
707
|
-
get: function () { return
|
|
765
|
+
get: function () { return chunk5X2VX3RQ_cjs.componentRegistry; }
|
|
708
766
|
});
|
|
709
767
|
Object.defineProperty(exports, "definePlugin", {
|
|
710
768
|
enumerable: true,
|
|
711
|
-
get: function () { return
|
|
769
|
+
get: function () { return chunk5X2VX3RQ_cjs.definePlugin; }
|
|
712
770
|
});
|
|
713
771
|
Object.defineProperty(exports, "getBlock", {
|
|
714
772
|
enumerable: true,
|
|
715
|
-
get: function () { return
|
|
773
|
+
get: function () { return chunk5X2VX3RQ_cjs.getBlock; }
|
|
716
774
|
});
|
|
717
775
|
Object.defineProperty(exports, "getComponent", {
|
|
718
776
|
enumerable: true,
|
|
719
|
-
get: function () { return
|
|
777
|
+
get: function () { return chunk5X2VX3RQ_cjs.getComponent; }
|
|
720
778
|
});
|
|
721
779
|
Object.defineProperty(exports, "getDashboardWidgets", {
|
|
722
780
|
enumerable: true,
|
|
723
|
-
get: function () { return
|
|
781
|
+
get: function () { return chunk5X2VX3RQ_cjs.getDashboardWidgets; }
|
|
724
782
|
});
|
|
725
783
|
Object.defineProperty(exports, "getMetric", {
|
|
726
784
|
enumerable: true,
|
|
727
|
-
get: function () { return
|
|
785
|
+
get: function () { return chunk5X2VX3RQ_cjs.getMetric; }
|
|
728
786
|
});
|
|
729
787
|
Object.defineProperty(exports, "getPage", {
|
|
730
788
|
enumerable: true,
|
|
731
|
-
get: function () { return
|
|
789
|
+
get: function () { return chunk5X2VX3RQ_cjs.getPage; }
|
|
732
790
|
});
|
|
733
791
|
Object.defineProperty(exports, "getPlugin", {
|
|
734
792
|
enumerable: true,
|
|
735
|
-
get: function () { return
|
|
793
|
+
get: function () { return chunk5X2VX3RQ_cjs.getPlugin; }
|
|
736
794
|
});
|
|
737
795
|
Object.defineProperty(exports, "getPluginFactory", {
|
|
738
796
|
enumerable: true,
|
|
739
|
-
get: function () { return
|
|
797
|
+
get: function () { return chunk5X2VX3RQ_cjs.getPluginFactory; }
|
|
740
798
|
});
|
|
741
799
|
Object.defineProperty(exports, "getScaffold", {
|
|
742
800
|
enumerable: true,
|
|
743
|
-
get: function () { return
|
|
801
|
+
get: function () { return chunk5X2VX3RQ_cjs.getScaffold; }
|
|
744
802
|
});
|
|
745
803
|
Object.defineProperty(exports, "getWidgetsForZone", {
|
|
746
804
|
enumerable: true,
|
|
747
|
-
get: function () { return
|
|
805
|
+
get: function () { return chunk5X2VX3RQ_cjs.getWidgetsForZone; }
|
|
748
806
|
});
|
|
749
807
|
Object.defineProperty(exports, "isCustomId", {
|
|
750
808
|
enumerable: true,
|
|
751
|
-
get: function () { return
|
|
809
|
+
get: function () { return chunk5X2VX3RQ_cjs.isCustomId; }
|
|
752
810
|
});
|
|
753
811
|
Object.defineProperty(exports, "listBlocks", {
|
|
754
812
|
enumerable: true,
|
|
755
|
-
get: function () { return
|
|
813
|
+
get: function () { return chunk5X2VX3RQ_cjs.listBlocks; }
|
|
756
814
|
});
|
|
757
815
|
Object.defineProperty(exports, "listMetrics", {
|
|
758
816
|
enumerable: true,
|
|
759
|
-
get: function () { return
|
|
817
|
+
get: function () { return chunk5X2VX3RQ_cjs.listMetrics; }
|
|
760
818
|
});
|
|
761
819
|
Object.defineProperty(exports, "listPluginFactories", {
|
|
762
820
|
enumerable: true,
|
|
763
|
-
get: function () { return
|
|
821
|
+
get: function () { return chunk5X2VX3RQ_cjs.listPluginFactories; }
|
|
764
822
|
});
|
|
765
823
|
Object.defineProperty(exports, "listPlugins", {
|
|
766
824
|
enumerable: true,
|
|
767
|
-
get: function () { return
|
|
825
|
+
get: function () { return chunk5X2VX3RQ_cjs.listPlugins; }
|
|
768
826
|
});
|
|
769
827
|
Object.defineProperty(exports, "metricRegistry", {
|
|
770
828
|
enumerable: true,
|
|
771
|
-
get: function () { return
|
|
829
|
+
get: function () { return chunk5X2VX3RQ_cjs.metricRegistry; }
|
|
772
830
|
});
|
|
773
831
|
Object.defineProperty(exports, "pageRegistry", {
|
|
774
832
|
enumerable: true,
|
|
775
|
-
get: function () { return
|
|
833
|
+
get: function () { return chunk5X2VX3RQ_cjs.pageRegistry; }
|
|
776
834
|
});
|
|
777
835
|
Object.defineProperty(exports, "pluginFactoryRegistry", {
|
|
778
836
|
enumerable: true,
|
|
779
|
-
get: function () { return
|
|
837
|
+
get: function () { return chunk5X2VX3RQ_cjs.pluginFactoryRegistry; }
|
|
780
838
|
});
|
|
781
839
|
Object.defineProperty(exports, "pluginRegistry", {
|
|
782
840
|
enumerable: true,
|
|
783
|
-
get: function () { return
|
|
841
|
+
get: function () { return chunk5X2VX3RQ_cjs.pluginRegistry; }
|
|
784
842
|
});
|
|
785
843
|
Object.defineProperty(exports, "registerBlock", {
|
|
786
844
|
enumerable: true,
|
|
787
|
-
get: function () { return
|
|
845
|
+
get: function () { return chunk5X2VX3RQ_cjs.registerBlock; }
|
|
788
846
|
});
|
|
789
847
|
Object.defineProperty(exports, "registerComponent", {
|
|
790
848
|
enumerable: true,
|
|
791
|
-
get: function () { return
|
|
849
|
+
get: function () { return chunk5X2VX3RQ_cjs.registerComponent; }
|
|
792
850
|
});
|
|
793
851
|
Object.defineProperty(exports, "registerMetric", {
|
|
794
852
|
enumerable: true,
|
|
795
|
-
get: function () { return
|
|
853
|
+
get: function () { return chunk5X2VX3RQ_cjs.registerMetric; }
|
|
796
854
|
});
|
|
797
855
|
Object.defineProperty(exports, "registerPage", {
|
|
798
856
|
enumerable: true,
|
|
799
|
-
get: function () { return
|
|
857
|
+
get: function () { return chunk5X2VX3RQ_cjs.registerPage; }
|
|
800
858
|
});
|
|
801
859
|
Object.defineProperty(exports, "registerPlugin", {
|
|
802
860
|
enumerable: true,
|
|
803
|
-
get: function () { return
|
|
861
|
+
get: function () { return chunk5X2VX3RQ_cjs.registerPlugin; }
|
|
804
862
|
});
|
|
805
863
|
Object.defineProperty(exports, "registerPluginFactory", {
|
|
806
864
|
enumerable: true,
|
|
807
|
-
get: function () { return
|
|
865
|
+
get: function () { return chunk5X2VX3RQ_cjs.registerPluginFactory; }
|
|
808
866
|
});
|
|
809
867
|
Object.defineProperty(exports, "registerScaffold", {
|
|
810
868
|
enumerable: true,
|
|
811
|
-
get: function () { return
|
|
869
|
+
get: function () { return chunk5X2VX3RQ_cjs.registerScaffold; }
|
|
812
870
|
});
|
|
813
871
|
Object.defineProperty(exports, "resolvePluginComponent", {
|
|
814
872
|
enumerable: true,
|
|
815
|
-
get: function () { return
|
|
873
|
+
get: function () { return chunk5X2VX3RQ_cjs.resolvePluginComponent; }
|
|
816
874
|
});
|
|
817
875
|
Object.defineProperty(exports, "resolvePluginRuntime", {
|
|
818
876
|
enumerable: true,
|
|
819
|
-
get: function () { return
|
|
877
|
+
get: function () { return chunk5X2VX3RQ_cjs.resolvePluginRuntime; }
|
|
820
878
|
});
|
|
821
879
|
Object.defineProperty(exports, "scaffoldRegistry", {
|
|
822
880
|
enumerable: true,
|
|
823
|
-
get: function () { return
|
|
881
|
+
get: function () { return chunk5X2VX3RQ_cjs.scaffoldRegistry; }
|
|
882
|
+
});
|
|
883
|
+
Object.defineProperty(exports, "useConnectorsForPlugin", {
|
|
884
|
+
enumerable: true,
|
|
885
|
+
get: function () { return chunk5X2VX3RQ_cjs.useConnectorsForPlugin; }
|
|
824
886
|
});
|
|
825
887
|
Object.defineProperty(exports, "usePluginRuntime", {
|
|
826
888
|
enumerable: true,
|
|
827
|
-
get: function () { return
|
|
889
|
+
get: function () { return chunk5X2VX3RQ_cjs.usePluginRuntime; }
|
|
828
890
|
});
|
|
829
891
|
Object.defineProperty(exports, "usePluginRuntimeOptional", {
|
|
830
892
|
enumerable: true,
|
|
831
|
-
get: function () { return
|
|
893
|
+
get: function () { return chunk5X2VX3RQ_cjs.usePluginRuntimeOptional; }
|
|
832
894
|
});
|
|
833
895
|
Object.defineProperty(exports, "I18nProvider", {
|
|
834
896
|
enumerable: true,
|
|
835
|
-
get: function () { return
|
|
897
|
+
get: function () { return chunkVXEXM6IY_cjs.I18nProvider; }
|
|
836
898
|
});
|
|
837
899
|
Object.defineProperty(exports, "coreTranslations", {
|
|
838
900
|
enumerable: true,
|
|
839
|
-
get: function () { return
|
|
901
|
+
get: function () { return chunkVXEXM6IY_cjs.coreTranslations; }
|
|
840
902
|
});
|
|
841
903
|
Object.defineProperty(exports, "getCurrentLocale", {
|
|
842
904
|
enumerable: true,
|
|
843
|
-
get: function () { return
|
|
905
|
+
get: function () { return chunkVXEXM6IY_cjs.getCurrentLocale; }
|
|
844
906
|
});
|
|
845
907
|
Object.defineProperty(exports, "mergeTranslations", {
|
|
846
908
|
enumerable: true,
|
|
847
|
-
get: function () { return
|
|
909
|
+
get: function () { return chunkVXEXM6IY_cjs.mergeTranslations; }
|
|
848
910
|
});
|
|
849
911
|
Object.defineProperty(exports, "registerTranslations", {
|
|
850
912
|
enumerable: true,
|
|
851
|
-
get: function () { return
|
|
913
|
+
get: function () { return chunkVXEXM6IY_cjs.registerTranslations; }
|
|
852
914
|
});
|
|
853
915
|
Object.defineProperty(exports, "setCurrentLocale", {
|
|
854
916
|
enumerable: true,
|
|
855
|
-
get: function () { return
|
|
917
|
+
get: function () { return chunkVXEXM6IY_cjs.setCurrentLocale; }
|
|
856
918
|
});
|
|
857
919
|
Object.defineProperty(exports, "setLocaleStore", {
|
|
858
920
|
enumerable: true,
|
|
859
|
-
get: function () { return
|
|
921
|
+
get: function () { return chunkVXEXM6IY_cjs.setLocaleStore; }
|
|
860
922
|
});
|
|
861
923
|
Object.defineProperty(exports, "useI18nConfig", {
|
|
862
924
|
enumerable: true,
|
|
863
|
-
get: function () { return
|
|
925
|
+
get: function () { return chunkVXEXM6IY_cjs.useI18nConfig; }
|
|
864
926
|
});
|
|
865
927
|
Object.defineProperty(exports, "useTranslation", {
|
|
866
928
|
enumerable: true,
|
|
867
|
-
get: function () { return
|
|
929
|
+
get: function () { return chunkVXEXM6IY_cjs.useTranslation; }
|
|
868
930
|
});
|
|
869
931
|
Object.defineProperty(exports, "hashRouterAdapter", {
|
|
870
932
|
enumerable: true,
|
|
@@ -900,11 +962,16 @@ exports.formatDateTime = formatDateTime;
|
|
|
900
962
|
exports.getActiveLocale = getActiveLocale;
|
|
901
963
|
exports.getDefaultCurrency = getDefaultCurrency;
|
|
902
964
|
exports.migrateManifest = migrateManifest;
|
|
965
|
+
exports.navHistoryBack = navHistoryBack;
|
|
966
|
+
exports.recordNavigation = recordNavigation;
|
|
903
967
|
exports.registerManifestMigration = registerManifestMigration;
|
|
904
968
|
exports.renderApp = renderApp;
|
|
905
969
|
exports.renderBlocks = renderBlocks;
|
|
970
|
+
exports.routeModule = routeModule;
|
|
906
971
|
exports.setDefaultCurrency = setDefaultCurrency;
|
|
907
972
|
exports.useManifest = useManifest;
|
|
973
|
+
exports.useNavHistoryStore = useNavHistoryStore;
|
|
974
|
+
exports.useNavReferrer = useNavReferrer;
|
|
908
975
|
exports.useOnEvent = useOnEvent;
|
|
909
976
|
exports.validateManifest = validateManifest;
|
|
910
977
|
//# sourceMappingURL=index.cjs.map
|