@bagelink/vue 1.0.60 → 1.0.62

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/components/AddressSearch.vue.d.ts +9 -9
  2. package/dist/components/Alert.vue.d.ts +1 -1
  3. package/dist/components/Badge.vue.d.ts +1 -1
  4. package/dist/components/Btn.vue.d.ts +1 -1
  5. package/dist/components/Dropdown.vue.d.ts +1 -1
  6. package/dist/components/Icon/Icon.vue.d.ts +1 -1
  7. package/dist/components/ListItem.vue.d.ts +1 -1
  8. package/dist/components/Modal.vue.d.ts +1 -1
  9. package/dist/components/ModalConfirm.vue.d.ts +1 -1
  10. package/dist/components/NavBar.vue.d.ts +1 -1
  11. package/dist/components/Pill.vue.d.ts +1 -1
  12. package/dist/components/Spreadsheet/Index.vue.d.ts +4 -4
  13. package/dist/components/dataTable/tableTypes.d.ts +1 -1
  14. package/dist/components/form/BagelForm.vue.d.ts +1 -1
  15. package/dist/components/form/FieldArray.vue.d.ts +1 -1
  16. package/dist/components/form/inputs/FileUpload.vue.d.ts +1 -1
  17. package/dist/components/form/inputs/NumberInput.vue.d.ts +1 -1
  18. package/dist/components/form/inputs/PasswordInput.vue.d.ts +1 -1
  19. package/dist/components/form/inputs/PhoneInput.vue.d.ts +4 -4
  20. package/dist/components/form/inputs/RadioPillsInput.vue.d.ts +1 -1
  21. package/dist/components/form/inputs/RichText/utils/media.d.ts +1 -1
  22. package/dist/components/form/inputs/SelectInput.vue.d.ts +7 -7
  23. package/dist/components/form/inputs/TextInput.vue.d.ts +1 -1
  24. package/dist/components/layout/BottomMenu.vue.d.ts +1 -1
  25. package/dist/components/layout/SidebarMenu.vue.d.ts +1 -1
  26. package/dist/components/layout/Tabs.vue.d.ts +1 -1
  27. package/dist/components/layout/TabsNav.vue.d.ts +1 -1
  28. package/dist/composables/index.d.ts +1 -1
  29. package/dist/composables/useFormField.d.ts +1 -1
  30. package/dist/plugins/modalTypes.d.ts +1 -1
  31. package/dist/types/BagelForm.d.ts +1 -1
  32. package/dist/types/NavLink.d.ts +1 -1
  33. package/dist/types/TableSchema.d.ts +1 -1
  34. package/dist/utils/BagelFormUtils.d.ts +3 -3
  35. package/dist/utils/index.d.ts +1 -1
  36. package/package.json +1 -1
  37. package/vite.config.ts +1 -2
@@ -12,10 +12,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
12
12
  readonly thin?: boolean | undefined;
13
13
  readonly flat?: boolean | undefined;
14
14
  readonly disabled?: boolean | undefined;
15
- readonly icon?: import('../index.ts').IconType | undefined;
16
- readonly color?: import('../index.ts').ThemeType | undefined;
15
+ readonly icon?: import('..').IconType | undefined;
16
+ readonly color?: import('..').ThemeType | undefined;
17
17
  readonly triggerClass?: string | undefined;
18
- readonly iconEnd?: import('../index.ts').IconType | undefined;
18
+ readonly iconEnd?: import('..').IconType | undefined;
19
19
  readonly border?: boolean | undefined;
20
20
  readonly outline?: boolean | undefined;
21
21
  readonly round?: boolean | undefined;
@@ -539,10 +539,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
539
539
  thin?: boolean;
540
540
  flat?: boolean;
541
541
  disabled?: boolean;
542
- icon?: import('../index.ts').IconType;
543
- color?: import('../index.ts').ThemeType;
542
+ icon?: import('..').IconType;
543
+ color?: import('..').ThemeType;
544
544
  triggerClass?: string;
