x-runtime-lib 0.8.223 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/dist/components/element/ui/index.d.ts +6 -1
  2. package/dist/components/element/ui/table/v1/index.vue.d.ts +12 -1
  3. package/dist/components/element/ui/tableBody/v1/index.vue.d.ts +13 -0
  4. package/dist/components/element/ui/tableBodyCell/v1/index.vue.d.ts +13 -0
  5. package/dist/components/element/ui/tableHead/v1/index.vue.d.ts +13 -0
  6. package/dist/components/element/ui/tableHeadCell/v1/index.vue.d.ts +13 -0
  7. package/dist/components/element/ui/tableRow/v1/index.vue.d.ts +13 -0
  8. package/dist/composables/element/piece/index.d.ts +0 -1
  9. package/dist/composables/{element/piece/ui/color/v1/index.d.ts → runtime/color.d.ts} +1 -1
  10. package/dist/composables/runtime/index.d.ts +1 -0
  11. package/dist/element/_common/items/index.d.ts +0 -1
  12. package/dist/element/_common/props/index.d.ts +0 -1
  13. package/dist/element/_common/types/colorTypes/v1/index.d.ts +2 -0
  14. package/dist/element/_common/types/index.d.ts +1 -0
  15. package/dist/element/ui/badge/v1/spawn.d.ts +0 -1
  16. package/dist/element/ui/index.d.ts +6 -0
  17. package/dist/element/ui/table/v1/spawn.d.ts +2 -0
  18. package/dist/element/ui/tableBody/v1/index.d.ts +1 -0
  19. package/dist/element/ui/tableBody/v1/meta.d.ts +2 -0
  20. package/dist/element/ui/tableBodyCell/v1/index.d.ts +1 -0
  21. package/dist/element/ui/tableBodyCell/v1/meta.d.ts +2 -0
  22. package/dist/element/ui/tableHead/v1/index.d.ts +1 -0
  23. package/dist/element/ui/tableHead/v1/meta.d.ts +2 -0
  24. package/dist/element/ui/tableHeadCell/v1/index.d.ts +1 -0
  25. package/dist/element/ui/tableHeadCell/v1/meta.d.ts +2 -0
  26. package/dist/element/ui/tableRow/v1/index.d.ts +1 -0
  27. package/dist/element/ui/tableRow/v1/meta.d.ts +2 -0
  28. package/dist/{i18n-en.8y28jy4c.js → i18n-en.nb98wzaa.js} +5 -0
  29. package/dist/{i18n-zhHans.kydqftp1.js → i18n-zhHans.lbd05oyp.js} +5 -0
  30. package/dist/index.js +2493 -2757
  31. package/dist/types/protocol.d.ts +23 -8
  32. package/dist/utils/misc.d.ts +6 -4
  33. package/dist/utils/node.d.ts +9 -0
  34. package/package.json +1 -1
  35. package/dist/element/_common/items/colorModeItems/v1/index.d.ts +0 -2
  36. package/dist/element/_common/props/color/v1/index.d.ts +0 -2
@@ -35,6 +35,11 @@ import ZStepperWindowItemV1 from './stepperWindowItem/v1/index.vue';
35
35
  import ZSwitchV1 from './switch/v1/index.vue';
36
36
  import ZTabV1 from './tab/v1/index.vue';
37
37
  import ZTableV1 from './table/v1/index.vue';
38
+ import ZTableBodyV1 from './tableBody/v1/index.vue';
39
+ import ZTableBodyCellV1 from './tableBodyCell/v1/index.vue';
40
+ import ZTableHeadV1 from './tableHead/v1/index.vue';
41
+ import ZTableHeadCellV1 from './tableHeadCell/v1/index.vue';
42
+ import ZTableRowV1 from './tableRow/v1/index.vue';
38
43
  import ZTabsV1 from './tabs/v1/index.vue';
39
44
  import ZTextV1 from './text/v1/index.vue';
40
45
  import ZTextareaV1 from './textarea/v1/index.vue';
