@thestarweb/ui 2.0.0-beta.1 → 2.0.0-beta.2

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 (153) hide show
  1. package/dist/components/base/button/button.vue.js +5 -0
  2. package/dist/components/base/button/button.vue_vue_type_script_setup_true_lang.js +35 -0
  3. package/dist/components/data/card/card.vue.js +5 -0
  4. package/dist/components/data/card/{card.vue_vue_type_script_setup_true_lang.mjs → card.vue_vue_type_script_setup_true_lang.js} +1 -1
  5. package/dist/components/data/pagination/pagination.vue.js +5 -0
  6. package/dist/components/data/pagination/pagination.vue_vue_type_script_setup_true_lang.js +101 -0
  7. package/dist/components/data/popover/popover.vue.js +5 -0
  8. package/dist/components/data/popover/{popover.vue_vue_type_script_setup_true_lang.mjs → popover.vue_vue_type_script_setup_true_lang.js} +4 -5
  9. package/dist/components/data/table/table.vue.js +5 -0
  10. package/dist/components/data/table/{table.vue_vue_type_script_setup_true_lang.mjs → table.vue_vue_type_script_setup_true_lang.js} +2 -2
  11. package/dist/components/data/tag/tag.vue.js +5 -0
  12. package/dist/components/data/tag/{tag.vue_vue_type_script_setup_true_lang.mjs → tag.vue_vue_type_script_setup_true_lang.js} +1 -1
  13. package/dist/components/data/tree/tree-item.vue.js +5 -0
  14. package/dist/components/data/tree/{tree-item.vue_vue_type_script_setup_true_lang.mjs → tree-item.vue_vue_type_script_setup_true_lang.js} +3 -5
  15. package/dist/components/data/tree/tree-raw.vue.js +5 -0
  16. package/dist/components/data/tree/{tree-raw.vue_vue_type_script_setup_true_lang.mjs → tree-raw.vue_vue_type_script_setup_true_lang.js} +2 -2
  17. package/dist/components/data/tree/{tree.vue.mjs → tree.vue.js} +1 -1
  18. package/dist/components/data/tree/{tree.vue_vue_type_script_setup_true_lang.mjs → tree.vue_vue_type_script_setup_true_lang.js} +3 -3
  19. package/dist/components/data/tree/{utils.mjs → utils.js} +2 -2
  20. package/dist/components/form/checkbox/checkbox.vue.js +5 -0
  21. package/dist/components/form/checkbox/{checkbox.vue_vue_type_script_setup_true_lang.mjs → checkbox.vue_vue_type_script_setup_true_lang.js} +1 -1
  22. package/dist/components/form/input/input.vue.js +5 -0
  23. package/dist/components/form/input/{input.vue_vue_type_script_setup_true_lang.mjs → input.vue_vue_type_script_setup_true_lang.js} +1 -1
  24. package/dist/components/form/select/select.vue.js +5 -0
  25. package/dist/components/form/select/{select.vue_vue_type_script_setup_true_lang.mjs → select.vue_vue_type_script_setup_true_lang.js} +15 -17
  26. package/dist/components/form/slider/slider.vue.js +5 -0
  27. package/dist/components/form/slider/{slider.vue_vue_type_script_setup_true_lang.mjs → slider.vue_vue_type_script_setup_true_lang.js} +1 -1
  28. package/dist/components/form/switch/switch.vue.js +5 -0
  29. package/dist/components/form/switch/{switch.vue_vue_type_script_setup_true_lang.mjs → switch.vue_vue_type_script_setup_true_lang.js} +1 -1
  30. package/dist/components/layout/layout/{index.mjs → index.js} +3 -3
  31. package/dist/components/layout/layout/{layout-dividing.vue.mjs → layout-dividing.vue.js} +3 -3
  32. package/dist/components/layout/layout/{layout-main.vue.mjs → layout-main.vue.js} +3 -3
  33. package/dist/components/layout/layout/layout.vue.js +5 -0
  34. package/dist/components/layout/layout/{layout.vue_vue_type_script_setup_true_lang.mjs → layout.vue_vue_type_script_setup_true_lang.js} +1 -1
  35. package/dist/components/layout/page/Page.vue.js +5 -0
  36. package/dist/components/layout/page/{Page.vue_vue_type_script_setup_true_lang.mjs → Page.vue_vue_type_script_setup_true_lang.js} +19 -22
  37. package/dist/components/other/calendar/calendar.vue.js +5 -0
  38. package/dist/components/other/calendar/{calendar.vue_vue_type_script_setup_true_lang.mjs → calendar.vue_vue_type_script_setup_true_lang.js} +2 -2
  39. package/dist/components/other/menu/index.vue.js +5 -0
  40. package/dist/components/other/menu/{index.vue_vue_type_script_setup_true_lang.mjs → index.vue_vue_type_script_setup_true_lang.js} +3 -3
  41. package/dist/components/other/menu/menu-h/index.vue.js +5 -0
  42. package/dist/components/other/menu/menu-h/{index.vue_vue_type_script_setup_true_lang.mjs → index.vue_vue_type_script_setup_true_lang.js} +2 -2
  43. package/dist/components/other/menu/menu-h/{menu-h-item.vue.mjs → menu-h-item.vue.js} +2 -2
  44. package/dist/components/other/menu/menu-h/{menu-h-item.vue_vue_type_script_setup_true_lang.mjs → menu-h-item.vue_vue_type_script_setup_true_lang.js} +1 -1
  45. package/dist/components/other/menu/menu-v/{index.vue.mjs → index.vue.js} +1 -1
  46. package/dist/components/other/menu/menu-v/{index.vue_vue_type_script_setup_true_lang.mjs → index.vue_vue_type_script_setup_true_lang.js} +2 -3
  47. package/dist/context/{is-mobile.mjs → is-mobile.js} +1 -1
  48. package/dist/icons/{arrow-down.svg_component.mjs → arrow-down.svg_component.js} +1 -1
  49. package/dist/icons/{arrow-right.svg_component.mjs → arrow-right.svg_component.js} +1 -1
  50. package/dist/icons/{home.svg_component.mjs → home.svg_component.js} +1 -1
  51. package/dist/icons/{menu.svg_component.mjs → menu.svg_component.js} +1 -1
  52. package/dist/index.js +19 -0
  53. package/dist/style.css +1 -1
  54. package/dist/utils/{index.mjs → index.js} +1 -1
  55. package/package.json +7 -2
  56. package/types/src/components/base/button/button.vue.d.ts +3 -2
  57. package/types/src/components/base/button/example/base.vue.d.ts +1 -1
  58. package/types/src/components/base/index.d.ts +1 -1
  59. package/types/src/components/data/card/card.vue.d.ts +3 -3
  60. package/types/src/components/data/index.d.ts +6 -5
  61. package/types/src/components/data/pagination/example/base.vue.d.ts +1 -1
  62. package/types/src/components/data/pagination/pagination.vue.d.ts +5 -4
  63. package/types/src/components/data/popover/example/base.vue.d.ts +1 -1
  64. package/types/src/components/data/popover/popover.vue.d.ts +4 -4
  65. package/types/src/components/data/popover/utils.d.ts +1 -1
  66. package/types/src/components/data/table/example/base.vue.d.ts +1 -1
  67. package/types/src/components/data/table/example/render.vue.d.ts +1 -1
  68. package/types/src/components/data/table/table.vue.d.ts +2 -2
  69. package/types/src/components/data/tag/example/base.vue.d.ts +1 -1
  70. package/types/src/components/data/tag/tag.vue.d.ts +2 -2
  71. package/types/src/components/data/tree/example/base.vue.d.ts +1 -1
  72. package/types/src/components/data/tree/index.d.ts +1 -1
  73. package/types/src/components/data/tree/tree-item.vue.d.ts +2 -2
  74. package/types/src/components/data/tree/tree-raw.vue.d.ts +2 -2
  75. package/types/src/components/data/tree/tree.vue.d.ts +1 -1
  76. package/types/src/components/data/tree/type.d.ts +2 -2
  77. package/types/src/components/data/tree/utils.d.ts +1 -1
  78. package/types/src/components/form/checkbox/checkbox.vue.d.ts +4 -4
  79. package/types/src/components/form/checkbox/example/base.vue.d.ts +1 -1
  80. package/types/src/components/form/checkbox/example/group.vue.d.ts +1 -1
  81. package/types/src/components/form/index.d.ts +5 -5
  82. package/types/src/components/form/input/example/base.vue.d.ts +1 -1
  83. package/types/src/components/form/input/input.vue.d.ts +4 -4
  84. package/types/src/components/form/select/example/base.vue.d.ts +1 -1
  85. package/types/src/components/form/select/example/tree-select.vue.d.ts +1 -1
  86. package/types/src/components/form/select/index.d.ts +1 -1
  87. package/types/src/components/form/select/select.vue.d.ts +1 -1
  88. package/types/src/components/form/select/types.d.ts +2 -2
  89. package/types/src/components/form/slider/example/base.vue.d.ts +1 -1
  90. package/types/src/components/form/slider/slider.vue.d.ts +4 -4
  91. package/types/src/components/form/switch/example/base.vue.d.ts +1 -1
  92. package/types/src/components/form/switch/switch.vue.d.ts +4 -4
  93. package/types/src/components/index.d.ts +5 -5
  94. package/types/src/components/layout/index.d.ts +2 -2
  95. package/types/src/components/layout/layout/layout-dividing.vue.d.ts +1 -1
  96. package/types/src/components/layout/layout/layout-main.vue.d.ts +1 -1
  97. package/types/src/components/layout/layout/layout.vue.d.ts +1 -1
  98. package/types/src/components/layout/page/Page.vue.d.ts +2 -2
  99. package/types/src/components/other/calendar/calendar.vue.d.ts +4 -4
  100. package/types/src/components/other/index.d.ts +2 -2
  101. package/types/src/components/other/menu/index.vue.d.ts +2 -2
  102. package/types/src/components/other/menu/menu-h/index.vue.d.ts +2 -2
  103. package/types/src/components/other/menu/menu-h/menu-h-item.vue.d.ts +1 -1
  104. package/types/src/components/other/menu/menu-v/index.vue.d.ts +2 -2
  105. package/types/src/components/other/view-control/view-control.vue.d.ts +1 -1
  106. package/types/src/context/index.d.ts +1 -1
  107. package/types/src/index.d.ts +2 -2
  108. package/types/src/utils/index.d.ts +1 -1
  109. package/types/vite.config.d.ts +1 -1
  110. package/dist/components/base/button/button.vue.mjs +0 -5
  111. package/dist/components/base/button/button.vue_vue_type_script_setup_true_lang.mjs +0 -27
  112. package/dist/components/base/button/index.mjs +0 -1
  113. package/dist/components/base/index.mjs +0 -2
  114. package/dist/components/data/card/card.vue.mjs +0 -5
  115. package/dist/components/data/card/index.mjs +0 -1
  116. package/dist/components/data/index.mjs +0 -11
  117. package/dist/components/data/popover/index.mjs +0 -1
  118. package/dist/components/data/popover/popover.vue.mjs +0 -5
  119. package/dist/components/data/table/index.mjs +0 -1
  120. package/dist/components/data/table/table.vue.mjs +0 -5
  121. package/dist/components/data/tag/index.mjs +0 -1
  122. package/dist/components/data/tag/tag.vue.mjs +0 -5
  123. package/dist/components/data/tree/index.mjs +0 -1
  124. package/dist/components/data/tree/tree-item.vue.mjs +0 -5
  125. package/dist/components/data/tree/tree-raw.vue.mjs +0 -5
  126. package/dist/components/form/checkbox/checkbox.vue.mjs +0 -5
  127. package/dist/components/form/checkbox/index.mjs +0 -1
  128. package/dist/components/form/index.mjs +0 -11
  129. package/dist/components/form/input/index.mjs +0 -1
  130. package/dist/components/form/input/input.vue.mjs +0 -5
  131. package/dist/components/form/select/index.mjs +0 -1
  132. package/dist/components/form/select/select.vue.mjs +0 -5
  133. package/dist/components/form/slider/index.mjs +0 -1
  134. package/dist/components/form/slider/slider.vue.mjs +0 -5
  135. package/dist/components/form/switch/index.mjs +0 -1
  136. package/dist/components/form/switch/switch.vue.mjs +0 -5
  137. package/dist/components/index.mjs +0 -21
  138. package/dist/components/layout/index.mjs +0 -4
  139. package/dist/components/layout/layout/layout.vue.mjs +0 -5
  140. package/dist/components/layout/page/Page.vue.mjs +0 -5
  141. package/dist/components/layout/page/index.mjs +0 -1
  142. package/dist/components/other/calendar/calendar.vue.mjs +0 -5
  143. package/dist/components/other/calendar/index.mjs +0 -1
  144. package/dist/components/other/index.mjs +0 -5
  145. package/dist/components/other/menu/index.mjs +0 -1
  146. package/dist/components/other/menu/index.vue.mjs +0 -5
  147. package/dist/components/other/menu/menu-h/index.vue.mjs +0 -5
  148. package/dist/context/index.mjs +0 -1
  149. package/dist/icons/index.mjs +0 -5
  150. package/dist/index.mjs +0 -20
  151. /package/dist/_virtual/{_plugin-vue_export-helper.mjs → _plugin-vue_export-helper.js} +0 -0
  152. /package/dist/components/data/popover/{utils.mjs → utils.js} +0 -0
  153. /package/dist/utils/{z-index.mjs → z-index.js} +0 -0
