@vc-shell/framework 1.1.10 → 1.1.12

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.
Files changed (63) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/{clike-BUuHEmgZ.js → clike-DGTaUp48.js} +55 -55
  3. package/dist/{css-bIlmDBTK.js → css-BkF-NPzE.js} +62 -69
  4. package/dist/framework.js +1 -1
  5. package/dist/{gas-BdfkXJT_.js → gas-cpmYfFX2.js} +3 -3
  6. package/dist/{index-DWRHtYyK.js → index-B1lnp8dm.js} +39627 -39497
  7. package/dist/{index-kAPaQznk.js → index-B8MhEsjP.js} +3 -3
  8. package/dist/{index-FldC5gs9.js → index-BfyO90TH.js} +1 -1
  9. package/dist/{index-D9EWvMeh.js → index-BihUGqBD.js} +1 -1
  10. package/dist/{index-ChYHar7m.js → index-BvC1hXTW.js} +3 -3
  11. package/dist/{index-B--OcPUC.js → index-CANk6jcp.js} +1 -1
  12. package/dist/{index-CI6QfkN3.js → index-CCnqVZt-.js} +1 -1
  13. package/dist/{index-slurPVW3.js → index-CSPYdG5c.js} +1 -1
  14. package/dist/{index-DMRpdHXp.js → index-D1UBvTmB.js} +3 -3
  15. package/dist/{index-D2LH2BNS.js → index-DC17QrkG.js} +7 -7
  16. package/dist/{index-oltQZrqH.js → index-DLtYfyEa.js} +1 -1
  17. package/dist/{index-zSXR4JKy.js → index-DZB1EwT4.js} +4 -4
  18. package/dist/index-DaqdMz5G.js +268 -0
  19. package/dist/{index-BIsysa10.js → index-PqzeY6cl.js} +1 -1
  20. package/dist/{index-ezL0teRD.js → index-QV_Z9Gd1.js} +1 -1
  21. package/dist/{index-BXgd9ZaL.js → index-SUpxIx98.js} +4 -4
  22. package/dist/{index-BRZPSFE2.js → index-YjAGn3zb.js} +1 -1
  23. package/dist/index.css +3 -3
  24. package/dist/{javascript-WMWNx-Vj.js → javascript-C2yteZeJ.js} +95 -94
  25. package/dist/locales/de.json +3 -1
  26. package/dist/locales/en.json +3 -1
  27. package/dist/{pug-BqUR2bBq.js → pug-CwAQJzGR.js} +1 -1
  28. package/dist/{python-B5QdSKoL.js → python-BkR3uSy8.js} +4 -4
  29. package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +24 -24
  30. package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts.map +1 -1
  31. package/dist/shared/components/user-dropdown-button/_internal/user-info.vue.d.ts.map +1 -1
  32. package/dist/shared/components/user-dropdown-button/user-dropdown-button.vue.d.ts.map +1 -1
  33. package/dist/{sql-mMre1Bo3.js → sql-CfG5lQ3l.js} +35 -35
  34. package/dist/{stex-92raWT1r.js → stex-Du4h4KAU.js} +14 -14
  35. package/dist/tsconfig.tsbuildinfo +1 -1
  36. package/dist/ui/components/atoms/index.d.ts +0 -1
  37. package/dist/ui/components/atoms/index.d.ts.map +1 -1
  38. package/dist/ui/components/molecules/index.d.ts +1 -0
  39. package/dist/ui/components/molecules/index.d.ts.map +1 -1
  40. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +2 -2
  41. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +8 -7
  42. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  43. package/dist/ui/components/molecules/vc-switch/index.d.ts.map +1 -0
  44. package/dist/ui/components/molecules/vc-switch/vc-switch.vue.d.ts.map +1 -0
  45. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  46. package/dist/{vbscript-Dz1TtKsy.js → vbscript-1f_Dhg5H.js} +6 -6
  47. package/dist/{verilog-C4VGD9n1.js → verilog-CiS1jyi5.js} +1 -2
  48. package/dist/{z80-C8rPtw-0.js → z80-Pki2zAjW.js} +2 -2
  49. package/package.json +4 -4
  50. package/shared/components/user-dropdown-button/_internal/user-info.vue +3 -2
  51. package/shared/components/user-dropdown-button/user-dropdown-button.vue +7 -3
  52. package/ui/components/atoms/index.ts +0 -1
  53. package/ui/components/molecules/index.ts +1 -0
  54. package/ui/components/molecules/vc-select/vc-select.vue +48 -13
  55. package/ui/components/{atoms → molecules}/vc-switch/vc-switch.stories.ts +1 -1
  56. package/ui/components/organisms/vc-blade/vc-blade.vue +0 -2
  57. package/dist/index-CnJXGndQ.js +0 -265
  58. package/dist/ui/components/atoms/vc-switch/index.d.ts.map +0 -1
  59. package/dist/ui/components/atoms/vc-switch/vc-switch.vue.d.ts.map +0 -1
  60. /package/dist/ui/components/{atoms → molecules}/vc-switch/index.d.ts +0 -0
  61. /package/dist/ui/components/{atoms → molecules}/vc-switch/vc-switch.vue.d.ts +0 -0
  62. /package/ui/components/{atoms → molecules}/vc-switch/index.ts +0 -0
  63. /package/ui/components/{atoms → molecules}/vc-switch/vc-switch.vue +0 -0