@@ -43,4 +48,4 @@ import ZTimelineV1 from './timeline/v1/index.vue';
43
48
  import ZTimelineItemV1 from './timelineItem/v1/index.vue';
44
49
  import ZWindowV1 from './window/v1/index.vue';
45
50
  import ZWindowItemV1 from './windowItem/v1/index.vue';
46
- export { ZBadgeV1, ZBreadcrumbsV1, ZBtnV1, ZBtnToggleV1, ZBtnToggleEntryV1, ZCardV1, ZCheckboxV1, ZChipV1, ZChipGroupV1, ZColorPickerV1, ZComboboxV1, ZContainerV1, ZDataTableV1, ZDatePickerV1, ZDialogV1, ZFileInputV1, ZFlexLayoutV1, ZFlexLayoutEntryV1, ZFormV1, ZIconV1, ZMenuV1, ZNumberInputV1, ZPaginationV1, ZRadioV1, ZRadioGroupV1, ZRangeSliderV1, ZRatingV1, ZSelectV1, ZSliderV1, ZStepperV1, ZStepperHeaderV1, ZStepperItemV1, ZStepperWindowV1, ZStepperWindowItemV1, ZSwitchV1, ZTabV1, ZTableV1, ZTabsV1, ZTextV1, ZTextareaV1, ZTextFieldV1, ZTimelineV1, ZTimelineItemV1, ZWindowV1, ZWindowItemV1 };
51
+ export { ZBadgeV1, ZBreadcrumbsV1, ZBtnV1, ZBtnToggleV1, ZBtnToggleEntryV1, ZCardV1, ZCheckboxV1, ZChipV1, ZChipGroupV1, ZColorPickerV1, ZComboboxV1, ZContainerV1, ZDataTableV1, ZDatePickerV1, ZDialogV1, ZFileInputV1, ZFlexLayoutV1, ZFlexLayoutEntryV1, ZFormV1, ZIconV1, ZMenuV1, ZNumberInputV1, ZPaginationV1, ZRadioV1, ZRadioGroupV1, ZRangeSliderV1, ZRatingV1, ZSelectV1, ZSliderV1, ZStepperV1, ZStepperHeaderV1, ZStepperItemV1, ZStepperWindowV1, ZStepperWindowItemV1, ZSwitchV1, ZTabV1, ZTableV1, ZTableBodyV1, ZTableBodyCellV1, ZTableHeadV1, ZTableHeadCellV1, ZTableRowV1, ZTabsV1, ZTextV1, ZTextareaV1, ZTextFieldV1, ZTimelineV1, ZTimelineItemV1, ZWindowV1, ZWindowItemV1 };
@@ -1,3 +1,14 @@
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
+ import { ElementProps } from '@/types';
2
+ declare var __VLS_14: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_14) => any;
5
+ };
6
+ declare const __VLS_base: import("vue").DefineComponent<ElementProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ElementProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
2
8
  declare const _default: typeof __VLS_export;
3
9
  export default _default;
10
+ type __VLS_WithSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ 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>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ 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>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ 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>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ 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>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
5
+ 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>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -5,7 +5,6 @@ export * from './chart/title/v1';
5
5
  export * from './chart/xAxis/v1';
6
6
  export * from './chart/yAxis/v1';
7
7
  export * from './ui/border/v1';
8
- export * from './ui/color/v1';
9
8
  export * from './ui/margin/v1';
10
9
  export * from './ui/padding/v1';