@@ -1,3 +1,3 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
2
2
  declare const _default: typeof __VLS_export;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Size } from "../../../types";
1
+ import { Size } from "../../../types.js";
2
2
  type __VLS_Props = {
3
3
  min?: number;
4
4
  max?: number;
@@ -10,10 +10,10 @@ type __VLS_ModelProps = {
10
10
  modelValue?: number;
11
11
  };
12
12
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
13
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: number) => any;
15
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
+ }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  export default _default;
@@ -1,3 +1,3 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
2
2
  declare const _default: typeof __VLS_export;
3
3
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Size } from "../../../types";
1
+ import { Size } from "../../../types.js";
2
2
  type __VLS_Props = {
3
3
  size?: Size;
4
4
  name?: string;
@@ -8,10 +8,10 @@ type __VLS_ModelProps = {
8
8
  modelValue?: boolean;
9
9
  };
10
10
  type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
11
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {
12
12
  "update:modelValue": (value: boolean) => any;
13
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
14
14
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
16
16
  declare const _default: typeof __VLS_export;
17
17
  export default _default;
@@ -1,5 +1,5 @@
1
- export * from "./base";
2
- export * from "./data";
3
- export * from "./form";
4
- export * from "./layout";
5
- export * from "./other";
1
+ export * from "./base/index.js";
2
+ export * from "./data/index.js";
3
+ export * from "./form/index.js";
4
+ export * from "./layout/index.js";
5
+ export * from "./other/index.js";
@@ -1,2 +1,2 @@
1
- export * from "./page";
2
- export * from "./layout";
1
+ export * from "./page/index.js";
2
+ export * from "./layout/index.js";
@@ -1,3 +1,3 @@
1
- declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
2
2
  declare const _default: typeof __VLS_export;
3
3
  export default _default;
@@ -4,7 +4,7 @@ declare const __VLS_template: () => {
4
4
  };
5
5
  };
6
6
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
7
- declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
7
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{}, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, true, {}, any>;
8
8
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
9
  declare const _default: typeof __VLS_export;
10
10
  export default _default;
@@ -7,7 +7,7 @@ declare const __VLS_template: () => {
7
7
  };
8
8
  };
