@finema/core 2.26.5 → 2.26.7

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 (70) hide show
  1. package/README.md +79 -79
  2. package/dist/module.json +3 -3
  3. package/dist/module.mjs +1 -1
  4. package/dist/runtime/components/App.vue.d.ts +3 -3
  5. package/dist/runtime/components/DevToolsWindow/index.vue.d.ts +1 -1
  6. package/dist/runtime/components/Dialog/index.vue.d.ts +1 -1
  7. package/dist/runtime/components/Empty.vue.d.ts +1 -1
  8. package/dist/runtime/components/FlexDeck/index.vue.d.ts +1 -1
  9. package/dist/runtime/components/Form/FieldWrapper.vue +13 -13
  10. package/dist/runtime/components/Form/FieldWrapper.vue.d.ts +3 -3
  11. package/dist/runtime/components/Form/Fields.vue +13 -13
  12. package/dist/runtime/components/Form/Fields.vue.d.ts +1 -1
  13. package/dist/runtime/components/Form/InputCheckbox/index.vue +18 -18
  14. package/dist/runtime/components/Form/InputCheckbox/index.vue.d.ts +1 -1
  15. package/dist/runtime/components/Form/InputDateTime/index.vue.d.ts +1 -1
  16. package/dist/runtime/components/Form/InputDateTimeRange/index.vue.d.ts +1 -1
  17. package/dist/runtime/components/Form/InputNumber/index.vue +20 -20
  18. package/dist/runtime/components/Form/InputNumber/index.vue.d.ts +1 -1
  19. package/dist/runtime/components/Form/InputRadio/index.vue.d.ts +1 -1
  20. package/dist/runtime/components/Form/InputSearch/index.vue.d.ts +1 -1
  21. package/dist/runtime/components/Form/InputSelect/index.vue.d.ts +1 -1
  22. package/dist/runtime/components/Form/InputSelectMultiple/index.vue +43 -43
  23. package/dist/runtime/components/Form/InputSelectMultiple/index.vue.d.ts +1 -1
  24. package/dist/runtime/components/Form/InputText/index.vue +74 -74
  25. package/dist/runtime/components/Form/InputText/index.vue.d.ts +1 -1
  26. package/dist/runtime/components/Form/InputTextarea/index.vue +18 -18
  27. package/dist/runtime/components/Form/InputTextarea/index.vue.d.ts +1 -1
  28. package/dist/runtime/components/Form/InputToggle/index.vue +17 -17
  29. package/dist/runtime/components/Form/InputToggle/index.vue.d.ts +1 -1
  30. package/dist/runtime/components/Form/InputUploadDropzone/index.vue +30 -30
  31. package/dist/runtime/components/Form/InputUploadDropzone/index.vue.d.ts +1 -1
  32. package/dist/runtime/components/Form/InputUploadDropzoneAuto/index.vue.d.ts +1 -1
  33. package/dist/runtime/components/Form/InputWYSIWYG/UploadImageForm.vue.d.ts +1 -1
  34. package/dist/runtime/components/Form/InputWYSIWYG/index.vue.d.ts +1 -1
  35. package/dist/runtime/components/Form/fileState/EmptyState.vue +21 -21
  36. package/dist/runtime/components/Form/fileState/EmptyState.vue.d.ts +1 -1
  37. package/dist/runtime/components/Form/fileState/FailedState.vue +33 -33
  38. package/dist/runtime/components/Form/fileState/FailedState.vue.d.ts +1 -1
  39. package/dist/runtime/components/Form/fileState/LoadingState.vue +24 -24
  40. package/dist/runtime/components/Form/fileState/LoadingState.vue.d.ts +1 -1
  41. package/dist/runtime/components/Form/fileState/PreviewModal.vue +23 -23
  42. package/dist/runtime/components/Form/fileState/PreviewModal.vue.d.ts +1 -1
  43. package/dist/runtime/components/Form/fileState/SuccessState.vue.d.ts +1 -1
  44. package/dist/runtime/components/Form/index.vue +5 -5
  45. package/dist/runtime/components/Form/index.vue.d.ts +1 -1
  46. package/dist/runtime/components/Form/types.d.ts +1 -1
  47. package/dist/runtime/components/Image.vue +28 -28
  48. package/dist/runtime/components/Image.vue.d.ts +1 -1
  49. package/dist/runtime/components/Loader.vue.d.ts +1 -1
  50. package/dist/runtime/components/Log/LogItem.vue.d.ts +1 -1
  51. package/dist/runtime/components/Log/index.vue +17 -17
  52. package/dist/runtime/components/Log/index.vue.d.ts +1 -1
  53. package/dist/runtime/components/Table/Base.vue.d.ts +3 -3
  54. package/dist/runtime/components/Table/ColumnDate.vue +1 -1
  55. package/dist/runtime/components/Table/ColumnDate.vue.d.ts +1 -1
  56. package/dist/runtime/components/Table/ColumnDateTime.vue +1 -1
  57. package/dist/runtime/components/Table/ColumnDateTime.vue.d.ts +1 -1
  58. package/dist/runtime/components/Table/ColumnImage.vue +4 -4
  59. package/dist/runtime/components/Table/ColumnImage.vue.d.ts +1 -1
  60. package/dist/runtime/components/Table/ColumnNumber.vue.d.ts +1 -1
  61. package/dist/runtime/components/Table/ColumnText.vue +1 -1
  62. package/dist/runtime/components/Table/ColumnText.vue.d.ts +1 -1
  63. package/dist/runtime/components/Table/Simple.vue.d.ts +1 -1
  64. package/dist/runtime/components/Table/index.vue.d.ts +1 -1
  65. package/dist/runtime/components/TeleportSafe.vue.d.ts +3 -3
  66. package/dist/runtime/helpers/apiPageHelper.d.ts +2 -2
  67. package/dist/runtime/server/tsconfig.json +3 -3
  68. package/dist/runtime/theme/button.d.ts +1 -1
  69. package/dist/runtime/theme/button.js +1 -1
  70. package/package.json +6 -6
