@citruslime/ui 2.0.0-beta.9 → 2.0.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 (97) hide show
  1. package/README.md +5 -4
  2. package/dist/citrus-lime-ui.es.js +2378 -1736
  3. package/dist/citrus-lime-ui.umd.js +2 -1
  4. package/dist/components/accordion/cl-ui-accordion.vue.d.ts +26 -0
  5. package/dist/components/accordion/index.d.ts +4 -0
  6. package/dist/components/accordion/item/cl-ui-accordion-item.vue.d.ts +35 -0
  7. package/dist/{src/components → components}/accordion/types.d.ts +0 -0
  8. package/dist/{src/components → components}/app/cl-ui-app.vue.d.ts +19 -12
  9. package/dist/{src/components → components}/app/index.d.ts +0 -0
  10. package/dist/{src/components → components}/button/cl-ui-button.vue.d.ts +22 -11
  11. package/dist/{src/components → components}/button/index.d.ts +0 -0
  12. package/dist/{src/components → components}/button/types.d.ts +0 -0
  13. package/dist/{src/components → components}/calendar/cl-ui-calendar.vue.d.ts +0 -0
  14. package/dist/{src/components → components}/calendar/index.d.ts +0 -0
  15. package/dist/{src/components → components}/calendar/types.d.ts +1 -1
  16. package/dist/{src/components → components}/calendar/utils.d.ts +15 -0
  17. package/dist/{src/components → components}/card/cl-ui-card.vue.d.ts +12 -7
  18. package/dist/{src/components → components}/card/index.d.ts +0 -0
  19. package/dist/{src/components → components}/card/types.d.ts +0 -0
  20. package/dist/{src/components → components}/combo-box/cl-ui-combo-box.vue.d.ts +240 -163
  21. package/dist/{src/components → components}/combo-box/index.d.ts +0 -0
  22. package/dist/{src/components → components}/combo-box/search-container/cl-ui-combo-box-search.vue.d.ts +92 -46
  23. package/dist/{src/components → components}/combo-box/search-container/header/cl-ui-combo-box-header.vue.d.ts +18 -10
  24. package/dist/{src/components → components}/combo-box/search-container/selectable/cl-ui-combo-box-selectable.vue.d.ts +27 -14
  25. package/dist/{src/components → components}/combo-box/types.d.ts +0 -0
  26. package/dist/{src/components → components}/footer/index.d.ts +0 -0
  27. package/dist/{src/components → components}/grid/cell/cl-ui-grid-cell.vue.d.ts +18 -11
  28. package/dist/{src/components → components}/grid/cl-ui-grid.vue.d.ts +165 -93
  29. package/dist/{src/components → components}/grid/filter/cl-ui-grid-filter.vue.d.ts +19 -11
  30. package/dist/{src/utils → components/grid/filter}/filter-methods.d.ts +1 -1
  31. package/dist/{src/components → components}/grid/footer/cl-ui-grid-footer.vue.d.ts +16 -10
  32. package/dist/{src/components → components}/grid/header/cl-ui-grid-header.vue.d.ts +70 -38
  33. package/dist/{src/components → components}/grid/index.d.ts +0 -0
  34. package/dist/{src/components → components}/grid/types.d.ts +0 -0
  35. package/dist/{src/components → components}/grid/view-manager/cl-ui-grid-view-manager.vue.d.ts +29 -16
  36. package/dist/{src/components → components}/header/index.d.ts +0 -0
  37. package/dist/components/header/menu/cl-ui-header-menu.vue.d.ts +40 -0
  38. package/dist/{src/components → components}/header/menu/index.d.ts +0 -1
  39. package/dist/{src/components → components}/index.d.ts +2 -2
  40. package/dist/components/input/cl-ui-input.vue.d.ts +2 -0
  41. package/dist/components/input/index.d.ts +2 -0
  42. package/dist/components/input/types.d.ts +6 -0
  43. package/dist/components/input/utils.d.ts +44 -0
  44. package/dist/{src/components → components}/language-switcher/cl-ui-language-switcher.vue.d.ts +11 -7
  45. package/dist/{src/components → components}/language-switcher/index.d.ts +0 -0
  46. package/dist/{src/components → components}/language-switcher/types.d.ts +0 -1
  47. package/dist/{src/components → components}/loading-spinner/index.d.ts +0 -0
  48. package/dist/{src/components → components}/login/cl-ui-login.vue.d.ts +39 -25
  49. package/dist/{src/components → components}/login/index.d.ts +0 -0
  50. package/dist/{src/components → components}/login/types.d.ts +0 -0
  51. package/dist/components/modal/cl-ui-modal.vue.d.ts +49 -0
  52. package/dist/{src/components → components}/modal/index.d.ts +1 -0
  53. package/dist/{src/components → components}/modal/types.d.ts +2 -0
  54. package/dist/components/navigation/cl-ui-navigation.vue.d.ts +11 -0
  55. package/dist/components/navigation/group/cl-ui-navigation-group.vue.d.ts +12 -0
  56. package/dist/components/navigation/icon/cl-ui-navigation-icon.vue.d.ts +20 -0
  57. package/dist/components/navigation/index.d.ts +5 -0
  58. package/dist/{src/components → components}/notification/cl-ui-notification.vue.d.ts +12 -7
  59. package/dist/{src/components → components}/notification/index.d.ts +0 -0
  60. package/dist/{src/components → components}/notification/types.d.ts +0 -0
  61. package/dist/{src/components → components}/slider/cl-ui-slider.vue.d.ts +43 -16
  62. package/dist/{src/components → components}/slider/index.d.ts +0 -0
  63. package/dist/components/tab/cl-ui-tab.vue.d.ts +52 -0
  64. package/dist/components/tab/header/cl-ui-tab-header.vue.d.ts +60 -0
  65. package/dist/components/tab/index.d.ts +4 -0
  66. package/dist/components/tab/types.d.ts +4 -0
  67. package/dist/{src/composables → composables}/index.d.ts +0 -0
  68. package/dist/{src/composables → composables}/notification.d.ts +0 -0
  69. package/dist/{src/main.d.ts → main.d.ts} +0 -0
  70. package/dist/style.css +1 -1
  71. package/dist/{src/utils → utils}/i18n/config.d.ts +0 -0
  72. package/dist/{src/utils → utils}/i18n/defaults.d.ts +0 -0
  73. package/dist/{src/utils → utils}/i18n/index.d.ts +0 -0
  74. package/dist/{src/utils → utils}/i18n/types.d.ts +5 -2
  75. package/dist/utils/index.d.ts +2 -0
  76. package/dist/utils/validation.d.ts +37 -0
  77. package/package.json +17 -15
  78. package/dist/.eslintrc.js +0 -456
  79. package/dist/.stylelintrc.js +0 -119
  80. package/dist/src/components/accordion/cl-ui-accordion.vue.d.ts +0 -47
  81. package/dist/src/components/accordion/index.d.ts +0 -2
  82. package/dist/src/components/header/menu/cl-ui-header-menu.vue.d.ts +0 -16
  83. package/dist/src/components/header/menu/types.d.ts +0 -5
  84. package/dist/src/components/modal/cl-ui-modal.vue.d.ts +0 -107
  85. package/dist/src/components/navigation/cl-ui-navigation.vue.d.ts +0 -669
  86. package/dist/src/components/navigation/index.d.ts +0 -2
  87. package/dist/src/components/navigation/types.d.ts +0 -18
  88. package/dist/src/utils/copy.d.ts +0 -8
  89. package/dist/src/utils/debouncer.d.ts +0 -13
  90. package/dist/src/utils/extensions/string/index.d.ts +0 -2
  91. package/dist/src/utils/extensions/string/utils.d.ts +0 -83
  92. package/dist/src/utils/id.d.ts +0 -6
  93. package/dist/src/utils/index.d.ts +0 -8
  94. package/dist/src/utils/name-of.d.ts +0 -7
  95. package/dist/src/utils/sort.d.ts +0 -9
  96. package/dist/src/utils/url-params.d.ts +0 -8
  97. package/dist/theme.js +0 -121
