@kong-ui-public/entities-shared 3.6.4 → 3.7.0

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.
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 8px;width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-711ebcf2]{align-items:center;border-bottom:var(--2f5b0492);display:var(--5d59c22c);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-711ebcf2]{width:var(--aa41a894)}.config-card-details-row .config-card-details-label label[data-v-711ebcf2]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-711ebcf2]{width:var(--aa3d1cde)}.config-card-details-row .config-card-details-value .truncated[data-v-711ebcf2]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-711ebcf2]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-711ebcf2] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-711ebcf2]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-711ebcf2]{margin-right:4px}.config-card-details-row[data-v-711ebcf2] .k-label{margin-bottom:0}.config-card-details-row[data-v-711ebcf2] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-711ebcf2] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-right-radius:0}.json-endpoint{align-items:baseline;background-color:#000933;border-bottom:1px solid rgba(255,255,255,.2);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding:8px 0 8px 12px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-top:0}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--7a485cf8);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-2052238b]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-f40a683b]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-f40a683b]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-f40a683b]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-f40a683b] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-f40a683b]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-fd05df8e]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-fd05df8e]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-fd05df8e] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-fd05df8e] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-fd05df8e] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-fd05df8e] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-fd05df8e] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-fd05df8e] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-b252463e] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-71b4425a]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-71b4425a]{margin-left:auto}.kong-ui-entity-base-table .actions-container[data-v-71b4425a]{float:right}.kong-ui-entity-base-table .actions-container[data-v-71b4425a] .k-dropdown-item-trigger{margin-bottom:0;margin-top:0}.kong-ui-entity-base-table :deep(.k-table){table-layout:fixed}.kong-ui-entity-delete-modal .message[data-v-4361d622],.kong-ui-entity-delete-modal .description[data-v-4361d622]{line-height:24px;margin:0}.kong-ui-entity-delete-modal .message strong[data-v-4361d622]{font-weight:600}.kong-ui-entity-delete-modal .description[data-v-4361d622]{margin-top:32px}.kong-ui-entity-delete-error[data-v-4361d622]{margin-bottom:16px}.kong-ui-entity-filter-input[data-v-94990087]{width:100%}.kong-ui-entity-filter-clear[data-v-94990087]{cursor:pointer}.kong-ui-entity-filter[data-v-94990087]{display:flex;position:relative}.kong-ui-entity-filter[data-v-94990087] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-94990087] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-94990087]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-94990087]{background-color:#fff;border:1px solid #afb7c5;border-radius:4px;box-shadow:0 4px 20px #e0e4ea;left:0;margin-top:16px;padding:8px 0 12px;position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-94990087]{border-bottom:1px solid #e0e4ea;color:#6c7489;font-size:12px;font-weight:400;line-height:16px;list-style:none;margin:0 20px;padding:16px 0;position:relative;white-space:nowrap}.menu-item-title[data-v-94990087]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-94990087]{color:#232633}.menu-item-expand-icon[data-v-94990087]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-94990087]{transform:rotate(180deg)}.menu-item-indicator[data-v-94990087]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-94990087]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-94990087] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-94990087] .k-input{width:100%}.menu-item-body[data-v-94990087] .k-select-input .input{font-size:12px}.menu-item-body[data-v-94990087] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-94990087]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-94990087]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-94990087]{padding:12px 20px 0}fieldset[data-v-b1f74200]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-b1f74200]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{column-gap:16px;display:flex;flex-direction:column;padding-bottom:64px;row-gap:12px;width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-b1f74200]{height:fit-content;margin-bottom:16px;position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-b1f74200]{color:#000933;font-size:16px;font-weight:700;line-height:20px;margin-bottom:8px;margin-top:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200] p{color:#000933;font-size:14px;font-weight:400;line-height:20px;margin:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-footer[data-v-b1f74200]{margin-top:32px}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]>*:not(:first-child){margin-top:24px}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-b1f74200]{border-bottom:1px solid #e0e4ea}.kong-ui-public-entity-link[data-v-60e3ef7c]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-60e3ef7c]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c]{display:flex}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-60e3ef7c]{display:inline-block;font-weight:400;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-60e3ef7c]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-60e3ef7c]{margin-left:2px}
1
+ .config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 8px;width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-711ebcf2]{align-items:center;border-bottom:var(--2f5b0492);display:var(--5d59c22c);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-711ebcf2]{width:var(--aa41a894)}.config-card-details-row .config-card-details-label label[data-v-711ebcf2]{color:#3a3f51}.config-card-details-row .config-card-details-value[data-v-711ebcf2]{width:var(--aa3d1cde)}.config-card-details-row .config-card-details-value .truncated[data-v-711ebcf2]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-711ebcf2]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-711ebcf2] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-711ebcf2]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-711ebcf2]{margin-right:4px}.config-card-details-row[data-v-711ebcf2] .k-label{margin-bottom:0}.config-card-details-row[data-v-711ebcf2] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-711ebcf2] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-right-radius:0}.json-endpoint{align-items:baseline;background-color:#000933;border-bottom:1px solid rgba(255,255,255,.2);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding:8px 0 8px 12px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-top:0}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--454fa8c4);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-d15be7fe]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-85381f68]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-85381f68]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-85381f68]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-85381f68] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-85381f68]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-073c33c8]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-073c33c8]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-073c33c8] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-073c33c8] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-073c33c8] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-073c33c8] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-073c33c8] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-073c33c8] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-b252463e] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-71b4425a]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-71b4425a]{margin-left:auto}.kong-ui-entity-base-table .actions-container[data-v-71b4425a]{float:right}.kong-ui-entity-base-table .actions-container[data-v-71b4425a] .k-dropdown-item-trigger{margin-bottom:0;margin-top:0}.kong-ui-entity-base-table :deep(.k-table){table-layout:fixed}.kong-ui-entity-delete-modal .message[data-v-4361d622],.kong-ui-entity-delete-modal .description[data-v-4361d622]{line-height:24px;margin:0}.kong-ui-entity-delete-modal .message strong[data-v-4361d622]{font-weight:600}.kong-ui-entity-delete-modal .description[data-v-4361d622]{margin-top:32px}.kong-ui-entity-delete-error[data-v-4361d622]{margin-bottom:16px}.kong-ui-entity-filter-input[data-v-94990087]{width:100%}.kong-ui-entity-filter-clear[data-v-94990087]{cursor:pointer}.kong-ui-entity-filter[data-v-94990087]{display:flex;position:relative}.kong-ui-entity-filter[data-v-94990087] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-94990087] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-94990087]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-94990087]{background-color:#fff;border:1px solid #afb7c5;border-radius:4px;box-shadow:0 4px 20px #e0e4ea;left:0;margin-top:16px;padding:8px 0 12px;position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-94990087]{border-bottom:1px solid #e0e4ea;color:#6c7489;font-size:12px;font-weight:400;line-height:16px;list-style:none;margin:0 20px;padding:16px 0;position:relative;white-space:nowrap}.menu-item-title[data-v-94990087]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-94990087]{color:#232633}.menu-item-expand-icon[data-v-94990087]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-94990087]{transform:rotate(180deg)}.menu-item-indicator[data-v-94990087]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-94990087]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-94990087] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-94990087] .k-input{width:100%}.menu-item-body[data-v-94990087] .k-select-input .input{font-size:12px}.menu-item-body[data-v-94990087] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-94990087]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-94990087]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-94990087]{padding:12px 20px 0}fieldset[data-v-b1f74200]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-b1f74200]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{column-gap:16px;display:flex;flex-direction:column;padding-bottom:64px;row-gap:12px;width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-b1f74200]{height:fit-content;margin-bottom:16px;position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-b1f74200]{color:#000933;font-size:16px;font-weight:700;line-height:20px;margin-bottom:8px;margin-top:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200] p{color:#000933;font-size:14px;font-weight:400;line-height:20px;margin:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-footer[data-v-b1f74200]{margin-top:32px}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]>*:not(:first-child){margin-top:24px}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-b1f74200]{border-bottom:1px solid #e0e4ea}.kong-ui-public-entity-link[data-v-60e3ef7c]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-60e3ef7c]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c]{display:flex}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-60e3ef7c]{display:inline-block;font-weight:400;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-60e3ef7c]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-60e3ef7c]{margin-left:2px}
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
15
15
  default: string;
16
16
  };
