@citruslime/ui 2.1.3 → 2.1.4-beta.1

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 (37) hide show
  1. package/dist/citrus-lime-ui.es.js +109 -109
  2. package/dist/citrus-lime-ui.umd.js +2 -2
  3. package/dist/components/accordion/cl-ui-accordion.d.ts +5 -13
  4. package/dist/components/accordion/item/cl-ui-accordion-item.d.ts +7 -11
  5. package/dist/components/app/cl-ui-app.d.ts +5 -41
  6. package/dist/components/button/cl-ui-button.d.ts +14 -15
  7. package/dist/components/calendar/cl-ui-calendar.d.ts +101 -2
  8. package/dist/components/card/cl-ui-card.d.ts +7 -7
  9. package/dist/components/combo-box/cl-ui-combo-box.d.ts +40 -2252
  10. package/dist/components/combo-box/search-container/cl-ui-combo-box-search.d.ts +29 -782
  11. package/dist/components/combo-box/search-container/header/cl-ui-combo-box-header.d.ts +10 -10
  12. package/dist/components/combo-box/search-container/selectable/cl-ui-combo-box-selectable.d.ts +17 -25
  13. package/dist/components/grid/action-row/cl-ui-grid-action-row.d.ts +11 -72
  14. package/dist/components/grid/body/cl-ui-grid-body.d.ts +17 -826
  15. package/dist/components/grid/body/cl-ui-grid-cell-value.d.ts +7 -628
  16. package/dist/components/grid/body/cl-ui-grid-cell.d.ts +10 -659
  17. package/dist/components/grid/body/cl-ui-grid-row.d.ts +9 -694
  18. package/dist/components/grid/cl-ui-grid.d.ts +15 -3110
  19. package/dist/components/grid/footer/cl-ui-grid-footer.d.ts +8 -644
  20. package/dist/components/grid/header/cl-ui-grid-filter.d.ts +10 -696
  21. package/dist/components/grid/header/cl-ui-grid-header.d.ts +11 -757
  22. package/dist/components/grid/header/cl-ui-grid-method-selector.d.ts +12 -25
  23. package/dist/components/grid/view-manager/cl-ui-grid-view-manager.d.ts +4 -682
  24. package/dist/components/header/menu/cl-ui-header-menu.d.ts +13 -18
  25. package/dist/components/input/cl-ui-input.d.ts +74 -327
  26. package/dist/components/language-switcher/cl-ui-language-switcher.d.ts +10 -20
  27. package/dist/components/login/cl-ui-login.d.ts +8 -689
  28. package/dist/components/modal/cl-ui-modal.d.ts +11 -17
  29. package/dist/components/navigation/cl-ui-navigation.d.ts +2 -20
  30. package/dist/components/navigation/group/cl-ui-navigation-group.d.ts +3 -3
  31. package/dist/components/navigation/icon/cl-ui-navigation-icon.d.ts +5 -5
  32. package/dist/components/notification/cl-ui-notification.d.ts +8 -17
  33. package/dist/components/slider/cl-ui-slider.d.ts +20 -43
  34. package/dist/components/tab/cl-ui-tab.d.ts +11 -21
  35. package/dist/components/tab/header/cl-ui-tab-header.d.ts +12 -19
  36. package/dist/style.css +1 -1
  37. package/package.json +5 -5
@@ -1,25 +1,17 @@
1
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType as __PropType } from 'vue';
2
2
  declare const _sfc_main: DefineComponent<{
3
3
  exclusive: {
4
- type: BooleanConstructor;
4
+ type: __PropType<boolean | undefined>;
5
5
  required: false;
6
6
  default: boolean;
7
7
  };
8
- }, {
9
- props: any;
10
- items: Ref<{
11
- id: number;
12
- open: boolean;
13
- }[]>;
14
- isItemOpen: (id: number) => boolean;
15
- toggleItem: (id: number) => void;
16
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
8
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
17
9
  exclusive: {
18
- type: BooleanConstructor;
10
+ type: __PropType<boolean | undefined>;
19
11
  required: false;
20
12
  default: boolean;
21
13
  };
22
14
  }>>, {
23
- exclusive: boolean;
15
+ exclusive: boolean | undefined;
24
16
  }>;
25
17
  export default _sfc_main;
