@bagelink/vue 1.14.0 → 1.14.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 (77) hide show
  1. package/dist/components/AddressSearch.vue.d.ts +7 -6
  2. package/dist/components/Btn.vue.d.ts +1 -1
  3. package/dist/components/Btn.vue.d.ts.map +1 -1
  4. package/dist/components/Carousel.vue.d.ts +11 -0
  5. package/dist/components/Dropdown.vue.d.ts +2 -0
  6. package/dist/components/FilterQuery.vue.d.ts +3 -8
  7. package/dist/components/Modal.vue.d.ts +1 -0
  8. package/dist/components/Swiper.vue.d.ts +12 -6
  9. package/dist/components/Swiper.vue.d.ts.map +1 -1
  10. package/dist/components/analytics/PieChart.vue.d.ts +2 -2
  11. package/dist/components/calendar/CalendarPopover.vue.d.ts +4 -8
  12. package/dist/components/calendar/CalendarTypes.d.ts +10 -0
  13. package/dist/components/calendar/Index.vue.d.ts +20 -4
  14. package/dist/components/calendar/views/WeekView.vue.d.ts +9 -1
  15. package/dist/components/form/inputs/ArrayInput.vue.d.ts +4 -2
  16. package/dist/components/form/inputs/ArrayInput.vue.d.ts.map +1 -1
  17. package/dist/components/form/inputs/CheckInput.vue.d.ts +2 -1
  18. package/dist/components/form/inputs/CodeEditor/Index.vue.d.ts +54 -0
  19. package/dist/components/form/inputs/ColorInput.vue.d.ts +3 -1
  20. package/dist/components/form/inputs/DateInput.vue.d.ts +2 -1
  21. package/dist/components/form/inputs/DatePicker.vue.d.ts +1 -0
  22. package/dist/components/form/inputs/EmailInput.vue.d.ts +5 -2
  23. package/dist/components/form/inputs/JSONInput.vue.d.ts +2 -1
  24. package/dist/components/form/inputs/MarkdownEditor.vue.d.ts +7 -2
  25. package/dist/components/form/inputs/NumberInput.vue.d.ts +2 -1
  26. package/dist/components/form/inputs/OTP.vue.d.ts +2 -1
  27. package/dist/components/form/inputs/PasswordInput.vue.d.ts +16 -10
  28. package/dist/components/form/inputs/RadioGroup.vue.d.ts +3 -1
  29. package/dist/components/form/inputs/RangeInput.vue.d.ts +6 -1
  30. package/dist/components/form/inputs/RichText/index.vue.d.ts +2 -1
  31. package/dist/components/form/inputs/RichText/index.vue.d.ts.map +1 -1
  32. package/dist/components/form/inputs/SelectBtn.vue.d.ts +2 -2
  33. package/dist/components/form/inputs/SelectInput.vue.d.ts +20 -13
  34. package/dist/components/form/inputs/SignaturePad.vue.d.ts +6 -1
  35. package/dist/components/form/inputs/TableField.vue.d.ts +2 -1
  36. package/dist/components/form/inputs/TelInput.vue.d.ts +2 -1
  37. package/dist/components/form/inputs/TextInput.vue.d.ts +3 -2
  38. package/dist/components/form/inputs/ToggleInput.vue.d.ts +2 -1
  39. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts +27 -6
  40. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
  41. package/dist/components/form/inputs/Upload/upload.d.ts +1 -1
  42. package/dist/components/form/inputs/index.d.ts +1 -0
  43. package/dist/components/index.d.ts +3 -1
  44. package/dist/components/layout/AppContent.vue.d.ts +1 -1
  45. package/dist/components/layout/AppLayout.vue.d.ts +2 -0
  46. package/dist/components/layout/AppSidebar.vue.d.ts +5 -1
  47. package/dist/components/layout/TabsNav.vue.d.ts +12 -1
  48. package/dist/form-flow/MultiStepForm.vue.d.ts +6 -1
  49. package/dist/form-flow/form-flow.d.ts +24 -1
  50. package/dist/form-flow/form-flow.d.ts.map +1 -1
  51. package/dist/i18n/index.d.ts +838 -0
  52. package/dist/index.cjs +191 -186
  53. package/dist/index.d.ts +2 -0
  54. package/dist/index.mjs +35604 -29690
  55. package/dist/style.css +2 -1
  56. package/dist/types/BagelForm.d.ts +10 -1
  57. package/dist/types/NavLink.d.ts +2 -1
  58. package/dist/types/index.d.ts +2 -1
  59. package/dist/utils/BagelFormUtils.d.ts +1 -0
  60. package/dist/utils/calendar/dateUtils.d.ts +2 -2
  61. package/dist/utils/index.d.ts +1 -1
  62. package/dist/utils/index.d.ts.map +1 -1
  63. package/dist/utils/ipapi.d.ts.map +1 -1
  64. package/dist/utils/useSearch.d.ts +1 -1
  65. package/package.json +1 -1
  66. package/src/components/form/inputs/ArrayInput.vue +34 -6
  67. package/src/components/form/inputs/RichText/editor.css +2 -2
  68. package/src/components/form/inputs/RichText/index.vue +62 -4
  69. package/src/form-flow/form-flow.ts +2 -2
  70. package/src/styles/mobilLayout.css +1 -1
  71. package/src/styles/text.css +1559 -528
  72. package/src/utils/index.ts +2 -2
  73. package/src/utils/ipapi.ts +19 -6
  74. package/dist/components/Filter.vue.d.ts +0 -30
  75. package/dist/components/Filter.vue.d.ts.map +0 -1
  76. package/dist/components/QueryFilter.vue.d.ts +0 -30
  77. package/dist/components/QueryFilter.vue.d.ts.map +0 -1
