@maltjoy/core-vue 3.5.3 → 3.6.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.
@@ -18,6 +18,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
18
  default: string;
19
19
  validator(size: PanelTitleSizes): boolean;
20
20
  };
21
+ loading: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ loadingColor: {
26
+ type: PropType<"dark" | "light">;
27
+ default: string;
28
+ };
21
29
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
30
  flex: {
23
31
  type: StringConstructor;
@@ -36,16 +44,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
36
44
  default: string;
37
45
  validator(size: PanelTitleSizes): boolean;
38
46
  };
47
+ loading: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ loadingColor: {
52
+ type: PropType<"dark" | "light">;
53
+ default: string;
54
+ };
39
55
  }>>, {
56
+ loading: boolean;
40
57
  noMargin: boolean;
41
58
  padding: PanelSizes;
42
59
  titleSize: PanelTitleSizes;
60
+ loadingColor: "dark" | "light";
43
61
  }>, {
44
62
  'panel-title': (_: {}) => any;
45
63
  'panel-title-action': (_: {}) => any;
46
64
  'panel-subtitle': (_: {}) => any;
47
65
  'panel-body': (_: {}) => any;
48
66
  'panel-action': (_: {}) => any;
67
+ 'panel-loader-content': (_: {}) => any;
49
68
  }>;
50
69
  export default _default;
51
70
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -0,0 +1,2 @@
1
+ export declare const COLORS: readonly ["dark", "light"];
2
+ export type TColors = (typeof COLORS)[number];
@@ -0,0 +1,36 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ /** Light or dark. Changes the spinner and background color */
4
+ color: {
5
+ type: PropType<"dark" | "light">;
6
+ default: string;
7
+ };
8
+ /** The overlay mode set the component in an absolute position, and covers all the parent's area. */
9
+ overlay: {
10
+ type: BooleanConstructor;
11
+ default: boolean;
12
+ };
13
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
14
+ /** Light or dark. Changes the spinner and background color */
15
+ color: {
16
+ type: PropType<"dark" | "light">;
17
+ default: string;
18
+ };
19
+ /** The overlay mode set the component in an absolute position, and covers all the parent's area. */
20
+ overlay: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ }>>, {
25
+ color: "dark" | "light";
26
+ overlay: boolean;
27
+ }>, {
28
+ spinner: (_: {}) => any;
29
+ content: (_: {}) => any;
30
+ }>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -8,6 +8,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
8
8
  type: PropType<"left" | "right">;
9
9
  default: string;
10
10
  };
11
+ loading: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ loadingColor: {
16
+ type: PropType<"dark" | "light">;
17
+ default: string;
18
+ };
11
19
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
20
  full: {
13
21
  type: BooleanConstructor;
@@ -17,7 +25,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
25
  type: PropType<"left" | "right">;
18
26
  default: string;
19
27
  };
28
+ loading: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ loadingColor: {
33
+ type: PropType<"dark" | "light">;
34
+ default: string;
35
+ };
20
36
  }>>, {
37
+ loading: boolean;
38
+ loadingColor: "dark" | "light";
21
39
  full: boolean;
22
40
  sidebar: "left" | "right";
23
41
  }>, {
@@ -27,6 +45,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
27
45
  'template-actions': (_: {}) => any;
28
46
  'template-main': (_: {}) => any;
29
47
  'template-sidebar': (_: {}) => any;
48
+ 'template-loader-content': (_: {}) => any;
30
49
  }>;
31
50
  export default _default;
32
51
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -15,6 +15,7 @@ import VJoyPanel from '@/components/JoyPanel/VJoyPanel.vue';
15
15
  import VJoyPanelSection from '@/components/JoyPanelSection/VJoyPanelSection.vue';
16
16
  import VJoyRadio from '@/components/JoyRadio/VJoyRadio.vue';
17
17
  import VJoyRadioGroup from '@/components/JoyRadioGroup/VJoyRadioGroup.vue';
18
+ import VJoyScreenLoader from '@/components/JoyScreenLoader/VJoyScreenLoader.vue';
18
19
  import VJoySelect from '@/components/JoySelect/VJoySelect.vue';
19
20
  import VJoySelectableItem from '@/components/JoySelectableItem/VJoySelectableItem.vue';
20
21
  import VJoySelectableItemGroup from '@/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue';
@@ -23,4 +24,4 @@ import VJoyWrapper from '@/components/JoyWrapper/VJoyWrapper.vue';
23
24
  import VJoyTemplate from '@/components/JoyTemplate/VJoyTemplate.vue';
24
25
  import VJoyTextarea from '@/components/JoyTextarea/VJoyTextarea.vue';
25
26
  import VJoyToggle from '@/components/JoyToggle/VJoyToggle.vue';
26
- export { VJoyBadge, VJoyButton, VJoyCheckbox, VJoyCounter, VJoyDropdown, VJoyDropdownList, VJoyFormError, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySpinner, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, };
27
+ export { VJoyBadge, VJoyButton, VJoyCheckbox, VJoyCounter, VJoyDropdown, VJoyDropdownList, VJoyFormError, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySpinner, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, };