package/README.md CHANGED
@@ -1,79 +1,79 @@
1
- <!--
2
- Get your module up and running quickly.
3
-
4
- Find and replace all on all files (CMD+SHIFT+F):
5
- - Name: Finema UI Kit (Note: package.json has name: @finema/core, consider aligning these)
6
- - Package name: @finema/core
7
- - Description: A comprehensive UI kit for Finema projects.
8
- -->
9
-
10
- # Finema UI Kit
11
-
12
- [![npm version][npm-version-src]][npm-version-href]
13
- [![npm downloads][npm-downloads-src]][npm-downloads-href]
14
- [![License][license-src]][license-href]
15
- [![Nuxt][nuxt-src]][nuxt-href]
16
-
17
- A comprehensive UI kit for building consistent and beautiful user interfaces for Finema projects, designed to integrate seamlessly with Nuxt. This package is named `@finema/core` on npm.
18
-
19
- - [✨ &nbsp;Release Notes](/CHANGELOG.md)
20
- - [📖 &nbsp;Storybook](https://your-storybook-url.com) <!-- Add a link to your Storybook -->
21
- - [🕹️ &nbsp;Playground](#playground)
22
-
23
- ## Features
24
-
25
- <!-- Highlight some of the features your UI kit provides here -->
26
- - 🎨 &nbsp;Wide range of customizable components, built for Vue and Nuxt
27
- - 📱 &nbsp;Responsive design out-of-the-box
28
- - ♿ &nbsp;Accessibility focused
29
- - 🛠️ &nbsp;Easy to integrate and use with Nuxt auto-import capabilities
30
-
31
- ## 🚀 Installation
32
-
33
- Install the UI kit in your project using npm or yarn:
34
-
35
- ```bash
36
- npm install @finema/core
37
- ```
38
-
39
- or
40
-
41
- ```bash
42
- yarn add @finema/core
43
- ```
44
-
45
- ## 🛠️ Available Scripts
46
-
47
- In the project directory, you can run the following scripts:
48
-
49
- - `npm run dev` or `yarn dev`: Runs the playground app in development mode.
50
- - `npm run dev:build` or `yarn dev:build`: Builds the playground app.
51
- - `npm run dev:prepare` or `yarn dev:prepare`: Prepares the development environment.
52
- - `npm run lint` or `yarn lint`: Lints the codebase.
53
- - `npm run test` or `yarn test`: Runs tests.
54
- - `npm run release` or `yarn release`: Creates a new release (lints, tests, builds, publishes).
55
-
56
- ## 🕹️ Playground
57
-
58
- This project includes a `playground` directory that you can use to test and experiment with the UI components.
59
-
60
- To run the playground:
61
- 1. Navigate to the `playground` directory.
62
- 2. Install dependencies if you haven't already (`npm install` or `yarn install`).
63
- 3. Run `npm run dev` or `yarn dev`.
64
-
65
- ## 🤝 Contributing
66
-
67
- Contributions are welcome! Please refer to the `CONTRIBUTING.md` file for guidelines. (You'll need to create this file).
68
-
69
- <!--
70
- Badge URLs - Keep these at the bottom of the file for better readability
71
- -->
72
- [npm-version-src]: https://img.shields.io/npm/v/@finema/core.svg
73
- [npm-version-href]: https://npmjs.com/package/@finema/core
74
- [npm-downloads-src]: https://img.shields.io/npm/dm/@finema/core.svg
75
- [npm-downloads-href]: https://npmjs.com/package/@finema/core
76
- [license-src]: https://img.shields.io/npm/l/@finema/core.svg
77
- [license-href]: https://npmjs.com/package/@finema/core
78
- [nuxt-src]: https://img.shields.io/badge/Nuxt-00DC82?logo=nuxt.js
79
- [nuxt-href]: https://nuxt.com
1
+ <!--
2
+ Get your module up and running quickly.
3
+
4
+ Find and replace all on all files (CMD+SHIFT+F):
5
+ - Name: Finema UI Kit (Note: package.json has name: @finema/core, consider aligning these)
6
+ - Package name: @finema/core
7
+ - Description: A comprehensive UI kit for Finema projects.
8
+ -->
9
+
10
+ # Finema UI Kit
11
+
12
+ [![npm version][npm-version-src]][npm-version-href]
13
+ [![npm downloads][npm-downloads-src]][npm-downloads-href]
14
+ [![License][license-src]][license-href]
15
+ [![Nuxt][nuxt-src]][nuxt-href]
16
+
17
+ A comprehensive UI kit for building consistent and beautiful user interfaces for Finema projects, designed to integrate seamlessly with Nuxt. This package is named `@finema/core` on npm.
18
+
19
+ - [✨ &nbsp;Release Notes](/CHANGELOG.md)
20
+ - [📖 &nbsp;Storybook](https://your-storybook-url.com) <!-- Add a link to your Storybook -->
21
+ - [🕹️ &nbsp;Playground](#playground)
22
+
23
+ ## Features
24
+
25
+ <!-- Highlight some of the features your UI kit provides here -->
26
+ - 🎨 &nbsp;Wide range of customizable components, built for Vue and Nuxt
27
+ - 📱 &nbsp;Responsive design out-of-the-box
28
+ - ♿ &nbsp;Accessibility focused
29
+ - 🛠️ &nbsp;Easy to integrate and use with Nuxt auto-import capabilities
30
+
31
+ ## 🚀 Installation
32
+
33
+ Install the UI kit in your project using npm or yarn:
34
+
35
+ ```bash
36
+ npm install @finema/core
37
+ ```
38
+
39
+ or
40
+
41
+ ```bash
42
+ yarn add @finema/core
43
+ ```
44
+
45
+ ## 🛠️ Available Scripts
46
+
47
+ In the project directory, you can run the following scripts:
48
+
49
+ - `npm run dev` or `yarn dev`: Runs the playground app in development mode.
50
+ - `npm run dev:build` or `yarn dev:build`: Builds the playground app.
51
+ - `npm run dev:prepare` or `yarn dev:prepare`: Prepares the development environment.
52
+ - `npm run lint` or `yarn lint`: Lints the codebase.
53
+ - `npm run test` or `yarn test`: Runs tests.
54
+ - `npm run release` or `yarn release`: Creates a new release (lints, tests, builds, publishes).
55
+
56
+ ## 🕹️ Playground
57
+
58
+ This project includes a `playground` directory that you can use to test and experiment with the UI components.
59
+
60
+ To run the playground:
61
+ 1. Navigate to the `playground` directory.
62
+ 2. Install dependencies if you haven't already (`npm install` or `yarn install`).
63
+ 3. Run `npm run dev` or `yarn dev`.
64
+
65
+ ## 🤝 Contributing
66
+
67
+ Contributions are welcome! Please refer to the `CONTRIBUTING.md` file for guidelines. (You'll need to create this file).
68
+
69
+ <!--
70
+ Badge URLs - Keep these at the bottom of the file for better readability
71
+ -->
72
+ [npm-version-src]: https://img.shields.io/npm/v/@finema/core.svg
73
+ [npm-version-href]: https://npmjs.com/package/@finema/core
74
+ [npm-downloads-src]: https://img.shields.io/npm/dm/@finema/core.svg
75
+ [npm-downloads-href]: https://npmjs.com/package/@finema/core
76
+ [license-src]: https://img.shields.io/npm/l/@finema/core.svg
77
+ [license-href]: https://npmjs.com/package/@finema/core
78
+ [nuxt-src]: https://img.shields.io/badge/Nuxt-00DC82?logo=nuxt.js
79
+ [nuxt-href]: https://nuxt.com
package/dist/module.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@finema/core",
3
- "version": "2.26.5",
3
+ "version": "2.26.7",
4
4
  "configKey": "core",
5
5
  "builder": {
6
- "@nuxt/module-builder": "1.0.1",
7
- "unbuild": "3.5.0"
6
+ "@nuxt/module-builder": "1.0.2",
7
+ "unbuild": "3.6.0"
8
8
  }
9
9
  }
package/dist/module.mjs CHANGED
@@ -4,7 +4,7 @@ import * as lodash from 'lodash-es';
4
4
  import * as theme from '../dist/runtime/theme/index.js';
5
5
 
6
6
  const name = "@finema/core";
7
- const version = "2.26.5";
7
+ const version = "2.26.7";
8
8
 
9
9
  const nuxtAppOptions = {
10
10
  head: {
@@ -2,11 +2,11 @@ import type { ToasterProps } from '@nuxt/ui';
2
2
  type __VLS_Props = {
3
3
  toaster?: ToasterProps | null;
4
4
  };
5
- declare var __VLS_9: {};
5
+ declare var __VLS_11: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_9) => any;
7
+ default?: (props: typeof __VLS_11) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
11
  export default _default;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { IDialogMetaItem } from '#core/composables/useDialog';
2
- declare const _default: import("vue").DefineComponent<IDialogMetaItem, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<IDialogMetaItem, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  close: (args_0: boolean) => any;
4
4
  }, string, import("vue").PublicProps, Readonly<IDialogMetaItem> & Readonly<{
5
5
  onClose?: ((args_0: boolean) => any) | undefined;
@@ -5,7 +5,7 @@ type __VLS_Props = {
5
5
  ui?: typeof emptyTheme['slots'];
6
6
  class?: any;
7
7
  };
8
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
8
+ declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
9
  message: any;
10
10
  icon: string;
11
11
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -17,7 +17,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
17
17
  type: (ArrayConstructor | ObjectConstructor | StringConstructor)[];
18
18
  default: string;
19
19
  };
20
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
20
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
21
21
  search: (q: string) => any;
22
22
  pageChange: (page: number) => any;
23
23
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -1,17 +1,17 @@
1
1
  <template>
2
- <FormField
3
- :label="label"
4
- :name="name"
5
- :description="description"
6
- :hint="hint"
7
- :data-testid="name"
8
- :help="help"
9
- :error="errorMessage"
10
- :required="!!required"
11
- :ui="containerUi"
12
- >
13
- <slot />
14
- </FormField>
2
+ <FormField
3
+ :label="label"
4
+ :name="name"
5
+ :description="description"
6
+ :hint="hint"
7
+ :data-testid="name"
8
+ :help="help"
9
+ :error="errorMessage"
10
+ :required="!!required"
11
+ :ui="containerUi"
12
+ >
13
+ <slot />
14
+ </FormField>
15
15
  </template>
16
16
 
17
17
  <script setup>
@@ -2,11 +2,11 @@ import type { IFieldProps } from '#core/components/Form/types';
2
2
  type __VLS_Props = IFieldProps & {
3
3
  containerUi?: any;
4
4
  };
5
- declare var __VLS_6: {};
5
+ declare var __VLS_7: {};
6
6
  type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_6) => any;
7
+ default?: (props: typeof __VLS_7) => any;
8
8
  };
9
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
10
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
11
11
  export default _default;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,22 +1,22 @@
1
1
  <template>
2
- <div
2
+ <div
3
3
  :class="[theme.base({
4
4
  class: [$props.class, ui?.base]
5
- })]"
6
- >
7
- <component
8
- :is="componentMap[option.type]?.component"
9
- v-for="option in options.filter((item) => !item.isHide)"
10
- :key="option.props.name"
11
- :class="option.class"
12
- :form="form"
5
+ })]"
6
+ >
7
+ <component
8
+ :is="componentMap[option.type]?.component"
9
+ v-for="option in options.filter((item) => !item.isHide)"
10
+ :key="option.props.name"
11
+ :class="option.class"
12
+ :form="form"
13
13
  v-bind="{
