@deck9/ui 0.8.2 → 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.
@@ -9,7 +9,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
9
9
  required: false;
10
10
  default: string;
11
11
  };
12
- type: {
12
+ color: {
13
13
  type: null;
14
14
  required: false;
15
15
  default: string;
@@ -38,7 +38,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
38
38
  props: {
39
39
  label: string;
40
40
  size: Size;
41
- type: ColorScheme;
41
+ color: ColorScheme;
42
42
  isLoading: boolean;
43
43
  isDisabled: boolean;
44
44
  icon?: string | undefined;
@@ -73,37 +73,57 @@ declare const _sfc_main: import("vue").DefineComponent<{
73
73
  props: {
74
74
  name: string;
75
75
  };
76
+ iconBag: import("vue").ComputedRef<"fab" | "fas">;
76
77
  isIconAvailable: import("vue").ComputedRef<boolean>;
77
78
  FontAwesomeIcon: import("vue").ComponentPublicInstance<import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, {}, {}, {}, {}, import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
78
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
79
- name?: unknown;
80
- } & {
81
- name: string;
82
- } & {}>, {
79
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
80
+ name: {
81
+ type: StringConstructor;
82
+ required: true;
83
+ default: string;
84
+ };
85
+ }>>, {
83
86
  name: string;
84
87
  }>;
85
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
86
- label?: unknown;
87
- size?: unknown;
88
- type?: unknown;
89
- isLoading?: unknown;
90
- isDisabled?: unknown;
91
- icon?: unknown;
92
- iconPosition?: unknown;
93
- } & {
94
- label: string;
95
- type: any;
96
- size: any;
97
- isLoading: boolean;
98
- isDisabled: boolean;
99
- iconPosition: any;
100
- } & {
101
- icon?: string | undefined;
102
- }> & {
88
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onClick"[], "onClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
89
+ label: {
90
+ type: StringConstructor;
91
+ required: true;
92
+ };
93
+ size: {
94
+ type: null;
95
+ required: false;
96
+ default: string;
97
+ };
98
+ color: {
99
+ type: null;
100
+ required: false;
101
+ default: string;
102
+ };
103
+ isLoading: {
104
+ type: BooleanConstructor;
105
+ required: false;
106
+ default: boolean;
107
+ };
108
+ isDisabled: {
109
+ type: BooleanConstructor;
110
+ required: false;
111
+ default: boolean;
112
+ };
113
+ icon: {
114
+ type: StringConstructor;
115
+ required: false;
116
+ };
117
+ iconPosition: {
118
+ type: null;
119
+ required: false;
120
+ default: string;
121
+ };
122
+ }>> & {
103
123
  onOnClick?: ((...args: any[]) => any) | undefined;
104
124
  }, {
105
- type: any;
106
125
  size: any;
126
+ color: any;
107
127
  isLoading: boolean;
108
128
  isDisabled: boolean;
109
129
  iconPosition: any;
@@ -19,18 +19,25 @@ declare const _sfc_main: import("vue").DefineComponent<{
19
19
  }, {
20
20
  emits: (e: "update:modelValue", checked: boolean) => void;
21
21
  update: (value: Event) => void;
22
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
23
- id?: unknown;
24
- label?: unknown;
25
- modelValue?: unknown;
26
- description?: unknown;
27
- } & {
28
- label: string;
29
- id: string;
30
- modelValue: boolean;
31
- } & {
32
- description?: string | undefined;
33
- }> & {
22
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ id: {
24
+ type: StringConstructor;
25
+ required: false;
26
+ default: string;
27
+ };
28
+ label: {
29
+ type: StringConstructor;
30
+ required: true;
31
+ };
32
+ modelValue: {
33
+ type: BooleanConstructor;
34
+ required: true;
35
+ };
36
+ description: {
37
+ type: StringConstructor;
38
+ required: false;
39
+ };
40
+ }>> & {
34
41
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
35
42
  }, {
36
43
  id: string;
@@ -8,13 +8,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
8
8
  props: {
9
9
  name: string;
10
10
  };
11
+ iconBag: import("vue").ComputedRef<"fab" | "fas">;
11
12
  isIconAvailable: import("vue").ComputedRef<boolean>;
12
13
  FontAwesomeIcon: import("vue").ComponentPublicInstance<import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, {}, {}, {}, {}, import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
13
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
14
- name?: unknown;
15
- } & {
16
- name: string;
17
- } & {}>, {
14
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ name: {
16
+ type: StringConstructor;
17
+ required: true;
18
+ default: string;
19
+ };
20
+ }>>, {
18
21
  name: string;
19
22
  }>;
20
23
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- export { default as icons } from "./registerIcons";
1
+ export { default as icons, brands } from "./registerIcons";
2
2
  export { default as D9Icon } from "./Icon.vue";
@@ -1,2 +1,3 @@
1
1
  declare const _default: string[];
2
2
  export default _default;
3
+ export declare const brands: string[];
@@ -11,14 +11,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
11
11
  type: StringConstructor;
12
12
  required: false;
13
13
  };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
15
- id?: unknown;
16
- label?: unknown;
17
- description?: unknown;
18
- } & {
19
- label: string;
20
- } & {
21
- description?: string | undefined;
22
- id?: string | undefined;
23
- }>, {}>;
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
15
+ id: {
16
+ type: StringConstructor;
17
+ required: false;
18
+ };
19
+ label: {
20
+ type: StringConstructor;
21
+ required: true;
22
+ };
23
+ description: {
24
+ type: StringConstructor;
25
+ required: false;
26
+ };
27
+ }>>, {}>;
24
28
  export default _sfc_main;
