@vc-shell/framework 2.1.0-pr251.2b1233c → 2.1.0-pr252.fb65d9e

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.
@@ -1,24 +0,0 @@
1
- export interface UseEnvironmentNameReturn {
2
- environmentName: string;
3
- isIgnored: boolean;
4
- color: string;
5
- }
6
- /**
7
- * Detect the environment preset from a hostname/env string, mirroring the
8
- * platform banner's detectThemePreset (environment-banner.js). Order matters:
9
- * prod is checked first so a "prod-qa" host resolves to prod.
10
- */
11
- export declare function detectThemePreset(input: string): string;
12
- /**
13
- * Resolve the banner state from a host string. Pure: no window/env access, so
14
- * it is unit-testable in isolation. `fallbackHost` is shown as the label when
15
- * the host carries no recognizable environment marker (preset "default").
16
- */
17
- export declare function resolveEnvironment(hostString: string, fallbackHost?: string): UseEnvironmentNameReturn;
18
- /**
19
- * Internal factory. Exported for unit tests so they bypass the shared
20
- * composable cache (mirrors `_createInternalUserLogic` in useUser).
21
- */
22
- export declare function _createEnvironmentNameLogic(): UseEnvironmentNameReturn;
23
- export declare const useEnvironmentName: typeof _createEnvironmentNameLogic;
24
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../core/composables/useEnvironmentName/index.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAQvD;AAED;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,YAAY,SAAK,GAAG,wBAAwB,CAMlG;AAqBD;;;GAGG;AACH,wBAAgB,2BAA2B,IAAI,wBAAwB,CAGtE;AAED,eAAO,MAAM,kBAAkB,oCAAsD,CAAC"}
@@ -1,2 +0,0 @@
1
- export { default as VcEnvironmentBanner } from "../../../components/atoms/vc-environment-banner/vc-environment-banner.vue";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-environment-banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,sEAAsE,CAAC"}
@@ -1,15 +0,0 @@
1
- export interface Props {
2
- name: string;
3
- /**
4
- * Badge color. Accepts a free string (matches `ComputedRef<string>` from
5
- * useEnvironmentName). Known values: primary | secondary | info | success |
6
- * warning | danger | neutral. Anything else falls back to neutral via CSS.
7
- */
8
- color?: string;
9
- }
10
- declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
11
- color: string;
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
- declare const _default: typeof __VLS_export;
14
- export default _default;
15
- //# sourceMappingURL=vc-environment-banner.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vc-environment-banner.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/atoms/vc-environment-banner/vc-environment-banner.vue"],"names":[],"mappings":"AAAA,MA0EM,WAAW,KAAK;IACpB,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAsCD,QAAA,MAAM,YAAY;WAvCR,MAAM;6EA0Cd,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}