14
14
  ...getFieldBinding(option),
15
15
  ...componentMap[option.type]?.props
16
- }"
17
- v-on="option.on ?? {}"
18
- />
19
- </div>
16
+ }"
17
+ v-on="option.on ?? {}"
18
+ />
19
+ </div>
20
20
  </template>
21
21
 
22
22
  <script setup>
@@ -8,7 +8,7 @@ type __VLS_Props = {
8
8
  class?: any;
9
9
  ui?: typeof formTheme['slots'];
10
10
  };
11
- declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ declare const _default: import("vue").DefineComponent<__VLS_Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
12
  orientation: "horizontal" | "vertical";
13
13
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
14
  export default _default;
@@ -1,22 +1,22 @@
1
1
  <template>
2
- <FieldWrapper
3
- v-bind="wrapperProps"
4
- label=""
5
- description=""
6
- >
7
- <Checkbox
8
- :model-value="value"
9
- :disabled="wrapperProps.disabled"
10
- :name="name"
11
- :label="label"
12
- :description="description"
13
- :required="required"
14
- :variant="variant"
15
- :indicator="indicator"
16
- :ui="ui"
17
- @update:modelValue="onChange"
18
- />
19
- </FieldWrapper>
2
+ <FieldWrapper
3
+ v-bind="wrapperProps"
4
+ label=""
5
+ description=""
6
+ >
7
+ <Checkbox
8
+ :model-value="value"
9
+ :disabled="wrapperProps.disabled"
10
+ :name="name"
11
+ :label="label"
12
+ :description="description"
13
+ :required="required"
14
+ :variant="variant"
15
+ :indicator="indicator"
16
+ :ui="ui"
17
+ @update:modelValue="onChange"
18
+ />
19
+ </FieldWrapper>
20
20
  </template>