@@ -47,29 +47,42 @@ declare const _sfc_main: import("vue").DefineComponent<{
47
47
  };
48
48
  }, {
49
49
  ClUiLoadingSpinner: any;
50
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
51
- colour?: unknown;
52
- size?: unknown;
53
- loading?: unknown;
54
- disabled?: unknown;
55
- } & {
56
- colour: any;
57
- size: any;
58
- loading: boolean;
50
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
+ colour: {
52
+ type: null;
53
+ required: false;
54
+ default: string;
55
+ };
56
+ size: {
57
+ type: null;
58
+ required: false;
59
+ default: string;
60
+ };
61
+ loading: {
62
+ type: BooleanConstructor;
63
+ required: false;
64
+ default: boolean;
65
+ };
66
+ disabled: {
67
+ type: BooleanConstructor;
68
+ required: false;
69
+ default: boolean;
70
+ };
71
+ }>>, {
59
72
  disabled: boolean;
60
- } & {}>, {
61
73
  colour: any;
62
74
  size: any;
63
75
  loading: boolean;
64
- disabled: boolean;
65
76
  }>;
77
+ ClUiInput: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
66
78
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
67
79
  'update:columns': null;
68
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
69
- columns?: unknown;
70
- } & {
71
- columns: unknown[];
72
- } & {}> & {
80
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
81
+ columns: {
82
+ type: ArrayConstructor;
83
+ required: true;
84
+ };
85
+ }>> & {
73
86
  "onUpdate:columns"?: ((...args: any[]) => any) | undefined;
74
87
  }, {}>;