545
- iconEnd?: import('../index.ts').IconType;
545
+ iconEnd?: import('..').IconType;
546
546
  border?: boolean;
547
547
  outline?: boolean;
548
548
  round?: boolean;
@@ -589,10 +589,10 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
589
589
  thin?: boolean;
590
590
  flat?: boolean;
591
591
  disabled?: boolean;
592
- icon?: import('../index.ts').IconType;
593
- color?: import('../index.ts').ThemeType;
592
+ icon?: import('..').IconType;
593
+ color?: import('..').ThemeType;
594
594
  triggerClass?: string;
595
- iconEnd?: import('../index.ts').IconType;
595
+ iconEnd?: import('..').IconType;
596
596
  border?: boolean;
597
597
  outline?: boolean;
598
598
  round?: boolean;
@@ -1,4 +1,4 @@
1
- import { IconType } from '../index.ts';
1
+ import { IconType } from '..';
2
2
  interface Props {
3
3
  message: string;
4
4
  dismissable?: boolean;
@@ -1,4 +1,4 @@
1
- import { IconType } from '../index.ts';
1
+ import { IconType } from '..';
2
2
  interface Props {
3
3
  color?: 'green' | 'red' | 'blue' | 'light' | 'gray' | 'yellow';
4
4
  size?: string;
@@ -1,4 +1,4 @@
1
- import { IconType, ThemeType } from '../index.ts';
1
+ import { IconType, ThemeType } from '..';
2
2
  type __VLS_Props = {
3
3
  disabled?: boolean;
4
4
  icon?: IconType;
@@ -1,4 +1,4 @@
1
- import { IconType, ThemeType } from '../index.ts';
1
+ import { IconType, ThemeType } from '..';
2
2
  import { TriggerEvent } from 'floating-vue';
3
3
  export type Side = 'top' | 'right' | 'bottom' | 'left' | 'auto';
4
4
  export type Alignment = 'start' | 'end';
@@ -1,4 +1,4 @@
1
- import { IconType } from '../../index.ts';
1
+ import { IconType } from '../..';
2
2
  type __VLS_Props = {
3
3
  icon?: IconType;
4
4
  name?: IconType;
@@ -1,4 +1,4 @@
1
- import { IconType } from '../index.ts';
1
+ import { IconType } from '..';
2
2
  type __VLS_Props = {
3
3
  src?: string;
4
4
  showAvatar?: boolean;
@@ -1,4 +1,4 @@
1
- import { BtnOptions } from '../index.ts';
1
+ import { BtnOptions } from '..';
2
2
  type __VLS_Props = {
3
3
  thin?: boolean;
4
4
  side?: boolean;
@@ -1,4 +1,4 @@
1
- import { ThemeType } from '../index.ts';
1
+ import { ThemeType } from '..';
2
2
  type __VLS_Props = {
3
3
  title?: string;
4
4
  message?: string;
@@ -1,4 +1,4 @@
1
- import { IconType, NavLink } from '../index.ts';
1
+ import { IconType, NavLink } from '..';
2
2
  type __VLS_Props = {
3
3
  footerLinks?: NavLink[];
4
4
  links?: NavLink[];
@@ -1,4 +1,4 @@
1
- import { IconType, ThemeType } from '../index.ts';
1
+ import { IconType, ThemeType } from '..';
2
2
  interface BtnProp {
3
3
  icon?: IconType;
4
4
  onClick: () => void;
@@ -40,8 +40,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
40
40
  nativeInputAttrs?: {
41
41
  [key: string]: any;
42
42
  };
43
- icon?: import('../../index.ts').IconType;
44
- iconStart?: import('../../index.ts').IconType;
43
+ icon?: import('../..').IconType;
44
+ iconStart?: import('../..').IconType;
45
45
  multiline?: boolean;
46
46
  autoheight?: boolean;
47
47
  code?: boolean;
@@ -90,8 +90,8 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
90
90
  nativeInputAttrs?: {
91
91
  [key: string]: any;
92
92
  };
93
- icon?: import('../../index.ts').IconType;
94
- iconStart?: import('../../index.ts').IconType;
93
+ icon?: import('../..').IconType;
94
+ iconStart?: import('../..').IconType;
95
95
  multiline?: boolean;
96
96
  autoheight?: boolean;
97
97
  code?: boolean;
@@ -1,4 +1,4 @@
1
- import { BglFormSchemaT } from '../../index.ts';
1
+ import { BglFormSchemaT } from '../..';
2
2
  export type SortDirectionsT = 'ASC' | 'DESC';
3
3
  export type EmitOrderT = `${string} ${SortDirectionsT}`;
4
4
  export interface TableSchemaProps<T extends Record<string, any> = Record<string, any>> {
@@ -1,4 +1,4 @@
1
- import { BglFormSchemaFnT, BglFormSchemaT } from '../../index.ts';
1
+ import { BglFormSchemaFnT, BglFormSchemaT } from '../..';
2
2
  declare const _default: <T extends {
3
3
  [key: string]: any;
4
4
  }>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
@@ -1,4 +1,4 @@
1
- import { AttributeFn, AttributeValue, Attributes, BagelFieldOptions, BglFormSchemaFnT, Field } from '../../index.ts';
1
+ import { AttributeFn, AttributeValue, Attributes, BagelFieldOptions, BglFormSchemaFnT, Field } from '../..';
2
2
  declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
3
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
4
4
  readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -1,4 +1,4 @@
1
- import { StorageFile } from '../../../index.ts';
1
+ import { StorageFile } from '../../..';
2
2
  type StrKey = keyof StorageFile;
3
3
  type __VLS_Props = {
4
4
  label?: string;
@@ -1,4 +1,4 @@
1
- import { IconType } from '../../../index.ts';
1
+ import { IconType } from '../../..';
2
2
  type NumberLayout = 'default' | 'vertical' | 'horizontal';
3
3
  interface NumberInputProps {
4
4
  modelValue?: number | string;
@@ -1,4 +1,4 @@
1
- import { IconType } from '../../../index.ts';
1
+ import { IconType } from '../../..';
2
2
  export interface TextInputProps {
3
3
  id?: string;
4
4
  title?: string;
@@ -42,8 +42,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
42
42
  nativeInputAttrs?: {
43
43
  [key: string]: any;
44
44
  };
45
- icon?: import('../../../index.ts').IconType;
46
- iconStart?: import('../../../index.ts').IconType;
45
+ icon?: import('../../..').IconType;
46
+ iconStart?: import('../../..').IconType;
47
47
  multiline?: boolean;
48
48
  autoheight?: boolean;
49
49
  code?: boolean;
@@ -92,8 +92,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
92
92
  nativeInputAttrs?: {
93
93
  [key: string]: any;
94
94
  };
95
- icon?: import('../../../index.ts').IconType;
96
- iconStart?: import('../../../index.ts').IconType;
95
+ icon?: import('../../..').IconType;
96
+ iconStart?: import('../../..').IconType;
97
97
  multiline?: boolean;
98
98
  autoheight?: boolean;
99
99
  code?: boolean;
@@ -1,4 +1,4 @@
1
- import { Option } from '../../../index.ts';
1
+ import { Option } from '../../..';
2
2
  type __VLS_Props = {
3
3
  options?: Option[];
4
4
  modelValue?: any;
@@ -1,4 +1,4 @@
1
- import { Modal } from '../../../../../index.ts';
1
+ import { Modal } from '../../../../..';
2
2
  import { EditorState } from '../richTextTypes';
3
3
  export declare function insertImage(modal: typeof Modal, state: EditorState): void;
4
4
  export declare function insertLink(modal: typeof Modal, state: EditorState): void;
@@ -1,4 +1,4 @@
1
- import { IconType, Option } from '../../../index.ts';
1
+ import { IconType, Option } from '../../..';
2
2
  import { AlignedPlacement } from '../../Dropdown.vue';
3
3
  interface PropTypes {
4
4
  options: Option[];
@@ -34,7 +34,7 @@ declare function __VLS_template(): {
34
34
  readonly flat?: boolean | undefined;
35
35
  readonly disabled?: boolean | undefined;
36
36
  readonly icon?: IconType | undefined;
37
- readonly color?: import('../../../index.ts').ThemeType | undefined;
37
+ readonly color?: import('../../..').ThemeType | undefined;
38
38
  readonly triggerClass?: string | undefined;
39
39
  readonly iconEnd?: IconType | undefined;
40
40
  readonly border?: boolean | undefined;
@@ -561,7 +561,7 @@ declare function __VLS_template(): {
561
561
  flat?: boolean;
562
562
  disabled?: boolean;
563
563
  icon?: IconType;
564
- color?: import('../../../index.ts').ThemeType;
564
+ color?: import('../../..').ThemeType;
565
565
  triggerClass?: string;
566
566
  iconEnd?: IconType;
567
567
  border?: boolean;
@@ -611,7 +611,7 @@ declare function __VLS_template(): {
611
611
  flat?: boolean;
612
612
  disabled?: boolean;
613
613
  icon?: IconType;
614
- color?: import('../../../index.ts').ThemeType;
614
+ color?: import('../../..').ThemeType;
615
615
  triggerClass?: string;
616
616
  iconEnd?: IconType;
617
617
  border?: boolean;
@@ -750,7 +750,7 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
750
750
  readonly flat?: boolean | undefined;
751
751
  readonly disabled?: boolean | undefined;
752
752
  readonly icon?: IconType | undefined;
753
- readonly color?: import('../../../index.ts').ThemeType | undefined;
753
+ readonly color?: import('../../..').ThemeType | undefined;
754
754
  readonly triggerClass?: string | undefined;
755
755
  readonly iconEnd?: IconType | undefined;
756
756
  readonly border?: boolean | undefined;
@@ -1277,7 +1277,7 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
1277
1277
  flat?: boolean;
1278
1278
  disabled?: boolean;
1279
1279
  icon?: IconType;
1280
- color?: import('../../../index.ts').ThemeType;
1280
+ color?: import('../../..').ThemeType;
1281
1281
  triggerClass?: string;
1282
1282
  iconEnd?: IconType;
1283
1283
  border?: boolean;
@@ -1327,7 +1327,7 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
1327
1327
  flat?: boolean;
1328
1328
  disabled?: boolean;
1329
1329
  icon?: IconType;
1330
- color?: import('../../../index.ts').ThemeType;
1330
+ color?: import('../../..').ThemeType;
1331
1331
  triggerClass?: string;
1332
1332
  iconEnd?: IconType;
1333
1333
  border?: boolean;
@@ -1,4 +1,4 @@
1
- import { IconType } from '../../../index.ts';
1
+ import { IconType } from '../../..';
2
2
  type __VLS_Props = {
3
3
  id?: string;
4
4
  title?: string;
@@ -1,4 +1,4 @@
1
- import { NavLink } from '../../index.ts';
1
+ import { NavLink } from '../..';
2
2
  type __VLS_Props = {
3
3
  navLinks: NavLink[];
4
4
  };
@@ -1,4 +1,4 @@
1
- import { NavLink } from '../../index.ts';
1
+ import { NavLink } from '../..';
2
2
  type __VLS_Props = {
3
3
  navLinks?: NavLink[];
4
4
  expandable?: boolean;
@@ -1,4 +1,4 @@
1
- import { Tab } from '../../index.ts';
1
+ import { Tab } from '../..';
2
2
  type __VLS_Props = {
3
3
  tabs: Tab[];
4
4
  modelValue?: string;
@@ -1,4 +1,4 @@
1
- import { IconType } from '../../index.ts';
1
+ import { IconType } from '../..';
2
2
  interface TabType {
3
3
  id?: string;
4
4
  label?: string;
@@ -1,4 +1,4 @@
1
- import { BglFormSchemaFnT, BglFormSchemaT, IfAny } from '../index.ts';
1
+ import { BglFormSchemaFnT, BglFormSchemaT, IfAny } from '..';
2
2
  import { Ref, UnwrapRef } from 'vue';
3
3
  interface UseBglSchemaParamsT<T> {
4
4
  schema?: BglFormSchemaFnT<T>;
@@ -1,4 +1,4 @@
1
- import { Field } from '../index.ts';
1
+ import { Field } from '..';
2
2
  import { BagelFormState } from '../components/form/useBagelFormState';
3
3
  export declare function useFormField<T = any>(props: {
4
4
  field: Field<T>;
@@ -1,4 +1,4 @@
1
- import { BglFormSchemaFnT, BtnOptions, ThemeType } from '../index.ts';
1
+ import { BglFormSchemaFnT, BtnOptions, ThemeType } from '..';
2
2
  export interface ModalOptions {
3
3
  title?: string;
4
4
  dismissable?: boolean;
@@ -1,4 +1,4 @@
1
- import { SelectInput, TextInput } from '../index.ts';
1
+ import { SelectInput, TextInput } from '..';
2
2
  import { VNode } from 'vue';
3
3
  export type AttributeValue = string | number | boolean | undefined | undefined | {
4
4
  [key: string]: any;
@@ -1,4 +1,4 @@
1
- import { IconType } from '../index.ts';
1
+ import { IconType } from '..';
2
2
  export interface NavLink {
3
3
  label: string;
4
4
  to?: string;
@@ -1,4 +1,4 @@
1
- import { BglFormSchemaT } from '../index.ts';
1
+ import { BglFormSchemaT } from '..';
2
2
  import { Ref, ComputedRef } from 'vue';
3
3
  export type SortDirectionsT = 'ASC' | 'DESC';
4
4
  export type EmitOrderT = `${string} ${SortDirectionsT}`;
@@ -1,4 +1,4 @@
1
- import { BglFormSchemaT, Field, Option, DotNotation } from '../index.ts';
1
+ import { BglFormSchemaT, Field, Option, DotNotation } from '..';
2
2
  import { UploadInputProps } from '../components/form/inputs/Upload/upload.types';
3
3
  interface InputOptions {
4
4
  required?: boolean;
@@ -110,14 +110,14 @@ export declare function bglForm(idOrField?: string | Field, ...schema: Field[]):
110
110
  $el: string;
111
111
  id: string;
112
112
  attrs: {
113
- schema: (string | import('../index.ts').BaseBagelField<{
113
+ schema: (string | import('..').BaseBagelField<{
114
114
  [key: string]: any;
115
115
  }>)[];
116
116
  };
117
117
  } | {
118
118
  $el: string;
119
119
  attrs: {
120
- schema: (import('../index.ts').BaseBagelField<{
120
+ schema: (import('..').BaseBagelField<{
121
121
  [key: string]: any;
122
122
  }> | undefined)[];
123
123
  };
@@ -1,4 +1,4 @@
1
- import { Attributes, BglFormSchemaT } from '../index.ts';
1
+ import { Attributes, BglFormSchemaT } from '..';
2
2
  export declare function debounce(fn: () => void, wait?: number): void;
3
3
  export declare function slugify(str: string): string;
4
4
  export declare function keyToLabel(key?: string): string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "1.0.60",
4
+ "version": "1.0.62",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
package/vite.config.ts CHANGED
@@ -19,8 +19,7 @@ export default defineConfig(() => ({
19
19
  ],
20
20
  resolve: {
21
21
  alias: {
22
- '@bagelink/vue': resolve(indexDir, 'index.ts'),
23
- '@bagelink/vue/*': `${indexDir}/*`,
22
+ '@bagelink/vue': indexDir,
24
23
  },
25
24
  },
26
25
  build: {