@@ -13,7 +13,6 @@ export * from "./vc-progress";
13
13
  export * from "./vc-row";
14
14
  export * from "./vc-status";
15
15
  export * from "./vc-status-icon";
16
- export * from "./vc-switch";
17
16
  export * from "./vc-video";
18
17
  export * from "./vc-widget";
19
18
  export * from "./vc-tooltip";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../ui/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../ui/components/atoms/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
@@ -15,4 +15,5 @@ export * from "./vc-field";
15
15
  export * from "./vc-radio-button";
16
16
  export * from "./vc-checkbox";
17
17
  export * from "./vc-input-dropdown";
18
+ export * from "./vc-switch";
18
19
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../ui/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../ui/components/molecules/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC"}
@@ -168,13 +168,13 @@ type __VLS_Slots = {
168
168
  hint: (props: any) => any;
169
169
  };
170
170
  declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
171
- "update:modelValue": (value: string | number | Date | null | undefined) => any;
172
171
  blur: (value: Event) => any;
173
172
  focus: () => any;
173
+ "update:modelValue": (value: string | number | Date | null | undefined) => any;
174
174
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
175
- "onUpdate:modelValue"?: ((value: string | number | Date | null | undefined) => any) | undefined;
176
175
  onBlur?: ((value: Event) => any) | undefined;
177
176
  onFocus?: (() => any) | undefined;