21
21
 
22
22
  <script setup>
@@ -1,5 +1,5 @@
1
1
  import type { ICheckboxFieldProps } from '#core/components/Form/InputCheckbox/types';
2
- declare const _default: import("vue").DefineComponent<ICheckboxFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ICheckboxFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<ICheckboxFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,6 +1,6 @@
1
1
  import '@vuepic/vue-datepicker/dist/main.css';
2
2
  import type { IDateTimeFieldProps } from '#core/components/Form/InputDateTime/date_time_field.types';
3
- declare const _default: import("vue").DefineComponent<IDateTimeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IDateTimeFieldProps> & Readonly<{}>, {
3
+ declare const _default: import("vue").DefineComponent<IDateTimeFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IDateTimeFieldProps> & Readonly<{}>, {
4
4
  clearIcon: string;
5
5
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import '@vuepic/vue-datepicker/dist/main.css';
2
2
  import type { IDateTimeRangeFieldProps } from './date_range_time_field.types.js';
3
- declare const _default: import("vue").DefineComponent<IDateTimeRangeFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IDateTimeRangeFieldProps> & Readonly<{}>, {
3
+ declare const _default: import("vue").DefineComponent<IDateTimeRangeFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<IDateTimeRangeFieldProps> & Readonly<{}>, {
4
4
  clearIcon: string;
5
5
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -1,24 +1,24 @@
1
1
  <template>
2
- <FieldWrapper v-bind="wrapperProps">
3
- <InputNumber
4
- :model-value="value"
5
- :disabled="wrapperProps.disabled"
6
- :name="name"
7
- :placeholder="wrapperProps.placeholder"
8
- :autofocus="!!autoFocus"
9
- :readonly="readonly"
10
- :orientation="orientation"
11
- :increment-disabled="incrementDisabled"
12
- :decrement-disabled="decrementDisabled"
13
- :min="min"
14
- :max="max"
15
- :step="step"
16
- :disable-wheel-change="disableWheelChange"
17
- :format-options="formatOptions"
18
- :ui="ui"
19
- @update:model-value="onChange"
20
- />
21
- </FieldWrapper>
2
+ <FieldWrapper v-bind="wrapperProps">
3
+ <InputNumber
4
+ :model-value="value"
5
+ :disabled="wrapperProps.disabled"
6
+ :name="name"
7
+ :placeholder="wrapperProps.placeholder"
8
+ :autofocus="!!autoFocus"
9
+ :readonly="readonly"
10
+ :orientation="orientation"
11
+ :increment-disabled="incrementDisabled"
12
+ :decrement-disabled="decrementDisabled"
13
+ :min="min"
14
+ :max="max"
15
+ :step="step"
16
+ :disable-wheel-change="disableWheelChange"
17
+ :format-options="formatOptions"
18
+ :ui="ui"
19
+ @update:model-value="onChange"
20
+ />
21
+ </FieldWrapper>
22
22
  </template>
23
23
 
24
24
  <script setup>
@@ -1,5 +1,5 @@
1
1
  import type { INumberFieldProps } from '#core/components/Form/InputNumber/types';
2
- declare const _default: import("vue").DefineComponent<INumberFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<INumberFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<INumberFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { IRadioFieldProps } from '#core/components/Form/InputRadio/types';
2
- declare const _default: import("vue").DefineComponent<IRadioFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<IRadioFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (value: any) => any;
4
4
  }, string, import("vue").PublicProps, Readonly<IRadioFieldProps> & Readonly<{
5
5
  onChange?: ((value: any) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import type { ISearchFieldProps } from '#core/components/Form/InputSearch/types';
2
- declare const _default: import("vue").DefineComponent<ISearchFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ISearchFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  search: (...args: any[]) => void;
4
4
  clear: (...args: any[]) => void;
5
5
  change: (...args: any[]) => void;
@@ -1,5 +1,5 @@
1
1
  import type { ISelectFieldProps } from '#core/components/Form/InputSelect/types';
2
- declare const _default: import("vue").DefineComponent<ISelectFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ISelectFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<ISelectFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;
@@ -1,57 +1,57 @@
1
1
  <template>
2
- <FieldWrapper v-bind="wrapperProps">
3
- <SelectMenu
4
- :model-value="value"
5
- :items="options"
6
- multiple
7
- :placeholder="wrapperProps.placeholder"
8
- :disabled="wrapperProps.disabled"
9
- :loading="loading"
10
- :search-input="searchInput"
11
- :selected-icon="selectedIcon"
12
- value-key="value"
13
- label-key="label"
14
- :icon="icon"
15
- :ui="ui"
16
- :ignore-filter="!!$attrs.onSearch"
17
- @update:model-value="onChange"
18
- @update:searchTerm="onSearch"
19
- >
20
- <template #default="{ modelValue }">
21
- <div
22
- v-if="!ArrayHelper.isEmpty(value)"
2
+ <FieldWrapper v-bind="wrapperProps">
3
+ <SelectMenu
4
+ :model-value="value"
5
+ :items="options"
6
+ multiple
7
+ :placeholder="wrapperProps.placeholder"
8
+ :disabled="wrapperProps.disabled"
9
+ :loading="loading"
10
+ :search-input="searchInput"
11
+ :selected-icon="selectedIcon"
12
+ value-key="value"
13
+ label-key="label"
14
+ :icon="icon"
15
+ :ui="ui"
16
+ :ignore-filter="!!$attrs.onSearch"
17
+ @update:model-value="onChange"
18
+ @update:searchTerm="onSearch"
19
+ >
20
+ <template #default="{ modelValue }">
21
+ <div
22
+ v-if="!ArrayHelper.isEmpty(value)"
23
23
  :class="theme.tagsWrapper({
24
24
  class: [ui?.tagsWrapper]
25
- })"
26
- >
27
- <div
28
- v-for="_value in ArrayHelper.toArray(modelValue)"
29
- :key="_value"
25
+ })"
26
+ >
27
+ <div
28
+ v-for="_value in ArrayHelper.toArray(modelValue)"
29
+ :key="_value"
30
30
  :class="theme.tagsItem({
31
31
  class: [ui?.tagsItem]
32
- })"
33
- >
34
- <div
32
+ })"
33
+ >
34
+ <div
35
35
  :class="theme.tagsItemText({