@@ -5,7 +5,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
5
5
  default: string;
6
6
  };
7
7
  usePortal: {
8
- type: (StringConstructor | BooleanConstructor)[];
8
+ type: (BooleanConstructor | StringConstructor)[];
9
9
  required: true;
10
10
  default: boolean;
11
11
  };
@@ -23,7 +23,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
23
23
  }>>;
24
24
  Menu: import("vue").DefineComponent<{
25
25
  as: {
26
- type: (ObjectConstructor | StringConstructor)[];
26
+ type: (StringConstructor | ObjectConstructor)[];
27
27
  default: string;
28
28
  };
29
29
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -41,7 +41,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
41
41
  default: boolean;
42
42
  };
43
43
  as: {
44
- type: (ObjectConstructor | StringConstructor)[];
44
+ type: (StringConstructor | ObjectConstructor)[];
45
45
  default: string;
46
46
  };
47
47
  }, {
@@ -60,7 +60,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
60
60
  }>;
61
61
  MenuItems: import("vue").DefineComponent<{
62
62
  as: {
63
- type: (ObjectConstructor | StringConstructor)[];
63
+ type: (StringConstructor | ObjectConstructor)[];
64
64
  default: string;
65
65
  };
66
66
  static: {
@@ -96,22 +96,30 @@ declare const _sfc_main: import("vue").DefineComponent<{
96
96
  props: {
97
97
  name: string;
98
98
  };
99
+ iconBag: import("vue").ComputedRef<"fab" | "fas">;
99
100
  isIconAvailable: import("vue").ComputedRef<boolean>;
100
101
  FontAwesomeIcon: import("vue").ComponentPublicInstance<import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, {}, {}, {}, {}, import("@fortawesome/vue-fontawesome").FontAwesomeIconProps, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>>;
101
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
102
- name?: unknown;
103
- } & {
104
- name: string;
105
- } & {}>, {
102
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
103
+ name: {
104
+ type: StringConstructor;
105
+ required: true;
106
+ default: string;
107
+ };
108
+ }>>, {
106
109
  name: string;
107
110
  }>;
108
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
109
- position?: unknown;
110
- usePortal?: unknown;
111
- } & {
112
- position: string;
113
- usePortal: string | boolean;
114
- } & {}>, {
111
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
112
+ position: {
113
+ type: StringConstructor;
114
+ required: true;
115
+ default: string;
116
+ };
117
+ usePortal: {
118
+ type: (BooleanConstructor | StringConstructor)[];
119
+ required: true;
120
+ default: boolean;
121
+ };
122
+ }>>, {
115
123
  position: string;
116
124
  usePortal: string | boolean;
117
125
  }>;
@@ -10,7 +10,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
10
10
  }, {
11
11
  MenuItem: import("vue").DefineComponent<{
12
12
  as: {
13
- type: (ObjectConstructor | StringConstructor)[];
13
+ type: (StringConstructor | ObjectConstructor)[];
14
14
  default: string;
15
15
  };
16
16
  disabled: {
@@ -28,14 +28,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
28
28
  as: string;
29
29
  disabled: boolean;
30
30
  }>;
31
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
32
- label?: unknown;
33
- disabled?: unknown;
34
- } & {
35
- disabled: boolean;
36
- } & {
37
- label?: string | undefined;
38
- }>, {
31
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ label: {
33
+ type: StringConstructor;
34
+ required: false;
35
+ };
36
+ disabled: {
37
+ type: BooleanConstructor;
38
+ required: false;
39
+ };
40
+ }>>, {
39
41
  disabled: boolean;
40
42
  }>;
41
43
  export default _sfc_main;
@@ -29,20 +29,31 @@ declare const _sfc_main: import("vue").DefineComponent<{
29
29
  lineSettings: {
30
30
  margin: string;
31
31
  }[];
32
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
33
- avatar?: unknown;
34
- title?: unknown;
35
- lines?: unknown;
36
- footer?: unknown;
37
- } & {
38
- footer: boolean;
39
- title: boolean;
32
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
33
+ avatar: {
34
+ type: BooleanConstructor;
35
+ required: false;
36
+ default: boolean;
37
+ };
38
+ title: {
39
+ type: BooleanConstructor;
40
+ required: false;
41
+ default: boolean;
42
+ };
43
+ lines: {
44
+ type: NumberConstructor;
45
+ required: false;
46
+ default: number;
47
+ };
48
+ footer: {
49
+ type: BooleanConstructor;
50
+ required: false;
51
+ default: boolean;
52
+ };
53
+ }>>, {
40
54
  avatar: boolean;
41
- lines: number;
42
- } & {}>, {
43
- footer: boolean;
44
55
  title: boolean;
45
- avatar: boolean;
46
56
  lines: number;
57
+ footer: boolean;
47
58
  }>;
48
59
  export default _sfc_main;
@@ -27,11 +27,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
27
27
  default: string;
28
28
  };