177
+ "onUpdate:modelValue"?: ((value: string | number | Date | null | undefined) => any) | undefined;
178
178
  }>, {
179
179
  size: "default" | "small";
180
180
  type: "text" | "password" | "email" | "tel" | "number" | "integer" | "url" | "time" | "date" | "datetime-local";
@@ -1,14 +1,15 @@
1
1
  import { Placement } from "@floating-ui/vue";
2
2
  export type OptionProp<T> = ((option: T) => string) | string | undefined;
3
+ export type MaybeArray<T> = T | T[];
3
4
  declare const _default: <T, P extends {
4
5
  results?: T[];
5
6
  totalCount?: number;
6
7
  }>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
7
8
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
8
9
  readonly onSearch?: ((inputValue: string) => any) | undefined;
9
- readonly "onUpdate:modelValue"?: ((inputValue: (string | (T & (Required<P>["results"] extends infer T_1 ? T_1 extends Required<P>["results"] ? T_1 extends (infer U)[] ? U : never : never : never)) | (string | (T & (Required<P>["results"] extends infer T_2 ? T_2 extends Required<P>["results"] ? T_2 extends (infer U)[] ? U : never : never : never)))[]) | null) => any) | undefined;
10
10
  readonly onClose?: (() => any) | undefined;
11
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onClose" | "onSearch"> & {
11
+ readonly "onUpdate:modelValue"?: ((inputValue: MaybeArray<string | (T & (Required<P>["results"] extends infer T_1 ? T_1 extends Required<P>["results"] ? T_1 extends (infer V)[] ? V : never : never : never))> | null) => any) | undefined;
12
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onClose" | "onUpdate:modelValue" | "onSearch"> & {
12
13
  /**
13
14
  * Name of select
14
15
  */
@@ -74,14 +75,14 @@ declare const _default: <T, P extends {
74
75
  * @param option The current option being processed
75
76
  * @returns Value of the current option
76
77
  */
77
- optionValue?: OptionProp<T & (Required<P>["results"] extends infer T_1 ? T_1 extends Required<P>["results"] ? T_1 extends (infer U)[] ? U : never : never : never)>;
78
+ optionValue?: OptionProp<T & (Required<P>["results"] extends infer T_1 ? T_1 extends Required<P>["results"] ? T_1 extends (infer V)[] ? V : never : never : never)>;
78
79
  /**
79
80
  * Property of option which holds the 'label'
80
81
  * @default title
81
82
  * @param option The current option being processed
82
83
  * @returns Label of the current option
83
84
  */
84
- optionLabel?: OptionProp<T & (Required<P>["results"] extends infer T_2 ? T_2 extends Required<P>["results"] ? T_2 extends (infer U)[] ? U : never : never : never)>;
85
+ optionLabel?: OptionProp<T & (Required<P>["results"] extends infer T_2 ? T_2 extends Required<P>["results"] ? T_2 extends (infer V)[] ? V : never : never : never)>;
85
86
  /**
86
87
  * Update model with the value of the selected option instead of the whole option
87
88
  */
@@ -163,7 +164,7 @@ declare const _default: <T, P extends {
163
164
  /**
164
165
  * Selected option -- its value is taken from model
165
166
  */
166
- opt: T & (Required<P>["results"] extends infer T_3 ? T_3 extends Required<P>["results"] ? T_3 extends (infer U)[] ? U : never : never : never);
167
+ opt: T & (Required<P>["results"] extends infer T_3 ? T_3 extends Required<P>["results"] ? T_3 extends (infer V)[] ? V : never : never : never);
167
168
  /**
168
169
  * Always true -- passed as prop
169
170
  */
@@ -185,7 +186,7 @@ declare const _default: <T, P extends {
185
186
  /**
186
187
  * Option -- its value is taken from 'options' prop
187
188
  */
188
- opt: T & (Required<P>["results"] extends infer T_3 ? T_3 extends Required<P>["results"] ? T_3 extends (infer U)[] ? U : never : never : never);
189
+ opt: T & (Required<P>["results"] extends infer T_3 ? T_3 extends Required<P>["results"] ? T_3 extends (infer V)[] ? V : never : never : never);
189
190
  /**
190
191
  * Is option selected
191
192
  */
@@ -198,7 +199,7 @@ declare const _default: <T, P extends {
198
199
  }) => any;
199
200
  "no-options": (props: any) => any;
200
201
  };
201
- emit: ((evt: "search", inputValue: string) => void) & ((evt: "update:modelValue", inputValue: (string | (T & (Required<P>["results"] extends infer T_3 ? T_3 extends Required<P>["results"] ? T_3 extends (infer U)[] ? U : never : never : never)) | (string | (T & (Required<P>["results"] extends infer T_4 ? T_4 extends Required<P>["results"] ? T_4 extends (infer U)[] ? U : never : never : never)))[]) | null) => void) & ((evt: "close") => void);
202
+ emit: ((evt: "search", inputValue: string) => void) & ((evt: "close") => void) & ((evt: "update:modelValue", inputValue: MaybeArray<string | (T & (Required<P>["results"] extends infer T_3 ? T_3 extends Required<P>["results"] ? T_3 extends (infer V)[] ? V : never : never : never))> | null) => void);
202
203
  }>) => import("vue").VNode & {
203
204
  __ctx?: Awaited<typeof __VLS_setup>;
204
205
  };
