@bagelink/vue 0.0.95 → 0.0.98

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 (82) hide show
  1. package/dist/components/Btn.vue.d.ts +4 -4
  2. package/dist/components/FormSchema.vue.d.ts +1 -1
  3. package/dist/components/ListView.vue.d.ts +2 -2
  4. package/dist/components/MaterialIcon.vue.d.ts +1 -1
  5. package/dist/components/Modal.vue.d.ts +0 -1
  6. package/dist/components/ModalForm.vue.d.ts +1 -2
  7. package/dist/components/NavBar.vue.d.ts +1 -1
  8. package/dist/components/RTXEditor.vue.d.ts +1 -1
  9. package/dist/components/form/MaterialIcon.vue.d.ts +1 -1
  10. package/dist/components/form/inputs/CheckInput.vue.d.ts +1 -1
  11. package/dist/components/form/inputs/CurrencyInput.vue.d.ts +1 -1
  12. package/dist/components/form/inputs/DateInput.vue.d.ts +1 -1
  13. package/dist/components/form/inputs/DatetimeInput.vue.d.ts +1 -1
  14. package/dist/components/form/inputs/DurationInput.vue.d.ts +1 -1
  15. package/dist/components/form/inputs/EmailInput.vue.d.ts +1 -1
  16. package/dist/components/form/inputs/FloatInput.vue.d.ts +1 -1
  17. package/dist/components/form/inputs/IntInput.vue.d.ts +1 -1
  18. package/dist/components/form/inputs/JSONInput.vue.d.ts +1 -1
  19. package/dist/components/form/inputs/LinkField.vue.d.ts +2 -2
  20. package/dist/components/form/inputs/Password.vue.d.ts +1 -1
  21. package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -1
  22. package/dist/components/form/inputs/ReadOnlyInput.vue.d.ts +1 -1
  23. package/dist/components/form/inputs/RichTextEditor.vue.d.ts +1 -1
  24. package/dist/components/form/inputs/SelectField.vue.d.ts +2 -2
  25. package/dist/components/formkit/index.d.ts +2 -2
  26. package/dist/index.cjs +206 -389
  27. package/dist/index.d.ts +1 -0
  28. package/dist/index.mjs +206 -389
  29. package/dist/plugins/modal.d.ts +3 -1
  30. package/dist/style.css +223 -223
  31. package/dist/types/index.d.ts +2 -1
  32. package/dist/utils/index.d.ts +1 -1
  33. package/dist/utils/objects.d.ts +1 -1
  34. package/package.json +45 -18
  35. package/src/components/Btn.vue +2 -2
  36. package/src/components/Comments.vue +1 -1
  37. package/src/components/ContactArray.vue +2 -2
  38. package/src/components/ContactSubmissions.vue +1 -1
  39. package/src/components/DataPreview.vue +1 -1
  40. package/src/components/DropDown.vue +1 -1
  41. package/src/components/FormKitTable.vue +1 -2
  42. package/src/components/FormSchema.vue +1 -1
  43. package/src/components/ListView.vue +1 -2
  44. package/src/components/MaterialIcon.vue +1 -1
  45. package/src/components/Modal.vue +2 -2
  46. package/src/components/ModalForm.vue +2 -3
  47. package/src/components/NavBar.vue +2 -3
  48. package/src/components/PersonPreview.vue +2 -3
  49. package/src/components/PersonPreviewFormkit.vue +2 -3
  50. package/src/components/TableSchema.vue +1 -2
  51. package/src/components/form/ItemRef.vue +5 -7
  52. package/src/components/form/MaterialIcon.vue +1 -1
  53. package/src/components/form/PlainInputField.vue +2 -2
  54. package/src/components/form/inputs/CheckInput.vue +1 -1
  55. package/src/components/form/inputs/Checkbox.vue +1 -1
  56. package/src/components/form/inputs/ColorPicker.vue +1 -1
  57. package/src/components/form/inputs/CurrencyInput.vue +1 -1
  58. package/src/components/form/inputs/DateInput.vue +1 -1
  59. package/src/components/form/inputs/DynamicLinkField.vue +1 -1
  60. package/src/components/form/inputs/LinkField.vue +1 -1
  61. package/src/components/form/inputs/Password.vue +1 -2
  62. package/src/components/form/inputs/PlainText.vue +1 -1
  63. package/src/components/form/inputs/ReadOnlyInput.vue +1 -1
  64. package/src/components/form/inputs/SelectField.vue +2 -2
  65. package/src/components/form/inputs/TableField.vue +3 -5
  66. package/src/components/form/inputs/TextArea.vue +1 -1
  67. package/src/components/form/inputs/TextInput.vue +1 -1
  68. package/src/components/formkit/AddressArray.vue +2 -3
  69. package/src/components/formkit/BankDetailsArray.vue +2 -3
  70. package/src/components/formkit/ContactArrayFormKit.vue +2 -3
  71. package/src/components/formkit/FileUploader.vue +1 -2
  72. package/src/components/formkit/MiscFields.vue +1 -1
  73. package/src/components/formkit/index.ts +3 -3
  74. package/src/components/whatsapp/form/MsgTemplate.vue +1 -3
  75. package/src/components/whatsapp/form/TextVariableExamples.vue +1 -1
  76. package/src/index.ts +1 -0
  77. package/src/plugins/modal.ts +3 -3
  78. package/src/types/index.ts +2 -1
  79. package/src/utils/index.ts +1 -1
  80. package/src/utils/objects.ts +1 -1
  81. package/tsconfig.json +6 -0
  82. package/vite.config.ts +2 -2