29
29
  }, {
30
- emits: (e: "update:modelValue", value: boolean) => void;
30
+ emits: {
31
+ (e: "update:modelValue", value: boolean): void;
32
+ (e: "change", value: boolean): void;
33
+ };
31
34
  update: (newValue: boolean) => void;
32
35
  Switch: import("vue").DefineComponent<{
33
36
  as: {
34
- type: (ObjectConstructor | StringConstructor)[];
37
+ type: (StringConstructor | ObjectConstructor)[];
35
38
  default: string;
36
39
  };
37
40
  modelValue: {
@@ -56,23 +59,37 @@ declare const _sfc_main: import("vue").DefineComponent<{
56
59
  as: string;
57
60
  modelValue: boolean;
58
61
  }>;
59
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
60
- id?: unknown;
61
- label?: unknown;
62
- modelValue?: unknown;
63
- description?: unknown;
64
- onLabel?: unknown;
65
- offLabel?: unknown;
66
- } & {
67
- label: string;
68
- id: string;
69
- modelValue: boolean;
70
- onLabel: string;
71
- offLabel: string;
72
- } & {
73
- description?: string | undefined;
74
- }> & {
62
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
63
+ id: {
64
+ type: StringConstructor;
65
+ required: false;
66
+ default: string;
67
+ };
68
+ label: {
69
+ type: StringConstructor;
70
+ required: true;
71
+ };
72
+ modelValue: {
73
+ type: BooleanConstructor;
74
+ required: true;
75
+ };
76
+ description: {
77
+ type: StringConstructor;
78
+ required: false;
79
+ };
80
+ onLabel: {
81
+ type: StringConstructor;
82
+ required: false;
83
+ default: string;
84
+ };
85
+ offLabel: {
86
+ type: StringConstructor;
87
+ required: false;
88
+ default: string;
89
+ };
90
+ }>> & {
75
91
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
92
+ onChange?: ((...args: any[]) => any) | undefined;
76
93
  }, {
77
94
  id: string;
78
95
  onLabel: string;