@@ -1,4 +1,5 @@
1
- interface Props {
1
+ import { BagelInputShellProps } from './bagelInputShell';
2
+ interface Props extends BagelInputShellProps {
2
3
  maxLength?: number;
3
4
  placeholder?: string;
4
5
  label?: string;
@@ -15,7 +16,11 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
15
16
  "update:modelValue": (value: string) => any;
16
17
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
17
18
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
18
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
19
+ }>, {
20
+ label: string;
21
+ placeholder: string;
22
+ showFormatting: boolean;
23
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
19
24
  textareaRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./TextInput.vue').TextInputProps> & Readonly<{
20
25
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
26
  onDebounce?: ((...args: any[]) => any) | undefined;
@@ -1,6 +1,7 @@
1
1
  import { IconType } from '../../..';
2
+ import { BagelInputShellProps } from './bagelInputShell';
2
3
  type NumberLayout = 'default' | 'vertical' | 'horizontal';
3
- interface NumberInputProps {
4
+ interface NumberInputProps extends BagelInputShellProps {
4
5
  modelValue?: number | string;
5
6
  min?: number;
6
7
  max?: number;
@@ -1,9 +1,10 @@
1
+ import { BagelInputShellProps } from './bagelInputShell';
1
2
  type __VLS_Props = {
2
3
  digitCount: number;
3
4
  default?: string;
4
5
  modelValue?: string;
5
6
  error?: string;
6
- };
7
+ } & BagelInputShellProps;
7
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
9
  "update:modelValue": (...args: any[]) => void;
9
10
  complete: (...args: any[]) => void;
@@ -1,19 +1,22 @@
1
- import { IconType } from '../../..';
2
- type __VLS_Props = TextInputProps;
3
- export interface TextInputProps {
1
+ import { IconType, ValidateInputBaseT } from '../../..';
2
+ import { BagelInputShellProps } from './bagelInputShell';
3
+ export interface TextInputProps extends ValidateInputBaseT, BagelInputShellProps {
4
4
  id?: string;
5
5
  title?: string;
6
6
  helptext?: string;
7
+ name?: string;
7
8
  placeholder?: string;
9
+ modelValue?: string;
8
10
  label?: string;
9
11
  small?: boolean;
10
12
  dense?: boolean;
11
13
  required?: boolean;
12
14
  pattern?: string;
15
+ defaultValue?: string;
13
16
  shrink?: boolean;
14
17
  underlined?: boolean;
15
18
  disabled?: boolean;
16
- name?: string;
19
+ type?: string;
17
20
  nativeInputAttrs?: {
18
21
  [key: string]: any;
19
22
  };
@@ -22,16 +25,19 @@ export interface TextInputProps {
22
25
  multiline?: boolean;
23
26
  autoheight?: boolean;
24
27
  code?: boolean;
25
- lines?: number;
28
+ rows?: number | string;
29
+ autocomplete?: string;
26
30
  autofocus?: boolean;
27
- debounceDelay?: number;
28
- autocomplete?: AutoFillField;
31
+ error?: string;
29
32
  onFocusout?: (e: FocusEvent) => void;
33
+ onFocus?: (e: FocusEvent) => void;
34
+ }
35
+ export interface PasswordInputProps extends TextInputProps {
30
36
  strengthMeter?: boolean;
31
- error?: string;
32
37
  }
38
+ type __VLS_Props = PasswordInputProps;
33
39
  type __VLS_PublicProps = {
34
- 'modelValue'?: string;
40
+ modelValue?: string;
35
41
  'showPwd'?: boolean;
36
42
  } & __VLS_Props;
37
43
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -42,7 +48,7 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
42
48
  "onUpdate:showPwd"?: ((value: boolean) => any) | undefined;
43
49
  }>, {
44
50
  label: string;
45
- autocomplete: AutoFillField;
51
+ autocomplete: string;
46
52
  strengthMeter: boolean;
47
53
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
48
54
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { Option } from '../../..';
2
+ import { BagelInputShellProps } from './bagelInputShell';
2
3
  export interface RadioOption<T = any> {
3
4
  imgAlt?: string;
4
5
  imgSrc?: string;
@@ -36,10 +37,11 @@ declare const _default: <ContextObjType extends {
36
37
  hideRadio?: boolean;
37
38
  bgColor?: string;
38
39
  activeBgColor?: string;
40
+ activeTextColor?: string;
39
41
  borderColor?: string;
40
42
  textColor?: string;
41
43
  textAlign?: "left" | "center" | "right";
42
- }) & Partial<{}>> & import('vue').PublicProps;
44
+ } & BagelInputShellProps) & Partial<{}>> & import('vue').PublicProps;
43
45
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
44
46
  attrs: any;
45
47
  slots: {
@@ -1,4 +1,5 @@
1
- export interface RangeInputProps {
1
+ import { BagelInputShellProps } from './bagelInputShell';
2
+ export interface RangeInputProps extends BagelInputShellProps {
2
3
  modelValue: number | [number, number];
3
4
  min?: number;
4
5
  max?: number;
@@ -10,6 +11,10 @@ export interface RangeInputProps {
10
11
  rtl?: boolean;
11
12
  multiRange?: boolean;
12
13
  formatValue?: (value: number) => string;
14
+ /** צבע הרקע של הפס (track) */
15
+ trackColor?: string;
16
+ /** צבע הפס הפעיל והעיגול — ברירת מחדל: labelActiveColor או primary */
17
+ activeColor?: string;
13
18
  }
14
19
  declare function __VLS_template(): {
15
20
  attrs: Partial<{}>;
@@ -1,4 +1,5 @@
1
1
  import { ToolbarConfig } from './richTextTypes';
2
+ import { BagelInputShellProps } from '../bagelInputShell';
2
3
  type __VLS_Props = {
3
4
  modelValue: string;
4
5
  toolbarConfig?: ToolbarConfig;
@@ -21,7 +22,7 @@ type __VLS_Props = {
21
22
  autofocus?: boolean;
22
23
  textColor?: string;
23
24
  fontSize?: number | string;
24
- };
25
+ } & BagelInputShellProps;
25
26
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
26
27
  editor: {
27
28
  state: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/index.vue"],"names":[],"mappings":"AACA;AAAA,OAk8HO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAYpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAQ9D,KAAK,WAAW,GAAG;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IAEf,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC1B,GAAG,oBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAz+HhB,CAAC;;mDAEwC,CAAC;;;;+CAGvC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6pSb,wBASG"}
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/RichText/index.vue"],"names":[],"mappings":"AACA;AAAA,OA4/HO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAYpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAQ9D,KAAK,WAAW,GAAG;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,aAAa,CAAA;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IACxB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IAEf,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAC1B,GAAG,oBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yDAniIhB,CAAC;;mDAEwC,CAAC;;;;+CAGvC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8wSb,wBASG"}
@@ -1,13 +1,13 @@
1
1
  import { Option } from '../../..';
2
+ import { BagelInputShellProps } from './bagelInputShell';
2
3
  type __VLS_Props = {
3
4
  options: Option[];
4
5
  label?: string;
5
6
  required?: boolean;
6
7
  error?: string;
7
8
  thin?: boolean;
8
- outline?: boolean;
9
9
  multiselect?: boolean;
10
- };
10
+ } & BagelInputShellProps;
11
11
  type __VLS_PublicProps = {
12
12
  'modelValue'?: string | number | (string | number)[] | null;
13
13
  } & __VLS_Props;
@@ -1,7 +1,8 @@
1
1
  import { IconType, Option } from '../../..';
2
2
  import { AlignedPlacement } from '../../Dropdown.vue';
3
+ import { BagelInputShellProps } from './bagelInputShell';
3
4
  type OptionsSource = Option[] | ((query: string) => Promise<Option[]>);
4
- interface PropTypes {
5
+ interface PropTypes extends BagelInputShellProps {
5
6
  options: OptionsSource;
6
7
  placeholder?: string;
7
8
  disabled?: boolean;
@@ -20,6 +21,10 @@ interface PropTypes {
20
21
  searchPlaceholder?: string;
21
22
  error?: string;
22
23
  underlined?: boolean;
24
+ size?: 'xs' | 's' | 'm' | 'l' | 'xl';
25
+ border?: boolean;
26
+ thin?: boolean;
27
+ round?: boolean;
23
28
  }
24
29
  declare function __VLS_template(): {
25
30
  attrs: Partial<{}>;
@@ -59,13 +64,12 @@ declare function __VLS_template(): {
59
64
  show: number;
60
65
  hide: number;
61
66
  } | undefined;
67
+ readonly referenceEl?: (Element | null) | undefined;
62
68
  readonly onHide?: (() => any) | undefined;
63
69
  readonly "onUpdate:shown"?: ((value: boolean) => any) | undefined;
64
70
  readonly onShow?: (() => any) | undefined;
65
71
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
66
- $attrs: {
67
- [x: string]: unknown;
68
- };
72
+ $attrs: import('vue').Attrs;
69
73
  $refs: {
70
74
  [x: string]: unknown;
71
75
  } & {
@@ -110,6 +114,7 @@ declare function __VLS_template(): {
110
114
  show: number;
111
115
  hide: number;
112
116
  };
117
+ referenceEl?: Element | null;
113
118
  }> & Readonly<{
114
119
  onHide?: (() => any) | undefined;
115
120
  "onUpdate:shown"?: ((value: boolean) => any) | undefined;
@@ -194,15 +199,16 @@ declare function __VLS_template(): {
194
199
  show: number;
195
200
  hide: number;
196
201
  };
202
+ referenceEl?: Element | null;
197
203
  }> & Readonly<{
198
204
  onHide?: (() => any) | undefined;
199
205
  "onUpdate:shown"?: ((value: boolean) => any) | undefined;
200
206
  onShow?: (() => any) | undefined;
201
- }>, "hide" | "shown" | "show" | ("flat" | "thin" | "placement" | "disablePlacement" | "autoHide" | "triggers" | "popperTriggers" | "popperShowTriggers" | "popperHideTriggers" | "card")> & import('vue').ShallowUnwrapRef<{
207
+ }>, "hide" | "shown" | "show" | ("flat" | "thin" | "placement" | "disablePlacement" | "autoHide" | "triggers" | "popperTriggers" | "popperShowTriggers" | "popperHideTriggers" | "card")> & {
202
208
  show: () => Promise<void>;
203
209
  hide: () => void;
204
- shown: import('vue').ModelRef<boolean, string, boolean, boolean>;
205
- }> & {} & import('vue').ComponentCustomProperties & {} & {
210
+ shown: boolean;
211
+ } & {} & import('vue').ComponentCustomProperties & {} & {
206
212
  $slots: {
207
213
  trigger?(_: {
208
214
  show: () => Promise<void>;
@@ -292,13 +298,12 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
292
298
  show: number;
293
299
  hide: number;
294
300
  } | undefined;
301
+ readonly referenceEl?: (Element | null) | undefined;
295
302
  readonly onHide?: (() => any) | undefined;
296
303
  readonly "onUpdate:shown"?: ((value: boolean) => any) | undefined;
297
304
  readonly onShow?: (() => any) | undefined;
298
305
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
299
- $attrs: {
300
- [x: string]: unknown;
301
- };
306
+ $attrs: import('vue').Attrs;
302
307
  $refs: {
303
308
  [x: string]: unknown;
304
309
  } & {
@@ -343,6 +348,7 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
343
348
  show: number;
344
349
  hide: number;
345
350
  };
351
+ referenceEl?: Element | null;
346
352
  }> & Readonly<{
347
353
  onHide?: (() => any) | undefined;
348
354
  "onUpdate:shown"?: ((value: boolean) => any) | undefined;
@@ -427,15 +433,16 @@ declare const __VLS_component: import('vue').DefineComponent<PropTypes, {}, {},
427
433
  show: number;
428
434
  hide: number;
429
435
  };
436
+ referenceEl?: Element | null;
430
437
  }> & Readonly<{
431
438
  onHide?: (() => any) | undefined;
432
439
  "onUpdate:shown"?: ((value: boolean) => any) | undefined;
433
440
  onShow?: (() => any) | undefined;
434
- }>, "hide" | "shown" | "show" | ("flat" | "thin" | "placement" | "disablePlacement" | "autoHide" | "triggers" | "popperTriggers" | "popperShowTriggers" | "popperHideTriggers" | "card")> & import('vue').ShallowUnwrapRef<{
441
+ }>, "hide" | "shown" | "show" | ("flat" | "thin" | "placement" | "disablePlacement" | "autoHide" | "triggers" | "popperTriggers" | "popperShowTriggers" | "popperHideTriggers" | "card")> & {
435
442
  show: () => Promise<void>;
436
443
  hide: () => void;
437
- shown: import('vue').ModelRef<boolean, string, boolean, boolean>;
438
- }> & {} & import('vue').ComponentCustomProperties & {} & {
444
+ shown: boolean;
445
+ } & {} & import('vue').ComponentCustomProperties & {} & {
439
446
  $slots: {
440
447
  trigger?(_: {
441
448
  show: () => Promise<void>;
@@ -1,4 +1,5 @@
1
1
  import { Options as SignaturePadOptions } from 'signature_pad';
2
+ import { BagelInputShellProps } from './bagelInputShell';
2
3
  export interface WaterMark {
3
4
  text: string;
4
5
  x: number;
@@ -23,7 +24,11 @@ type __VLS_Props = {
23
24
  format?: FormatType;
24
25
  clearable?: boolean;
25
26
  required?: boolean;
26
- };
27
+ label?: string;
28
+ helptext?: string;
29
+ penColor?: string;
30
+ backgroundColor?: string;
31
+ } & BagelInputShellProps;
27
32
  declare function clear(): void;
28
33
  declare function save(format?: FormatType): string | undefined;
29
34
  declare function fromDataURL(url: string): Promise<void> | undefined;
@@ -1,3 +1,4 @@
1
+ import { BagelInputShellProps } from './bagelInputShell';
1
2
  type __VLS_Props = {
2
3
  description?: string;
3
4
  meta: {
@@ -6,7 +7,7 @@ type __VLS_Props = {
6
7
  fieldname: string;
7
8
  bagelApp?: any;
8
9
  modelValue: any;
9
- };
10
+ } & BagelInputShellProps;
10
11
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
12
  "update:modelValue": (...args: any[]) => void;
12
13
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -1,3 +1,4 @@
1
+ import { BagelInputShellProps } from './bagelInputShell';
1
2
  type __VLS_Props = {
2
3
  id?: string;
3
4
  label?: string;
@@ -9,7 +10,7 @@ type __VLS_Props = {
9
10
  disabled?: boolean;
10
11
  underlined?: boolean;
11
12
  error?: string;
12
- };
13
+ } & BagelInputShellProps;
13
14
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
15
  input: (...args: any[]) => void;
15
16
  paste: (...args: any[]) => void;
@@ -1,5 +1,6 @@
1
1
  import { IconType, ValidateInputBaseT } from '../../..';
2
- export interface TextInputProps extends ValidateInputBaseT {
2
+ import { BagelInputShellProps } from './bagelInputShell';
3
+ export interface TextInputProps extends ValidateInputBaseT, BagelInputShellProps {
3
4
  id?: string;
4
5
  title?: string;
5
6
  helptext?: string;
@@ -25,7 +26,7 @@ export interface TextInputProps extends ValidateInputBaseT {
25
26
  autoheight?: boolean;
26
27
  code?: boolean;
27
28
  rows?: number | string;
28
- autocomplete?: AutoFillField;
29
+ autocomplete?: string;
29
30
  autofocus?: boolean;
30
31
  error?: string;
31
32
  onFocusout?: (e: FocusEvent) => void;
@@ -1,3 +1,4 @@
1
+ import { BagelInputShellProps } from './bagelInputShell';
1
2
  type __VLS_Props = {
2
3
  label?: string;
3
4
  id?: string;
@@ -5,7 +6,7 @@ type __VLS_Props = {
5
6
  small?: boolean;
6
7
  required?: boolean;
7
8
  defaultValue?: boolean;
8
- };
9
+ } & BagelInputShellProps;
9
10
  type __VLS_PublicProps = {
10
11
  'modelValue'?: boolean | undefined;
11
12
  } & __VLS_Props;
@@ -1,8 +1,4 @@
1
1
  import { UploadInputProps } from '../../../../types/BagelForm';
2
- type __VLS_Props = UploadInputProps & {
3
- showIcon?: boolean;
4
- icon?: string;
5
- };
6
2
  declare function __VLS_template(): {
7
3
  attrs: Partial<{}>;
8
4
  slots: {
@@ -29,6 +25,30 @@ declare function __VLS_template(): {
29
25
  namespace?: string | undefined;
30
26
  }[];
31
27
  }): any;
28
+ 'drop-placeholder'?(_: {
29
+ files: string[];
30
+ fileQueue: {
31
+ file: {
32
+ readonly lastModified: number;
33
+ readonly name: string;
34
+ readonly webkitRelativePath: string;
35
+ readonly size: number;
36
+ readonly type: string;
37
+ arrayBuffer: () => Promise<ArrayBuffer>;
38
+ bytes: () => Promise<Uint8Array<ArrayBuffer>>;
39
+ slice: (start?: number, end?: number, contentType?: string) => Blob;
40
+ stream: () => ReadableStream<Uint8Array<ArrayBuffer>>;
41
+ text: () => Promise<string>;
42
+ };
43
+ url?: string | undefined;
44
+ progress: number;
45
+ uploading?: boolean | undefined;
46
+ name?: string | undefined;
47
+ uploaded?: boolean | undefined;
48
+ namespace?: string | undefined;
49
+ }[];
50
+ browse: (autoFlush?: boolean) => void;
51
+ }): any;
32
52
  placeholder?(_: {
33
53
  files: string[];
34
54
  fileQueue: {
@@ -58,15 +78,16 @@ declare function __VLS_template(): {
58
78
  rootEl: HTMLDivElement;
59
79
  };
60
80
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
61
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
81
+ declare const __VLS_component: import('vue').DefineComponent<UploadInputProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
62
82
  "update:modelValue": (...args: any[]) => void;
63
83
  addFileStart: (...args: any[]) => void;
64
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
84
+ }, string, import('vue').PublicProps, Readonly<UploadInputProps> & Readonly<{
65
85
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
66
86
  onAddFileStart?: ((...args: any[]) => any) | undefined;
67
87
  }>, {
68
88
  icon: string;
69
89
  height: string | "auto";
90
+ iconSize: number | string;
70
91
  theme: "dropzone" | "basic";
71
92
  accept: string;
72
93
  showIcon: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"UploadInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/Upload/UploadInput.vue"],"names":[],"mappings":"AAoQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAkGnE,iBAAS,cAAc;WAwjBT,OAAO,IAA6B;;;;;;;;;;;;;;;;;;;;;;;;YAZtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;YACW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;YACV,GAAG;;;;EAerC;AAgCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;wFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"UploadInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/inputs/Upload/UploadInput.vue"],"names":[],"mappings":"AAAA,OAoQO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAkGnE,iBAAS,cAAc;WAwjBT,OAAO,IAA6B;;;;;;;;;;;;;;;;;;;;;;;;YAZtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;YACW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;YACV,GAAG;;;;EAerC;AAgCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;wFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -6,7 +6,7 @@ export declare function createUploadApi(options?: {
6
6
  export declare const files: {
7
7
  get: (pathKey?: string) => Promise<AxiosResponse<BglFile>>;
8
8
  put: (bglFilePatch: BglFilePatch, pathKey?: string) => Promise<AxiosResponse<BglFile>>;
9
- delete: (pathKey?: string) => Promise<AxiosResponse<any, any>>;
9
+ delete: (pathKey?: string) => Promise<AxiosResponse<any, any, {}>>;
10
10
  upload: (file: File, options?: UploadOptions & {
11
11
  dirPath?: string;
12
12
  tags?: string[];
@@ -1,3 +1,4 @@
1
+ export { useBagelInputShell, type BagelInputShellProps } from './bagelInputShell';
1
2
  export { default as ArrayInput } from './ArrayInput.vue';
2
3
  export { default as Checkbox } from './Checkbox.vue';
3
4
  export { default as CheckInput } from './CheckInput.vue';
@@ -19,10 +19,12 @@ export { Draggable, useDraggable, vDraggable } from './draggable';
19
19
  export { default as DragOver } from './DragOver.vue';
20
20
  export { default as Dropdown } from './Dropdown.vue';
21
21
  export { default as FieldSetVue } from './FieldSetVue.vue';
22
- export { default as Filter } from './Filter.vue';
22
+ export { default as FilterQuery } from './FilterQuery.vue';
23
+ export type { FilterField, QueryOption } from './FilterQuery.types';
23
24
  export { default as Flag } from './Flag.vue';
24
25
  export * from './form';
25
26
  export { default as Icon } from './Icon/Icon.vue';
27
+ export { FONT_AWESOME_ICONS, FONT_AWESOME_BRANDS_ICONS, MATERIAL_ICONS } from './Icon/constants';
26
28
  export { default as IframeVue } from './IframeVue.vue';
27
29
  export { default as Image } from './Image.vue';
28
30
  export { default as ImportData } from './ImportData.vue';
@@ -1,7 +1,7 @@
1
1
  interface Props {
2
2
  title?: string;
3
3
  showMenuButton?: boolean;
4
- backTo?: string;
4
+ backTo?: string | Record<string, any>;
5
5
  border?: boolean;
6
6
  }
7
7
  declare function __VLS_template(): {
@@ -1,6 +1,7 @@
1
1
  interface Props {
2
2
  sidebarWidth?: string;
3
3
  sidebarCardStyle?: boolean;
4
+ defaultOpen?: boolean;
4
5
  }
5
6
  declare function __VLS_template(): {
6
7
  attrs: Partial<{}>;
@@ -16,6 +17,7 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
16
17
  declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
17
18
  sidebarCardStyle: boolean;
18
19
  sidebarWidth: string;
20
+ defaultOpen: boolean;
19
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
23
  export default _default;
@@ -15,6 +15,8 @@ interface Props {
15
15
  name?: string;
16
16
  frame?: boolean;
17
17
  activeRoutes?: string[];
18
+ centerlinks?: boolean;
19
+ defaultOpen?: boolean;
18
20
  }
19
21
  declare function __VLS_template(): {
20
22
  attrs: Partial<{}>;
@@ -29,11 +31,13 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
29
31
  name: string;
30
32
  card: boolean;
31
33
  textColor: string;
34
+ activeColor: string;
32
35
  bgColor: string;
36
+ defaultOpen: boolean;
33
37
  footerLinks: LinkWithAction[];
34
38
  logoAlt: string;
35
- activeColor: string;
36
39
  logoHeight: string;
40
+ centerlinks: boolean;
37
41
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
38
42
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
39
43
  export default _default;
@@ -1,4 +1,4 @@
1
- import { Tab } from '../..';
1
+ import { Tab, IconType } from '../..';
2
2
  type __VLS_Props = {
3
3
  title?: string;
4
4
  tabs: Tab[];
@@ -7,6 +7,17 @@ type __VLS_Props = {
7
7
  group: string;
8
8
  flat?: boolean;
9
9
  vertical?: boolean;
10
+ icon?: IconType;
11
+ iconEnd?: IconType;
12
+ iconSize?: number | string;
13
+ iconMobileSize?: number | string;
14
+ thin?: boolean;
15
+ size?: 'xs' | 's' | 'm' | 'l' | 'xl' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
16
+ fullWidth?: boolean;
17
+ fullWidthMobile?: boolean;
18
+ alignTxt?: 'center' | 'start' | 'end';
19
+ alignTxtMobile?: 'center' | 'start' | 'end';
20
+ outline?: boolean;
10
21
  };
11
22
  declare function selectTab(tab: Tab): void;
12
23
  declare function isActive(tab: Tab): boolean;
@@ -10,7 +10,12 @@ export interface Props {
10
10
  declare function validateCurrentStep(): boolean;
11
11
  declare function __VLS_template(): {
12
12
  attrs: Partial<{}>;
13
- slots: any;
13
+ slots: Partial<Record<`step:${string}`, (_: {
14
+ schema: SchemaDefinition<Record<string, any>>;
15
+ formData: any;
16
+ stepKey: string;
17
+ errors: Record<string, string>;
18
+ }) => any>> & Partial<Record<string, (_: any) => any>>;
14
19
  refs: {};
15
20
  rootEl: HTMLDivElement;
16
21
  };
@@ -88,6 +88,10 @@ export interface SchemaDefinition<T extends Record<string, any> = Record<string,
88
88
  _class?: string;
89
89
  if: (condition: string) => SchemaDefinition<T>;
90
90
  class: (className: string) => SchemaDefinition<T>;
91
+ /** Set default values for multiple fields at once. Field-level defaults take precedence. */
92
+ defaults: (values: Partial<T>) => SchemaDefinition<T>;
93
+ /** Returns the default values extracted from field configs. */
94
+ getDefaults: () => Partial<T>;
91
95
  toJSONSchema: () => any;
92
96
  }
93
97
  export declare const $: {
@@ -130,9 +134,13 @@ export declare const $: {
130
134
  richtext(labelOrConfig?: string | (BaseFieldConfig & {
131
135
  autoheight?: boolean;
132
136
  basic?: boolean;
137
+ simple?: boolean;
138
+ fontSize?: number | string;
133
139
  }), config?: BaseFieldConfig & {
134
140
  autoheight?: boolean;
135
141
  basic?: boolean;
142
+ simple?: boolean;
143
+ fontSize?: number | string;
136
144
  }): FieldBuilder<string>;
137
145
  json(labelOrConfig?: string | (BaseFieldConfig & {
138
146
  language?: string;
@@ -146,13 +154,25 @@ export declare const $: {
146
154
  radio<T extends string = string>(optionsOrLabel: SelectOptions<T> | string, labelOrOptionsOrConfig?: string | SelectOptions<T> | BaseFieldConfig, config?: BaseFieldConfig): FieldBuilder<T>;
147
155
  select<T extends string = string>(optionsOrLabel: SelectOptions<T> | string, labelOrOptionsOrConfig?: string | SelectOptions<T> | (BaseFieldConfig & {
148
156
  searchable?: boolean;
157
+ display?: "btn";
158
+ thin?: boolean;
159
+ outline?: boolean;
149
160
  }), config?: BaseFieldConfig & {
150
161
  searchable?: boolean;
162
+ display?: "btn";
163
+ thin?: boolean;
164
+ outline?: boolean;
151
165
  }): FieldBuilder<T>;
152
166
  multiselect<T extends string = string>(optionsOrLabel: SelectOptions<T> | string, labelOrOptionsOrConfig?: string | SelectOptions<T> | (BaseFieldConfig & {
153
167
  searchable?: boolean;
168
+ display?: "btn";
169
+ thin?: boolean;
170
+ outline?: boolean;
154
171
  }), config?: BaseFieldConfig & {
155
172
  searchable?: boolean;
173
+ display?: "btn";
174
+ thin?: boolean;
175
+ outline?: boolean;
156
176
  }): FieldBuilder<T[]>;
157
177
  color(labelOrConfig?: string | BaseFieldConfig, config?: BaseFieldConfig): FieldBuilder<string>;
158
178
  upload(labelOrConfig?: string | (BaseFieldConfig & {
@@ -193,6 +213,7 @@ export declare const $: {
193
213
  collapsible?: boolean;
194
214
  min?: number;
195
215
  max?: number;
216
+ simple?: boolean;
196
217
  }), maybeConfig?: BaseFieldConfig & {
197
218
  allowAdd?: boolean;
198
219
  allowDelete?: boolean;
@@ -200,6 +221,7 @@ export declare const $: {
200
221
  collapsible?: boolean;
201
222
  min?: number;
202
223
  max?: number;
224
+ simple?: boolean;
203
225
  }): FieldBuilder<any[]>;
204
226
  component(component: Component | string, props?: Record<string, any>): FieldBuilder;
205
227
  /**
@@ -345,5 +367,6 @@ export type InferSchemaType<S extends SchemaDefinition> = {
345
367
  [K in keyof S['_fields']]: InferFieldType<S['_fields'][K]>;
346
368
  };
347
369
  type InferFieldType<F> = F extends FieldBuilder<infer T> ? T : any;
348
- export {};
370
+ export { schemaToFields, fieldsToSchema, initFormData, validateFormData, useSchemaToFields, inferFieldType as inferSchemaFieldType, defaultRowSpan } from './schema-fields';
371
+ export type { FormField, FormFieldType, FormFieldValidation, JSONSchemaObject, JSONSchemaProperty, SelectOption as SchemaSelectOption } from './schema-fields';
349
372
  //# sourceMappingURL=form-flow.d.ts.map