@vc-shell/framework 1.1.22 → 1.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/core/composables/useAppInsights/index.ts +11 -1
- package/core/composables/useBladeRegistry/index.ts +176 -0
- package/core/composables/useDynamicProperties/index.ts +380 -255
- package/core/composables/useErrorHandler/index.ts +2 -3
- package/core/composables/useLanguages/index.ts +78 -78
- package/core/plugins/modularity/index.ts +17 -6
- package/core/services/global-search-service/index.ts +36 -0
- package/dist/core/composables/useAppInsights/index.d.ts +5 -2
- package/dist/core/composables/useAppInsights/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeRegistry/index.d.ts +48 -0
- package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -0
- package/dist/core/composables/useDynamicProperties/index.d.ts +11 -9
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/core/composables/useErrorHandler/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/services/global-search-service/index.d.ts +10 -0
- package/dist/core/services/global-search-service/index.d.ts.map +1 -0
- package/dist/framework.js +1 -1
- package/dist/{index-BQtOyLub.js → index-BLmjssqE.js} +1 -1
- package/dist/{index-C_zSZ2pX.js → index-BYcoxn-f.js} +1 -1
- package/dist/{index-wjw1DwqR.js → index-BbuBDu8A.js} +1 -1
- package/dist/{index-DqDgL4W3.js → index-BnqqEJTE.js} +1 -1
- package/dist/{index--KQZx7Nr.js → index-Br7ZwtRW.js} +1 -1
- package/dist/{index-DwjKpYAo.js → index-CGL9e-cM.js} +1 -1
- package/dist/{index-DoHQrH4a.js → index-CIzLBvgg.js} +1 -1
- package/dist/{index-DFdFt54f.js → index-CLAYu8Qj.js} +1 -1
- package/dist/{index-BxrA7EzT.js → index-CRwMOCjN.js} +1 -1
- package/dist/{index-DL0-yUXC.js → index-Cmbxdwnl.js} +1 -1
- package/dist/{index-Bf4s6An9.js → index-Cxkjjuah.js} +1 -1
- package/dist/{index-xCbUzsUb.js → index-DAnceKLv.js} +1 -1
- package/dist/{index-BAngL0ix.js → index-Dk1K3-27.js} +1 -1
- package/dist/{index-d16x5dY_.js → index-DoArZBIw.js} +1 -1
- package/dist/{index-C-y5H4_R.js → index-DvenBxy6.js} +45753 -45502
- package/dist/{index-DI3UVoln.js → index-cuex9jil.js} +1 -1
- package/dist/{index--F0eI_oT.js → index-eOG-NNYN.js} +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts +7 -12
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeActions.d.ts +15 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeActions.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeRouteResolver.d.ts +11 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeRouteResolver.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeState.d.ts +15 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeState.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeWatchers.d.ts +6 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeWatchers.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/routerUtils.d.ts +28 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/routerUtils.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/plugin.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +5 -5
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/notification-template/notification-template.vue.d.ts +2 -2
- package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +1 -9
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -18
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +2 -0
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +199 -597
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeActions.ts +151 -0
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeRouteResolver.ts +243 -0
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeState.ts +93 -0
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeWatchers.ts +90 -0
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/routerUtils.ts +150 -0
- package/shared/components/blade-navigation/plugin.ts +17 -12
- package/shared/components/blade-navigation/types/index.ts +2 -4
- package/shared/components/notification-template/notification-template.vue +2 -2
- package/shared/modules/dynamic/index.ts +2 -8
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +4 -0
- package/ui/components/organisms/vc-app/vc-app.vue +11 -6
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +10 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { onErrorCaptured, getCurrentInstance, ref, Ref } from "vue";
|
|
2
|
-
import { useAppInsights
|
|
3
|
-
import { useUser } from "..";
|
|
2
|
+
import { useAppInsights, useUser } from "..";
|
|
4
3
|
|
|
5
4
|
interface IUseErrorHandler {
|
|
6
5
|
error: Ref<string | null>;
|
|
@@ -10,7 +9,7 @@ interface IUseErrorHandler {
|
|
|
10
9
|
export function useErrorHandler(capture?: boolean): IUseErrorHandler {
|
|
11
10
|
const error = ref<string | null>(null);
|
|
12
11
|
const instance = getCurrentInstance();
|
|
13
|
-
const appInsights =
|
|
12
|
+
const { appInsights } = useAppInsights();
|
|
14
13
|
const { user } = useUser();
|
|
15
14
|
|
|
16
15
|
function reset() {
|
|
@@ -1,78 +1,78 @@
|
|
|
1
|
-
import * as veeValidate from "vee-validate";
|
|
2
|
-
import { i18n } from "../../plugins/i18n";
|
|
3
|
-
import { setLocale as setVeeI18nLocale, localize } from "@vee-validate/i18n";
|
|
4
|
-
import { createSharedComposable, useLocalStorage } from "@vueuse/core";
|
|
5
|
-
import { ComputedRef, computed } from "vue";
|
|
6
|
-
import ISO6391 from "iso-639-1";
|
|
7
|
-
import { languageToCountryMap } from "../../constants";
|
|
8
|
-
|
|
9
|
-
export interface IUseLanguages {
|
|
10
|
-
setLocale: (locale: string) => void;
|
|
11
|
-
currentLocale: ComputedRef<string>;
|
|
12
|
-
getLocaleByTag: (localeTag: string) => string | undefined;
|
|
13
|
-
resolveCamelCaseLocale: (locale: string) => string;
|
|
14
|
-
getFlag: (language: string) => Promise<string>;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export const useLanguages = createSharedComposable(() => {
|
|
18
|
-
const defaultLanguage = i18n.global.locale.value;
|
|
19
|
-
const savedLocale = useLocalStorage("VC_LANGUAGE_SETTINGS", "");
|
|
20
|
-
|
|
21
|
-
const currentLocale = computed(() => {
|
|
22
|
-
let locale = defaultLanguage;
|
|
23
|
-
|
|
24
|
-
if (i18n.global.availableLocales.includes(savedLocale.value)) {
|
|
25
|
-
locale = savedLocale.value;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return locale;
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
function setLocale(locale: string) {
|
|
32
|
-
i18n.global.locale.value = locale;
|
|
33
|
-
veeValidate.configure({
|
|
34
|
-
generateMessage: localize(locale, {
|
|
35
|
-
messages: (i18n.global.getLocaleMessage(locale) as { messages: Record<string, string> }).messages,
|
|
36
|
-
}),
|
|
37
|
-
});
|
|
38
|
-
setVeeI18nLocale(locale);
|
|
39
|
-
savedLocale.value = locale;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
function getLocaleByTag(localeTag: string) {
|
|
43
|
-
if (!localeTag) return;
|
|
44
|
-
|
|
45
|
-
const twoLetterLanguageName = localeTag.split("-")[0];
|
|
46
|
-
|
|
47
|
-
return ISO6391.getNativeName(twoLetterLanguageName);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
function resolveCamelCaseLocale(locale: string) {
|
|
51
|
-
const formattedLocale = locale.replace(/([a-z]+)([A-Z]+)/g, "$1-$2").toLowerCase();
|
|
52
|
-
|
|
53
|
-
if (i18n.global.getLocaleMessage(formattedLocale)) {
|
|
54
|
-
return formattedLocale;
|
|
55
|
-
}
|
|
56
|
-
return "en";
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
function getCountryCode(language: string): string {
|
|
60
|
-
return (
|
|
61
|
-
languageToCountryMap[language.toLocaleLowerCase()] || languageToCountryMap[language.slice(0, 2)] || "xx" // placeholder for unknown country
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
async function getFlag(language: string): Promise<string> {
|
|
66
|
-
const countryCode = getCountryCode(language);
|
|
67
|
-
return new URL(`../../../assets/icons/flags/${countryCode}.svg`, import.meta.url).href;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
return {
|
|
71
|
-
setLocale,
|
|
72
|
-
currentLocale,
|
|
73
|
-
getLocaleByTag,
|
|
74
|
-
resolveCamelCaseLocale,
|
|
75
|
-
getFlag,
|
|
76
|
-
getCountryCode,
|
|
77
|
-
};
|
|
78
|
-
});
|
|
1
|
+
import * as veeValidate from "vee-validate";
|
|
2
|
+
import { i18n } from "../../plugins/i18n";
|
|
3
|
+
import { setLocale as setVeeI18nLocale, localize } from "@vee-validate/i18n";
|
|
4
|
+
import { createSharedComposable, useLocalStorage } from "@vueuse/core";
|
|
5
|
+
import { ComputedRef, computed } from "vue";
|
|
6
|
+
import ISO6391 from "iso-639-1";
|
|
7
|
+
import { languageToCountryMap } from "../../constants";
|
|
8
|
+
|
|
9
|
+
export interface IUseLanguages {
|
|
10
|
+
setLocale: (locale: string) => void;
|
|
11
|
+
currentLocale: ComputedRef<string>;
|
|
12
|
+
getLocaleByTag: (localeTag: string) => string | undefined;
|
|
13
|
+
resolveCamelCaseLocale: (locale: string) => string;
|
|
14
|
+
getFlag: (language: string) => Promise<string>;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export const useLanguages = createSharedComposable(() => {
|
|
18
|
+
const defaultLanguage = i18n.global.locale.value;
|
|
19
|
+
const savedLocale = useLocalStorage("VC_LANGUAGE_SETTINGS", "");
|
|
20
|
+
|
|
21
|
+
const currentLocale = computed(() => {
|
|
22
|
+
let locale = defaultLanguage;
|
|
23
|
+
|
|
24
|
+
if (i18n.global.availableLocales.includes(savedLocale.value)) {
|
|
25
|
+
locale = savedLocale.value;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return locale;
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
function setLocale(locale: string) {
|
|
32
|
+
i18n.global.locale.value = locale;
|
|
33
|
+
veeValidate.configure({
|
|
34
|
+
generateMessage: localize(locale, {
|
|
35
|
+
messages: (i18n.global.getLocaleMessage(locale) as { messages: Record<string, string> }).messages,
|
|
36
|
+
}),
|
|
37
|
+
});
|
|
38
|
+
setVeeI18nLocale(locale);
|
|
39
|
+
savedLocale.value = locale;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function getLocaleByTag(localeTag: string) {
|
|
43
|
+
if (!localeTag) return;
|
|
44
|
+
|
|
45
|
+
const twoLetterLanguageName = localeTag.split("-")[0];
|
|
46
|
+
|
|
47
|
+
return ISO6391.getNativeName(twoLetterLanguageName);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
function resolveCamelCaseLocale(locale: string) {
|
|
51
|
+
const formattedLocale = locale.replace(/([a-z]+)([A-Z]+)/g, "$1-$2").toLowerCase();
|
|
52
|
+
|
|
53
|
+
if (i18n.global.getLocaleMessage(formattedLocale)) {
|
|
54
|
+
return formattedLocale;
|
|
55
|
+
}
|
|
56
|
+
return "en";
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
function getCountryCode(language: string): string {
|
|
60
|
+
return (
|
|
61
|
+
languageToCountryMap[language.toLocaleLowerCase()] || languageToCountryMap[language.slice(0, 2)] || "xx" // placeholder for unknown country
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
async function getFlag(language: string): Promise<string> {
|
|
66
|
+
const countryCode = getCountryCode(language);
|
|
67
|
+
return new URL(`../../../assets/icons/flags/${countryCode}.svg`, import.meta.url).href;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
setLocale,
|
|
72
|
+
currentLocale,
|
|
73
|
+
getLocaleByTag,
|
|
74
|
+
resolveCamelCaseLocale,
|
|
75
|
+
getFlag,
|
|
76
|
+
getCountryCode,
|
|
77
|
+
};
|
|
78
|
+
});
|
|
@@ -130,7 +130,18 @@ export function createAppModule(
|
|
|
130
130
|
const mainRoute = routerInstance.getRoutes().find((r) => r.meta?.root);
|
|
131
131
|
|
|
132
132
|
if (!mainRoute) {
|
|
133
|
-
throw new Error(
|
|
133
|
+
throw new Error(
|
|
134
|
+
"[vc-shell][createAppModule] Main route not found. Ensure `meta: { root: true }` is set on the main application route.",
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (!mainRoute.name || typeof mainRoute.name !== "string" || mainRoute.name.trim() === "") {
|
|
139
|
+
console.error(
|
|
140
|
+
"[vc-shell][createAppModule] Main route found, but its 'name' property is missing, not a string, or empty. Cannot add child routes for blades. Main route details:",
|
|
141
|
+
mainRoute,
|
|
142
|
+
);
|
|
143
|
+
// Potentially throw an error here or handle it, as blade routes won't be added
|
|
144
|
+
return; // Skip adding this blade route if mainRoute.name is invalid
|
|
134
145
|
}
|
|
135
146
|
|
|
136
147
|
const mainRouteName = mainRoute.name;
|
|
@@ -161,15 +172,15 @@ export function createAppModule(
|
|
|
161
172
|
// Remove existing page in global properties if it exists
|
|
162
173
|
if (app.config.globalProperties.pages) {
|
|
163
174
|
const existingPageIndex = app.config.globalProperties.pages.findIndex(
|
|
164
|
-
(p: BladeInstanceConstructor) => p.name === bladeVNode.type.name,
|
|
175
|
+
(p: BladeInstanceConstructor) => p.name === (bladeVNode.type as BladeInstanceConstructor).name,
|
|
165
176
|
);
|
|
166
177
|
if (existingPageIndex !== -1) {
|
|
167
178
|
app.config.globalProperties.pages.splice(existingPageIndex, 1);
|
|
168
179
|
}
|
|
169
180
|
}
|
|
170
181
|
|
|
171
|
-
// Add new page to global properties
|
|
172
|
-
app.config.globalProperties.pages?.push(bladeVNode);
|
|
182
|
+
// Add new page to global properties - storing the component constructor (VNode's type)
|
|
183
|
+
app.config.globalProperties.pages?.push(bladeVNode.type as BladeInstanceConstructor);
|
|
173
184
|
|
|
174
185
|
// Remove existing bladeRoute if it exists
|
|
175
186
|
if (app.config.globalProperties.bladeRoutes) {
|
|
@@ -181,9 +192,9 @@ export function createAppModule(
|
|
|
181
192
|
}
|
|
182
193
|
}
|
|
183
194
|
|
|
184
|
-
// Add new bladeRoute
|
|
195
|
+
// Add new bladeRoute - storing the component constructor (VNode's type) in the component field
|
|
185
196
|
app.config.globalProperties.bladeRoutes?.push({
|
|
186
|
-
component: bladeVNode,
|
|
197
|
+
component: bladeVNode.type as BladeInstanceConstructor,
|
|
187
198
|
route: page.url,
|
|
188
199
|
name: routeName,
|
|
189
200
|
isWorkspace: page.isWorkspace || false,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { Ref, ref } from "vue";
|
|
2
|
+
|
|
3
|
+
export interface GlobalSearchState {
|
|
4
|
+
isSearchVisible: Ref<Record<string, boolean>>;
|
|
5
|
+
searchQuery: Ref<Record<string, string>>;
|
|
6
|
+
toggleSearch: (bladeId: string) => void;
|
|
7
|
+
setSearchQuery: (bladeId: string, query: string) => void;
|
|
8
|
+
closeSearch: (bladeId: string) => void;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function createGlobalSearchService() {
|
|
12
|
+
const isSearchVisible = ref<Record<string, boolean>>({});
|
|
13
|
+
const searchQuery = ref<Record<string, string>>({});
|
|
14
|
+
|
|
15
|
+
const toggleSearch = (bladeId: string) => {
|
|
16
|
+
isSearchVisible.value[bladeId] = !isSearchVisible.value[bladeId];
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const setSearchQuery = (bladeId: string, query: string) => {
|
|
20
|
+
searchQuery.value[bladeId] = query;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
const closeSearch = (bladeId: string) => {
|
|
24
|
+
isSearchVisible.value[bladeId] = false;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const state: GlobalSearchState = {
|
|
28
|
+
isSearchVisible,
|
|
29
|
+
searchQuery,
|
|
30
|
+
toggleSearch,
|
|
31
|
+
setSearchQuery,
|
|
32
|
+
closeSearch,
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
return state;
|
|
36
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { ApplicationInsights } from "@microsoft/applicationinsights-web";
|
|
2
|
+
export interface IUseAppInsights {
|
|
2
3
|
setupPageTracking: {
|
|
3
4
|
beforeEach: (route: {
|
|
4
5
|
name: string;
|
|
@@ -8,5 +9,7 @@ export declare function useAppInsights(): {
|
|
|
8
9
|
fullPath: string;
|
|
9
10
|
}) => void;
|
|
10
11
|
};
|
|
11
|
-
|
|
12
|
+
appInsights: ApplicationInsights;
|
|
13
|
+
}
|
|
14
|
+
export declare function useAppInsights(): IUseAppInsights;
|
|
12
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useAppInsights/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useAppInsights/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,mBAAmB,EAAW,MAAM,oCAAoC,CAAC;AAElF,MAAM,WAAW,eAAe;IAC9B,iBAAiB,EAAE;QACjB,UAAU,EAAE,CAAC,KAAK,EAAE;YAAE,IAAI,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAC;QAC9C,SAAS,EAAE,CAAC,KAAK,EAAE;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,QAAQ,EAAE,MAAM,CAAA;SAAE,KAAK,IAAI,CAAC;KAChE,CAAC;IACF,WAAW,EAAE,mBAAmB,CAAC;CAClC;AAED,wBAAgB,cAAc,IAAI,eAAe,CAuChD"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { App, ComputedRef } from "vue";
|
|
2
|
+
import { BladeInstanceConstructor } from "../../../shared/components/blade-navigation/types";
|
|
3
|
+
/**
|
|
4
|
+
* Interface for blade registration data
|
|
5
|
+
*/
|
|
6
|
+
export interface IBladeRegistrationData {
|
|
7
|
+
component: BladeInstanceConstructor;
|
|
8
|
+
route?: string;
|
|
9
|
+
isWorkspace?: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Injection key for provide/inject pattern
|
|
13
|
+
*/
|
|
14
|
+
export declare const BladeRegistryKey: unique symbol;
|
|
15
|
+
/**
|
|
16
|
+
* Public interface for blade registry
|
|
17
|
+
*/
|
|
18
|
+
export interface IBladeRegistry {
|
|
19
|
+
/** Readonly map of all registered blades */
|
|
20
|
+
readonly registeredBladesMap: ComputedRef<ReadonlyMap<string, IBladeRegistrationData>>;
|
|
21
|
+
/** Get blade registration data by name */
|
|
22
|
+
getBlade: (name: string) => IBladeRegistrationData | undefined;
|
|
23
|
+
/** Get blade component by name */
|
|
24
|
+
getBladeComponent: (name: string) => BladeInstanceConstructor | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Extended interface for blade registry instance with internal registration function
|
|
28
|
+
*/
|
|
29
|
+
export interface IBladeRegistryInstance extends IBladeRegistry {
|
|
30
|
+
_registerBladeFn: (name: string, registrationData: IBladeRegistrationData) => void;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Creates a blade registry instance
|
|
34
|
+
* This function should be called once during application initialization
|
|
35
|
+
*
|
|
36
|
+
* @param app - Vue application instance
|
|
37
|
+
* @returns Blade registry instance with registration capabilities
|
|
38
|
+
*/
|
|
39
|
+
export declare function createBladeRegistry(app: App): IBladeRegistryInstance;
|
|
40
|
+
/**
|
|
41
|
+
* Composable function for accessing blade registry
|
|
42
|
+
* Must be used after createBladeRegistry is called and provided with BladeRegistryKey
|
|
43
|
+
*
|
|
44
|
+
* @returns Blade registry interface
|
|
45
|
+
* @throws Error if registry is not available
|
|
46
|
+
*/
|
|
47
|
+
export declare function useBladeRegistry(): IBladeRegistry;
|
|
48
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useBladeRegistry/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAgC,WAAW,EAA2B,MAAM,KAAK,CAAC;AAC9F,OAAO,EAAE,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AAE7F;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC,SAAS,EAAE,wBAAwB,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;CAEvB;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,eAA0B,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,4CAA4C;IAC5C,QAAQ,CAAC,mBAAmB,EAAE,WAAW,CAAC,WAAW,CAAC,MAAM,EAAE,sBAAsB,CAAC,CAAC,CAAC;IACvF,0CAA0C;IAC1C,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,sBAAsB,GAAG,SAAS,CAAC;IAC/D,kCAAkC;IAClC,iBAAiB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,wBAAwB,GAAG,SAAS,CAAC;CAC3E;AAED;;GAEG;AACH,MAAM,WAAW,sBAAuB,SAAQ,cAAc;IAC5D,gBAAgB,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,gBAAgB,EAAE,sBAAsB,KAAK,IAAI,CAAC;CACpF;AAeD;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAAE,GAAG,GAAG,sBAAsB,CAqGpE;AAED;;;;;;GAMG;AACH,wBAAgB,gBAAgB,IAAI,cAAc,CAQjD"}
|
|
@@ -49,16 +49,18 @@ export interface IUseDynamicProperties<TProperty extends IBaseProperty<TProperty
|
|
|
49
49
|
getPropertyValue: (property: TProperty, locale: string) => string | TPropertyValue[] | (TPropertyDictionaryItem & {
|
|
50
50
|
value: string;
|
|
51
51
|
})[];
|
|
52
|
-
setPropertyValue: (data:
|
|
53
|
-
property: TProperty;
|
|
54
|
-
value: string | TPropertyValue[] | (TPropertyDictionaryItem & {
|
|
55
|
-
value: string;
|
|
56
|
-
})[];
|
|
57
|
-
dictionary?: TPropertyDictionaryItem[];
|
|
58
|
-
locale?: string;
|
|
59
|
-
initialProp?: TProperty;
|
|
60
|
-
}) => void;
|
|
52
|
+
setPropertyValue: (data: SetPropertyValueParams<TProperty, TPropertyValue, TPropertyDictionaryItem>) => void;
|
|
61
53
|
loadMeasurements(measureId: string, keyword?: string, locale?: string): Promise<TMeasurement[] | undefined>;
|
|
62
54
|
}
|
|
55
|
+
export interface SetPropertyValueParams<TProperty, TPropertyValue, TPropertyDictionaryItem> {
|
|
56
|
+
property: TProperty;
|
|
57
|
+
value: string | TPropertyValue[] | (TPropertyDictionaryItem & {
|
|
58
|
+
value: string;
|
|
59
|
+
})[];
|
|
60
|
+
dictionary?: TPropertyDictionaryItem[];
|
|
61
|
+
locale?: string;
|
|
62
|
+
initialProp?: TProperty;
|
|
63
|
+
unitOfMeasureId?: string;
|
|
64
|
+
}
|
|
63
65
|
export declare const useDynamicProperties: <TProperty extends IBaseProperty<TPropertyValue>, TPropertyValue extends IBasePropertyValue, TPropertyDictionaryItem extends IBasePropertyDictionaryItem, TPropertyDictionaryItemSearchCriteria extends IBasePropertyDictionaryItemSearchCriteria, TMeasurement extends IBaseMeasurementDictionaryItem>(searchDictionaryItemsFunction: (criteria: TPropertyDictionaryItemSearchCriteria) => Promise<TPropertyDictionaryItem[] | undefined>, PropertyValueConstructor: new (data?: Partial<TPropertyValue>) => TPropertyValue, PropertyDictionaryItemConstructor: new (data?: Partial<TPropertyDictionaryItem>) => TPropertyDictionaryItem, searchMeasurementFunction?: (measureId: string, locale?: string) => Promise<TMeasurement[] | undefined>) => IUseDynamicProperties<TProperty, TPropertyValue, TPropertyDictionaryItem, TPropertyDictionaryItemSearchCriteria>;
|
|
64
66
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useDynamicProperties/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useDynamicProperties/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,KAAK,CAAC;AAIlC,MAAM,WAAW,aAAa,CAAC,cAAc;IAC3C,EAAE,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,I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3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useErrorHandler/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,GAAG,EAAE,MAAM,KAAK,CAAC;AAGpE,UAAU,gBAAgB;IACxB,KAAK,EAAE,GAAG,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1B,KAAK,IAAI,IAAI,CAAC;CACf;AAED,wBAAgB,eAAe,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,gBAAgB,CA2DnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/plugins/modularity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAA8B,MAAM,KAAK,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAc,MAAM,qDAAqD,CAAC;AAM3G,wBAAgB,YAAY,CAAC,UAAU,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,CAAA;CAAE,EAAE,OAAO,CAAC,EAAE,OAAO;iBAEtF,GAAG,GAAG,IAAI;EAuB1B;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,CAAA;CAAE,EAClD,OAAO,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EACnC,qBAAqB,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG;QAAE,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,EAC9E,gBAAgB,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE;iBAGhC,GAAG,YAAY;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/plugins/modularity/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAA8B,MAAM,KAAK,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,wBAAwB,EAAc,MAAM,qDAAqD,CAAC;AAM3G,wBAAgB,YAAY,CAAC,UAAU,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,CAAA;CAAE,EAAE,OAAO,CAAC,EAAE,OAAO;iBAEtF,GAAG,GAAG,IAAI;EAuB1B;AAED,wBAAgB,eAAe,CAC7B,KAAK,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,wBAAwB,CAAA;CAAE,EAClD,OAAO,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,EACnC,qBAAqB,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG;QAAE,UAAU,CAAC,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,EAC9E,gBAAgB,CAAC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE;iBAGhC,GAAG,YAAY;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;EAyNxD;AAED,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Ref } from "vue";
|
|
2
|
+
export interface GlobalSearchState {
|
|
3
|
+
isSearchVisible: Ref<Record<string, boolean>>;
|
|
4
|
+
searchQuery: Ref<Record<string, string>>;
|
|
5
|
+
toggleSearch: (bladeId: string) => void;
|
|
6
|
+
setSearchQuery: (bladeId: string, query: string) => void;
|
|
7
|
+
closeSearch: (bladeId: string) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare function createGlobalSearchService(): GlobalSearchState;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/services/global-search-service/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAO,MAAM,KAAK,CAAC;AAE/B,MAAM,WAAW,iBAAiB;IAChC,eAAe,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC9C,WAAW,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;IACzC,YAAY,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,cAAc,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzD,WAAW,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,wBAAgB,yBAAyB,sBAyBxC"}
|
package/dist/framework.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "vue-router";
|
|
2
|
-
import { de as o, H as n, F as c, bW as r, R as d, bX as l, bY as u, bK as p, U as b, X as g, dn as y, dq as S, dp as m, bI as V, bL as I, z as h, Y as C, B as D, d5 as P, bM as A, bZ as R, b_ as L, dO as M, e1 as f, b$ as B, c0 as v, c1 as T, c2 as w, Z as E, $ as O, a0 as N, a1 as U, a2 as K, c3 as W, c4 as x, c5 as F, a3 as k, D as q, dZ as z, bN as j, c6 as H, a4 as J, a5 as _, dY as G, dw as Q, dv as X, A as Y, c7 as Z, d6 as $, bO as aa, c8 as sa, c9 as ea, ca as ta, cb as ia, cc as oa, cd as na, ce as ca, d8 as ra, cf as da, cg as la, ch as ua, d7 as pa, ci as ba, dI as ga, dV as ya, bJ as Sa, cj as ma, dk as Va, a6 as Ia, dX as ha, G as Ca, a7 as Da, ck as Pa, cl as Aa, d_ as Ra, cm as La, bP as Ma, cn as fa, d9 as Ba, co as va, cp as Ta, dP as wa, cq as Ea, cr as Oa, cs as Na, ct as Ua, bQ as Ka, cu as Wa, d$ as xa, cv as Fa, cw as ka, a8 as qa, a9 as za, M as ja, aa as Ha, cx as Ja, cy as _a, cz as Ga, cA as Qa, bR as Xa, dE as Ya, dR as Za, dS as $a, y as as, cB as ss, cC as es, bS as ts, cD as is, da as os, ab as ns, cE as cs, cF as rs, cG as ds, db as ls, ac as us, ad as ps, cH as bs, cI as gs, ae as ys, af as Ss, ag as ms, cJ as Vs, cK as Is, dc as hs, cL as Cs, bT as Ds, cM as Ps, cN as As, e0 as Rs, cO as Ls, cP as Ms, cQ as fs, cR as Bs, ah as vs, bU as Ts, cS as ws, cT as Es, bV as Os, cU as Ns, ai as Us, dW as Ks, S as Ws, dm as xs, aj as Fs, dT as ks, cV as qs, cW as zs, cX as js, dd as Hs, cY as Js, cZ as _s, T as Gs, dU as Qs, c_ as Xs, c$ as Ys, dQ as Zs, d0 as $s, d1 as ae, d2 as se, d3 as ee, aP as te, dx as ie, _ as oe, aQ as ne, dC as ce, dB as re, ax as de, J as le, V as ue, aM as pe, K as be, O as ge, aR as ye, ay as Se, aK as me, aA as Ve, az as Ie, aS as he, P as Ce, Q as De, al as Pe, aB as Ae, aC as Re, aN as Le, am as Me, an as fe, ao as Be, aT as ve, aJ as Te, aE as we, aU as Ee, dL as Oe, dK as Ne, ap as Ue, aL as Ke, aF as We, aq as xe, aG as Fe, aw as ke, aH as qe, ar as ze, as as je, aO as He, aV as Je, aI as _e, aD as Ge, av as Qe, at as Xe, au as Ye, d4 as Ze, ak as $e, W as at, bk as st, b6 as et, bn as tt, bx as it, bq as ot, bw as nt, by as ct, dA as rt, df as dt, di as lt, dy as ut, bA as pt, dr as bt, bD as gt, bz as yt, w as St, bC as mt, bv as Vt, dj as It, dN as ht, bt as Ct, dg as Dt, dh as Pt, dl as At, br as Rt, bu as Lt, bs as Mt, x as ft, dH as Bt, bH as vt, dJ as Tt, bi as wt, bf as Et, b4 as Ot, bl as Nt, bc as Ut, bh as Kt, bE as Wt, be as xt, bG as Ft, bF as kt, b0 as qt, bj as zt, ba as jt, dz as Ht, b3 as Jt, a$ as _t, b7 as Gt, dD as Qt, b9 as Xt, dF as Yt, bg as Zt, dt as $t, bB as ai, bp as si, ds as ei, b2 as ti, aW as ii, dG as oi, b8 as ni, du as ci, b1 as ri, b5 as di, aY as li, a_ as ui, dM as pi, aZ as bi, bm as gi, bb as yi, bo as Si, aX as mi, bd as Vi } from "./index-
|
|
2
|
+
import { de as o, H as n, F as c, bW as r, R as d, bX as l, bY as u, bK as p, U as b, X as g, dn as y, dq as S, dp as m, bI as V, bL as I, z as h, Y as C, B as D, d5 as P, bM as A, bZ as R, b_ as L, dO as M, e1 as f, b$ as B, c0 as v, c1 as T, c2 as w, Z as E, $ as O, a0 as N, a1 as U, a2 as K, c3 as W, c4 as x, c5 as F, a3 as k, D as q, dZ as z, bN as j, c6 as H, a4 as J, a5 as _, dY as G, dw as Q, dv as X, A as Y, c7 as Z, d6 as $, bO as aa, c8 as sa, c9 as ea, ca as ta, cb as ia, cc as oa, cd as na, ce as ca, d8 as ra, cf as da, cg as la, ch as ua, d7 as pa, ci as ba, dI as ga, dV as ya, bJ as Sa, cj as ma, dk as Va, a6 as Ia, dX as ha, G as Ca, a7 as Da, ck as Pa, cl as Aa, d_ as Ra, cm as La, bP as Ma, cn as fa, d9 as Ba, co as va, cp as Ta, dP as wa, cq as Ea, cr as Oa, cs as Na, ct as Ua, bQ as Ka, cu as Wa, d$ as xa, cv as Fa, cw as ka, a8 as qa, a9 as za, M as ja, aa as Ha, cx as Ja, cy as _a, cz as Ga, cA as Qa, bR as Xa, dE as Ya, dR as Za, dS as $a, y as as, cB as ss, cC as es, bS as ts, cD as is, da as os, ab as ns, cE as cs, cF as rs, cG as ds, db as ls, ac as us, ad as ps, cH as bs, cI as gs, ae as ys, af as Ss, ag as ms, cJ as Vs, cK as Is, dc as hs, cL as Cs, bT as Ds, cM as Ps, cN as As, e0 as Rs, cO as Ls, cP as Ms, cQ as fs, cR as Bs, ah as vs, bU as Ts, cS as ws, cT as Es, bV as Os, cU as Ns, ai as Us, dW as Ks, S as Ws, dm as xs, aj as Fs, dT as ks, cV as qs, cW as zs, cX as js, dd as Hs, cY as Js, cZ as _s, T as Gs, dU as Qs, c_ as Xs, c$ as Ys, dQ as Zs, d0 as $s, d1 as ae, d2 as se, d3 as ee, aP as te, dx as ie, _ as oe, aQ as ne, dC as ce, dB as re, ax as de, J as le, V as ue, aM as pe, K as be, O as ge, aR as ye, ay as Se, aK as me, aA as Ve, az as Ie, aS as he, P as Ce, Q as De, al as Pe, aB as Ae, aC as Re, aN as Le, am as Me, an as fe, ao as Be, aT as ve, aJ as Te, aE as we, aU as Ee, dL as Oe, dK as Ne, ap as Ue, aL as Ke, aF as We, aq as xe, aG as Fe, aw as ke, aH as qe, ar as ze, as as je, aO as He, aV as Je, aI as _e, aD as Ge, av as Qe, at as Xe, au as Ye, d4 as Ze, ak as $e, W as at, bk as st, b6 as et, bn as tt, bx as it, bq as ot, bw as nt, by as ct, dA as rt, df as dt, di as lt, dy as ut, bA as pt, dr as bt, bD as gt, bz as yt, w as St, bC as mt, bv as Vt, dj as It, dN as ht, bt as Ct, dg as Dt, dh as Pt, dl as At, br as Rt, bu as Lt, bs as Mt, x as ft, dH as Bt, bH as vt, dJ as Tt, bi as wt, bf as Et, b4 as Ot, bl as Nt, bc as Ut, bh as Kt, bE as Wt, be as xt, bG as Ft, bF as kt, b0 as qt, bj as zt, ba as jt, dz as Ht, b3 as Jt, a$ as _t, b7 as Gt, dD as Qt, b9 as Xt, dF as Yt, bg as Zt, dt as $t, bB as ai, bp as si, ds as ei, b2 as ti, aW as ii, dG as oi, b8 as ni, du as ci, b1 as ri, b5 as di, aY as li, a_ as ui, dM as pi, aZ as bi, bm as gi, bb as yi, bo as Si, aX as mi, bd as Vi } from "./index-DvenBxy6.js";
|
|
3
3
|
import "vue";
|
|
4
4
|
import "vee-validate";
|
|
5
5
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as O, L as b, b as r, i as s, f as a, s as t, h as P, k as n, t as e } from "./index-
|
|
1
|
+
import { a as O, L as b, b as r, i as s, f as a, s as t, h as P, k as n, t as e } from "./index-DvenBxy6.js";
|
|
2
2
|
const S = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 }, Q = /* @__PURE__ */ r.deserialize({
|
|
3
3
|
version: 14,
|
|
4
4
|
states: "!^Q]QPOOOqQPO'#CbOOQO'#Cd'#CdOOQO'#Cl'#ClOOQO'#Ch'#ChQ]QPOOOOQO,58|,58|OxQPO,58|OOQO-E6f-E6fOOQO1G.h1G.h",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as D, E as h, s as L, C as H, t as n, d as B, a as K, L as M, e as OO, m as d, g as eO, i as iO, f as aO, h as f, k as nO, N as rO, I as QO } from "./index-
|
|
1
|
+
import { b as D, E as h, s as L, C as H, t as n, d as B, a as K, L as M, e as OO, m as d, g as eO, i as iO, f as aO, h as f, k as nO, N as rO, I as QO } from "./index-DvenBxy6.js";
|
|
2
2
|
const tO = 1, Z = 194, j = 195, oO = 196, x = 197, dO = 198, sO = 199, lO = 200, TO = 2, E = 3, u = 201, SO = 24, pO = 25, qO = 49, gO = 50, PO = 55, mO = 56, $O = 57, hO = 59, cO = 60, fO = 61, XO = 62, yO = 63, zO = 65, WO = 238, vO = 71, RO = 241, kO = 242, _O = 243, xO = 244, uO = 245, UO = 246, bO = 247, VO = 248, Y = 72, GO = 249, wO = 250, ZO = 251, jO = 252, EO = 253, YO = 254, FO = 255, CO = 256, JO = 73, AO = 77, NO = 263, IO = 112, DO = 130, LO = 151, HO = 152, BO = 155, p = 10, q = 13, k = 32, c = 9, _ = 35, KO = 40, MO = 46, R = 123, U = 125, F = 39, C = 34, b = 92, Oe = 111, ee = 120, ie = 78, ae = 117, ne = 85, re = /* @__PURE__ */ new Set([
|
|
3
3
|
pO,
|
|
4
4
|
qO,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as r, a as i, L as n, b as $, i as y, f as P, c as X, k as m, E as S, s as c, t as O } from "./index-
|
|
1
|
+
import { n as r, a as i, L as n, b as $, i as y, f as P, c as X, k as m, E as S, s as c, t as O } from "./index-DvenBxy6.js";
|
|
2
2
|
const s = 110, l = 1, f = 2, t = [
|
|
3
3
|
9,
|
|
4
4
|
10,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as o, E as a, s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, k as V } from "./index-
|
|
1
|
+
import { b as o, E as a, s as Z, t as Q, a as _, L as q, i as l, f as w, c as r, k as V } from "./index-DvenBxy6.js";
|
|
2
2
|
const R = 1, g = 2, b = 3, y = 4, T = 5, s = 98, c = 101, v = 102, t = 114, p = 69, X = 48, W = 46, d = 43, f = 45, Y = 35, z = 34, x = 124, U = 60, h = 62;
|
|
3
3
|
function n(O) {
|
|
4
4
|
return O >= 48 && O <= 57;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as W, E as i, s as U, C as B, t as n, a as C, L as b, r as E, i as u, f as M, h as v, k as N } from "./index-
|
|
1
|
+
import { b as W, E as i, s as U, C as B, t as n, a as C, L as b, r as E, i as u, f as M, h as v, k as N } from "./index-DvenBxy6.js";
|
|
2
2
|
const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
|
|
3
3
|
class s {
|
|
4
4
|
constructor(e, a, r) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as o, E as t, s, t as Q, a as j, L as x, i as f, f as c, c as a, h as W, j as S, k as l } from "./index-
|
|
1
|
+
import { b as o, E as t, s, t as Q, a as j, L as x, i as f, f as c, c as a, h as W, j as S, k as l } from "./index-DvenBxy6.js";
|
|
2
2
|
const r = 1, q = 2, u = 3, n = 82, Z = 76, V = 117, T = 85, z = 97, w = 122, m = 65, b = 90, y = 95, i = 48, Y = 34, v = 40, P = 41, _ = 32, U = 62, p = new t((O) => {
|
|
3
3
|
if (O.next == Z || O.next == T ? O.advance() : O.next == V && (O.advance(), O.next == i + 8 && O.advance()), O.next != n || (O.advance(), O.next != Y)) return;
|
|
4
4
|
O.advance();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as g, L as P, p as q, r as l, b as c, v as i, s as R, t as r, E as p } from "./index-
|
|
1
|
+
import { a as g, L as P, p as q, r as l, b as c, v as i, s as R, t as r, E as p } from "./index-DvenBxy6.js";
|
|
2
2
|
const b = 1, $ = 33, m = 34, v = 35, x = 36, W = /* @__PURE__ */ new p((O) => {
|
|
3
3
|
let e = O.pos;
|
|
4
4
|
for (; ; ) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as p, L as u, p as l, r as n, b, v as m, s as S, t, l as r } from "./index-
|
|
1
|
+
import { a as p, L as u, p as l, r as n, b, v as m, s as S, t, l as r } from "./index-DvenBxy6.js";
|
|
2
2
|
const c = /* @__PURE__ */ b.deserialize({
|
|
3
3
|
version: 14,
|
|
4
4
|
states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as s, E as R, l as Y, s as x, C as w, t as O, a as d, m as X, L as k, d as h, e as f, i as u, f as y, c as l, h as g, j, k as U, g as G, N as b, I as Z } from "./index-
|
|
1
|
+
import { b as s, E as R, l as Y, s as x, C as w, t as O, a as d, m as X, L as k, d as h, e as f, i as u, f as y, c as l, h as g, j, k as U, g as G, N as b, I as Z } from "./index-DvenBxy6.js";
|
|
2
2
|
const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
|
|
3
3
|
for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
|
|
4
4
|
a = Q.peek(++n);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as te, a as ae, b as re, i as ne, f as ie, s as se, c as oe, t as i, E as le, d as ce, e as de, g as me } from "./index-
|
|
1
|
+
import { L as te, a as ae, b as re, i as ne, f as ie, s as se, c as oe, t as i, E as le, d as ce, e as de, g as me } from "./index-DvenBxy6.js";
|
|
2
2
|
const ue = 36, X = 1, fe = 2, b = 3, C = 4, pe = 5, ge = 6, he = 7, _e = 8, be = 9, ve = 10, ye = 11, ke = 12, xe = 13, Oe = 14, we = 15, Qe = 16, Ce = 17, I = 18, Se = 19, A = 20, E = 21, R = 22, Pe = 23, qe = 24;
|
|
3
3
|
function P(t) {
|
|
4
4
|
return t >= 65 && t <= 90 || t >= 97 && t <= 122 || t >= 48 && t <= 57;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as G, E as A, s as N, C as I, t as p, o as Y, a as j, L as U, g as k, q as Z, i as B, f as D, u as M } from "./index-
|
|
1
|
+
import { b as G, E as A, s as N, C as I, t as p, o as Y, a as j, L as U, g as k, q as Z, i as B, f as D, u as M } from "./index-DvenBxy6.js";
|
|
2
2
|
const h = 1, F = 2, L = 3, K = 4, H = 5, J = 36, ee = 37, te = 38, Oe = 11, oe = 13;
|
|
3
3
|
function re(e) {
|
|
4
4
|
return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as h, p as b, L as v, q as y, a as k, r as u, g as T, b as _, s as W, i as R, f as Y, t, h as w, E as P } from "./index-
|
|
1
|
+
import { o as h, p as b, L as v, q as y, a as k, r as u, g as T, b as _, s as W, i as R, f as Y, t, h as w, E as P } from "./index-DvenBxy6.js";
|
|
2
2
|
const U = 1, X = 2, j = 3, G = 180, S = 4, z = 181, x = 5, Z = 182, E = 6;
|
|
3
3
|
function V(O) {
|
|
4
4
|
return O >= 65 && O <= 90 || O >= 97 && O <= 122;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as o, E as S, s as t, t as $, a as l, p as x, L as R, r as V, i as r, f as U, c as W, h as v, k as u } from "./index-
|
|
1
|
+
import { b as o, E as S, s as t, t as $, a as l, p as x, L as R, r as V, i as r, f as U, c as W, h as v, k as u } from "./index-DvenBxy6.js";
|
|
2
2
|
const b = 1, m = 2, p = 263, k = 3, c = 264, s = 265, Y = 266, Z = 4, w = 5, _ = 6, h = 7, X = 8, j = 9, f = 10, G = 11, g = 12, E = 13, I = 14, N = 15, F = 16, C = 17, L = 18, A = 19, H = 20, K = 21, D = 22, B = 23, M = 24, J = 25, OO = 26, $O = 27, QO = 28, iO = 29, yO = 30, aO = 31, zO = 32, SO = 33, PO = 34, WO = 35, eO = 36, TO = 37, sO = 38, XO = 39, dO = 40, nO = 41, qO = 42, oO = 43, tO = 44, lO = 45, xO = 46, RO = 47, VO = 48, rO = 49, UO = 50, vO = 51, uO = 52, bO = 53, mO = 54, pO = 55, kO = 56, cO = 57, YO = 58, ZO = 59, wO = 60, _O = 61, e = 62, hO = 63, jO = 64, fO = 65, GO = {
|
|
3
3
|
abstract: Z,
|
|
4
4
|
and: w,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as v, E as i, s as _, C as W, t as e, n as g, a as x, L as V, f as p, i as U, k as E, c as N } from "./index-
|
|
1
|
+
import { b as v, E as i, s as _, C as W, t as e, n as g, a as x, L as V, f as p, i as U, k as E, c as N } from "./index-DvenBxy6.js";
|
|
2
2
|
const j = 168, X = 169, C = 170, I = 1, D = 2, w = 3, L = 171, F = 172, Y = 4, z = 173, K = 5, A = 174, T = 175, Z = 176, s = 177, G = 6, k = 7, B = 8, H = 9, c = 0, R = [
|
|
3
3
|
9,
|
|
4
4
|
10,
|