@@ -1 +1 @@
1
- {"version":3,"file":"vc-select.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/vc-select.vue"],"names":[],"mappings":"AAgvCA,OAAO,EAQL,SAAS,EACV,MAAM,kBAAkB,CAAC;AAK1B,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS,CAAC;yBACxD,CAAC,EAAE,CAAC,SAAS;IAAE,OAAO,CAAC,EAAE,CAAC,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,EACnE,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA+vCO,mBAAmB,CAAC;;0KAnvCqB,CAAC,uJAAD,CAAC;;;QAuF9C;;WAEG;eACI,MAAM;QACb;;WAEG;qBAEU,GAAG;QAChB;;;WAGG;qBACU,OAAO;QACpB;;WAEG;gBACK,OAAO;QACf;;WAEG;uBACY,MAAM;QACrB;;WAEG;gBACK,MAAM;QACd;;WAEG;eACI,MAAM;QACb;;WAEG;iBACM,MAAM;QACf;;WAEG;iBACM,MAAM;QACf;;WAEG;kBAC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CAAC,KAAK,EAAE;YACvB;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;YACd;;eAEG;YACH,GAAG,0GAjD0C,CAAC,iCAiDlC;YACZ;;eAEG;YACH,QAAQ,EAAE,OAAO,CAAC;YAClB;;;eAGG;YACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;SACxC,KAAK,GAAG;QACT;;WAEG;gBACK,CAAC,KAAK,EAAE;YACd;;eAEG;YACH,KAAK,EAAE,MAAM,CAAC;YACd;;eAEG;YACH,GAAG,0GAvE0C,CAAC,iCAuElC;YACZ;;eAEG;YACH,QAAQ,EAAE,OAAO,CAAC;YAClB;;;eAGG;YACH,YAAY,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,IAAI,CAAC;SAClC,KAAK,GAAG;sBACK,CAAC,KAAK,EAAE,GAAG,KAAK,GAAG;;qNAlFc,CAAC,uJAAD,CAAC;EAyvC9C,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA1wCzE,wBA0wC4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"vc-select.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-select/vc-select.vue"],"names":[],"mappings":"AAmxCA,OAAO,EAQL,SAAS,EACV,MAAM,kBAAkB,CAAC;AAK1B,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,MAAM,CAAC,GAAG,MAAM,GAAG,SAAS,CAAC;AACzE,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;yBACnB,CAAC,EAAE,CAAC,SAAS;IAAE,OAAO,CAAC,EAAE,CAAC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AK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AA3xCzE,wBA2xC4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vc-switch.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/molecules/vc-switch/vc-switch.vue"],"names":[],"mappings":"AA6HA,MAAM,WAAW,KAAK;IACpB,UAAU,EAAE,OAAO,GAAG,SAAS,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,KAAK;IACpB,CAAC,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,IAAI,CAAC;CAChE;;;;;;eANa,OAAO;gBACN,OAAO;;AA0HtB,wBAQG"}
@@ -1 +1 @@
1
- {"version":3,"file":"vc-blade.vue.d.ts","sourceRoot":"","sources":["../../../../../ui/components/organisms/vc-blade/vc-blade.vue"],"names":[],"mappings":"AAscA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAYvD,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,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&\\\\\\^<>=]"), g = new RegExp("^((<>)|(<=)|(>=))"), m = new RegExp("^[\\.,]"), w = new RegExp("^[\\(\\)]"), k = new RegExp("^[A-Za-z][_A-Za-z0-9]*"), x = ["class", "sub", "select", "while", "if", "function", "property", "with", "for"], C = ["else", "elseif", "case"], I = ["next", "loop", "wend"], S = i(["and", "or", "not", "xor", "is", "mod", "eqv", "imp"]), O = [
6
+ var y = new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"), g = new RegExp("^((<>)|(<=)|(>=))"), m = new RegExp("^[\\.,]"), w = new RegExp("^[\\(\\)]"), k = new RegExp("^[A-Za-z][_A-Za-z0-9]*"), x = ["class", "sub", "select", "while", "if", "function", "property", "with", "for"], C = ["else", "elseif", "case"], I = ["next", "loop", "wend"], O = i(["and", "or", "not", "xor", "is", "mod", "eqv", "imp"]), S = [
7
7
  "dim",
8
8
  "redim",
9
9
  "then",
@@ -256,7 +256,7 @@ function p(h) {
256
256
  "urlencode"
257
257
  ], c = T.concat(L);
258
258
  a = a.concat(E), h.isASP && (a = a.concat(j), c = c.concat(B, F));
259
- var W = i(O), z = i(D), A = i(R), K = i(a), N = i(c), M = '"', P = i(x), b = i(C), d = i(I), s = i(["end"]), q = i(["do"]), V = i(["on error resume next", "exit"]), Y = i(["rem"]);
259
+ var W = i(S), z = i(D), A = i(R), K = i(a), N = i(c), M = '"', q = i(x), b = i(C), d = i(I), s = i(["end"]), P = i(["do"]), V = i(["on error resume next", "exit"]), Y = i(["rem"]);
260
260
  function f(e, n) {
261
261
  n.currentIndent++;
262
262
  }
@@ -277,7 +277,7 @@ function p(h) {
277
277
  if (e.match(/^&H[0-9a-f]+/i) || e.match(/^&O[0-7]+/i) ? o = !0 : e.match(/^[1-9]\d*F?/) ? (e.eat(/J/i), o = !0) : e.match(/^0(?![\dx])/i) && (o = !0), o)
278
278
  return e.eat(/L/i), "number";
279
279
  }
280
- return e.match(M) ? (n.tokenize = _(e.current()), n.tokenize(e, n)) : e.match(g) || e.match(y) || e.match(S) ? "operator" : e.match(m) ? null : e.match(w) ? "bracket" : e.match(V) ? (n.doInCurrentLine = !0, "keyword") : e.match(q) ? (f(e, n), n.doInCurrentLine = !0, "keyword") : e.match(P) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : f(e, n), "keyword") : e.match(b) ? "keyword" : e.match(s) ? (u(e, n), u(e, n), "keyword") : e.match(d) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : u(e, n), "keyword") : e.match(W) ? "keyword" : e.match(z) ? "atom" : e.match(N) ? "variableName.special" : e.match(A) || e.match(K) ? "builtin" : e.match(k) ? "variable" : (e.next(), v);
280
+ return e.match(M) ? (n.tokenize = _(e.current()), n.tokenize(e, n)) : e.match(g) || e.match(y) || e.match(O) ? "operator" : e.match(m) ? null : e.match(w) ? "bracket" : e.match(V) ? (n.doInCurrentLine = !0, "keyword") : e.match(P) ? (f(e, n), n.doInCurrentLine = !0, "keyword") : e.match(q) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : f(e, n), "keyword") : e.match(b) ? "keyword" : e.match(s) ? (u(e, n), u(e, n), "keyword") : e.match(d) ? (n.doInCurrentLine ? n.doInCurrentLine = !1 : u(e, n), "keyword") : e.match(W) ? "keyword" : e.match(z) ? "atom" : e.match(N) ? "variableName.special" : e.match(A) || e.match(K) ? "builtin" : e.match(k) ? "variable" : (e.next(), v);
281
281
  }