@@ -1,33 +1,29 @@
1
- import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType as __PropType } from 'vue';
2
2
  declare const _sfc_main: DefineComponent<{
3
3
  open: {
4
- type: BooleanConstructor;
4
+ type: __PropType<boolean>;
5
5
  required: true;
6
6
  };
7
7
  disabled: {
8
- type: BooleanConstructor;
8
+ type: __PropType<boolean | undefined>;
9
9
  required: false;
10
10
  default: boolean;
11
11
  };
12
- }, {
13
- props: any;
14
- emit: (event: "toggle", ...args: any[]) => void;
15
- toggle: () => void;
16
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
17
13
  toggle: null;
18
14
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
19
15
  open: {
20
- type: BooleanConstructor;
16
+ type: __PropType<boolean>;
21
17
  required: true;
22
18
  };
23
19
  disabled: {
24
- type: BooleanConstructor;
20
+ type: __PropType<boolean | undefined>;
25
21
  required: false;
26
22
  default: boolean;
27
23
  };
28
24
  }>> & {
29
25
  onToggle?: ((...args: any[]) => any) | undefined;
30
26
  }, {
31
- disabled: boolean;
27
+ disabled: boolean | undefined;
32
28
  }>;
33
29
  export default _sfc_main;
@@ -1,53 +1,17 @@
1
- import type { removeNotification } from '../../composables/notification';
2
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType as __PropType } from 'vue';
3
2
  declare const _sfc_main: DefineComponent<{
4
3
  removePadding: {
5
- type: BooleanConstructor;
4
+ type: __PropType<boolean | undefined>;
6
5
  required: false;
7
6
  default: boolean;
8
7
  };
9
- }, {
10
- ClUiNotification: DefineComponent<{
11
- container: {
12
- type: StringConstructor;
13
- required: false;
14
- default: string;
15
- };
16
- position: {
17
- type: null;
18
- required: false;
19
- default: string;
20
- };
21
- }, {
22
- readonly notifications: Ref<{
23
- id: string;
24
- message: string;
25
- colour: "default" | "primary" | "secondary" | "danger" | "warning";
26
- duration: number;
27
- }[]>;
28
- readonly removeNotification: typeof removeNotification;
29
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
30
- container: {
31
- type: StringConstructor;
32
- required: false;
33
- default: string;
34
- };
35
- position: {
36
- type: null;
37
- required: false;
38
- default: string;
39
- };
40
- }>>, {
41
- container: string;
42
- position: any;
43
- }>;
44
- }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
8
+ }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
45
9
  removePadding: {
46
- type: BooleanConstructor;
10
+ type: __PropType<boolean | undefined>;
47
11
  required: false;
48
12
  default: boolean;
49
13
  };
50
14
  }>>, {
51
- removePadding: boolean;
15
+ removePadding: boolean | undefined;
52
16
  }>;
53
17
  export default _sfc_main;
@@ -1,53 +1,52 @@
1
- import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType as __PropType } from 'vue';
2
2
  declare const _sfc_main: DefineComponent<{
3
3
  colour: {
4
- type: null;
4
+ type: __PropType<"default" | "primary" | "secondary" | "danger" | "blue" | undefined>;
5
5
  required: false;
6
6
  default: string;
7
7
  };
8
8
  size: {
9
- type: null;
9
+ type: __PropType<"small" | "medium" | "large" | undefined>;
10
10
  required: false;
11
11
  default: string;
12
12
  };
13
13
  loading: {
14
- type: BooleanConstructor;
14
+ type: __PropType<boolean | undefined>;
15
15
  required: false;
16
16
  default: boolean;
17
17
  };
18
18
  disabled: {
19
- type: BooleanConstructor;
19
+ type: __PropType<boolean | undefined>;
20
20
  required: false;
21
21
  default: boolean;
22
22
  };
23
23
  }, {
24
- buttonRef: Ref<HTMLButtonElement | null>;
25
- ClUiLoadingSpinner: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
24
+ focus(): void;
26
25
  }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
27
26
  colour: {
28
- type: null;
27
+ type: __PropType<"default" | "primary" | "secondary" | "danger" | "blue" | undefined>;
29
28
  required: false;
30
29
  default: string;
31
30
  };
32
31
  size: {
33
- type: null;
32
+ type: __PropType<"small" | "medium" | "large" | undefined>;
34
33
  required: false;
35
34
  default: string;
36
35
  };
37
36
  loading: {
38
- type: BooleanConstructor;
37
+ type: __PropType<boolean | undefined>;
39
38
  required: false;
40
39
  default: boolean;
41
40
  };
42
41
  disabled: {
43
- type: BooleanConstructor;
42
+ type: __PropType<boolean | undefined>;
44
43
  required: false;
45
44
  default: boolean;
46
45
  };
47
46
  }>>, {
48
- disabled: boolean;
49
- colour: any;
50
- size: any;
51
- loading: boolean;
47
+ disabled: boolean | undefined;
48
+ colour: "default" | "primary" | "secondary" | "danger" | "blue" | undefined;
49
+ size: "small" | "medium" | "large" | undefined;
50
+ loading: boolean | undefined;
52
51
  }>;