9
9
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
10
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
11
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
12
  declare const _default: typeof __VLS_export;
13
13
  export default _default;
@@ -1,4 +1,4 @@
1
- import { MenuItem } from "../../other";
1
+ import { MenuItem } from "../../other/index.js";
2
2
  type __VLS_Props = {
3
3
  menu: MenuItem[];
4
4
  };
@@ -28,7 +28,7 @@ declare const __VLS_template: () => {
28
28
  };
29
29
  };
30
30
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
31
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
32
32
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
33
33
  declare const _default: typeof __VLS_export;
34
34
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import dayjs from "dayjs";
2
2
  declare const _default: typeof __VLS_export;
3
3
  export default _default;
4
- declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
4
+ declare const __VLS_export: __VLS_WithSlots<import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<{
5
5
  displayMonth?: Date | string | number | dayjs.Dayjs;
6
6
  /**
7
7
  * 周的名字
@@ -11,9 +11,9 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
11
11
  * 周的偏移量
12
12
  */
13
13
  weekOffset?: number;
14
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
14
+ }, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {} & {
15
15
  "date-click": (date: dayjs.Dayjs) => any;
16
- }, string, import("vue").PublicProps, Readonly<{
16
+ }, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<{
17
17
  displayMonth?: Date | string | number | dayjs.Dayjs;
18
18
  /**
19
19
  * 周的名字
@@ -25,7 +25,7 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<{
25
25
  weekOffset?: number;
26
26
  }> & Readonly<{
27
27
  "onDate-click"?: ((date: dayjs.Dayjs) => any) | undefined;
28
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
28
+ }>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>, {
29
29
  default?: (props: {
30
30
  display: number;
31
31
  isPrevious: boolean;
@@ -1,2 +1,2 @@
1
- export * from "./menu";
2
- export * from "./calendar";
1
+ export * from "./menu/index.js";
2
+ export * from "./calendar/index.js";
@@ -1,4 +1,4 @@
1
- import { MenuItem } from "./types";
1
+ import { MenuItem } from "./types.js";
2
2
  type __VLS_Props = {
3
3
  menu: MenuItem[];
4
4
  direction: "h" | "v";
@@ -35,7 +35,7 @@ declare const __VLS_template: () => {
35
35
  };
36
36
  };
37
37
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
38
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
38
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
39
39
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
40
40
  declare const _default: typeof __VLS_export;
41
41
  export default _default;
@@ -1,4 +1,4 @@
1
- import { MenuItem } from "../types";
1
+ import { MenuItem } from "../types.js";
2
2
  type __VLS_Props = {
3
3
  menu: MenuItem[];
4
4
  };
@@ -8,7 +8,7 @@ declare const __VLS_template: () => {
8
8
  };
9
9
  };
10
10
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
11
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  export default _default;
@@ -16,7 +16,7 @@ declare const __VLS_template: () => {
16
16
  };
17
17
  };
18
18
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
19
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  export default _default;
@@ -1,4 +1,4 @@
1
- import { MenuItem } from "../types";
1
+ import { MenuItem } from "../types.js";
2
2
  type __VLS_Props = {
3
3
  menu: MenuItem[];
4
4
  };
@@ -13,7 +13,7 @@ declare const __VLS_template: () => {
13
13
  };
14
14
  };
15
15
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
16
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
17
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
18
  declare const _default: typeof __VLS_export;
19
19
  export default _default;
@@ -9,7 +9,7 @@ declare const __VLS_template: () => {
9
9
  };
10
10
  };
11
11
  type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
12
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: import("vue", { with: { "resolution-mode": "import" } }).DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, import("vue", { with: { "resolution-mode": "import" } }).ComponentOptionsMixin, {}, string, import("vue", { with: { "resolution-mode": "import" } }).PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue", { with: { "resolution-mode": "import" } }).ComponentProvideOptions, false, {}, any>;
13
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
14
  declare const _default: typeof __VLS_export;
15
15
  export default _default;
@@ -1 +1 @@
1
- export * from "./is-mobile";
1
+ export * from "./is-mobile.js";
@@ -1,3 +1,3 @@
1
1
  import "./style/index.css";
2
- export * from "./components";
3
- export * from "./context";
2
+ export * from "./components/index.js";
3
+ export * from "./context/index.js";
@@ -1,4 +1,4 @@
1
- export * from "./z-index";
1
+ export * from "./z-index.js";
2
2
  export type StringOrNumberValueKey<T> = {
3
3
  [k in keyof T]: T[k] extends string | number ? k : never;
4
4
  }[keyof T];
@@ -1,2 +1,2 @@
1
- declare const _default: import("vite", { with: { "resolution-mode": "import" } }).UserConfig;
1
+ declare const _default: import("vite").UserConfig;
2
2
  export default _default;
@@ -1,5 +0,0 @@
1
- import e from "./button.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/base/button/button.vue
4
- var t = e;
5
- export { t as default };
@@ -1,27 +0,0 @@
1
- import { createElementBlock as e, defineComponent as t, normalizeClass as n, openBlock as r, renderSlot as i } from "D:/sweb/star-ui/node_modules/vue/dist/vue.runtime.esm-bundler.js";
2
- // src/components/base/button/button.vue?vue&type=script&setup=true&lang.tsx
3
- var a = ["disabled"], o = /*@__PURE__*/ t({
4
- __name: "button",
5
- props: {
6
- size: { default: "medium" },
7
- theme: { default: "default" },
8
- disabled: {
9
- type: Boolean,
10
- default: !1
11
- }
12
- },
13
- setup(t) {
14
- return (o, s) => (r(), e("button", {
15
- class: n([
16
- "star-ui",
17
- "su-container",
18
- "star-ui-container",
19
- "star-ui-button",
20
- `star-ui-color-bg-${t.theme}`,
21
- `star-ui-size-${t.size}`
22
- ]),
23
- disabled: t.disabled
24
- }, [i(o.$slots, "default")], 10, a));
25
- }
26
- });
27
- export { o as default };
@@ -1 +0,0 @@
1
- export { default as Button } from "./button.vue.mjs";
@@ -1,2 +0,0 @@
1
- export { default as Button } from "./button/button.vue.mjs";
2
- import "./button/index.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./card.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/data/card/card.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as Card } from "./card.vue.mjs";
@@ -1,11 +0,0 @@
1
- import e from "./card/card.vue.mjs";
2
- import "./card/index.mjs";
3
- import t from "./table/table.vue.mjs";
4
- import "./table/index.mjs";
5
- import n from "./popover/popover.vue.mjs";
6
- import r from "./tree/tree.vue.mjs";
7
- import "./tree/index.mjs";
8
- import "./popover/index.mjs";
9
- import i from "./tag/tag.vue.mjs";
10
- import "./tag/index.mjs";
11
- export { e as Card, n as Popover, t as Table, i as Tag, r as Tree };
@@ -1 +0,0 @@
1
- export { default as Popover } from "./popover.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./popover.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/data/popover/popover.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as Table } from "./table.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./table.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/data/table/table.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as Tag } from "./tag.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./tag.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/data/tag/tag.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as Tree } from "./tree.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./tree-item.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/data/tree/tree-item.vue
4
- var t = e;
5
- export { t as default };
@@ -1,5 +0,0 @@
1
- import e from "./tree-raw.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/data/tree/tree-raw.vue
4
- var t = e;
5
- export { t as default };
@@ -1,5 +0,0 @@
1
- import e from "./checkbox.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/form/checkbox/checkbox.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as CheckBox } from "./checkbox.vue.mjs";
@@ -1,11 +0,0 @@
1
- import e from "./input/input.vue.mjs";
2
- import "./input/index.mjs";
3
- import t from "./select/select.vue.mjs";
4
- import "./select/index.mjs";
5
- import n from "./switch/switch.vue.mjs";
6
- import "./switch/index.mjs";
7
- import r from "./slider/slider.vue.mjs";
8
- import "./slider/index.mjs";
9
- import i from "./checkbox/checkbox.vue.mjs";
10
- import "./checkbox/index.mjs";
11
- export { i as CheckBox, e as Input, t as Select, r as Slider, n as Switch };
@@ -1 +0,0 @@
1
- export { default as Input } from "./input.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./input.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/form/input/input.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as Select } from "./select.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./select.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/form/select/select.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as Slider } from "./slider.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./slider.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/form/slider/slider.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as Switch } from "./switch.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./switch.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/form/switch/switch.vue
4
- var t = e;
5
- export { t as default };
@@ -1,21 +0,0 @@
1
- import e from "./base/button/button.vue.mjs";
2
- import "./base/index.mjs";
3
- import t from "./data/card/card.vue.mjs";
4
- import n from "./data/table/table.vue.mjs";
5
- import r from "./form/input/input.vue.mjs";
6
- import i from "./data/popover/popover.vue.mjs";
7
- import a from "./form/select/select.vue.mjs";
8
- import o from "./form/switch/switch.vue.mjs";
9
- import s from "./form/slider/slider.vue.mjs";
10
- import c from "./form/checkbox/checkbox.vue.mjs";
11
- import "./data/index.mjs";
12
- import l from "./data/tree/tree.vue.mjs";
13
- import u from "./data/tag/tag.vue.mjs";
14
- import "./form/index.mjs";
15
- import d from "./other/menu/index.vue.mjs";
16
- import f from "./other/calendar/calendar.vue.mjs";
17
- import "./layout/index.mjs";
18
- import p from "./layout/page/Page.vue.mjs";
19
- import { Layout as m } from "./layout/layout/index.mjs";
20
- import "./other/index.mjs";
21
- export { e as Button, f as Calender, t as Card, c as CheckBox, r as Input, m as Layout, d as Menu, p as Page, i as Popover, a as Select, s as Slider, o as Switch, n as Table, u as Tag, l as Tree };
@@ -1,4 +0,0 @@
1
- import e from "./page/Page.vue.mjs";
2
- import "./page/index.mjs";
3
- import { Layout as t } from "./layout/index.mjs";
4
- export { t as Layout, e as Page };
@@ -1,5 +0,0 @@
1
- import e from "./layout.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/layout/layout/layout.vue
4
- var t = e;
5
- export { t as default };
@@ -1,5 +0,0 @@
1
- import e from "./Page.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/layout/page/Page.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as Page } from "./Page.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./calendar.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/other/calendar/calendar.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { default as Calender } from "./calendar.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./menu/index.vue.mjs";
2
- import "./menu/index.mjs";
3
- import t from "./calendar/calendar.vue.mjs";
4
- import "./calendar/index.mjs";
5
- export { t as Calender, e as Menu };
@@ -1 +0,0 @@
1
- export { default as Menu } from "./index.vue.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./index.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/other/menu/index.vue
4
- var t = e;
5
- export { t as default };
@@ -1,5 +0,0 @@
1
- import e from "./index.vue_vue_type_script_setup_true_lang.mjs";
2
- /* empty css */
3
- // src/components/other/menu/menu-h/index.vue
4
- var t = e;
5
- export { t as default };
@@ -1 +0,0 @@
1
- export { SuViewCtrlInjectKeyIsMobile, provideIsMobile, useIsMobile } from "./is-mobile.mjs";
@@ -1,5 +0,0 @@
1
- import e from "./menu.svg_component.mjs";
2
- import t from "./home.svg_component.mjs";
3
- import n from "./arrow-right.svg_component.mjs";
4
- import r from "./arrow-down.svg_component.mjs";
5
- export { r as IconArrowDown, n as IconArrowRight, t as IconHome, e as IconMenu };
package/dist/index.mjs DELETED
@@ -1,20 +0,0 @@
1
- /* empty css */
2
- import e from "./components/base/button/button.vue.mjs";
3
- import t from "./components/data/card/card.vue.mjs";
4
- import n from "./components/data/table/table.vue.mjs";
5
- import r from "./components/form/input/input.vue.mjs";
6
- import { SuViewCtrlInjectKeyIsMobile as i, provideIsMobile as a, useIsMobile as o } from "./context/is-mobile.mjs";
7
- import "./components/index.mjs";
8
- import s from "./components/data/popover/popover.vue.mjs";
9
- import c from "./components/form/select/select.vue.mjs";
10
- import l from "./components/form/switch/switch.vue.mjs";
11
- import u from "./components/form/slider/slider.vue.mjs";
12
- import d from "./components/form/checkbox/checkbox.vue.mjs";
13
- import f from "./components/data/tree/tree.vue.mjs";
14
- import p from "./components/data/tag/tag.vue.mjs";
15
- import m from "./components/other/menu/index.vue.mjs";
16
- import h from "./components/other/calendar/calendar.vue.mjs";
17
- import g from "./components/layout/page/Page.vue.mjs";
18
- import { Layout as _ } from "./components/layout/layout/index.mjs";
19
- import "./context/index.mjs";
20
- export { e as Button, h as Calender, t as Card, d as CheckBox, r as Input, _ as Layout, m as Menu, g as Page, s as Popover, c as Select, u as Slider, i as SuViewCtrlInjectKeyIsMobile, l as Switch, n as Table, p as Tag, f as Tree, a as provideIsMobile, o as useIsMobile };
File without changes