11
10
  export * from './ui/size/v1';
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- export declare function useColorV1(colorMode: Ref<string>, colorTheme: Ref<string>, colorCustomLight: Ref<string>, colorCustomDark: Ref<string>): {
2
+ export declare function useColor(src: Ref<string>): {
3
3
  color: import("vue").ComputedRef<string | number | {
4
4
  readonly h: number;
5
5
  readonly s: number;
@@ -1,3 +1,4 @@
1
+ export * from './color';
1
2
  export * from './depend';
2
3
  export * from './runtime';
3
4
  export * from './sandbox';
@@ -1,7 +1,6 @@
1
1
  export * from './alignTabsItems/v1';
2
2
  export * from './axisTypeItems/v1';
3
3
  export * from './borderStyleItems/v1';
4
- export * from './colorModeItems/v1';
5
4
  export * from './densityItems/v1';
6
5
  export * from './directionItems/v1';
7
6
  export * from './fieldVariantItems/v1';
@@ -1,6 +1,5 @@
1
1
  export * from './basic/v1';
2
2
  export * from './border/v1';
3
- export * from './color/v1';
4
3
  export * from './legend/v1';
5
4
  export * from './margin/v1';
6
5
  export * from './padding/v1';
@@ -0,0 +1,2 @@
1
+ import { ZType } from '@/types';
2
+ export declare const colorTypesV1: ZType[];
@@ -1,4 +1,5 @@
1
1
  export * from './borderWidthTypes/v1';
2
+ export * from './colorTypes/v1';
2
3
  export * from './leftRightTypes/v1';
3
4
  export * from './marginTypes/v1';
4
5
  export * from './paddingTypes/v1';
@@ -1,3 +1,2 @@
1
1
  import { NodePair } from '@/types';
2
2
  export declare function spawn(type: string, subtype: string): NodePair;
3
- export declare function spawnButton(type: string, subtype: string): NodePair;
@@ -33,6 +33,12 @@ export * from './stepperWindow/v1';
33
33
  export * from './stepperWindowItem/v1';
34
34
  export * from './switch/v1';
35
35
  export * from './tab/v1';
36
+ export * from './table/v1';
37
+ export * from './tableBody/v1';
38
+ export * from './tableBodyCell/v1';
39
+ export * from './tableHead/v1';
40
+ export * from './tableHeadCell/v1';
41
+ export * from './tableRow/v1';
36
42
  export * from './tabs/v1';
37
43
  export * from './text/v1';
38
44
  export * from './textarea/v1';
@@ -0,0 +1,2 @@
1
+ import { NodePair } from '@/types';
2
+ export declare function spawn(type: string, subtype: string): NodePair;
@@ -0,0 +1 @@
1
+ export * from './meta';
@@ -0,0 +1,2 @@
1
+ import { ZElement } from '@/types';
2
+ export declare const tableBodyV1: ZElement;
@@ -0,0 +1 @@
1
+ export * from './meta';
@@ -0,0 +1,2 @@
1
+ import { ZElement } from '@/types';
2
+ export declare const tableBodyCellV1: ZElement;
@@ -0,0 +1 @@
1
+ export * from './meta';
@@ -0,0 +1,2 @@
1
+ import { ZElement } from '@/types';
2
+ export declare const tableHeadV1: ZElement;
@@ -0,0 +1 @@
1
+ export * from './meta';
@@ -0,0 +1,2 @@
1
+ import { ZElement } from '@/types';
2
+ export declare const tableHeadCellV1: ZElement;
@@ -0,0 +1 @@
1
+ export * from './meta';
@@ -0,0 +1,2 @@
1
+ import { ZElement } from '@/types';
2
+ export declare const tableRowV1: ZElement;
@@ -333,6 +333,11 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
333
333
  switch: "Switch",
334
334
  tab: "Tab",
335
335
  table: "Table",
336
+ tableBody: "Table Body",
337
+ tableBodyCell: "Table Body Cell",
338
+ tableHead: "Table Head",
339
+ tableHeadCell: "Table Head Cell",
340
+ tableRow: "Table Row",
336
341
  tabs: "Tabs",
337
342
  text: "Text",
338
343
  textarea: "Textarea",
@@ -333,6 +333,11 @@ var t = /* @__PURE__ */ e({ default: () => n }), n = { "x-runtime-lib": {
333
333
  switch: "开关",
334
334
  tab: "选项卡",
335
335
  table: "表",
336
+ tableBody: "表体",
337
+ tableBodyCell: "表体单元",
338
+ tableHead: "表头",
339
+ tableHeadCell: "表头单元",
340
+ tableRow: "表行",
336
341
  tabs: "选项卡(s)",
337
342
  text: "文本",
338
343
  textarea: "文本区域",