@kong-ui-public/entities-shared 3.68.2-pr.3869.e876c8c8a.0 → 3.68.2

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 (144) hide show
  1. package/dist/_plugin-vue_export-helper-BoB6meVO.cjs +1 -0
  2. package/dist/_plugin-vue_export-helper-cPvCgR8H.js +695 -0
  3. package/dist/deck-editor.cjs.js +1 -0
  4. package/dist/deck-editor.es.js +86 -0
  5. package/dist/entities-shared.cjs.js +79 -0
  6. package/dist/entities-shared.es.js +5348 -0
  7. package/dist/style.css +1 -0
  8. package/dist/types/components/common/DeckCallout.vue.d.ts +10 -0
  9. package/dist/types/components/common/DeckCallout.vue.d.ts.map +1 -0
  10. package/dist/types/components/common/DeckCodeBlock.vue.d.ts +13 -0
  11. package/dist/types/components/common/DeckCodeBlock.vue.d.ts.map +1 -0
  12. package/dist/types/components/common/DeckCodeBlockInternal.vue.d.ts +13 -0
  13. package/dist/types/components/common/DeckCodeBlockInternal.vue.d.ts.map +1 -0
  14. package/dist/types/components/common/DeckCommandEditor.vue.d.ts +16 -0
  15. package/dist/types/components/common/DeckCommandEditor.vue.d.ts.map +1 -0
  16. package/dist/types/components/common/DeckCommandEditorLoading.vue.d.ts +4 -0
  17. package/dist/types/components/common/DeckCommandEditorLoading.vue.d.ts.map +1 -0
  18. package/dist/types/components/common/GeneratePatModal.vue.d.ts +14 -0
  19. package/dist/types/components/common/GeneratePatModal.vue.d.ts.map +1 -0
  20. package/dist/types/components/common/JsonCodeBlock.vue.d.ts +70 -0
  21. package/dist/types/components/common/JsonCodeBlock.vue.d.ts.map +1 -0
  22. package/dist/types/components/common/SensitiveInput.vue.d.ts +73 -0
  23. package/dist/types/components/common/SensitiveInput.vue.d.ts.map +1 -0
  24. package/dist/types/components/common/TableTags.vue.d.ts +27 -0
  25. package/dist/types/components/common/TableTags.vue.d.ts.map +1 -0
  26. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts +58 -0
  27. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts.map +1 -0
  28. package/dist/types/components/common/YamlCodeBlock.vue.d.ts +54 -0
  29. package/dist/types/components/common/YamlCodeBlock.vue.d.ts.map +1 -0
  30. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts +213 -0
  31. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts.map +1 -0
  32. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts +58 -0
  33. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts.map +1 -0
  34. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts +335 -0
  35. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts.map +1 -0
  36. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts +20 -0
  37. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts.map +1 -0
  38. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts +35 -0
  39. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts.map +1 -0
  40. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts +16 -0
  41. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts.map +1 -0
  42. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts +364 -0
  43. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts.map +1 -0
  44. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts +326 -0
  45. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts.map +1 -0
  46. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts +45 -0
  47. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts.map +1 -0
  48. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts +135 -0
  49. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts.map +1 -0
  50. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts +117 -0
  51. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts.map +1 -0
  52. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts +38 -0
  53. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts.map +1 -0
  54. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts +22 -0
  55. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts.map +1 -0
  56. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts +77 -0
  57. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts.map +1 -0
  58. package/dist/types/components/entity-link/EntityLink.vue.d.ts +50 -0
  59. package/dist/types/components/entity-link/EntityLink.vue.d.ts.map +1 -0
  60. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts +65 -0
  61. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts.map +1 -0
  62. package/dist/types/components/onboarding-card/OnboardingCard.vue.d.ts +15 -0
  63. package/dist/types/components/onboarding-card/OnboardingCard.vue.d.ts.map +1 -0
  64. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts +56 -0
  65. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts.map +1 -0
  66. package/dist/types/composables/index.d.ts +49 -0
  67. package/dist/types/composables/index.d.ts.map +1 -0
  68. package/dist/types/composables/useAxios.d.ts +5 -0
  69. package/dist/types/composables/useAxios.d.ts.map +1 -0
  70. package/dist/types/composables/useDebouncedFilter.d.ts +11 -0
  71. package/dist/types/composables/useDebouncedFilter.d.ts.map +1 -0
  72. package/dist/types/composables/useDeckOptions.d.ts +13 -0
  73. package/dist/types/composables/useDeckOptions.d.ts.map +1 -0
  74. package/dist/types/composables/useDeleteUrlBuilder.d.ts +3 -0
  75. package/dist/types/composables/useDeleteUrlBuilder.d.ts.map +1 -0
  76. package/dist/types/composables/useErrors.d.ts +11 -0
  77. package/dist/types/composables/useErrors.d.ts.map +1 -0
  78. package/dist/types/composables/useExternalLinkCreator.d.ts +2 -0
  79. package/dist/types/composables/useExternalLinkCreator.d.ts.map +1 -0
  80. package/dist/types/composables/useFetchUrlBuilder.d.ts +6 -0
  81. package/dist/types/composables/useFetchUrlBuilder.d.ts.map +1 -0
  82. package/dist/types/composables/useFetcher.d.ts +40 -0
  83. package/dist/types/composables/useFetcher.d.ts.map +1 -0
  84. package/dist/types/composables/useGatewayFeatureSupported.d.ts +11 -0
  85. package/dist/types/composables/useGatewayFeatureSupported.d.ts.map +1 -0
  86. package/dist/types/composables/useHelpers.d.ts +12 -0
  87. package/dist/types/composables/useHelpers.d.ts.map +1 -0
  88. package/dist/types/composables/useI18n.d.ts +9 -0
  89. package/dist/types/composables/useI18n.d.ts.map +1 -0
  90. package/dist/types/composables/useManagedByColumn.d.ts +20 -0
  91. package/dist/types/composables/useManagedByColumn.d.ts.map +1 -0
  92. package/dist/types/composables/useManagedByEnabled.d.ts +11 -0
  93. package/dist/types/composables/useManagedByEnabled.d.ts.map +1 -0
  94. package/dist/types/composables/useSchema.d.ts +12 -0
  95. package/dist/types/composables/useSchema.d.ts.map +1 -0
  96. package/dist/types/composables/useStringHelpers.d.ts +5 -0
  97. package/dist/types/composables/useStringHelpers.d.ts.map +1 -0
  98. package/dist/types/composables/useTableState.d.ts +15 -0
  99. package/dist/types/composables/useTableState.d.ts.map +1 -0
  100. package/dist/types/composables/useTruncationDetector.d.ts +12 -0
  101. package/dist/types/composables/useTruncationDetector.d.ts.map +1 -0
  102. package/dist/types/composables/useValidators.d.ts +8 -0
  103. package/dist/types/composables/useValidators.d.ts.map +1 -0
  104. package/dist/types/constants.d.ts +53 -0
  105. package/dist/types/constants.d.ts.map +1 -0
  106. package/dist/types/deck-editor.d.ts +18 -0
  107. package/dist/types/deck-editor.d.ts.map +1 -0
  108. package/dist/types/index.d.ts +35 -0
  109. package/dist/types/index.d.ts.map +1 -0
  110. package/dist/types/types/app-config.d.ts +43 -0
  111. package/dist/types/types/app-config.d.ts.map +1 -0
  112. package/dist/types/types/base.d.ts +12 -0
  113. package/dist/types/types/base.d.ts.map +1 -0
  114. package/dist/types/types/deck.d.ts +43 -0
  115. package/dist/types/types/deck.d.ts.map +1 -0
  116. package/dist/types/types/entity-base-config-card.d.ts +145 -0
  117. package/dist/types/types/entity-base-config-card.d.ts.map +1 -0
  118. package/dist/types/types/entity-base-form.d.ts +49 -0
  119. package/dist/types/types/entity-base-form.d.ts.map +1 -0
  120. package/dist/types/types/entity-base-table.d.ts +79 -0
  121. package/dist/types/types/entity-base-table.d.ts.map +1 -0
  122. package/dist/types/types/entity-delete-modal.d.ts +28 -0
  123. package/dist/types/types/entity-delete-modal.d.ts.map +1 -0
  124. package/dist/types/types/entity-empty-state.d.ts +7 -0
  125. package/dist/types/types/entity-empty-state.d.ts.map +1 -0
  126. package/dist/types/types/entity-filter.d.ts +48 -0
  127. package/dist/types/types/entity-filter.d.ts.map +1 -0
  128. package/dist/types/types/entity-link.d.ts +6 -0
  129. package/dist/types/types/entity-link.d.ts.map +1 -0
  130. package/dist/types/types/index.d.ts +14 -0
  131. package/dist/types/types/index.d.ts.map +1 -0
  132. package/dist/types/types/onboarding-card.d.ts +37 -0
  133. package/dist/types/types/onboarding-card.d.ts.map +1 -0
  134. package/dist/types/types/sensitive-input.d.ts +9 -0
  135. package/dist/types/types/sensitive-input.d.ts.map +1 -0
  136. package/dist/types/types/utils.d.ts +13 -0
  137. package/dist/types/types/utils.d.ts.map +1 -0
  138. package/dist/types/utils/code-block.d.ts +3 -0
  139. package/dist/types/utils/code-block.d.ts.map +1 -0
  140. package/dist/types/utils/managed-by.d.ts +25 -0
  141. package/dist/types/utils/managed-by.d.ts.map +1 -0
  142. package/dist/types/utils/shiki.d.ts +4 -0
  143. package/dist/types/utils/shiki.d.ts.map +1 -0
  144. package/package.json +5 -5
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ step?: number;
3
+ title?: string;
4
+ description?: string;
5
+ };
6
+ type __VLS_Slots = {
7
+ default?: () => any;
8
+ step?: () => any;
9
+ title?: () => any;
10
+ description?: () => any;
11
+ extra?: () => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ type __VLS_WithSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
22
+ //# 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":"AA+IA,KAAK,WAAW,GAAG;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC;AAIF,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAA;IACnB,IAAI,CAAC,EAAE,MAAM,GAAG,CAAA;IAChB,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,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,77 @@
1
+ import type { PropType } from 'vue';
2
+ import type { HeaderTag } from '@kong/kongponents';
3
+ declare var __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
4
+ type __VLS_Slots = {} & {
5
+ description?: (props: typeof __VLS_7) => any;
6
+ } & {
7
+ footer?: (props: typeof __VLS_9) => any;
8
+ } & {
9
+ default?: (props: typeof __VLS_11) => any;
10
+ };
11
+ declare const __VLS_base: 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
+ }>, {}, {}, {}, {}, 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
+ description: string;
64
+ titleTag: HeaderTag;
65
+ hasDivider: boolean;
66
+ stickyInfoHeader: boolean;
67
+ hideInfoHeader: boolean;
68
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
70
+ declare const _default: typeof __VLS_export;
71
+ export default _default;
72
+ type __VLS_WithSlots<T, S> = T & {
73
+ new (): {
74
+ $slots: S;
75
+ };
76
+ };
77
+ //# 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":"AAqKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AA+HlD,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAY,CAAE;AAChE,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;AAKhD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;cAuBI,QAAQ,CAAC,SAAS,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;cAAnB,QAAQ,CAAC,SAAS,CAAC;;;;;;;;;;4EAIrC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,50 @@
1
+ import type { PropType } from 'vue';
2
+ import type { EntityLinkData } from '../../types';
3
+ declare const __VLS_export: 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
+ }>, {}, {}, {}, {}, 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
+ declare const _default: typeof __VLS_export;
49
+ export default _default;
50
+ //# 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":"AAyKA,OAAO,KAAK,EAAE,QAAQ,EAAO,MAAM,KAAK,CAAA;AACxC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAqOjD,QAAA,MAAM,YAAY;;cAGE,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;cAAxB,QAAQ,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;4EAmB1C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,65 @@
1
+ import type { PropType } from 'vue';
2
+ declare const __VLS_export: 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
+ }>, {}, {}, {}, {}, 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
+ declare const _default: typeof __VLS_export;
64
+ export default _default;
65
+ //# 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":"AAyGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAuLnC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;cAwBI,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;4EAK/C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,15 @@
1
+ import type { OnboardingCardItem } from '../../types';
2
+ type __VLS_Props = {
3
+ title: string;
4
+ subtitle?: string;
5
+ items: OnboardingCardItem[];
6
+ dismissible?: boolean;
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ dismiss: () => any;
10
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
11
+ onDismiss?: (() => any) | undefined;
12
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ //# sourceMappingURL=OnboardingCard.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OnboardingCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/onboarding-card/OnboardingCard.vue"],"names":[],"mappings":"AAuTA,OAAO,KAAK,EAAE,kBAAkB,EAAgC,MAAM,aAAa,CAAA;AAInF,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,EAAE,kBAAkB,EAAE,CAAA;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB,CAAC;AAsXF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,56 @@
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_base: 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
+ }>, {}, {}, {}, {}, 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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
49
+ declare const _default: typeof __VLS_export;
50
+ export default _default;
51
+ type __VLS_WithSlots<T, S> = T & {
52
+ new (): {
53
+ $slots: S;
54
+ };
55
+ };
56
+ //# 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":"AA2CA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAqDnC,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;AAG/C,QAAA,MAAM,UAAU;IAEd;;;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;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,49 @@
1
+ import useAxios from './useAxios';
2
+ import useDebouncedFilter from './useDebouncedFilter';
3
+ import { useBaseEntityDeckOptions, useBaseFormDeckOptions } from './useDeckOptions';
4
+ import useDeleteUrlBuilder from './useDeleteUrlBuilder';
5
+ import useErrors from './useErrors';
6
+ import useExternalLinkCreator from './useExternalLinkCreator';
7
+ import useFetcher, { useFetcherCacheKey } from './useFetcher';
8
+ import useFetchUrlBuilder from './useFetchUrlBuilder';
9
+ import useHelpers from './useHelpers';
10
+ import useStringHelpers from './useStringHelpers';
11
+ import useI18n from './useI18n';
12
+ import useGatewayFeatureSupported from './useGatewayFeatureSupported';
13
+ import useTruncationDetector from './useTruncationDetector';
14
+ import useValidators from './useValidators';
15
+ import useTableState from './useTableState';
16
+ import useManagedByEnabled from './useManagedByEnabled';
17
+ import useManagedByColumn from './useManagedByColumn';
18
+ declare const _default: {
19
+ useAxios: typeof useAxios;
20
+ useDebouncedFilter: typeof useDebouncedFilter;
21
+ useDeleteUrlBuilder: typeof useDeleteUrlBuilder;
22
+ useBaseEntityDeckOptions: typeof useBaseEntityDeckOptions;
23
+ useBaseFormDeckOptions: typeof useBaseFormDeckOptions;
24
+ useErrors: typeof useErrors;
25
+ useExternalLinkCreator: typeof useExternalLinkCreator;
26
+ useFetcher: typeof useFetcher;
27
+ useFetcherCacheKey: typeof useFetcherCacheKey;
28
+ useFetchUrlBuilder: typeof useFetchUrlBuilder;
29
+ useHelpers: typeof useHelpers;
30
+ useStringHelpers: typeof useStringHelpers;
31
+ useI18n: typeof useI18n;
32
+ useGatewayFeatureSupported: typeof useGatewayFeatureSupported;
33
+ useTruncationDetector: typeof useTruncationDetector;
34
+ useValidators: typeof useValidators;
35
+ useSchema: () => Readonly<import("vue").Ref<{
36
+ [x: string]: any;
37
+ } | undefined>>;
38
+ useSchemaProvider: (schema: import("vue").Ref<{
39
+ [x: string]: any;
40
+ }>) => void;
41
+ useSubSchema: (subSchemaKey: string) => Readonly<import("vue").Ref<{
42
+ [x: string]: any;
43
+ } | undefined>>;
44
+ useTableState: typeof useTableState;
45
+ useManagedByEnabled: typeof useManagedByEnabled;
46
+ useManagedByColumn: typeof useManagedByColumn;
47
+ };
48
+ export default _default;
49
+ //# 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,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AACnF,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;AAC3C,OAAO,mBAAmB,MAAM,uBAAuB,CAAA;AACvD,OAAO,kBAAkB,MAAM,sBAAsB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,wBAuBC"}
@@ -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;;;;;;qBAoC2B,OAAO,CAAC,IAAI,CAAC;;EA2I1C"}
@@ -0,0 +1,13 @@
1
+ import type { MaybeRefOrGetter } from 'vue';
2
+ import type { KongManagerBaseEntityConfig, KongManagerBaseFormConfig, KonnectBaseEntityConfig, KonnectBaseFormConfig, SupportedEntityType } from '../types';
3
+ export declare function useBaseEntityDeckOptions(config: MaybeRefOrGetter<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>, entityType: MaybeRefOrGetter<SupportedEntityType>): {
4
+ isDeckEnabled: import("vue").ComputedRef<boolean>;
5
+ deckCustomizationOptions: import("vue").ComputedRef<boolean | import("..").DeckCustomizationOptions | undefined>;
6
+ deckCalloutPreferenceKey: import("vue").ComputedRef<string | undefined>;
7
+ };
8
+ export declare function useBaseFormDeckOptions(config: MaybeRefOrGetter<KonnectBaseFormConfig | KongManagerBaseFormConfig>, entityType: MaybeRefOrGetter<SupportedEntityType>): {
9
+ isDeckEnabled: import("vue").ComputedRef<boolean>;
10
+ deckCustomizationOptions: import("vue").ComputedRef<boolean | import("..").DeckCustomizationOptions | undefined>;
11
+ deckCalloutPreferenceKey: import("vue").ComputedRef<string | undefined>;
12
+ };
13
+ //# sourceMappingURL=useDeckOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDeckOptions.d.ts","sourceRoot":"","sources":["../../../src/composables/useDeckOptions.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAE3C,OAAO,KAAK,EACV,2BAA2B,EAC3B,yBAAyB,EACzB,uBAAuB,EACvB,qBAAqB,EACrB,mBAAmB,EACpB,MAAM,UAAU,CAAA;AAEjB,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,gBAAgB,CAAC,uBAAuB,GAAG,2BAA2B,CAAC,EAC/E,UAAU,EAAE,gBAAgB,CAAC,mBAAmB,CAAC;;;;EAoClD;AAED,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,gBAAgB,CAAC,qBAAqB,GAAG,yBAAyB,CAAC,EAC3E,UAAU,EAAE,gBAAgB,CAAC,mBAAmB,CAAC;;;;EAoClD"}
@@ -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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useErrors.d.ts","sourceRoot":"","sources":["../../../src/composables/useErrors.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,SAAS;qCA2ES,GAAG,KAAG;QAAE,QAAQ,EAAE,MAAM,EAAE,CAAC;QAAC,MAAM,EAAE,KAAK,CAAC;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,OAAO,EAAE,MAAM,CAAA;SAAE,CAAC,CAAA;KAAE;iCAnEnF,GAAG,KAAG,MAAM;EAqJjD"}
@@ -0,0 +1,2 @@
1
+ export default function useExternalLinkCreator(routeParams: string[]): string;
2
+ //# sourceMappingURL=useExternalLinkCreator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useExternalLinkCreator.d.ts","sourceRoot":"","sources":["../../../src/composables/useExternalLinkCreator.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE,GAAG,MAAM,CAwB5E"}
@@ -0,0 +1,6 @@
1
+ import { type MaybeRefOrGetter } from 'vue';
2
+ import type { KongManagerBaseTableConfig, KonnectBaseTableConfig } from '../types';
3
+ import type { MaybeRef } from '../types/utils';
4
+ import type { TableDataFetcherParams } from '@kong/kongponents';
5
+ export default function useFetchUrlBuilder(config: MaybeRefOrGetter<KonnectBaseTableConfig | KongManagerBaseTableConfig>, baseUrl: MaybeRef<string>): (fetcherParams: TableDataFetcherParams) => string;
6
+ //# sourceMappingURL=useFetchUrlBuilder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFetchUrlBuilder.d.ts","sourceRoot":"","sources":["../../../src/composables/useFetchUrlBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAC9D,OAAO,KAAK,EACV,0BAA0B,EAC1B,sBAAsB,EACvB,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAC9C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAE/D,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,MAAM,EAAE,gBAAgB,CAAC,sBAAsB,GAAG,0BAA0B,CAAC,EAC7E,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC,IAmBjB,eAAe,sBAAsB,YAiD9C"}
@@ -0,0 +1,40 @@
1
+ import type { MaybeRefOrGetter, Ref } from 'vue';
2
+ import type { FetcherResponse, FetcherState, KongManagerBaseTableConfig, KonnectBaseTableConfig, MaybeRef } from '../types';
3
+ import { FetcherStatus } from '../types';
4
+ import type { TableDataFetcherParams } from '@kong/kongponents';
5
+ export default function useFetcher(configRef: MaybeRefOrGetter<KonnectBaseTableConfig | KongManagerBaseTableConfig>, baseUrl: MaybeRef<string>,
6
+ /**
7
+ * Special handling for a response structure with a different base key for the data array like
8
+ * { consumers: [{ ... }] }
9
+ * instead of the standard the majority of the endpoints have
10
+ * { data: [{ ... }] }
11
+ */
12
+ dataKeyNameRef?: MaybeRefOrGetter<string | undefined>): {
13
+ fetcher: (fetcherParams: TableDataFetcherParams) => Promise<FetcherResponse>;
14
+ fetcherState: Ref<{
15
+ status: FetcherStatus;
16
+ response?: {
17
+ data: any[];
18
+ total?: number | undefined;
19
+ pagination?: {
20
+ offset?: string | null | undefined;
21
+ next?: string | null | undefined;
22
+ } | undefined;
23
+ } | undefined;
24
+ error?: any;
25
+ }, FetcherState | {
26
+ status: FetcherStatus;
27
+ response?: {
28
+ data: any[];
29
+ total?: number | undefined;
30
+ pagination?: {
31
+ offset?: string | null | undefined;
32
+ next?: string | null | undefined;
33
+ } | undefined;
34
+ } | undefined;
35
+ error?: any;
36
+ }>;
37
+ fetcherCacheKey: Ref<number, number>;
38
+ };
39
+ export declare function useFetcherCacheKey(cacheId?: string): Ref<number, number>;
40
+ //# sourceMappingURL=useFetcher.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useFetcher.d.ts","sourceRoot":"","sources":["../../../src/composables/useFetcher.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAChD,OAAO,KAAK,EACV,eAAe,EACf,YAAY,EACZ,0BAA0B,EAC1B,sBAAsB,EACtB,QAAQ,EACT,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAGxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAK/D,MAAM,CAAC,OAAO,UAAU,UAAU,CAChC,SAAS,EAAE,gBAAgB,CAAC,sBAAsB,GAAG,0BAA0B,CAAC,EAChF,OAAO,EAAE,QAAQ,CAAC,MAAM,CAAC;AACzB;;;;;GAKG;AACH,cAAc,CAAC,EAAE,gBAAgB,CAAC,MAAM,GAAG,SAAS,CAAC;6BAYf,sBAAsB,KAAG,OAAO,CAAC,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;EA4FxF;AAED,wBAAgB,kBAAkB,CAAC,OAAO,CAAC,EAAE,MAAM,uBAWlD"}
@@ -0,0 +1,11 @@
1
+ import type { KongManagerConfig } from '../types/app-config';
2
+ interface Param {
3
+ gatewayInfo?: KongManagerConfig['gatewayInfo'];
4
+ supportedRange: {
5
+ enterprise?: [string?, string?];
6
+ community?: [string?, string?];
7
+ };
8
+ }
9
+ export default function useGatewayFeatureSupported(param: Param): boolean;
10
+ export {};
11
+ //# sourceMappingURL=useGatewayFeatureSupported.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useGatewayFeatureSupported.d.ts","sourceRoot":"","sources":["../../../src/composables/useGatewayFeatureSupported.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5D,UAAU,KAAK;IACb,WAAW,CAAC,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAA;IAC9C,cAAc,EAAE;QAEd,UAAU,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAA;QAC/B,SAAS,CAAC,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC,CAAA;KAC/B,CAAA;CACF;AAGD,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,KAAK,EAAE,KAAK,WAoC9D"}
@@ -0,0 +1,12 @@
1
+ import { type ConfigurationSchema } from '../types';
2
+ export default function useHelpers(): {
3
+ getPropValue: (propName: string, slotProps?: Record<string, any>) => any;
4
+ objectsAreEqual: (a: Record<string, any>, b: Record<string, any>, ignoreOrder?: boolean) => boolean;
5
+ sortAlpha: (property: string) => (a: Record<string, any>, b: Record<string, any>) => any;
6
+ isValidUuid: (str: string) => boolean;
7
+ isObjectRecord: (value: unknown) => value is Record<string, any>;
8
+ getApiSchemaField: (fields: Array<Record<string, any>> | undefined, key: string) => Record<string, any> | undefined;
9
+ redactByApiSchema: (value: unknown, fieldSchema?: Record<string, any>) => unknown;
10
+ redactByConfigSchema: (value: unknown, configSchema: ConfigurationSchema) => unknown;
11
+ };
12
+ //# sourceMappingURL=useHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useHelpers.d.ts","sourceRoot":"","sources":["../../../src/composables/useHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAE5E,MAAM,CAAC,OAAO,UAAU,UAAU;6BAQA,MAAM,cAAc,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;yBAsB3C,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,gBAAgB,OAAO,KAAG,OAAO;0BAqC3E,MAAM,MACzB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;uBAqB9B,MAAM;4BAYD,OAAO,KAAG,KAAK,IAAI,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;gCASlC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,GAAG,SAAS,OAAO,MAAM,KAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,SAAS;+BAatF,OAAO,gBAAgB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAG,OAAO;kCA8DjD,OAAO,gBAAgB,mBAAmB,KAAG,OAAO;EA0C1F"}
@@ -0,0 +1,9 @@
1
+ import { createI18n, i18nTComponent } from '@kong-ui-public/i18n';
2
+ import english from '../locales/en.json';
3
+ interface UseI18nReturn {
4
+ i18n: ReturnType<typeof createI18n<typeof english>>;
5
+ i18nT: ReturnType<typeof i18nTComponent<typeof english>>;
6
+ }
7
+ export default function useI18n(): UseI18nReturn;
8
+ export {};
9
+ //# sourceMappingURL=useI18n.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAExC,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,aAAa,CAO/C"}
@@ -0,0 +1,20 @@
1
+ import type { ComputedRef, MaybeRefOrGetter } from 'vue';
2
+ import type { BaseTableHeaders } from '../types/entity-base-table';
3
+ /**
4
+ * The `managed_by` column wiring shared by every entity list.
5
+ *
6
+ * While the flag is off the column is absent entirely, so it never shows up in the column
7
+ * visibility menu either. Once the flag is on it is still opt-in: hidden until a user
8
+ * turns it on from the column visibility menu, via the returned `defaultTablePreferences`.
9
+ *
10
+ * @param baseHeaders The list's own headers, always offered to the table.
11
+ * @param extraColumnVisibility Additional per-column visibility defaults for tables that
12
+ * already hide other columns by default (e.g. `created_at`).
13
+ */
14
+ export default function useManagedByColumn(baseHeaders: MaybeRefOrGetter<BaseTableHeaders>, extraColumnVisibility?: Record<string, boolean>): {
15
+ defaultTablePreferences: {
16
+ columnVisibility: Record<string, boolean>;
17
+ };
18
+ tableHeaders: ComputedRef<BaseTableHeaders>;
19
+ };
20
+ //# sourceMappingURL=useManagedByColumn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useManagedByColumn.d.ts","sourceRoot":"","sources":["../../../src/composables/useManagedByColumn.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAExD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAA;AAIlE;;;;;;;;;;GAUG;AACH,MAAM,CAAC,OAAO,UAAU,kBAAkB,CACxC,WAAW,EAAE,gBAAgB,CAAC,gBAAgB,CAAC,EAC/C,qBAAqB,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM,GAClD;IACD,uBAAuB,EAAE;QAAE,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAA;IACtE,YAAY,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAA;CAC5C,CAeA"}
@@ -0,0 +1,11 @@
1
+ import type { ComputedRef } from 'vue';
2
+ /**
3
+ * Whether the host app has enabled the `managed_by` ownership field.
4
+ *
5
+ * Defaults to `false` so packages stay on today's behaviour until a host opts in - important
6
+ * because the API returns `managed_by` as an object, which would otherwise render as raw JSON.
7
+ *
8
+ * Must be called during `setup()`.
9
+ */
10
+ export default function useManagedByEnabled(): ComputedRef<boolean>;
11
+ //# sourceMappingURL=useManagedByEnabled.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useManagedByEnabled.d.ts","sourceRoot":"","sources":["../../../src/composables/useManagedByEnabled.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAY,MAAM,KAAK,CAAA;AAIhD;;;;;;;GAOG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,IAAI,WAAW,CAAC,OAAO,CAAC,CAIlE"}
@@ -0,0 +1,12 @@
1
+ import type { Ref } from 'vue';
2
+ type Schema = Record<string, any>;
3
+ export declare const useSchemaProvider: (schema: Ref<Schema>) => void;
4
+ export declare const useSchema: () => Readonly<Ref<Schema | undefined>>;
5
+ /**
6
+ * find the sub schema by key and provide it as the parent schema for the children
7
+ * @param subSchemaKey the key of the sub schema
8
+ * @returns the sub schema or undefined
9
+ */
10
+ export declare const useSubSchema: (subSchemaKey: string) => Readonly<Ref<Schema | undefined>>;
11
+ export {};
12
+ //# sourceMappingURL=useSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSchema.d.ts","sourceRoot":"","sources":["../../../src/composables/useSchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAE9B,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;AAIjC,eAAO,MAAM,iBAAiB,GAAI,QAAQ,GAAG,CAAC,MAAM,CAAC,SAEpD,CAAA;AAED,eAAO,MAAM,SAAS,QAAO,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAE5D,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,GAAI,cAAc,MAAM,KAAG,QAAQ,CAAC,GAAG,CAAC,MAAM,GAAG,SAAS,CAAC,CAUnF,CAAA"}
@@ -0,0 +1,5 @@
1
+ export default function useHelpers(): {
2
+ capitalize: (str: string) => string;
3
+ convertKeyToTitle: (str: string, separator?: string) => string;
4
+ };
5
+ //# sourceMappingURL=useStringHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStringHelpers.d.ts","sourceRoot":"","sources":["../../../src/composables/useStringHelpers.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,OAAO,UAAU,UAAU;sBA2BP,MAAM,KAAG,MAAM;6BAlBR,MAAM,cAAa,MAAM,KAAS,MAAM;EA4BzE"}