@kong-ui-public/entities-shared 3.30.4-pr.2439.ad3fb9fba.0 → 3.30.4

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 (104) hide show
  1. package/dist/entities-shared.es.js +4655 -0
  2. package/dist/entities-shared.umd.js +52 -0
  3. package/dist/style.css +1 -0
  4. package/dist/types/components/common/JsonCodeBlock.vue.d.ts +58 -0
  5. package/dist/types/components/common/JsonCodeBlock.vue.d.ts.map +1 -0
  6. package/dist/types/components/common/TableTags.vue.d.ts +26 -0
  7. package/dist/types/components/common/TableTags.vue.d.ts.map +1 -0
  8. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts +37 -0
  9. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts.map +1 -0
  10. package/dist/types/components/common/YamlCodeBlock.vue.d.ts +16 -0
  11. package/dist/types/components/common/YamlCodeBlock.vue.d.ts.map +1 -0
  12. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts +137 -0
  13. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts.map +1 -0
  14. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts +116 -0
  15. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts.map +1 -0
  16. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts +240 -0
  17. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts.map +1 -0
  18. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts +19 -0
  19. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts.map +1 -0
  20. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts +34 -0
  21. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts.map +1 -0
  22. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts +15 -0
  23. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts.map +1 -0
  24. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts +269 -0
  25. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts.map +1 -0
  26. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts +325 -0
  27. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts.map +1 -0
  28. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts +44 -0
  29. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts.map +1 -0
  30. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts +96 -0
  31. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts.map +1 -0
  32. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts +116 -0
  33. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts.map +1 -0
  34. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts +37 -0
  35. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts.map +1 -0
  36. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts +20 -0
  37. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts.map +1 -0
  38. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts +76 -0
  39. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts.map +1 -0
  40. package/dist/types/components/entity-link/EntityLink.vue.d.ts +49 -0
  41. package/dist/types/components/entity-link/EntityLink.vue.d.ts.map +1 -0
  42. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts +64 -0
  43. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts.map +1 -0
  44. package/dist/types/components/icons/IconFilter.vue.d.ts +15 -0
  45. package/dist/types/components/icons/IconFilter.vue.d.ts.map +1 -0
  46. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts +55 -0
  47. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts.map +1 -0
  48. package/dist/types/composables/index.d.ts +39 -0
  49. package/dist/types/composables/index.d.ts.map +1 -0
  50. package/dist/types/composables/useAxios.d.ts +5 -0
  51. package/dist/types/composables/useAxios.d.ts.map +1 -0
  52. package/dist/types/composables/useDebouncedFilter.d.ts +11 -0
  53. package/dist/types/composables/useDebouncedFilter.d.ts.map +1 -0
  54. package/dist/types/composables/useDeleteUrlBuilder.d.ts +3 -0
  55. package/dist/types/composables/useDeleteUrlBuilder.d.ts.map +1 -0
  56. package/dist/types/composables/useErrors.d.ts +11 -0
  57. package/dist/types/composables/useErrors.d.ts.map +1 -0
  58. package/dist/types/composables/useExternalLinkCreator.d.ts +2 -0
  59. package/dist/types/composables/useExternalLinkCreator.d.ts.map +1 -0
  60. package/dist/types/composables/useFetchUrlBuilder.d.ts +6 -0
  61. package/dist/types/composables/useFetchUrlBuilder.d.ts.map +1 -0
  62. package/dist/types/composables/useFetcher.d.ts +40 -0
  63. package/dist/types/composables/useFetcher.d.ts.map +1 -0
  64. package/dist/types/composables/useGatewayFeatureSupported.d.ts +11 -0
  65. package/dist/types/composables/useGatewayFeatureSupported.d.ts.map +1 -0
  66. package/dist/types/composables/useHelpers.d.ts +7 -0
  67. package/dist/types/composables/useHelpers.d.ts.map +1 -0
  68. package/dist/types/composables/useI18n.d.ts +9 -0
  69. package/dist/types/composables/useI18n.d.ts.map +1 -0
  70. package/dist/types/composables/useSchema.d.ts +11 -0
  71. package/dist/types/composables/useSchema.d.ts.map +1 -0
  72. package/dist/types/composables/useStringHelpers.d.ts +5 -0
  73. package/dist/types/composables/useStringHelpers.d.ts.map +1 -0
  74. package/dist/types/composables/useTableState.d.ts +15 -0
  75. package/dist/types/composables/useTableState.d.ts.map +1 -0
  76. package/dist/types/composables/useTruncationDetector.d.ts +12 -0
  77. package/dist/types/composables/useTruncationDetector.d.ts.map +1 -0
  78. package/dist/types/composables/useValidators.d.ts +8 -0
  79. package/dist/types/composables/useValidators.d.ts.map +1 -0
  80. package/dist/types/index.d.ts +25 -0
  81. package/dist/types/index.d.ts.map +1 -0
  82. package/dist/types/types/app-config.d.ts +35 -0
  83. package/dist/types/types/app-config.d.ts.map +1 -0
  84. package/dist/types/types/base.d.ts +12 -0
  85. package/dist/types/types/base.d.ts.map +1 -0
  86. package/dist/types/types/entity-base-config-card.d.ts +103 -0
  87. package/dist/types/types/entity-base-config-card.d.ts.map +1 -0
  88. package/dist/types/types/entity-base-form.d.ts +19 -0
  89. package/dist/types/types/entity-base-form.d.ts.map +1 -0
  90. package/dist/types/types/entity-base-table.d.ts +79 -0
  91. package/dist/types/types/entity-base-table.d.ts.map +1 -0
  92. package/dist/types/types/entity-delete-modal.d.ts +28 -0
  93. package/dist/types/types/entity-delete-modal.d.ts.map +1 -0
  94. package/dist/types/types/entity-empty-state.d.ts +7 -0
  95. package/dist/types/types/entity-empty-state.d.ts.map +1 -0
  96. package/dist/types/types/entity-filter.d.ts +46 -0
  97. package/dist/types/types/entity-filter.d.ts.map +1 -0
  98. package/dist/types/types/entity-link.d.ts +6 -0
  99. package/dist/types/types/entity-link.d.ts.map +1 -0
  100. package/dist/types/types/index.d.ts +11 -0
  101. package/dist/types/types/index.d.ts.map +1 -0
  102. package/dist/types/types/utils.d.ts +13 -0
  103. package/dist/types/types/utils.d.ts.map +1 -0
  104. package/package.json +3 -3