17
17
  /** A record to indicate the entity's configuration, used to populate the JSON code block */
18
- jsonRecord: {
18
+ entityRecord: {
19
19
  type: PropType<Record<string, any>>;
20
20
  required: true;
21
21
  };
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<{
39
39
  default: string;
40
40
  };
41
41
  /** A record to indicate the entity's configuration, used to populate the JSON code block */
42
- jsonRecord: {
42
+ entityRecord: {
43
43
  type: PropType<Record<string, any>>;
44
44
  required: true;
45
45
  };
@@ -0,0 +1,27 @@
1
+ import { type PropType } from 'vue';
2
+ import { type SupportedEntityType } from '../../types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ /** A record to indicate the entity's configuration, used to populate the Terraform code block */
5
+ entityRecord: {
6
+ type: PropType<Record<string, any>>;
7
+ required: true;
8
+ };
9
+ entityType: {
10
+ type: PropType<SupportedEntityType>;
11
+ required: true;
12
+ validator: (val: SupportedEntityType) => boolean;
13
+ };
14
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
+ /** A record to indicate the entity's configuration, used to populate the Terraform code block */
16
+ entityRecord: {
17
+ type: PropType<Record<string, any>>;
18
+ required: true;
19
+ };
20
+ entityType: {
21
+ type: PropType<SupportedEntityType>;
22
+ required: true;
23
+ validator: (val: SupportedEntityType) => boolean;
24
+ };
25
+ }>>, {}, {}>;
26
+ export default _default;
27
+ //# sourceMappingURL=TerraformCodeBlock.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TerraformCodeBlock.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/common/TerraformCodeBlock.vue.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,QAAQ,EAAY,MAAM,KAAK,CAAA;AAC7C,OAAO,EAAE,KAAK,mBAAmB,EAA6B,MAAM,aAAa,CAAA;;IA+S/E,iGAAiG;;;;;;;;yBAQ9E,mBAAmB;;;IARtC,iGAAiG;;;;;;;;yBAQ9E,mBAAmB;;;AAdxC,wBAiBG"}
@@ -1,13 +1,13 @@
1
1
  import type { PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
4
- yamlRecord: {
4
+ entityRecord: {
5
5
  type: PropType<Record<string, any>>;
6
6
  required: true;
7
7
  };
8
8
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
9
  /** A record to indicate the entity's configuration, used to populate the YAML code block */
10
- yamlRecord: {
10
+ entityRecord: {
11
11
  type: PropType<Record<string, any>>;
12
12
  required: true;
13
13
  };
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { RecordItem, KonnectBaseEntityConfig, KongManagerBaseEntityConfig } from '../../types';
2
+ import type { RecordItem, KonnectBaseEntityConfig, KongManagerBaseEntityConfig, SupportedEntityType } from '../../types';
3
3
  export interface PropList {
4
4
  basic?: RecordItem[];
5
5
  advanced?: RecordItem[];
@@ -12,6 +12,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
12
12
  required: false;
13
13
  default: () => {};
14
14
  };
15
+ entityType: {
16
+ type: PropType<SupportedEntityType>;
17
+ required: true;
18
+ validator: (val: SupportedEntityType) => boolean;
19
+ };
15
20
  propertyCollections: {
16
21
  type: PropType<PropList>;
17
22
  required: false;
@@ -47,6 +52,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
47
52
  required: false;
48
53
  default: () => {};
49
54
  };
55
+ entityType: {
56
+ type: PropType<SupportedEntityType>;
57
+ required: true;
58
+ validator: (val: SupportedEntityType) => boolean;
59
+ };
50
60
  propertyCollections: {
51
61
  type: PropType<PropList>;
52
62
  required: false;
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigCardDisplay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/ConfigCardDisplay.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,MAAM,aAAa,CAAA;AAMnG,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAA;IACpB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;IACvB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAA;CACtB;;IAwSC,oHAAoH;;;;;;;;;;;;;;;;;;;;;;IAsBpH,kGAAkG;;;;;;IAMlG,8FAA8F;;;;;;;IA5B9F,oHAAoH;;;;;;;;;;;;;;;;;;;;;;IAsBpH,kGAAkG;;;;;;IAMlG,8FAA8F;;;;;;;;;;;;;;;;;;;;;AAQhG,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ConfigCardDisplay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/ConfigCardDisplay.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAQxH,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAA;IACpB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;IACvB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAA;CACtB;;IAoUC,oHAAoH;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2BpH,kGAAkG;;;;;;IAMlG,8FAA8F;;;;;;;IAjC9F,oHAAoH;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2BpH,kGAAkG;;;;;;IAMlG,8FAA8F;;;;;;;;;;;;;;;;;;;;;AAQhG,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { AxiosError } from 'axios';
3
- import type { KonnectBaseEntityConfig, KongManagerBaseEntityConfig, ConfigurationSchema, PluginConfigurationSchema, RecordItem } from '../../types';
3
+ import type { KonnectBaseEntityConfig, KongManagerBaseEntityConfig, ConfigurationSchema, PluginConfigurationSchema, RecordItem, SupportedEntityType } from '../../types';
4
4
  import type { HeaderTag } from '@kong/kongponents';
5
5
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
6
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
@@ -15,6 +15,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
15
15
  required: false;
16
16
  default: () => {};
17
17
  };
18
+ /**
19
+ * Entity type, required to generate terraform code
20
+ */
21
+ entityType: {
22
+ type: PropType<SupportedEntityType>;
23
+ required: true;
24
+ validator: (val: SupportedEntityType) => boolean;
25
+ };
18
26
  /** Record key that contains the plugin configuration */
19
27
  pluginConfigKey: {
20
28
  type: StringConstructor;
@@ -75,6 +83,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
75
83
  type: PropType<HeaderTag>;
76
84
  default: string;
77
85
  };
86
+ /**
87
+ * Enable display of Terraform code
88
+ * Guarded by FF: khcp-12445-terraform-config-details
89
+ */
90
+ enableTerraform: {
91
+ type: BooleanConstructor;
92
+ default: boolean;
93
+ };
78
94
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
79
95
  loading: (isLoading: boolean) => void;
80
96
  "fetch:success": (data: Record<string, any>) => void;
@@ -92,6 +108,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
92
108
  required: false;
93
109
  default: () => {};
94
110
  };
111
+ /**
112
+ * Entity type, required to generate terraform code
113
+ */
114
+ entityType: {
115
+ type: PropType<SupportedEntityType>;
116
+ required: true;
117
+ validator: (val: SupportedEntityType) => boolean;
118
+ };
95
119
  /** Record key that contains the plugin configuration */
96
120
  pluginConfigKey: {
97
121
  type: StringConstructor;
@@ -152,6 +176,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
152
176
  type: PropType<HeaderTag>;
153
177
  default: string;
154
178
  };
179
+ /**
180
+ * Enable display of Terraform code
181
+ * Guarded by FF: khcp-12445-terraform-config-details
182
+ */
183
+ enableTerraform: {
184
+ type: BooleanConstructor;
185
+ default: boolean;
186
+ };
155
187
  }>> & {
156
188
  onLoading?: ((isLoading: boolean) => any) | undefined;
157
189
  "onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
@@ -165,6 +197,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
165
197
  hideTitle: boolean;
166
198
  configCardDoc: string;
167
199
  titleTag: HeaderTag;
200
+ enableTerraform: boolean;
168
201
  }, {}>, Partial<Record<string, (_: {
169
202
  row: RecordItem;
170
203
  rowValue: any;
@@ -1 +1 @@
1
- {"version":3,"file":"EntityBaseConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/EntityBaseConfigCard.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,UAAU,EAA0C,MAAM,aAAa,CAAA;AAM3L,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;;IA8uBhD,oHAAoH;;;;;;IAYpH,4CAA4C;;;;;;IAM5C,wDAAwD;;;;;;IAMxD,gEAAgE;;;;;;IAMhE;;;;;;;OAOG;;;;;IAKH;;;OAGG;;;;;;IAMH;;OAEG;;;;;IAKH;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;IApEH,oHAAoH;;;;;;IAYpH,4CAA4C;;;;;;IAM5C,wDAAwD;;;;;;IAMxD,gEAAgE;;;;;;IAMhE;;;;;;;OAOG;;;;;IAKH;;;OAGG;;;;;;IAMH;;OAEG;;;;;IAKH;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaL,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"EntityBaseConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/EntityBaseConfigCard.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,mBAAmB,EACnB,yBAAyB,EACzB,UAAU,EAEV,mBAAmB,EACpB,MAAM,aAAa,CAAA;AAMpB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;;IAsxBhD,oHAAoH;;;;;;IAYpH,4CAA4C;;;;;;IAM5C;;OAEG;;;;;;IAMH,wDAAwD;;;;;;IAMxD,gEAAgE;;;;;;IAMhE;;;;;;;OAOG;;;;;IAKH;;;OAGG;;;;;;IAMH;;OAEG;;;;;IAKH;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;IAUH;;;OAGG;;;;;;;;;;IAzFH,oHAAoH;;;;;;IAYpH,4CAA4C;;;;;;IAM5C;;OAEG;;;;;;IAMH,wDAAwD;;;;;;IAMxD,gEAAgE;;;;;;IAMhE;;;;;;;OAOG;;;;;IAKH;;;OAGG;;;;;;IAMH;;OAEG;;;;;IAKH;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;IAUH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;AAQL,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { PropType } from 'vue';
2
2
  import type { AxiosError } from 'axios';
3
- import type { KonnectBaseFormConfig, KongManagerBaseFormConfig } from '../../types';
3
+ import type { KonnectBaseFormConfig, KongManagerBaseFormConfig, SupportedEntityType } from '../../types';
4
4
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
5
  /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
6
6
  config: {
@@ -14,6 +14,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
14
14
  required: false;
15
15
  default: string;
16
16
  };
17
+ /**
18
+ * Entity type, required to generate terraform code
19
+ */
20
+ entityType: {
21
+ type: PropType<SupportedEntityType>;
22
+ required: true;
23
+ validator: (val: SupportedEntityType) => boolean;
24
+ };
17
25
  /**
18
26
  * Fetch url for the item to edit. We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
19
27
  * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
@@ -64,6 +72,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
64
72
  type: StringConstructor;
65
73
  default: string;
66
74
  };
75
+ /**
76
+ * Enable display of Terraform code
77
+ * Guarded by FF: khcp-12445-terraform-config-details
78
+ */
79
+ enableTerraform: {
80
+ type: BooleanConstructor;
81
+ default: boolean;
82
+ };
67
83
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
68
84
  loading: (isLoading: boolean) => void;
69
85
  "fetch:success": (data: Record<string, any>) => void;
@@ -83,6 +99,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
83
99
  required: false;
84
100
  default: string;
85
101
  };
102
+ /**
103
+ * Entity type, required to generate terraform code
104
+ */
105
+ entityType: {
106
+ type: PropType<SupportedEntityType>;
107
+ required: true;
108
+ validator: (val: SupportedEntityType) => boolean;
109
+ };
86
110
  /**
87
111
  * Fetch url for the item to edit. We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
88
112
  * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
@@ -133,6 +157,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
133
157
  type: StringConstructor;
134
158
  default: string;
135
159
  };
160
+ /**
161
+ * Enable display of Terraform code
162
+ * Guarded by FF: khcp-12445-terraform-config-details
163
+ */
164
+ enableTerraform: {
165
+ type: BooleanConstructor;
166
+ default: boolean;
167
+ };
136
168
  }>> & {
137
169
  onSubmit?: (() => any) | undefined;
138
170
  onLoading?: ((isLoading: boolean) => any) | undefined;
@@ -141,6 +173,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
141
173
  onCancel?: (() => any) | undefined;
142
174
  }, {
143
175
  fetchUrl: string;
176
+ enableTerraform: boolean;
144
177
  editId: string;
145
178
  isReadonly: boolean;
146
179
  canSubmit: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"EntityBaseForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-form/EntityBaseForm.vue.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAA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0F;;;;;;IAM1F;;OAEG;;;;;;IAMH;;;;;;;OAOG;;;;;;IAMH,iFAAiF;;;;;;IAMjF,qEAAqE;;;;;;IAMrE,qEAAqE;;;;;;IAMrE,+DAA+D;;;;;IAK/D;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;AAQL,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -24,6 +24,7 @@ export default function useI18n(): {
24
24
  message: string;
25
25
  yaml: string;
26
26
  json: string;
27
+ terraform: string;
27
28
  };
28
29
  errors: {
29
30
  edit: string;
@@ -134,6 +135,7 @@ export default function useI18n(): {
134
135
  message: string;
135
136
  yaml: string;
136
137
  json: string;
138
+ terraform: string;
137
139
  };
138
140
  errors: {
139
141
  edit: string;
@@ -254,6 +256,7 @@ export default function useI18n(): {
254
256
  message: string;
255
257
  yaml: string;
256
258
  json: string;
259
+ terraform: string;
257
260
  };
258
261
  errors: {
259
262
  edit: string;
@@ -373,6 +376,7 @@ export default function useI18n(): {
373
376
  message: string;
374
377
  yaml: string;
375
378
  json: string;
379
+ terraform: string;
376
380
  };
377
381
  errors: {
378
382
  edit: string;
@@ -1 +1 @@
1
- {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO9B"}
1
+ {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,OAAO,UAAU,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO9B"}
@@ -11,9 +11,10 @@ import PermissionsWrapper from './components/permissions-wrapper/PermissionsWrap
11
11
  import EntityFormSection from './components/entity-form-section/EntityFormSection.vue';
12
12
  import EntityLink from './components/entity-link/EntityLink.vue';
13
13
  import JsonCodeBlock from './components/common/JsonCodeBlock.vue';
14
+ import TerraformCodeBlock from './components/common/TerraformCodeBlock.vue';
14
15
  import YamlCodeBlock from './components/common/YamlCodeBlock.vue';
15
16
  declare const useAxios: typeof import("./composables/useAxios").default, useDeleteUrlBuilder: typeof import("./composables/useDeleteUrlBuilder").default, useErrors: typeof import("./composables/useErrors").default, useExternalLinkCreator: typeof import("./composables/useExternalLinkCreator").default, useFetchUrlBuilder: typeof import("./composables/useFetchUrlBuilder").default, useFetcher: typeof import("./composables/useFetcher").default, useDebouncedFilter: typeof import("./composables/useDebouncedFilter").default, useStringHelpers: typeof import("./composables/useStringHelpers").default, useHelpers: typeof import("./composables/useHelpers").default, useGatewayFeatureSupported: typeof import("./composables/useGatewayFeatureSupported").default, useTruncationDetector: typeof import("./composables/useTruncationDetector").default, useValidators: typeof import("./composables/useValidators").default;
16
- export { EntityBaseConfigCard, ConfigCardItem, ConfigCardDisplay, InternalLinkItem, EntityBaseForm, EntityBaseTable, EntityDeleteModal, EntityFilter, EntityToggleModal, PermissionsWrapper, EntityFormSection, EntityLink, JsonCodeBlock, YamlCodeBlock };
17
+ export { EntityBaseConfigCard, ConfigCardItem, ConfigCardDisplay, InternalLinkItem, EntityBaseForm, EntityBaseTable, EntityDeleteModal, EntityFilter, EntityToggleModal, PermissionsWrapper, EntityFormSection, EntityLink, JsonCodeBlock, TerraformCodeBlock, YamlCodeBlock };
17
18
  export { useAxios, useDeleteUrlBuilder, useErrors, useExternalLinkCreator, useFetchUrlBuilder, useFetcher, useDebouncedFilter, useStringHelpers, useHelpers, useGatewayFeatureSupported, useTruncationDetector, useValidators };
18
19
  export * from './types';
19
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,+DAA+D,CAAA;AAChG,OAAO,cAAc,MAAM,yDAAyD,CAAA;AACpF,OAAO,iBAAiB,MAAM,4DAA4D,CAAA;AAC1F,OAAO,gBAAgB,MAAM,2DAA2D,CAAA;AACxF,OAAO,cAAc,MAAM,kDAAkD,CAAA;AAC7E,OAA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AAkD,CAAA;AAC7E,OAAO,eAAe,MAAM,oDAAoD,CAAA;AAChF,OAAO,iBAAiB,MAAM,wDAAwD,CAAA;AACtF,OAAO,YAAY,MAAM,6CAA6C,CAAA;AACtE,OAAO,iBAAiB,MAAM,wDAAwD,CAAA;AACtF,OAAO,kBAAkB,MAAM,yDAAyD,CAAA;AACxF,OAAO,iBAAiB,MAAM,wDAAwD,CAAA;AACtF,OAAO,UAAU,MAAM,yCAAyC,CAAA;AAChE,OAAO,aAAa,MAAM,uCAAuC,CAAA;AACjE,OAAO,kBAAkB,MAAM,4CAA4C,CAAA;AAC3E,OAAO,aAAa,MAAM,uCAAuC,CAAA;AAIjE,QAAA,MAAQ,QAAQ,mDAAE,mBAAmB,8DAAE,SAAS,oDAAE,sBAAsB,iEAAE,kBAAkB,6DAAE,UAAU,qDAAE,kBAAkB,6DAAE,gBAAgB,2DAAE,UAAU,qDAAE,0BAA0B,qEAAE,qBAAqB,gEAAE,aAAa,sDAAgB,CAAA;AAG5O,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,cAAc,EAAE,eAAe,EAAE,iBAAiB,EAAE,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,UAAU,EAAE,aAAa,EAAE,kBAAkB,EAAE,aAAa,EAAE,CAAA;AAG9Q,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,SAAS,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,UAAU,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,UAAU,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,aAAa,EAAE,CAAA;AAG/N,cAAc,SAAS,CAAA"}
@@ -1,4 +1,20 @@
1
1
  import type { KonnectConfig, KongManagerConfig } from './index';
2
+ export declare enum SupportedEntityType {
3
+ CaCertificate = "ca_certificate",
4
+ Certificate = "certificate",
5
+ Consumer = "consumer",
6
+ ConsumerGroup = "consumer_group",
7
+ GatewayService = "service",
8
+ Key = "key",
9
+ KeySet = "key_set",
10
+ Plugin = "plugin",
11
+ Route = "route",
12
+ SNI = "sni",
13
+ Upstream = "upstream",
14
+ Target = "target",
15
+ Vault = "vault"
16
+ }
17
+ export declare const SupportedEntityTypesArray: SupportedEntityType[];
2
18
  export interface BaseEntityConfig {
3
19
  /** the ID of the entity */
4
20
  entityId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"entity-base-config-card.d.ts","sourceRoot":"","sources":["../../../src/types/entity-base-config-card.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAE/D,MAAM,WAAW,gBAAgB;IAC/B,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,+BAA+B;AAC/B,MAAM,WAAW,uBAAwB,SAAQ,aAAa,EAAE,gBAAgB;CAAI;AAEpF,oCAAoC;AACpC,MAAM,WAAW,2BAA4B,SAAQ,iBAAiB,EAAE,gBAAgB;CAAI;AAE5F,oBAAY,uBAAuB;IACjC,EAAE,OAAO;IACT,OAAO,aAAa;IACpB,IAAI,eAAe,CAAE,UAAU;IAC/B,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,aAAa,mBAAmB;IAChC,IAAI,SAAS;IACb,SAAS,eAAe;IACxB,QAAQ,cAAc;IACtB,SAAS,eAAe;IACxB,WAAW,iBAAiB;IAC5B,WAAW,iBAAiB;IAC5B,YAAY,kBAAkB;IAC9B,YAAY,kBAAkB;CAC/B;AAED,oBAAY,0BAA0B;IACpC,KAAK,UAAU;IACf,QAAQ,aAAa,CAAE,UAAU;IACjC,MAAM,WAAW;CAClB;AAED,MAAM,WAAW,uBAAuB;IAEtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAEhB,IAAI,CAAC,EAAE,uBAAuB,CAAA;IAE9B,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd,MAAM,CAAC,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IAAI,CAAC,uBAAuB,EAAE,SAAS,CAAC;CAAI;AAEnG,MAAM,WAAW,yBAAyB;IACxC,CAAC,GAAG,EAAE,MAAM,GAAG,6BAA6B,CAAA;CAC7C;AAED,MAAM,WAAW,UAAW,SAAQ,uBAAuB;IACzD,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,EAAE,GAAG,CAAA;CACX;AAED,MAAM,WAAW,sCAAsC;IACrD,EAAE,EAAE,uBAAuB,CAAA;IAC3B,IAAI,EAAE,uBAAuB,CAAA;IAC7B,OAAO,EAAE,uBAAuB,CAAA;IAChC,UAAU,EAAE,uBAAuB,CAAA;IACnC,UAAU,EAAE,uBAAuB,CAAA;IACnC,IAAI,EAAE,uBAAuB,CAAA;CAC9B;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC3B,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAChC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,mBAAmB,CAAC,EAAE,MAAM,CAAA;CAC7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-shared",
3
- "version": "3.6.4",
3
+ "version": "3.7.0",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-shared.umd.js",
6
6
  "module": "./dist/entities-shared.es.js",
@@ -47,7 +47,7 @@
47
47
  "extends": "../../../package.json"
48
48
  },
49
49
  "distSizeChecker": {
50
- "errorLimit": "564KB"
50
+ "errorLimit": "612KB"
51
51
  },
52
52
  "dependencies": {
53
53
  "@kong/icons": "^1.15.1",