282
282
  function _(e) {
283
283
  var n = e.length == 1, r = "string";
@@ -317,8 +317,8 @@ function p(h) {
317
317
  }
318
318
  };
319
319
  }
320
- const J = p({}), U = p({ isASP: !0 });
320
+ const J = p({});
321
+ p({ isASP: !0 });
321
322
  export {
322
- J as vbScript,
323
- U as vbScriptASP
323
+ J as vbScript
324
324
  };
@@ -207,7 +207,7 @@ var z = {
207
207
  "@": "stage",
208
208
  "\\": "keyword"
209
209
  }, S = 3, q = /^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/, F = /^[! ] */, G = /^\/[\/\*]/;
210
- const Q = A({
210
+ A({
211
211
  hooks: {
212
212
  electricInput: !1,
213
213
  // Return undefined for verilog tokenizing, or style for TLV token (null not used).
@@ -258,6 +258,5 @@ const Q = A({
258
258
  }
259
259
  });
260
260
  export {
261
- Q as tlv,
262
261
  J as verilog
263
262
  };
@@ -54,8 +54,8 @@ function o(t) {
54
54
  }
55
55
  };
56
56
  }
57
- const a = o(!1), s = o(!0);
57
+ const a = o(!1);
58
+ o(!0);
58
59
  export {
59
- s as ez80,
60
60
  a as z80
61
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vc-shell/framework",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
4
4
  "type": "module",
5
5
  "main": "./dist/framework.js",
6
6
  "types": "./dist/index.d.ts",
@@ -70,9 +70,9 @@
70
70
  "devDependencies": {
71
71
  "@fullhuman/postcss-purgecss": "^7.0.2",
72
72
  "@types/dompurify": "^3.0.5",
73
- "@vc-shell/api-client-generator": "^1.1.10",
74
- "@vc-shell/config-generator": "^1.1.10",
75
- "@vc-shell/ts-config": "^1.1.10",
73
+ "@vc-shell/api-client-generator": "^1.1.12",
74
+ "@vc-shell/config-generator": "^1.1.12",
75
+ "@vc-shell/ts-config": "^1.1.12",
76
76
  "@vitejs/plugin-vue": "^5.2.3",
77
77
  "@vue/test-utils": "^2.4.5",
78
78
  "cypress-signalr-mock": "^1.5.0",
@@ -59,7 +59,8 @@ const imageHandler = computed(() => {
59
59
  }
60
60
 
61
61
  .vc-user-info {
62
- @apply tw-flex tw-items-center tw-gap-3 tw-truncate;
62
+ @apply tw-flex tw-items-center tw-gap-3 tw-truncate tw-w-full;
63
+ @apply tw-overflow-visible #{!important};
63
64
 
64
65
  &__avatar {
65
66
  @apply tw-rounded-full tw-overflow-hidden tw-w-[var(--user-info-avatar-width)] tw-h-[var(--user-info-avatar-height)] tw-bg-[color:var(--user-dropdown-account-info-role-color)]
@@ -79,7 +80,7 @@ const imageHandler = computed(() => {
79
80
  }
80
81
 
81
82
  &__role {
82
- @apply tw-text-sm tw-text-[color:var(--user-dropdown-account-info-role-color)] tw-truncate tw-text-left;
83
+ @apply tw-text-sm tw-text-[color:var(--user-dropdown-account-info-role-color)] tw-truncate tw-text-left tw-w-full tw-max-w-[250px];
83
84
  }
84
85
  }
85
86
 
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div>
2
+ <div class="vc-user-dropdown-button-container">
3
3
  <button
4
4
  type="button"
5
5
  class="vc-user-dropdown-button"
@@ -87,8 +87,12 @@ function handleClick() {
87
87
  --user-dropdown-wrap-padding-left: 18px;
88
88
  }
89
89
 
90
+ .vc-user-dropdown-button-container {
91
+ @apply tw-flex tw-flex-col;
92
+ }
93
+
90
94
  .vc-user-dropdown-button {
91
- @apply tw-w-full tw-cursor-pointer tw-relative tw-flex tw-h-[var(--user-dropdown-height)] tw-flex-col tw-select-none tw-overflow-hidden tw-border-solid tw-border-t tw-border-t-[var(--user-dropdown-border-color)];
95
+ @apply tw-w-full tw-cursor-pointer tw-relative tw-flex tw-h-[var(--user-dropdown-height)] tw-flex-col tw-select-none tw-overflow-hidden tw-border-solid tw-border-t tw-border-t-[var(--user-dropdown-border-color)] tw-pl-[var(--user-dropdown-wrap-padding-left)];
92
96
 
93
97
  &:hover {
94
98
  .vc-user-dropdown-button__trigger {
@@ -108,7 +112,7 @@ function handleClick() {
108
112
  }
109
113
 
110
114
  &__wrap {
111
- @apply tw-flex tw-justify-between tw-items-center tw-flex-auto tw-pl-[var(--user-dropdown-wrap-padding-left)] tw-bg-[--user-dropdown-wrap-bg] tw-gap-3;
115
+ @apply tw-flex tw-justify-between tw-items-center tw-flex-auto tw-bg-[--user-dropdown-wrap-bg] tw-gap-3;
112
116
  }
113
117
 
114
118
  &--collapsed {
@@ -13,7 +13,6 @@ export * from "./vc-progress";
13
13
  export * from "./vc-row";
14
14
  export * from "./vc-status";
15
15
  export * from "./vc-status-icon";
16
- export * from "./vc-switch";
17
16
  export * from "./vc-video";
18
17
  export * from "./vc-widget";
19
18
  export * from "./vc-tooltip";
@@ -15,3 +15,4 @@ export * from "./vc-field";
15
15
  export * from "./vc-radio-button";
16
16
  export * from "./vc-checkbox";
17
17
  export * from "./vc-input-dropdown";
18
+ export * from "./vc-switch";
@@ -256,18 +256,9 @@
256
256
  ref="root"
257
257
  :no-padding="true"
258
258
  >
259
- <div v-if="listLoading"></div>
260
- <div
261
- v-else-if="!(optionsList && optionsList.length)"
262
- class="vc-select__no-options"
263
- >
264
- <slot name="no-options">
265
- <span class="vc-select__no-options-text">No options</span>
266
- </slot>
267
- </div>
259
+ <!-- Render existing options -->
268
260
  <div
269
261
  v-for="(item, i) in optionScope"
270
- v-else
271
262
  :key="i"
272
263
  class="vc-select__option"
273
264
  data-test-id="option"
@@ -284,9 +275,41 @@
284
275
  >{{ item.label }}</slot
285
276
  >
286
277
  </div>
278
+
279
+ <!-- Loading Indicator (Initial or More) -->
280
+ <div
281
+ v-if="listLoading"
282
+ class="vc-select__list-loading-indicator"
283
+ >
284
+ <VcIcon
285
+ icon="lucide-loader"
286
+ class="tw-animate-spin"
287
+ size="m"
288
+ />
289
+ <span>
290
+ {{
291
+ optionsList.length > 0
292
+ ? t("COMPONENTS.MOLECULES.VC_SELECT.LOADING_MORE")
293
+ : t("COMPONENTS.MOLECULES.VC_SELECT.LOADING")
294
+ }}
295
+ </span>
296
+ </div>
297
+
298
+ <!-- Show "No options" message -->
299
+ <div
300
+ v-if="!listLoading && !(optionsList && optionsList.length)"
301
+ class="vc-select__no-options"
302
+ >
303
+ <slot name="no-options">
304
+ <span class="vc-select__no-options-text">{{ t("COMPONENTS.MOLECULES.VC_SELECT.NO_OPTIONS") }}</span>
305
+ </slot>
306
+ </div>
307
+
308
+ <!-- Intersection observer target for loading more -->
287
309
  <span
288
- v-if="hasNextPage"
310
+ v-if="hasNextPage && !listLoading"
289
311
  ref="el"
312
+ class="vc-select__load-more-trigger"
290
313
  ></span>
291
314
  </VcContainer>
292
315
  </div>
@@ -316,7 +339,7 @@ import { useI18n } from "vue-i18n";
316
339
  import { useKeyboardNavigation } from "../../../../core/composables/useKeyboardNavigation";
317
340
 
318
341
  export type OptionProp<T> = ((option: T) => string) | string | undefined;
319
- type MaybeArray<T> = T | T[];
342
+ export type MaybeArray<T> = T | T[];
320
343
  type FloatingInstanceType = UseFloatingReturn & {
321
344
  middlewareData: {
322
345
  sameWidthChangeBorders: {
@@ -327,7 +350,7 @@ type FloatingInstanceType = UseFloatingReturn & {
327
350
  };
328
351
  };
329
352
  };
330
- type ArrayElementType<T> = T extends Array<infer U> ? U : never;
353
+ type ArrayElementType<U> = U extends Array<infer V> ? V : never;
331
354
  type Option = T & ArrayElementType<Required<P>["results"]>;
332
355
 
333
356
  defineSlots<{
@@ -1225,6 +1248,18 @@ const keyboardNavigation = useKeyboardNavigation({
1225
1248
  }
1226
1249
  }
1227
1250
 
1251
+ &__list-loading-indicator {
1252
+ @apply tw-flex tw-items-center tw-justify-center tw-p-2 tw-text-sm tw-text-[color:var(--select-text-color)];
1253
+
1254
+ span {
1255
+ @apply tw-mr-2;
1256
+ }
1257
+ }
1258
+
1259
+ &__load-more-trigger {
1260
+ @apply tw-block tw-h-[1px]; /* Ensures it's in layout flow for intersection observer */
1261
+ }
1262
+
1228
1263
  &.vc-select_opened &__chevron {
1229
1264
  @apply tw-rotate-180;
1230
1265
  }
@@ -9,7 +9,7 @@ import VcHint from "../../atoms/vc-hint/vc-hint.vue";
9
9
  * and other binary choices in forms and configuration interfaces.
10
10
  */
11
11
  const meta = {
12
- title: "Atoms/VcSwitch",
12
+ title: "Molecules/VcSwitch",
13
13
  component: VcSwitch,
14
14
  tags: ["autodocs"],
15
15
  argTypes: {
@@ -243,8 +243,6 @@ const { open } = usePopup({
243
243
  }),
244
244
  },
245
245
  });
246
-
247
- console.log(getCurrentInstance());
248
246
  </script>
249
247
 
250
248
  <style lang="scss">