53
52
  export default _sfc_main;
@@ -1,3 +1,102 @@
1
- import type { DefineComponent, ComputedOptions, MethodOptions, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
2
- declare const _sfc_main: DefineComponent<unknown, object, {}, ComputedOptions, MethodOptions, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<unknown>, {}>;
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType as __PropType } from 'vue';
2
+ declare const _sfc_main: DefineComponent<{
3
+ date: {
4
+ type: __PropType<Date | null | undefined>;
5
+ required: false;
6
+ default: null;
7
+ };
8
+ datePlaceholder: {
9
+ type: __PropType<string | undefined>;
10
+ required: false;
11
+ default: string;
12
+ };
13
+ dateTimePlaceholder: {
14
+ type: __PropType<string | undefined>;
15
+ required: false;
16
+ default: string;
17
+ };
18
+ timePlaceholder: {
19
+ type: __PropType<string | undefined>;
20
+ required: false;
21
+ default: string;
22
+ };
23
+ type: {
24
+ type: __PropType<"date" | "datetime" | "time" | undefined>;
25
+ required: false;
26
+ default: string;
27
+ };
28
+ disabled: {
29
+ type: __PropType<boolean | undefined>;
30
+ required: false;
31
+ default: boolean;
32
+ };
33
+ min: {
34
+ type: __PropType<string | undefined>;
35
+ required: false;
36
+ default: string;
37
+ };
38
+ max: {
39
+ type: __PropType<string | undefined>;
40
+ required: false;
41
+ default: string;
42
+ };
43
+ }, {
44
+ focus(): void;
45
+ }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
46
+ 'update:date': null;
47
+ valueOutOfRange: null;
48
+ }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
49
+ date: {
50
+ type: __PropType<Date | null | undefined>;
51
+ required: false;
52
+ default: null;
53
+ };
54
+ datePlaceholder: {
55
+ type: __PropType<string | undefined>;
56
+ required: false;
57
+ default: string;
58
+ };
59
+ dateTimePlaceholder: {
60
+ type: __PropType<string | undefined>;
61
+ required: false;
62
+ default: string;
63
+ };
64
+ timePlaceholder: {
65
+ type: __PropType<string | undefined>;
66
+ required: false;
67
+ default: string;
68
+ };
69
+ type: {
70
+ type: __PropType<"date" | "datetime" | "time" | undefined>;
71
+ required: false;
72
+ default: string;
73
+ };
74
+ disabled: {
75
+ type: __PropType<boolean | undefined>;
76
+ required: false;
77
+ default: boolean;
78
+ };
79
+ min: {
80
+ type: __PropType<string | undefined>;
81
+ required: false;
82
+ default: string;
83
+ };
84
+ max: {
85
+ type: __PropType<string | undefined>;
86
+ required: false;
87
+ default: string;
88
+ };
89
+ }>> & {
90
+ "onUpdate:date"?: ((...args: any[]) => any) | undefined;
91
+ onValueOutOfRange?: ((...args: any[]) => any) | undefined;
92
+ }, {
93
+ type: "date" | "datetime" | "time" | undefined;
94
+ disabled: boolean | undefined;
95
+ date: Date | null | undefined;
96
+ min: string | undefined;
97
+ max: string | undefined;
98
+ datePlaceholder: string | undefined;
99
+ dateTimePlaceholder: string | undefined;
100
+ timePlaceholder: string | undefined;
101
+ }>;
3
102
  export default _sfc_main;
@@ -1,28 +1,28 @@
1
- import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
1
+ import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType as __PropType } from 'vue';
2
2
  declare const _sfc_main: DefineComponent<{
3
3
  size: {
4
- type: null;
4
+ type: __PropType<"small" | "medium" | "large" | undefined>;
5
5
  required: false;
6
6
  default: string;
7
7
  };
8
8
  hover: {
9
- type: BooleanConstructor;
9
+ type: __PropType<boolean | undefined>;
10
10
  required: false;
11
11
  default: boolean;
12
12
  };
13
13
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
14
14
  size: {
15
- type: null;
15
+ type: __PropType<"small" | "medium" | "large" | undefined>;
16
16
  required: false;
17
17
  default: string;
18
18
  };
19
19
  hover: {
20
- type: BooleanConstructor;
20
+ type: __PropType<boolean | undefined>;
21
21
  required: false;
22
22
  default: boolean;
23
23
  };
24
24
  }>>, {
25
- size: any;
26
- hover: boolean;
25
+ size: "small" | "medium" | "large" | undefined;
26
+ hover: boolean | undefined;
27
27
  }>;
28
28
  export default _sfc_main;