36
36
  class: [ui?.tagsItemText]
37
- })"
38
- >
39
- {{ options.find((item) => item.value === _value)?.label || _value }}
40
- <Icon
37
+ })"
38
+ >
39
+ {{ options.find((item) => item.value === _value)?.label || _value }}
40
+ <Icon
41
41
  :name="theme.tagsItemDeleteIcon({
42
42
  class: [ui?.tagsItemDeleteIcon]
43
- })"
43
+ })"
44
44
  :class="theme.tagsItemDelete({
45
45
  class: [ui?.tagsItemDelete]
46
- })"
47
- @click.stop="handleDelete(_value)"
48
- />
49
- </div>
50
- </div>
51
- </div>
52
- </template>
53
- </SelectMenu>
54
- </FieldWrapper>
46
+ })"
47
+ @click.stop="handleDelete(_value)"
48
+ />
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </template>
53
+ </SelectMenu>
54
+ </FieldWrapper>
55
55
  </template>
56
56
 
57
57
  <script setup>
@@ -1,5 +1,5 @@
1
1
  import type { ISelectFieldProps } from '#core/components/Form/InputSelect/types';
2
- declare const _default: import("vue").DefineComponent<ISelectFieldProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
+ declare const _default: import("vue").DefineComponent<ISelectFieldProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
3
3
  change: (...args: any[]) => void;
4
4
  }, string, import("vue").PublicProps, Readonly<ISelectFieldProps> & Readonly<{
5
5
  onChange?: ((...args: any[]) => any) | undefined;