@@ -1,9 +1,9 @@
1
- import type { MaterialIcons } from '../types/materialIcons';
1
+ import type { MaterialIcons } from '..';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  disabled?: boolean | undefined;
4
4
  icon?: MaterialIcons | undefined;
5
5
  'icon.end'?: MaterialIcons | undefined;
6
- color?: "light" | "red" | "gray" | "black" | "blue" | "gray-light" | "green" | undefined;
6
+ color?: "light" | "gray" | "blue" | "red" | "gray-light" | "black" | "green" | undefined;
7
7
  flat?: boolean | undefined;
8
8
  thin?: boolean | undefined;
9
9
  type?: "button" | "submit" | "reset" | undefined;
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
25
25
  disabled?: boolean | undefined;
26
26
  icon?: MaterialIcons | undefined;
27
27
  'icon.end'?: MaterialIcons | undefined;
28
- color?: "light" | "red" | "gray" | "black" | "blue" | "gray-light" | "green" | undefined;
28
+ color?: "light" | "gray" | "blue" | "red" | "gray-light" | "black" | "green" | undefined;
29
29
  flat?: boolean | undefined;
30
30
  thin?: boolean | undefined;
31
31
  type?: "button" | "submit" | "reset" | undefined;
@@ -46,7 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
46
46
  }>>>, {
47
47
  type: "button" | "submit" | "reset";
48
48
  role: string;
49
- color: "light" | "red" | "gray" | "black" | "blue" | "gray-light" | "green";
49
+ color: "light" | "gray" | "blue" | "red" | "gray-light" | "black" | "green";
50
50
  disabled: boolean;
51
51
  loading: boolean;
52
52
  is: string;
@@ -17,8 +17,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
17
17
  }>, {
18
18
  $t: (key: string) => string;
19
19
  }>>> & {
20
- onSubmit?: ((...args: any[]) => any) | undefined;
21
20
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
+ onSubmit?: ((...args: any[]) => any) | undefined;
22
22
  }, {
23
23
  $t: (key: string) => string;
24
24
  }, {}>;
@@ -4,8 +4,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
4
4
  open: boolean;
5
5
  searchPlaceholder: string;
6
6
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- add: (...args: any[]) => void;
8
7
  search: (...args: any[]) => void;
8
+ add: (...args: any[]) => void;
9
9
  debounce: (...args: any[]) => void;
10
10
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
11
  enableAdd: boolean;
@@ -13,8 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  open: boolean;
14
14
  searchPlaceholder: string;
15
15
  }>>> & {
16
- onAdd?: ((...args: any[]) => any) | undefined;
17
16
  onSearch?: ((...args: any[]) => any) | undefined;
17
+ onAdd?: ((...args: any[]) => any) | undefined;
18
18
  onDebounce?: ((...args: any[]) => any) | undefined;
19
19
  }, {}, {}>, {
20
20
  default?(_: {}): any;
@@ -1,4 +1,4 @@
1
- import type { MaterialIcons } from '../types/materialIcons';
1
+ import type { MaterialIcons } from '..';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  icon: MaterialIcons;
4
4
  size?: number | undefined;
@@ -1,4 +1,3 @@
1
- import { BtnOptions } from '../types/BtnOptions';
2
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
2
  side?: boolean | undefined;
4
3
  title?: string | undefined;
@@ -1,5 +1,4 @@
1
1
  import { type FormKitSchemaDefinition } from '@formkit/core';
2
- import { BtnOptions } from '../types/BtnOptions';
3
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
3
  side?: boolean | undefined;
5
4
  title?: string | undefined;
@@ -10,8 +9,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
9
  onSubmit?: ((formData: any) => Promise<void>) | undefined;
11
10
  onDelete?: ((id: string) => void) | undefined;
12
11
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
- "update:modelValue": (...args: any[]) => void;
14
12
  "update:isModalVisible": (...args: any[]) => void;
13
+ "update:modelValue": (...args: any[]) => void;
15
14
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
15
  side?: boolean | undefined;
17
16
  title?: string | undefined;
@@ -1,4 +1,4 @@
1
- import type { MaterialIcons } from '../types/materialIcons';
1
+ import type { MaterialIcons } from '..';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  links?: {
4
4
  label: string;
@@ -17,8 +17,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
17
17
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
18
18
  "onKeydown.meta.enter"?: ((...args: any[]) => any) | undefined;
19
19
  }, {
20
- elementId: string;
21
20
  modelValue: string;
21
+ elementId: string;
22
22
  }, {}>;
23
23
  export default _default;
24
24
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,4 +1,4 @@
1
- import type { MaterialIcons } from '../../types/materialIcons';
1
+ import type { MaterialIcons } from '../..';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  icon: MaterialIcons;
4
4
  size?: number | undefined;
@@ -1,4 +1,4 @@
1
- import { BagelField } from '../../../types';
1
+ import { BagelField } from '../../..';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  field: BagelField;
4
4
  modelValue: any;
@@ -1,4 +1,4 @@
1
- import { BagelField } from '../../../types';
1
+ import { BagelField } from '../../..';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  field: BagelField;
4
4
  modelValue: any;
@@ -1,4 +1,4 @@
1
- import type { BagelField } from '../../../types/BagelField';
1
+ import type { BagelField } from '../../..';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  field: BagelField;
4
4
  modelValue: any;
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
27
  }>>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- description: string;