75
88
  export default _sfc_main;
@@ -0,0 +1,40 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ username: {
3
+ type: StringConstructor;
4
+ required: false;
5
+ default: string;
6
+ };
7
+ group: {
8
+ type: StringConstructor;
9
+ required: false;
10
+ default: string;
11
+ };
12
+ image: {
13
+ type: StringConstructor;
14
+ required: false;
15
+ default: string;
16
+ };
17
+ }, {
18
+ isOpen: import("vue").Ref<boolean>;
19
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ username: {
21
+ type: StringConstructor;
22
+ required: false;
23
+ default: string;
24
+ };
25
+ group: {
26
+ type: StringConstructor;
27
+ required: false;
28
+ default: string;
29
+ };
30
+ image: {
31
+ type: StringConstructor;
32
+ required: false;
33
+ default: string;
34
+ };
35
+ }>>, {
36
+ group: string;
37
+ username: string;
38
+ image: string;
39
+ }>;
40
+ export default _sfc_main;
@@ -1,2 +1 @@
1
1
  export { default as clUiHeaderMenu } from './cl-ui-header-menu.vue';
2
- export * from './types';
@@ -1,16 +1,16 @@
1
1
  export * from './accordion';
2
2
  export * from './app';
3
3
  export * from './button';
4
- export * from './calendar';
5
4
  export * from './card';
6
5
  export * from './combo-box';
7
6
  export * from './footer';
8
7
  export * from './grid';
9
8
  export * from './header';
9
+ export * from './input';
10
10
  export * from './language-switcher';
11
11
  export * from './loading-spinner';
12
12
  export * from './login';
13
13
  export * from './modal';
14
14
  export * from './navigation';
15
15
  export * from './notification';
16
- export * from './slider';
16
+ export * from './tab';
@@ -0,0 +1,2 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
2
+ export default _sfc_main;
@@ -0,0 +1,2 @@
1
+ export { default as clUiInput } from './cl-ui-input.vue';
2
+ export * from './types';
@@ -0,0 +1,6 @@
1
+ export declare const inputTypes: readonly ["button", "checkbox", "color", "date", "datetime", "email", "file", "number", "password", "radio", "range", "reset", "search", "submit", "tel", "text", "time", "url"];
2
+ export declare type InputType = typeof inputTypes[number];
3
+ export interface InputValidationState {
4
+ valid: boolean;
5
+ message: string;
6
+ }
@@ -0,0 +1,44 @@
1
+ import type { CalendarType } from '../calendar';
2
+ import type { InputType } from './types';
3
+ /**
4
+ * Get whether the input is text-based.
5
+ *
6
+ * @param type The type.
7
+ * @returns True if the input is a text, false if not.
8
+ */
9
+ export declare function isInputText(type: InputType): boolean;
10
+ /**
11
+ * Get whether the input is numeric.
12
+ *
13
+ * @param type The type of input.
14
+ * @returns True if the input is numeric, false if not.
15
+ */
16
+ export declare function isInputNumeric(type: InputType): boolean;
17
+ /**
18
+ * Get whether the input is a date that is supported by the calendar component.
19
+ *
20
+ * @param type The input type.
21
+ * @returns True if supported, false if not.
22
+ */
23
+ export declare function isInputCalendarSupportedDate(type: InputType): boolean;
24
+ /**
25
+ * Get whether the input is a date.
26
+ *
27
+ * @param type The type of input.
28
+ * @returns True if the input is a date, false if not.
29
+ */
30
+ export declare function isInputDate(type: InputType): boolean;
31
+ /**
32
+ * Get whether the input is a button.
33
+ *
34
+ * @param type The type of input.
35
+ * @returns True if the input is a button, false if not.
36
+ */
37
+ export declare function isInputButton(type: InputType | string): boolean;
38
+ /**
39
+ * Get the InputType as a CalendarType.
40
+ *
41
+ * @param type The InputType.
42
+ * @returns The CalendarType.
43
+ */
44
+ export declare function getInputTypeAsCalendarType(type: InputType): CalendarType;
@@ -21,13 +21,17 @@ declare const _sfc_main: import("vue").DefineComponent<{
21
21
  validLanguages: import("vue").ComputedRef<Language[]>;
22
22
  toggleLocaleSwitcher: () => void;
23
23
  isLanguageLocaleFormat: typeof isLanguageLocaleFormat;
24
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
25
- supportedLanguages?: unknown;
26
- disabled?: unknown;
27
- } & {
28
- disabled: boolean;
29
- supportedLanguages: unknown[];
30
- } & {}>, {
24
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
+ supportedLanguages: {
26
+ type: ArrayConstructor;
27
+ required: true;
28
+ };
29
+ disabled: {
30
+ type: BooleanConstructor;
31
+ required: false;
32
+ default: boolean;
33
+ };
34
+ }>>, {
31
35
  disabled: boolean;
32
36
  }>;