@@ -0,0 +1,96 @@
1
+ import type { PropType } from 'vue';
2
+ import type { EntityTypes } from '../../types';
3
+ declare var __VLS_25: {};
4
+ type __VLS_Slots = {} & {
5
+ description?: (props: typeof __VLS_25) => any;
6
+ };
7
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ visible: {
9
+ type: BooleanConstructor;
10
+ required: true;
11
+ default: boolean;
12
+ };
13
+ title: {
14
+ type: StringConstructor;
15
+ default: string;
16
+ };
17
+ entityType: {
18
+ type: PropType<EntityTypes>;
19
+ required: true;
20
+ };
21
+ entityName: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ };
25
+ needConfirm: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ description: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ actionPending: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ error: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
42
+ cancel: () => any;
43
+ proceed: () => any;
44
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
+ visible: {
46
+ type: BooleanConstructor;
47
+ required: true;
48
+ default: boolean;
49
+ };
50
+ title: {
51
+ type: StringConstructor;
52
+ default: string;
53
+ };
54
+ entityType: {
55
+ type: PropType<EntityTypes>;
56
+ required: true;
57
+ };
58
+ entityName: {
59
+ type: StringConstructor;
60
+ default: string;
61
+ };
62
+ needConfirm: {
63
+ type: BooleanConstructor;
64
+ default: boolean;
65
+ };
66
+ description: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ actionPending: {
71
+ type: BooleanConstructor;
72
+ default: boolean;
73
+ };
74
+ error: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ }>> & Readonly<{
79
+ onCancel?: (() => any) | undefined;
80
+ onProceed?: (() => any) | undefined;
81
+ }>, {
82
+ error: string;
83
+ title: string;
84
+ entityName: string;
85
+ needConfirm: boolean;
86
+ description: string;
87
+ actionPending: boolean;
88
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
90
+ export default _default;
91
+ type __VLS_WithSlots<T, S> = T & {
92
+ new (): {
93
+ $slots: S;
94
+ };
95
+ };
96
+ //# sourceMappingURL=EntityDeleteModal.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityDeleteModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-delete-modal/EntityDeleteModal.vue"],"names":[],"mappings":"AAyIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AA6L9C,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAyDpD,QAAA,MAAM,eAAe;;;;;;;;;;;cAeD,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAArB,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAwBvC,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,116 @@
1
+ import { type PropType } from 'vue';
2
+ import type { EmptyStateFeature, AppearanceTypes } from '../../types/entity-empty-state';
3
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_46: `feature-${number}-icon`, __VLS_47: {}, __VLS_49: {};
4
+ type __VLS_Slots = {} & {
5
+ [K in NonNullable<typeof __VLS_46>]?: (props: typeof __VLS_47) => any;
6
+ } & {
7
+ image?: (props: typeof __VLS_1) => any;
8
+ } & {
9
+ title?: (props: typeof __VLS_3) => any;
10
+ } & {
11
+ default?: (props: typeof __VLS_5) => any;
12
+ } & {
13
+ pricing?: (props: typeof __VLS_7) => any;
14
+ } & {
15
+ message?: (props: typeof __VLS_9) => any;
16
+ } & {
17
+ actions?: (props: typeof __VLS_11) => any;
18
+ } & {
19
+ bottom?: (props: typeof __VLS_49) => any;
20
+ };
21
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
22
+ appearance: {
23
+ type: PropType<AppearanceTypes>;
24
+ default: () => string;
25
+ validator: (value: AppearanceTypes) => boolean;
26
+ };
27
+ title: {
28
+ type: StringConstructor;
29
+ default: string;
30
+ };
31
+ description: {
32
+ type: StringConstructor;
33
+ default: string;
34
+ };
35
+ pricing: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
40
+ canCreate: {
41
+ type: PropType<() => boolean | Promise<boolean>>;
42
+ required: false;
43
+ default: () => Promise<boolean>;
44
+ };
45
+ actionButtonText: {
46
+ type: StringConstructor;
47
+ default: string;
48
+ };
49
+ learnMore: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ features: {
54
+ type: PropType<EmptyStateFeature[]>;
55
+ default: () => never[];
56
+ };
57
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
58
+ "click:create": () => any;
59
+ "click:learn-more": () => any;
60
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
61
+ appearance: {
62
+ type: PropType<AppearanceTypes>;
63
+ default: () => string;
64
+ validator: (value: AppearanceTypes) => boolean;
65
+ };
66
+ title: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ description: {
71
+ type: StringConstructor;
72
+ default: string;
73
+ };
74
+ pricing: {
75
+ type: StringConstructor;
76
+ default: string;
77
+ };
78
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
79
+ canCreate: {
80
+ type: PropType<() => boolean | Promise<boolean>>;
81
+ required: false;
82
+ default: () => Promise<boolean>;
83
+ };
84
+ actionButtonText: {
85
+ type: StringConstructor;
86
+ default: string;
87
+ };
88
+ learnMore: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ features: {
93
+ type: PropType<EmptyStateFeature[]>;
94
+ default: () => never[];
95
+ };
96
+ }>> & Readonly<{
97
+ "onClick:create"?: (() => any) | undefined;
98
+ "onClick:learn-more"?: (() => any) | undefined;
99
+ }>, {
100
+ title: string;
101
+ learnMore: boolean;
102
+ appearance: AppearanceTypes;
103
+ actionButtonText: string;
104
+ features: EmptyStateFeature[];
105
+ description: string;
106
+ pricing: string;
107
+ canCreate: () => boolean | Promise<boolean>;
108
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
109
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
110
+ export default _default;
111
+ type __VLS_WithSlots<T, S> = T & {
112
+ new (): {
113
+ $slots: S;
114
+ };
115
+ };
116
+ //# sourceMappingURL=EntityEmptyState.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-empty-state/EntityEmptyState.vue"],"names":[],"mappings":"AA6UA,OAAO,EAAE,KAAK,QAAQ,EAAiD,MAAM,KAAK,CAAA;AAIlF,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAyVxF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,0BAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACxL,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA+D/C,QAAA,MAAM,eAAe;;cAMD,QAAQ,CAAC,eAAe,CAAC;;2BAEtB,eAAe,KAAG,OAAO;;;;;;;;;;;;;;IAgB9C,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;;;;;cAa7C,QAAQ,CAAC,iBAAiB,EAAE,CAAC;;;;;;;;cAjC5B,QAAQ,CAAC,eAAe,CAAC;;2BAEtB,eAAe,KAAG,OAAO;;;;;;;;;;;;;;IAgB9C,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;;;;;cAa7C,QAAQ,CAAC,iBAAiB,EAAE,CAAC;;;;;;;;;;;;;;qBAbX,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;4EAiB7D,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,37 @@
1
+ import type { PropType } from 'vue';
2
+ import type { ExactMatchFilterConfig, FuzzyMatchFilterConfig } from '../../types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ config: {
5
+ type: PropType<ExactMatchFilterConfig | FuzzyMatchFilterConfig>;
6
+ required: true;
7
+ default: () => {
8
+ isExactMatch: boolean;
9
+ placeholder: string;
10
+ };
11
+ };
12
+ modelValue: {
13
+ type: StringConstructor;
14
+ required: true;
15
+ };
16
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
17
+ "update:modelValue": (query: string) => any;
18
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
+ config: {
20
+ type: PropType<ExactMatchFilterConfig | FuzzyMatchFilterConfig>;
21
+ required: true;
22
+ default: () => {
23
+ isExactMatch: boolean;
24
+ placeholder: string;
25
+ };
26
+ };
27
+ modelValue: {
28
+ type: StringConstructor;
29
+ required: true;
30
+ };
31
+ }>> & Readonly<{
32
+ "onUpdate:modelValue"?: ((query: string) => any) | undefined;
33
+ }>, {
34
+ config: ExactMatchFilterConfig | FuzzyMatchFilterConfig;
35
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
+ export default _default;
37
+ //# sourceMappingURL=EntityFilter.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityFilter.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-filter/EntityFilter.vue"],"names":[],"mappings":"AAmZA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAInC,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;;;cAglB7D,QAAQ,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;;;;;;;;;;;;;;;cAAzD,QAAQ,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;;;;;;;;;;;;;;;;AAP7E,wBAoBG"}
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ step?: number;
3
+ title?: string;
4
+ description?: string;
5
+ };
6
+ type __VLS_Slots = {
7
+ default?: () => any;
8
+ title?: () => any;
9
+ description?: () => any;
10
+ extra?: () => any;
11
+ };
12
+ 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>;
13
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
20
+ //# sourceMappingURL=EntityFormBlock.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityFormBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-form-block/EntityFormBlock.vue"],"names":[],"mappings":"AAwHA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;AAGF,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,CAAA;IACvB,KAAK,CAAC,EAAE,MAAM,GAAG,CAAA;CAClB,CAAC;AAyFF,QAAA,MAAM,eAAe,oSAInB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,76 @@
1
+ import type { PropType } from 'vue';
2
+ import type { HeaderTag } from '@kong/kongponents';
3
+ declare var __VLS_6: {}, __VLS_8: {}, __VLS_10: {};
4
+ type __VLS_Slots = {} & {
5
+ description?: (props: typeof __VLS_6) => any;
6
+ } & {
7
+ footer?: (props: typeof __VLS_8) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_10) => any;
10
+ };
11
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
+ title: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ description: {
17
+ type: StringConstructor;
18
+ default: string;
19
+ };
20
+ hasDivider: {
21
+ type: BooleanConstructor;
22
+ default: boolean;
23
+ };
24
+ stickyInfoHeader: {
25
+ type: BooleanConstructor;
26
+ default: boolean;
27
+ };
28
+ hideInfoHeader: {
29
+ type: BooleanConstructor;
30
+ default: boolean;
31
+ };
32
+ titleTag: {
33
+ type: PropType<HeaderTag>;
34
+ default: string;
35
+ };
36
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
+ title: {
38
+ type: StringConstructor;
39
+ default: string;
40
+ };
41
+ description: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ };
45
+ hasDivider: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ stickyInfoHeader: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ hideInfoHeader: {
54
+ type: BooleanConstructor;
55
+ default: boolean;
56
+ };
57
+ titleTag: {
58
+ type: PropType<HeaderTag>;
59
+ default: string;
60
+ };
61
+ }>> & Readonly<{}>, {
62
+ title: string;
63
+ titleTag: HeaderTag;
64
+ description: string;
65
+ hasDivider: boolean;
66
+ stickyInfoHeader: boolean;
67
+ hideInfoHeader: boolean;
68
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
70
+ export default _default;
71
+ type __VLS_WithSlots<T, S> = T & {
72
+ new (): {
73
+ $slots: S;
74
+ };
75
+ };
76
+ //# sourceMappingURL=EntityFormSection.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityFormSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-form-section/EntityFormSection.vue"],"names":[],"mappings":"AAoKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAuIlD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAW,CAAE;AAC/D,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AA6ChD,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;cAyBD,QAAQ,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;cAAnB,QAAQ,CAAC,SAAS,CAAC;;;;;;;;;;4EAIrC,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,49 @@
1
+ import type { PropType } from 'vue';
2
+ import type { EntityLinkData } from '../../types';
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
+ entityLinkData: {
5
+ type: PropType<EntityLinkData>;
6
+ required: true;
7
+ };
8
+ externalLink: {
9
+ type: StringConstructor;
10
+ required: false;
11
+ default: string;
12
+ };
13
+ newWindow: {
14
+ type: BooleanConstructor;
15
+ required: false;
16
+ default: boolean;
17
+ };
18
+ allowCopy: {
19
+ type: BooleanConstructor;
20
+ required: false;
21
+ default: boolean;
22
+ };
23
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
+ entityLinkData: {
25
+ type: PropType<EntityLinkData>;
26
+ required: true;
27
+ };
28
+ externalLink: {
29
+ type: StringConstructor;
30
+ required: false;
31
+ default: string;
32
+ };
33
+ newWindow: {
34
+ type: BooleanConstructor;
35
+ required: false;
36
+ default: boolean;
37
+ };
38
+ allowCopy: {
39
+ type: BooleanConstructor;
40
+ required: false;
41
+ default: boolean;
42
+ };
43
+ }>> & Readonly<{}>, {
44
+ externalLink: string;
45
+ newWindow: boolean;
46
+ allowCopy: boolean;
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48
+ export default _default;
49
+ //# sourceMappingURL=EntityLink.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityLink.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-link/EntityLink.vue"],"names":[],"mappings":"AAwKA,OAAO,KAAK,EAAE,QAAQ,EAAO,MAAM,KAAK,CAAA;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;;;cA4R7B,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;cAAxB,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAL5C,wBAwBG"}
@@ -0,0 +1,64 @@
1
+ import type { PropType } from 'vue';
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
+ visible: {
4
+ type: BooleanConstructor;
5
+ required: true;
6
+ };
7
+ action: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ entityId: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ entityType: {
16
+ type: StringConstructor;
17
+ required: true;
18
+ };
19
+ entityName: {
20
+ type: StringConstructor;
21
+ required: true;
22
+ };
23
+ onConfirm: {
24
+ type: PropType<() => Promise<any>> | null;
25
+ required: false;
26
+ default: null;
27
+ };
28
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
29
+ cancel: () => any;
30
+ proceed: () => any;
31
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ visible: {
33
+ type: BooleanConstructor;
34
+ required: true;
35
+ };
36
+ action: {
37
+ type: StringConstructor;
38
+ required: true;
39
+ };
40
+ entityId: {
41
+ type: StringConstructor;
42
+ required: true;
43
+ };
44
+ entityType: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ };
48
+ entityName: {
49
+ type: StringConstructor;
50
+ required: true;
51
+ };
52
+ onConfirm: {
53
+ type: PropType<() => Promise<any>> | null;
54
+ required: false;
55
+ default: null;
56
+ };
57
+ }>> & Readonly<{
58
+ onCancel?: (() => any) | undefined;
59
+ onProceed?: (() => any) | undefined;
60
+ }>, {
61
+ onConfirm: () => Promise<any>;
62
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
63
+ export default _default;
64
+ //# sourceMappingURL=EntityToggleModal.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityToggleModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-toggle-modal/EntityToggleModal.vue"],"names":[],"mappings":"AAwGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;;;;;;;;;;;;;;;;;;;;;;cA6Ob,QAAQ,CAAC,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAAnC,QAAQ,CAAC,MAAM,OAAO,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;;;;;;;;qBAApB,OAAO,CAAC,GAAG,CAAC;;AA1BjD,wBA+BG"}
@@ -0,0 +1,15 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ color: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ color: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ }>> & Readonly<{}>, {
12
+ color: string;
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
+ export default _default;
15
+ //# sourceMappingURL=IconFilter.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconFilter.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/IconFilter.vue"],"names":[],"mappings":";;;;;;;;;;;;;AAmHA,wBASG"}
@@ -0,0 +1,55 @@
1
+ import type { PropType } from 'vue';
2
+ declare var __VLS_1: {
3
+ isAllowed: boolean | undefined;
4
+ };
5
+ type __VLS_Slots = {} & {
6
+ default?: (props: typeof __VLS_1) => any;
7
+ };
8
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
+ /**
10
+ * Provide an async function that returns a boolean to determine whether
11
+ * the wrapper should hide or show the default slot content.
12
+ */
13
+ authFunction: {
14
+ type: PropType<() => (boolean | Promise<boolean>)>;
15
+ required: true;
16
+ default: () => Promise<boolean>;
17
+ };
18
+ /**
19
+ * Should the default slot content be shown once the authFunction is evaluated no matter what?
20
+ * e.g. if you want to display the item but disable it.
21
+ */
22
+ forceShow: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
+ /**
28
+ * Provide an async function that returns a boolean to determine whether
29
+ * the wrapper should hide or show the default slot content.
30
+ */
31
+ authFunction: {
32
+ type: PropType<() => (boolean | Promise<boolean>)>;
33
+ required: true;
34
+ default: () => Promise<boolean>;
35
+ };
36
+ /**
37
+ * Should the default slot content be shown once the authFunction is evaluated no matter what?
38
+ * e.g. if you want to display the item but disable it.
39
+ */
40
+ forceShow: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ }>> & Readonly<{}>, {
45
+ forceShow: boolean;
46
+ authFunction: () => (boolean | Promise<boolean>);
47
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
48
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
49
+ export default _default;
50
+ type __VLS_WithSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
55
+ //# sourceMappingURL=PermissionsWrapper.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PermissionsWrapper.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/permissions-wrapper/PermissionsWrapper.vue"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAiDnC,QAAA,IAAI,OAAO;;CAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAqC/C,QAAA,MAAM,eAAe;IAInB;;;MAGE;;cAEkB,QAAQ,CAAC,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;;;;IAIhE;;;OAGG;;;;;;IAZH;;;MAGE;;cAEkB,QAAQ,CAAC,MAAM,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;;;;IAIhE;;;OAGG;;;;;;;wBAPgC,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;4EAa/D,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -0,0 +1,39 @@
1
+ import useAxios from './useAxios';
2
+ import useDebouncedFilter from './useDebouncedFilter';
3
+ import useDeleteUrlBuilder from './useDeleteUrlBuilder';
4
+ import useErrors from './useErrors';
5
+ import useExternalLinkCreator from './useExternalLinkCreator';
6
+ import useFetcher, { useFetcherCacheKey } from './useFetcher';
7
+ import useFetchUrlBuilder from './useFetchUrlBuilder';
8
+ import useHelpers from './useHelpers';
9
+ import useStringHelpers from './useStringHelpers';
10
+ import useI18n from './useI18n';
11
+ import useGatewayFeatureSupported from './useGatewayFeatureSupported';
12
+ import useTruncationDetector from './useTruncationDetector';
13
+ import useValidators from './useValidators';
14
+ import useTableState from './useTableState';
15
+ declare const _default: {
16
+ useAxios: typeof useAxios;
17
+ useDebouncedFilter: typeof useDebouncedFilter;
18
+ useDeleteUrlBuilder: typeof useDeleteUrlBuilder;
19
+ useErrors: typeof useErrors;
20
+ useExternalLinkCreator: typeof useExternalLinkCreator;
21
+ useFetcher: typeof useFetcher;
22
+ useFetcherCacheKey: typeof useFetcherCacheKey;
23
+ useFetchUrlBuilder: typeof useFetchUrlBuilder;
24
+ useHelpers: typeof useHelpers;
25
+ useStringHelpers: typeof useStringHelpers;
26
+ useI18n: typeof useI18n;
27
+ useGatewayFeatureSupported: typeof useGatewayFeatureSupported;
28
+ useTruncationDetector: typeof useTruncationDetector;
29
+ useValidators: typeof useValidators;
30
+ useSchemaProvider: (schema: import("vue").Ref<{
31
+ [x: string]: any;
32
+ }>) => void;
33
+ useSubSchema: (subSchemaKey: string) => Readonly<import("vue").Ref<{
34
+ [x: string]: any;
35
+ } | undefined>>;
36
+ useTableState: typeof useTableState;
37
+ };
38
+ export default _default;
39
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,YAAY,CAAA;AACjC,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,mBAAmB,MAAM,uBAAuB,CAAA;AACvD,OAAO,SAAS,MAAM,aAAa,CAAA;AACnC,OAAO,sBAAsB,MAAM,0BAA0B,CAAA;AAC7D,OAAO,UAAU,EAAE,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAC7D,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;AACrD,OAAO,UAAU,MAAM,cAAc,CAAA;AACrC,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,OAAO,MAAM,WAAW,CAAA;AAC/B,OAAO,0BAA0B,MAAM,8BAA8B,CAAA;AACrE,OAAO,qBAAqB,MAAM,yBAAyB,CAAA;AAC3D,OAAO,aAAa,MAAM,iBAAiB,CAAA;AAE3C,OAAO,aAAa,MAAM,iBAAiB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;AAG3C,wBAkBC"}
@@ -0,0 +1,5 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ export default function useAxios(options?: AxiosRequestConfig): {
3
+ axiosInstance: import("axios").AxiosInstance;
4
+ };
5
+ //# sourceMappingURL=useAxios.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAxios.d.ts","sourceRoot":"","sources":["../../../src/composables/useAxios.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAA;AAE/C,MAAM,CAAC,OAAO,UAAU,QAAQ,CAAC,OAAO,GAAE,kBAAuB;;EAOhE"}
@@ -0,0 +1,11 @@
1
+ import type { KongManagerBaseTableConfig, KongManagerBaseFormConfig, KonnectBaseTableConfig, KonnectBaseFormConfig, MaybeRef, FilterKeys } from '../types';
2
+ export default function useDebouncedFilter(config: KonnectBaseFormConfig | KongManagerBaseFormConfig | KonnectBaseTableConfig | KongManagerBaseTableConfig, baseUrl: MaybeRef<string>, size?: string, keys?: FilterKeys): {
3
+ loading: import("vue").Ref<boolean, boolean>;
4
+ error: import("vue").Ref<string, string>;
5
+ validationError: import("vue").Ref<string, string>;
6
+ results: import("vue").Ref<Record<string, any>[], Record<string, any>[]>;
7
+ allRecords: import("vue").Ref<Record<string, any>[] | undefined, Record<string, any>[] | undefined>;
8
+ loadItems: () => Promise<void>;
9
+ debouncedQueryChange: (...args: any) => void;
10
+ };
11
+ //# sourceMappingURL=useDebouncedFilter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDebouncedFilter.d.ts","sourceRoot":"","sources":["../../../src/composables/useDebouncedFilter.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,0BAA0B,EAC1B,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,QAAQ,EAAE,UAAU,EACrB,MAAM,UAAU,CAAA;AAKjB,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,MAAM,EAAE,qBAAqB,GAAG,yBAAyB,GAAG,sBAAsB,GAAG,0BAA0B,EAC/G,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,EACzB,IAAI,CAAC,EAAE,MAAM,EACb,IAAI,GAAE,UAGL;;;;;;qBAsC2B,OAAO,CAAC,IAAI,CAAC;;EA2I1C"}
@@ -0,0 +1,3 @@
1
+ import type { KongManagerBaseTableConfig, KonnectBaseTableConfig, MaybeRef } from '../types';
2
+ export default function useDeleteUrlBuilder(config: KonnectBaseTableConfig | KongManagerBaseTableConfig, baseUrl: MaybeRef<string>): (id: string) => string;
3
+ //# sourceMappingURL=useDeleteUrlBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeleteUrlBuilder.d.ts","sourceRoot":"","sources":["../../../src/composables/useDeleteUrlBuilder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,0BAA0B,EAC1B,sBAAsB,EACtB,QAAQ,EACT,MAAM,UAAU,CAAA;AAEjB,MAAM,CAAC,OAAO,UAAU,mBAAmB,CACzC,MAAM,EAAE,sBAAsB,GAAG,0BAA0B,EAC3D,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,IAajB,IAAI,MAAM,KAAG,MAAM,CAC5B"}
@@ -0,0 +1,11 @@
1
+ export default function useErrors(): {
2
+ getErrorFieldsFromError: (error: any) => {
3
+ messages: string[];
4
+ fields: Array<{
5
+ field: string;
6
+ message: string;
7
+ }>;
8
+ };
9
+ getMessageFromError: (error: any) => string;
10
+ };
11
+ //# sourceMappingURL=useErrors.d.ts.map