31
30
  label: string;
31
+ description: string;
32
32
  placeholder: string;
33
33
  editMode: boolean;
34
34
  }, {}>;
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
27
  }>>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- description: string;
31
30
  label: string;
31
+ description: string;
32
32
  placeholder: string;
33
33
  editMode: boolean;
34
34
  }, {}>;
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
27
  }>>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- description: string;
31
30
  label: string;
31
+ description: string;
32
32
  placeholder: string;
33
33
  editMode: boolean;
34
34
  }, {}>;
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
27
  }>>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- description: string;
31
30
  label: string;
31
+ description: string;
32
32
  placeholder: string;
33
33
  editMode: boolean;
34
34
  }, {}>;
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
27
  }>>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- description: string;
31
30
  label: string;
31
+ description: string;
32
32
  placeholder: string;
33
33
  editMode: boolean;
34
34
  }, {}>;
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
27
  }>>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- description: string;
31
30
  label: string;
31
+ description: string;
32
32
  placeholder: string;
33
33
  editMode: boolean;
34
34
  }, {}>;
@@ -37,9 +37,9 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
37
37
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
38
  onSelected?: ((...args: any[]) => any) | undefined;
39
39
  }, {
40
- description: string;
41
- label: string;
42
40
  filters: any;
41
+ label: string;
42
+ description: string;
43
43
  useId: false;
44
44
  bagelApp: any;
45
45
  }, {}>;
@@ -1,4 +1,4 @@
1
- import { BagelField } from '../../../types/BagelField';
1
+ import { BagelField } from '../../..';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  field: BagelField;
4
4
  modelValue: any;
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
27
  }>>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- description: string;
31
30
  label: string;
31
+ description: string;
32
32
  placeholder: string;
33
33
  editMode: boolean;
34
34
  }, {}>;
@@ -1,4 +1,4 @@
1
- import { BagelField } from '../../../types/BagelField';
1
+ import { BagelField } from '../../..';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
3
3
  field: BagelField;
4
4
  modelValue: any;
@@ -27,8 +27,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
27
27
  }>>> & {
28
28
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
29
  }, {
30
- description: string;
31
30
  label: string;
31
+ description: string;
32
32
  placeholder: string;
33
33
  editMode: boolean;
34
34
  }, {}>;
@@ -1,4 +1,4 @@
1
- import { type SelectBagelField } from '../../../types/BagelField';
1
+ import { type SelectBagelField } from '../../..';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<SelectBagelField, "key"> & {
3
3
  editMode?: boolean | undefined;
4
4
  field: SelectBagelField;
@@ -26,8 +26,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
26
26
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
27
27
  onSelected?: ((...args: any[]) => any) | undefined;
28
28
  }, {
29
- description: string;
30
29
  label: string;
30
+ description: string;
31
31
  placeholder: string;
32
32
  editMode: boolean;
33
33
  }, {}>;
@@ -1,9 +1,9 @@
1
1
  declare const ContactArray: import("@formkit/core").FormKitTypeDefinition;
2
2
  declare const Address: import("@formkit/core").FormKitTypeDefinition;
3
- declare const BankDetails: import("@formkit/core").FormKitTypeDefinition;
3
+ declare const BankDetailsArray: import("@formkit/core").FormKitTypeDefinition;
4
4
  declare const MiscFields: import("@formkit/core").FormKitTypeDefinition;
5
5
  declare const ToggleSwitch: import("@formkit/core").FormKitTypeDefinition;
6
6
  declare const FileUpload: import("@formkit/core").FormKitTypeDefinition;
7
7
  declare const TextVariables: import("@formkit/core").FormKitTypeDefinition;
8
8
  declare const PersonPreview: import("@formkit/core").FormKitTypeDefinition;
9
- export { TextVariables, ContactArray, PersonPreview, Address, BankDetails, MiscFields, ToggleSwitch, FileUpload, };
9
+ export { TextVariables, ContactArray, PersonPreview, Address, BankDetailsArray, MiscFields, ToggleSwitch, FileUpload, };