33
37
  export default _sfc_main;
@@ -2,7 +2,6 @@ export interface Language {
2
2
  name: string;
3
3
  nativeName: string;
4
4
  localeCode: string;
5
- icon: string;
6
5
  }
7
6
  /**
8
7
  * Checks if a given language object contains the correct format of locale code (en-GB for example. 2 lowercase a-z chars, followed by a hyphen, followed by 2 uppercase A-Z chars).
@@ -1,13 +1,10 @@
1
+ import type { InputValidationState } from '..';
1
2
  declare const _sfc_main: import("vue").DefineComponent<{
2
3
  errors: {
3
4
  type: ArrayConstructor;
4
5
  required: false;
5
6
  default: () => never[];
6
7
  };
7
- backgroundImage: {
8
- type: StringConstructor;
9
- required: true;
10
- };
11
8
  loading: {
12
9
  type: BooleanConstructor;
13
10
  required: false;
@@ -29,9 +26,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
29
26
  username: import("vue").Ref<string>;
30
27
  password: import("vue").Ref<string>;
31
28
  passwordFieldType: import("vue").Ref<"text" | "password">;
32
- usernameValid: import("vue").ComputedRef<boolean>;
29
+ usernameValid: import("vue").Ref<boolean | undefined>;
33
30
  login: () => void;
34
31
  clearErrors: () => void;
32
+ emptyIsInvalidValidation: (_: string, value: string | number | boolean | Date | null | undefined) => InputValidationState;
33
+ onUsernameValidated: (valid: boolean, _: string | number | boolean | Date | null) => void;
35
34
  ClUiButton: import("vue").DefineComponent<{
36
35
  colour: {
37
36
  type: null;
@@ -55,34 +54,49 @@ declare const _sfc_main: import("vue").DefineComponent<{
55
54
  };
56
55
  }, {
57
56
  ClUiLoadingSpinner: any;
58
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
59
- colour?: unknown;
60
- size?: unknown;
61
- loading?: unknown;
62
- disabled?: unknown;
63
- } & {
64
- colour: any;
65
- size: any;
66
- loading: boolean;
57
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
58
+ colour: {
59
+ type: null;
60
+ required: false;
61
+ default: string;
62
+ };
63
+ size: {
64
+ type: null;
65
+ required: false;
66
+ default: string;
67
+ };
68
+ loading: {
69
+ type: BooleanConstructor;
70
+ required: false;
71
+ default: boolean;
72
+ };
73
+ disabled: {
74
+ type: BooleanConstructor;
75
+ required: false;
76
+ default: boolean;
77
+ };
78
+ }>>, {
67
79
  disabled: boolean;
68
- } & {}>, {
69
80
  colour: any;
70
81
  size: any;
71
82
  loading: boolean;
72
- disabled: boolean;
73
83
  }>;
84
+ ClUiInput: import("vue").DefineComponent<unknown, object, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<unknown>, {}>;
74
85
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
75
86
  login: null;
76
87
  'update:errors': null;
77
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
78
- errors?: unknown;
79
- backgroundImage?: unknown;
80
- loading?: unknown;
81
- } & {
82
- loading: boolean;
83
- errors: unknown[];
84
- backgroundImage: string;
85
- } & {}> & {
88
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
89
+ errors: {
90
+ type: ArrayConstructor;
91
+ required: false;
92
+ default: () => never[];
93
+ };
94
+ loading: {
95
+ type: BooleanConstructor;
96
+ required: false;
97
+ default: boolean;
98
+ };
99
+ }>> & {
86
100
  onLogin?: ((...args: any[]) => any) | undefined;
87
101
  "onUpdate:errors"?: ((...args: any[]) => any) | undefined;
88
102
  }, {
@@ -0,0 +1,49 @@
1
+ import type { ModalColour, ModalSize } from './types';
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ headerColour: {
4
+ type: null;
5
+ required: false;
6
+ default: string;
7
+ };
8
+ preventClose: {
9
+ type: BooleanConstructor;
10
+ required: false;
11
+ default: boolean;
12
+ };
13
+ size: {
14
+ type: null;
15
+ required: false;
16
+ default: string;
17
+ };
18
+ }, {
19
+ props: {
20
+ headerColour: ModalColour;
21
+ preventClose: boolean;
22
+ size: ModalSize;
23
+ };
24
+ visible: import("vue").Ref<boolean>;
25
+ open: () => void;
26
+ close: () => void;
27
+ closeOnKeyPress: (event: KeyboardEvent) => void;
28
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ headerColour: {
30
+ type: null;
31
+ required: false;
32
+ default: string;
33
+ };
34
+ preventClose: {
35
+ type: BooleanConstructor;
36
+ required: false;
37
+ default: boolean;
38
+ };
39
+ size: {
40
+ type: null;
41
+ required: false;
42
+ default: string;
43
+ };
44
+ }>>, {
45
+ size: any;
46
+ headerColour: any;
47
+ preventClose: boolean;
48
+ }>;
49
+ export default _sfc_main;
@@ -1 +1,2 @@
1
1
  export { default as clUiModal } from './cl-ui-modal.vue';
2
+ export * from './types';
@@ -1,2 +1,4 @@
1
1
  export declare const modalSizes: readonly ["x-small", "small", "medium", "large"];
2
2
  export declare type ModalSize = typeof modalSizes[number];
3
+ export declare const modalColours: string[];
4
+ export declare type ModalColour = typeof modalColours[number];
@@ -0,0 +1,11 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{}, {
2
+ open: import("vue").ComputedRef<boolean>;
3
+ groups: import("vue").Ref<{
4
+ id: number;
5
+ open: boolean;
6
+ }[]>;
7
+ pinned: import("vue").Ref<boolean>;
8
+ groupIsOpen: (id: number) => boolean;
9
+ toggleOpen: (id: number) => void;
10
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
11
+ export default _sfc_main;
@@ -0,0 +1,12 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ open: {
3
+ type: BooleanConstructor;
4
+ required: true;
5
+ };
6
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
7
+ open: {
8
+ type: BooleanConstructor;
9
+ required: true;
10
+ };
11
+ }>>, {}>;
12
+ export default _sfc_main;
@@ -0,0 +1,20 @@
1
+ declare const _sfc_main: import("vue").DefineComponent<{
2
+ icon: {
3
+ type: StringConstructor;
4
+ required: true;
5
+ };
6
+ open: {
7
+ type: BooleanConstructor;
8
+ required: true;
9
+ };
10
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
11
+ icon: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ open: {
16
+ type: BooleanConstructor;
17
+ required: true;
18
+ };
19
+ }>>, {}>;
20
+ export default _sfc_main;
@@ -0,0 +1,5 @@
1
+ export { default as clUiNavigation } from './cl-ui-navigation.vue';
2
+ export { default as clUiNavigationIcon } from './icon/cl-ui-navigation-icon.vue';
3
+ export { default as clUiNavigationGroup } from './group/cl-ui-navigation-group.vue';
4
+ export { default as clUiNavigationSection } from './section/cl-ui-navigation-section.vue';
5
+ export { default as clUiNavigationItem } from './item/cl-ui-navigation-item.vue';
@@ -18,13 +18,18 @@ declare const _sfc_main: import("vue").DefineComponent<{
18
18
  duration: number;
19
19
  }[]>;
20
20
  removeNotification: typeof removeNotification;
21
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
22
- container?: unknown;
23
- position?: unknown;
24
- } & {
25
- container: string;
26
- position: any;
27
- } & {}>, {
21
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
+ container: {
23
+ type: StringConstructor;
24
+ required: false;
25
+ default: string;
26
+ };
27
+ position: {
28
+ type: null;
29
+ required: false;
30
+ default: string;
31
+ };
32
+ }>>, {
28
33
  container: string;
29
34
  position: any;
30
35
  }>;
@@ -27,6 +27,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
27
27
  required: false;
28
28
  default: boolean;
29
29
  };
30
+ showNumericInput: {
31
+ type: BooleanConstructor;
32
+ required: false;
33
+ default: boolean;
34
+ };
30
35
  }, {
31
36
  props: {
32
37
  value: number;
@@ -35,6 +40,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
35
40
  step: number;
36
41
  enforceStep: boolean;
37
42
  disabled: boolean;
43
+ showNumericInput: boolean;
38
44
  };
39
45
  emit: (event: "update:value", ...args: any[]) => void;
40
46
  n: {
@@ -54,7 +60,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
54
60
  (key: string | number, named: Record<string, unknown>, plural: number): string;
55
61
  (key: string | number, named: Record<string, unknown>, defaultMsg: string): string;
56
62
  };
57
- debounce: (event: Function, eventArgs: unknown[]) => void;
63
+ debounce: (event: Function, ...eventArgs: unknown[]) => void;
64
+ numericInputValue: import("vue").Ref<number>;
58
65
  currentValue: import("vue").WritableComputedRef<number>;
59
66
  colour: import("vue").ComputedRef<string>;
60
67
  percentage: import("vue").ComputedRef<number>;
@@ -63,25 +70,45 @@ declare const _sfc_main: import("vue").DefineComponent<{
63
70
  NumberFormat: typeof NumberFormat;
64
71
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
65
72
  'update:value': null;
66
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
67
- value?: unknown;
68
- min?: unknown;
69
- max?: unknown;
70
- step?: unknown;
71
- enforceStep?: unknown;
72
- disabled?: unknown;
73
- } & {
74
- disabled: boolean;
75
- value: number;
76
- min: number;
77
- max: number;
78
- step: number;
79
- enforceStep: boolean;
80
- } & {}> & {
73
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
+ value: {
75
+ type: NumberConstructor;
76
+ required: true;
77
+ };
78
+ min: {
79
+ type: NumberConstructor;
80
+ required: true;
81
+ };
82
+ max: {
83
+ type: NumberConstructor;
84
+ required: true;
85
+ };
86
+ step: {
87
+ type: NumberConstructor;
88
+ required: false;
89
+ default: number;
90
+ };
91
+ enforceStep: {
92
+ type: BooleanConstructor;
93
+ required: false;
94
+ default: boolean;
95
+ };
96
+ disabled: {
97
+ type: BooleanConstructor;
98
+ required: false;
99
+ default: boolean;
100
+ };
101
+ showNumericInput: {
102
+ type: BooleanConstructor;
103
+ required: false;
104
+ default: boolean;
105
+ };
106
+ }>> & {
81
107
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
82
108
  }, {
83
109
  disabled: boolean;
84
110
  step: number;
85
111
  enforceStep: boolean;
112
+ showNumericInput: boolean;
86
113
  }>;
87
114
  export default _sfc_main;
@@ -0,0 +1,52 @@
1
+ import type { TabColour, TabScroll } from './types';
2
+ declare const _sfc_main: import("vue").DefineComponent<{
3
+ currentTab: {
4
+ type: NumberConstructor;
5
+ required: false;
6
+ default: number;
7
+ };
8
+ disabled: {
9
+ type: BooleanConstructor;
10
+ required: false;
11
+ default: boolean;
12
+ };
13
+ colour: {
14
+ type: null;
15
+ required: false;
16
+ default: string;
17
+ };
18
+ }, {
19
+ props: {
20
+ currentTab: number;
21
+ disabled: boolean;
22
+ colour: TabColour;
23
+ };
24
+ headerContainer: import("vue").Ref<HTMLDivElement | undefined>;
25
+ showLeftArrow: import("vue").Ref<boolean>;
26
+ showRightArrow: import("vue").Ref<boolean>;
27
+ isTabOpen: (tabId: number) => boolean;
28
+ onScroll: () => void;
29
+ initialiseScroll: () => void;
30
+ scrollOnClick: (direction: TabScroll) => void;
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
+ currentTab: {
33
+ type: NumberConstructor;
34
+ required: false;
35
+ default: number;
36
+ };
37
+ disabled: {
38
+ type: BooleanConstructor;
39
+ required: false;
40
+ default: boolean;
41
+ };
42
+ colour: {
43
+ type: null;
44
+ required: false;
45
+ default: string;
46
+ };
47
+ }>>, {
48
+ disabled: boolean;
49
+ colour: any;
50
+ currentTab: number;
51
+ }>;
52
+ export default _sfc_main;