@kong-ui-public/entities-routes 3.17.13-pr.2782.db07c11a2.0 → 3.17.14-pr.2781.b1238e65f.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/package.json +5 -5
- package/dist/RouteFormExpressionsEditor-BmRiH3GR.js +0 -64
- package/dist/entities-routes.es.js +0 -20
- package/dist/entities-routes.umd.js +0 -1
- package/dist/index-DKwH5iba.js +0 -2640
- package/dist/style.css +0 -1
- package/dist/types/components/RouteConfigCard.vue.d.ts +0 -78
- package/dist/types/components/RouteConfigCard.vue.d.ts.map +0 -1
- package/dist/types/components/RouteForm.vue.d.ts +0 -176
- package/dist/types/components/RouteForm.vue.d.ts.map +0 -1
- package/dist/types/components/RouteFormExpressionsEditor.vue.d.ts +0 -36
- package/dist/types/components/RouteFormExpressionsEditor.vue.d.ts.map +0 -1
- package/dist/types/components/RouteFormExpressionsEditorLoader.vue.d.ts +0 -42
- package/dist/types/components/RouteFormExpressionsEditorLoader.vue.d.ts.map +0 -1
- package/dist/types/components/RouteFormRulesComposer.vue.d.ts +0 -57
- package/dist/types/components/RouteFormRulesComposer.vue.d.ts.map +0 -1
- package/dist/types/components/RouteList.vue.d.ts +0 -157
- package/dist/types/components/RouteList.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/ExpressionsRules.vue.d.ts +0 -44
- package/dist/types/components/rules-composer/ExpressionsRules.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/RulesComposer.vue.d.ts +0 -42
- package/dist/types/components/rules-composer/RulesComposer.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/TraditionalRules.vue.d.ts +0 -32
- package/dist/types/components/rules-composer/TraditionalRules.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/rules/DestinationRules.vue.d.ts +0 -16
- package/dist/types/components/rules-composer/rules/DestinationRules.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/rules/HeaderRules.vue.d.ts +0 -16
- package/dist/types/components/rules-composer/rules/HeaderRules.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/rules/HostRules.vue.d.ts +0 -15
- package/dist/types/components/rules-composer/rules/HostRules.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/rules/MethodRules.vue.d.ts +0 -24
- package/dist/types/components/rules-composer/rules/MethodRules.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/rules/PathRules.vue.d.ts +0 -15
- package/dist/types/components/rules-composer/rules/PathRules.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/rules/RuleControlsAdd.vue.d.ts +0 -11
- package/dist/types/components/rules-composer/rules/RuleControlsAdd.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/rules/RuleControlsRemove.vue.d.ts +0 -12
- package/dist/types/components/rules-composer/rules/RuleControlsRemove.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/rules/SniRules.vue.d.ts +0 -15
- package/dist/types/components/rules-composer/rules/SniRules.vue.d.ts.map +0 -1
- package/dist/types/components/rules-composer/rules/SourceRules.vue.d.ts +0 -16
- package/dist/types/components/rules-composer/rules/SourceRules.vue.d.ts.map +0 -1
- package/dist/types/composables/index.d.ts +0 -6
- package/dist/types/composables/index.d.ts.map +0 -1
- package/dist/types/composables/useI18n.d.ts +0 -9
- package/dist/types/composables/useI18n.d.ts.map +0 -1
- package/dist/types/constants.d.ts +0 -65
- package/dist/types/constants.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -9
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/routes-endpoints.d.ts +0 -58
- package/dist/types/routes-endpoints.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -4
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/types/route-config-card.d.ts +0 -31
- package/dist/types/types/route-config-card.d.ts.map +0 -1
- package/dist/types/types/route-form.d.ts +0 -148
- package/dist/types/types/route-form.d.ts.map +0 -1
- package/dist/types/types/route-list.d.ts +0 -36
- package/dist/types/types/route-list.d.ts.map +0 -1
- package/dist/types/utilities/helpers.d.ts +0 -2
- package/dist/types/utilities/helpers.d.ts.map +0 -1
- package/dist/types/utilities/index.d.ts +0 -2
- package/dist/types/utilities/index.d.ts.map +0 -1
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.config-card-fieldset[data-v-dc1e39a1]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-dc1e39a1]{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-2feb8c2e] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-cd250044]{align-items:center;border-bottom:var(--v550201a4);box-sizing:border-box;display:var(--v2eeb3c61);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-cd250044]{box-sizing:border-box;padding-right:16px;width:var(--v77ca94df)}.config-card-details-row .config-card-details-label label[data-v-cd250044]{color:#3a3f51;display:inline-flex;max-width:100%}.config-card-details-row .config-card-details-label label .label-content[data-v-cd250044]{line-height:initial;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-label label .k-popover[data-v-cd250044]{min-width:0}.config-card-details-row .config-card-details-value[data-v-cd250044]{box-sizing:border-box;width:var(--v77ccdaba)}.config-card-details-row .config-card-details-value .truncated[data-v-cd250044]{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-cd250044]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-cd250044] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-cd250044]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-cd250044]{margin-right:4px}.config-card-details-row[data-v-cd250044] .k-label{margin-bottom:0}.config-card-details-row[data-v-cd250044] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-cd250044] .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(--v58418ff6);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-a7689049]{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-f2b42324]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-f2b42324]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-f2b42324]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-f2b42324] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-f2b42324]{margin-left:8px;padding:0}.deck-config .k-select[data-v-04c956bc]{margin-bottom:16px}.deck-config .k-code-block[data-v-04c956bc]{margin-top:12px}.kong-ui-entity-base-form[data-v-7cbcaad8]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form[data-v-7cbcaad8] .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-7cbcaad8] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-7cbcaad8] .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-7cbcaad8] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.kong-ui-entity-base-form[data-v-7cbcaad8] .slideout-content{overflow-y:unset!important}.form-actions[data-v-7cbcaad8]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.form-actions[data-v-7cbcaad8] .k-button:last-of-type,.form-actions[data-v-7cbcaad8] .k-button:nth-last-of-type(2){margin-inline-start:16px}.form-actions-reverted[data-v-7cbcaad8]{direction:rtl}.content-wrapper[data-v-a3a65cac] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-09e101d4]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-09e101d4]{margin-left:auto}.kong-ui-entity-base-table .hidden[data-v-09e101d4]{display:none}.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-084f7978]{width:100%}.kong-ui-entity-filter-clear[data-v-084f7978]{cursor:pointer}.kong-ui-entity-filter[data-v-084f7978]{display:flex;position:relative}.kong-ui-entity-filter[data-v-084f7978] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-084f7978] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-084f7978]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-084f7978]{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-084f7978]{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-084f7978]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-084f7978]{color:#232633}.menu-item-expand-icon[data-v-084f7978]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-084f7978]{transform:rotate(180deg)}.menu-item-indicator[data-v-084f7978]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-084f7978]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-084f7978] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-084f7978] .k-input{width:100%}.menu-item-body[data-v-084f7978] .k-select-input .input{font-size:12px}.menu-item-body[data-v-084f7978] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-084f7978]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-084f7978]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-084f7978]{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}.ff-form-section .header[data-v-cb6d2e95]{align-items:flex-start;display:flex;gap:8px}.ff-form-section .step[data-v-cb6d2e95]{align-items:center;background:#fff;border:1px solid #afb7c5;border-radius:100px;display:flex;flex:0 0 auto;height:32px;justify-content:center;padding:4px;width:32px}.ff-form-section .header-content[data-v-cb6d2e95]{align-items:flex-start;display:flex;flex:1 1 auto;flex-direction:column;gap:8px;padding-top:4px}.ff-form-section .header-title[data-v-cb6d2e95]{color:#000933;font-size:18px;font-weight:700;line-height:24px;margin:0}.ff-form-section .header-description[data-v-cb6d2e95]{color:#52596e;font-size:14px;line-height:20px;margin:0}.ff-form-section .header-extra[data-v-cb6d2e95]{align-items:center;display:flex;flex:0 0 auto;gap:8px;justify-content:flex-end}.ff-form-section .content[data-v-cb6d2e95]{background:#f9fafb;border:1px solid #e0e4ea;border-radius:6px;display:flex;flex-direction:column;gap:20px;margin-left:16px;margin-top:20px;padding:20px 24px}.kong-ui-public-entity-link[data-v-96efdfa5]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-96efdfa5]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-96efdfa5]{display:flex;flex:1}.kong-ui-public-entity-link .entity-link[data-v-96efdfa5] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-96efdfa5]{display:inline-block;font-weight:400;max-width:90%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-96efdfa5]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-96efdfa5]{margin-left:2px}.kong-ui-public-entity-empty-state[data-v-6d4a0f89]{align-items:center;background-color:#fff;box-sizing:border-box;display:flex;flex-direction:column;font-family:Inter,Roboto,Helvetica,sans-serif;gap:24px;padding:64px 0;width:100%}@media (min-width: 640px){.kong-ui-public-entity-empty-state[data-v-6d4a0f89]{padding:64px 96px}}.kong-ui-public-entity-empty-state .empty-state-image[data-v-6d4a0f89]{margin-bottom:8px}.kong-ui-public-entity-empty-state .entity-empty-state-content[data-v-6d4a0f89]{align-items:center;display:flex;flex-direction:column;gap:8px;text-align:center;width:100%}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1[data-v-6d4a0f89]{align-items:center;color:#000933;display:flex;font-size:24px;font-weight:700;gap:8px;line-height:32px;margin:0}.kong-ui-public-entity-empty-state .entity-empty-state-content .entity-empty-state-title h1.secondary[data-v-6d4a0f89]{font-size:18px}.kong-ui-public-entity-empty-state .entity-empty-state-description[data-v-6d4a0f89],.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-6d4a0f89]{color:#52596e;font-size:14px;font-weight:400;line-height:20px;max-width:640px}.kong-ui-public-entity-empty-state .entity-empty-state-description p[data-v-6d4a0f89],.kong-ui-public-entity-empty-state .entity-empty-state-pricing p[data-v-6d4a0f89]{margin:0}.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-6d4a0f89]{margin-top:16px}.kong-ui-public-entity-empty-state .entity-empty-state-message[data-v-6d4a0f89]{color:#52596e}.kong-ui-public-entity-empty-state .entity-empty-state-action[data-v-6d4a0f89]{align-items:center;display:flex;gap:12px}.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-6d4a0f89]{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-around;margin-top:8px;width:312px}@media (min-width: 640px){.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-6d4a0f89]{width:640px}}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-6d4a0f89]{background-color:#f9fafb;border:1px solid #e0e4ea;border-radius:6px;color:#afb7c5;gap:8px;height:160px;padding:20px;width:312px}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-6d4a0f89]{color:#3a3f51;display:flex;margin-bottom:12px}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card .feature-icon[data-v-6d4a0f89] .kui-icon{height:20px!important;width:20px!important}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-6d4a0f89] .card-title{font-size:14px;font-weight:600}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-6d4a0f89] .card-content{-webkit-box-orient:vertical;color:#6c7489;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-6d4a0f89]{border-top:1px solid #e0e4ea;display:flex;flex-direction:column;gap:16px;padding-top:48px;width:100%}@media (min-width: 640px){.kong-ui-public-entity-empty-state .entity-empty-state-bottom-container[data-v-6d4a0f89]{width:640px}}.routing-rule-add-item-button[data-v-f1f4cfc9]{display:flex}.routing-rule-container[data-v-3eb40a37]:not(:first-of-type){margin-top:24px}.routing-rule-container hr[data-v-3eb40a37]{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:16px}.routing-rule-input[data-v-3eb40a37]{align-items:center;column-gap:16px;display:flex}.routing-rule-input .k-input[data-v-3eb40a37]{width:100%}.routing-rule-input[data-v-3eb40a37]:not(:first-of-type){margin-top:16px}.routing-rule-input .methods-input-container[data-v-3eb40a37]{display:flex;flex-wrap:wrap;gap:12px}.routing-rule-input .methods-input[data-v-3eb40a37]{display:flex;flex-wrap:wrap;gap:4px}.routing-rule-input .methods-input[data-v-3eb40a37] label.k-switch{margin:0!important}.routing-rule-add-item-button[data-v-3eb40a37]{margin-top:16px}.routing-rule-container[data-v-d3bede0b]:not(:first-of-type){margin-top:24px}.routing-rule-container hr[data-v-d3bede0b]{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:16px}.routing-rule-input[data-v-d3bede0b]{align-items:center;column-gap:16px;display:flex}.routing-rule-input .k-input[data-v-d3bede0b]{width:100%}.routing-rule-input[data-v-d3bede0b]:not(:first-of-type){margin-top:16px}.routing-rule-input .methods-input-container[data-v-d3bede0b]{display:flex;flex-wrap:wrap;gap:12px}.routing-rule-input .methods-input[data-v-d3bede0b]{display:flex;flex-wrap:wrap;gap:4px}.routing-rule-input .methods-input[data-v-d3bede0b] label.k-switch{margin:0!important}.routing-rule-add-item-button[data-v-d3bede0b]{margin-top:16px}.routing-rule-container[data-v-dccd9082]:not(:first-of-type){margin-top:24px}.routing-rule-container hr[data-v-dccd9082]{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:16px}.routing-rule-input[data-v-dccd9082]{align-items:center;column-gap:16px;display:flex}.routing-rule-input .k-input[data-v-dccd9082]{width:100%}.routing-rule-input[data-v-dccd9082]:not(:first-of-type){margin-top:16px}.routing-rule-input .methods-input-container[data-v-dccd9082]{display:flex;flex-wrap:wrap;gap:12px}.routing-rule-input .methods-input[data-v-dccd9082]{display:flex;flex-wrap:wrap;gap:4px}.routing-rule-input .methods-input[data-v-dccd9082] label.k-switch{margin:0!important}.routing-rule-add-item-button[data-v-dccd9082]{margin-top:16px}.routing-rule-container[data-v-6c94d6d2]:not(:first-of-type){margin-top:24px}.routing-rule-container hr[data-v-6c94d6d2]{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:16px}.routing-rule-input[data-v-6c94d6d2]{align-items:center;column-gap:16px;display:flex}.routing-rule-input .k-input[data-v-6c94d6d2]{width:100%}.routing-rule-input[data-v-6c94d6d2]:not(:first-of-type){margin-top:16px}.routing-rule-input .methods-input-container[data-v-6c94d6d2]{display:flex;flex-wrap:wrap;gap:12px}.routing-rule-input .methods-input[data-v-6c94d6d2]{display:flex;flex-wrap:wrap;gap:4px}.routing-rule-input .methods-input[data-v-6c94d6d2] label.k-switch{margin:0!important}.routing-rule-add-item-button[data-v-6c94d6d2]{margin-top:16px}.routing-rule-container[data-v-eb440a9e]:not(:first-of-type){margin-top:24px}.routing-rule-container hr[data-v-eb440a9e]{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:16px}.routing-rule-input[data-v-eb440a9e]{align-items:center;column-gap:16px;display:flex}.routing-rule-input .k-input[data-v-eb440a9e]{width:100%}.routing-rule-input[data-v-eb440a9e]:not(:first-of-type){margin-top:16px}.routing-rule-input .methods-input-container[data-v-eb440a9e]{display:flex;flex-wrap:wrap;gap:12px}.routing-rule-input .methods-input[data-v-eb440a9e]{display:flex;flex-wrap:wrap;gap:4px}.routing-rule-input .methods-input[data-v-eb440a9e] label.k-switch{margin:0!important}.routing-rule-add-item-button[data-v-eb440a9e]{margin-top:16px}.routing-rule-container[data-v-e6782e08]:not(:first-of-type){margin-top:24px}.routing-rule-container hr[data-v-e6782e08]{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:16px}.routing-rule-input[data-v-e6782e08]{align-items:center;column-gap:16px;display:flex}.routing-rule-input .k-input[data-v-e6782e08]{width:100%}.routing-rule-input[data-v-e6782e08]:not(:first-of-type){margin-top:16px}.routing-rule-input .methods-input-container[data-v-e6782e08]{display:flex;flex-wrap:wrap;gap:12px}.routing-rule-input .methods-input[data-v-e6782e08]{display:flex;flex-wrap:wrap;gap:4px}.routing-rule-input .methods-input[data-v-e6782e08] label.k-switch{margin:0!important}.routing-rule-add-item-button[data-v-e6782e08]{margin-top:16px}.routing-rule-container[data-v-448078c1]:not(:first-of-type){margin-top:24px}.routing-rule-container hr[data-v-448078c1]{border:0;border-top:1px solid rgba(0,0,0,.1);margin-bottom:16px}.routing-rule-input[data-v-448078c1]{align-items:center;column-gap:16px;display:flex}.routing-rule-input .k-input[data-v-448078c1]{width:100%}.routing-rule-input[data-v-448078c1]:not(:first-of-type){margin-top:16px}.routing-rule-input .methods-input-container[data-v-448078c1]{display:flex;flex-wrap:wrap;gap:12px}.routing-rule-input .methods-input[data-v-448078c1]{display:flex;flex-wrap:wrap;gap:4px}.routing-rule-input .methods-input[data-v-448078c1] label.k-switch{margin:0!important}.routing-rule-add-item-button[data-v-448078c1]{margin-top:16px}.route-form-routing-rules-title-container[data-v-f3fa9614]{display:flex;justify-content:center}.route-form-routing-rules-title-container .protocol-title[data-v-f3fa9614]{font-size:16px}.route-form-routing-rules-title-container .protocol-title[data-v-f3fa9614]:not(:first-child):before{content:"/";margin-right:8px;padding-left:8px}.route-form-routing-rules-title-container .routing-rules-title[data-v-f3fa9614]{font-size:16px;margin-left:8px}.route-form-advanced-fields-container[data-v-f3fa9614]{display:flex;flex-direction:column;margin-top:24px}.route-form-fields-container[data-v-f3fa9614]>*:not(:first-child){margin-top:24px}.traditional-rules-hint[data-v-f3fa9614]{color:#52596e;margin-bottom:24px}.traditional-rules-hint span[data-v-f3fa9614]:not(:first-child){margin-left:4px}.route-form-strip-path[data-v-f3fa9614]{margin-top:24px}.route-form-open-in-playground{align-items:center;color:#0030cc;cursor:pointer;display:flex;flex-direction:row;font-size:14px;font-weight:700;gap:8px;justify-content:flex-start;margin-top:12px}.route-form-open-in-playground.disabled{cursor:not-allowed;opacity:.5}.route-form-routing-rules-title-container[data-v-e7571a47]{display:flex;justify-content:center}.route-form-routing-rules-title-container .protocol-title[data-v-e7571a47]{font-size:16px}.route-form-routing-rules-title-container .protocol-title[data-v-e7571a47]:not(:first-child):before{content:"/";margin-right:8px;padding-left:8px}.route-form-routing-rules-title-container .routing-rules-title[data-v-e7571a47]{font-size:16px;margin-left:8px}.route-form-advanced-fields-container[data-v-e7571a47]{display:flex;flex-direction:column;margin-top:24px}.route-form-fields-container[data-v-e7571a47]>*:not(:first-child){margin-top:24px}.config-type-container[data-v-cbda4882]{display:flex;gap:16px}.config-type-container[data-v-cbda4882] .radio-card-wrapper{box-sizing:border-box}.config-flavor .config-flavor-label[data-v-cbda4882]{display:flex}.config-flavor .config-flavor-control[data-v-cbda4882]{display:inline-flex;width:auto}.appear-enter-active{transition:all .5s ease}.appear-enter-from,.appear-leave-to{opacity:0;transform:translate(30px)}.kong-ui-entities-route-form[data-v-5be17e8c]{width:100%}.kong-ui-entities-route-form .route-form-service-dropdown-item[data-v-5be17e8c]{display:flex;flex-direction:column}.kong-ui-entities-route-form .route-form-service-dropdown-item .select-item-label[data-v-5be17e8c]{font-weight:600}.kong-ui-entities-route-form .route-form-service-dropdown-item .select-item-description[data-v-5be17e8c]{color:#6c7489;font-size:12px}.kong-ui-entities-route-form .route-form-routing-rules-title-container[data-v-5be17e8c]{display:flex;justify-content:center}.kong-ui-entities-route-form .route-form-routing-rules-title-container .protocol-title[data-v-5be17e8c]{font-size:16px}.kong-ui-entities-route-form .route-form-routing-rules-title-container .protocol-title[data-v-5be17e8c]:not(:first-child):before{content:"/";margin-right:8px;padding-left:8px}.kong-ui-entities-route-form .route-form-routing-rules-title-container .routing-rules-title[data-v-5be17e8c]{font-size:16px;margin-left:8px}.kong-ui-entities-route-form .route-form-fields-container[data-v-5be17e8c]>*:not(:first-child){margin-top:24px}.kong-ui-entities-route-form .k-checkbox[data-v-5be17e8c]{display:flex}.kong-ui-entities-route-form[data-v-5be17e8c] .form-section-content{min-width:0}.kong-ui-entities-route-form .expression-editor[data-v-5be17e8c]{min-height:200px}.button-row[data-v-a438ef1a]{align-items:center;display:flex;gap:12px}.kong-ui-entities-routes-list[data-v-a438ef1a]{width:100%}.kong-ui-entities-routes-list .kong-ui-entity-filter-input[data-v-a438ef1a]{margin-right:12px}.kong-ui-entities-routes-list .route-list-cell-expression[data-v-a438ef1a]{font-family:JetBrains Mono,Consolas,monospace}.expression-editor[data-v-1bfe7f23]{border:1px solid #e0e4ea;border-radius:3px;min-height:200px;overflow:hidden;transition:border-color linear .15s;width:100%}.expression-editor.invalid[data-v-1bfe7f23]{border-color:#d60027}.page-header h1[data-v-dc31e237],h2[data-v-dc31e237],h3[data-v-dc31e237],h4[data-v-dc31e237],h5[data-v-dc31e237],h6[data-v-dc31e237]{color:#000933;font-size:24px;font-weight:700}.page-header h1 .title[data-v-dc31e237],h2 .title[data-v-dc31e237],h3 .title[data-v-dc31e237],h4 .title[data-v-dc31e237],h5 .title[data-v-dc31e237],h6 .title[data-v-dc31e237]{word-break:break-all}.row[data-v-dc31e237]{display:flex;flex-wrap:wrap;justify-content:space-between;margin-left:-16px;margin-right:-16px;padding:0 16px}.col[data-v-dc31e237]{line-height:36px}h1[data-v-dc31e237],h2[data-v-dc31e237],h3[data-v-dc31e237],h4[data-v-dc31e237],h5[data-v-dc31e237],h6[data-v-dc31e237],nav[data-v-dc31e237]{margin-bottom:20px;margin-top:0}.title-no-margin[data-v-dc31e237]{margin:0!important}.operations[data-v-dc31e237]{align-items:center;display:inline-flex;flex-grow:0;justify-content:flex-end;margin-left:auto;text-align:right;white-space:nowrap}.request-card[data-v-48794e33]{align-items:flex-start;background-color:#fff;border-radius:6px;display:flex;flex-direction:column;gap:8px;justify-content:flex-start;min-width:0;padding:12px;position:relative}.request-card[data-v-48794e33]:before{border:1px solid #e0e4ea;border-radius:6px;content:" ";height:100%;left:0;position:absolute;top:0;width:100%}.request-card.active[data-v-48794e33]:before{border:2px solid #5f9aff}.request-card .close-btn[data-v-48794e33]{cursor:pointer;display:none!important;position:absolute;right:12px;top:12px}.request-card:hover .close-btn[data-v-48794e33]{display:block!important}.request-card .badges[data-v-48794e33]{align-items:center;display:flex;flex-direction:row;gap:8px;margin-bottom:6px}.request-card .url[data-v-48794e33]{color:#000933;font-family:JetBrains Mono,Consolas,monospace;font-size:14px;word-break:break-all}.request-card .headers .header[data-v-48794e33]{font-family:JetBrains Mono,Consolas,monospace;list-style:none}.request-card .headers .header[data-v-48794e33],.request-card .headers .header ul[data-v-48794e33]{margin:0;padding:0}.request-card .headers .header li[data-v-48794e33]{list-style:none;margin-left:16px;padding-left:6px;position:relative;word-break:break-all}.request-card .headers .header li[data-v-48794e33]:before{background-color:#000;bottom:-12px;content:" ";left:-10px;position:absolute;top:5px;width:1px}.request-card .headers .header li[data-v-48794e33]:not(:first-child):last-child:before{display:none}.request-card .headers .header li[data-v-48794e33]:only-child:before{background-color:#000;bottom:7px;content:" ";display:list-item;height:7px;left:-10px;position:absolute;top:5px;width:1px}.request-card .headers .header li[data-v-48794e33]:after{background-color:#000;content:" ";height:1px;left:-10px;position:absolute;top:12px;width:10px}.request-card .headers .header-key[data-v-48794e33]{font-size:14px;font-weight:700;margin-left:8px;word-break:break-all}.request-card .headers .header-value[data-v-48794e33]{font-size:14px;font-weight:400;margin-left:16px;word-break:break-all}.request-card .sni .sni-content[data-v-48794e33]{font-family:JetBrains Mono,Consolas,monospace;font-size:14px;word-break:break-all}.request-card .section-title[data-v-48794e33]{font-weight:700}.import-requests-modal .import-requests-alert[data-v-8c069d07]{margin-bottom:16px}.import-requests-modal .import-requests-error[data-v-8c069d07]{margin-top:16px}.import-requests-modal .json-editor[data-v-8c069d07]{border:1px solid #e0e4ea;border-radius:4px;height:500px;overflow:hidden;width:100%}.import-requests-modal .warning[data-v-8c069d07]{color:#fabe5f}.url-input[data-v-ccaa94c1]{margin-bottom:32px;width:100%}.request-form[data-v-ccaa94c1] fieldset{border:0;padding:0}.support-text[data-v-11a8483b]{color:#000933;display:flex;flex-direction:row;flex-wrap:wrap;padding-bottom:32px}.support-text[data-v-11a8483b] p{font-size:14px;margin-bottom:0}.router-playground-wrapper .page-header[data-v-1ee3ba9d]{color:#000933;font-size:24px;font-weight:700}.router-playground-wrapper .editor-actions[data-v-1ee3ba9d]{display:flex;flex-direction:row;justify-content:flex-end;margin-top:16px;width:100%}.router-playground-wrapper .router-playground[data-v-1ee3ba9d]{margin:auto}.router-playground-wrapper .router-playground .navigate-back[data-v-1ee3ba9d]{align-items:center;color:#0030cc;cursor:pointer;display:flex;flex-direction:row;font-size:16px;font-weight:700;gap:8px;justify-content:flex-start;margin-bottom:48px;margin-top:10px}.router-playground-wrapper .router-playground .navigate-back .material-icons[data-v-1ee3ba9d]{font-size:14px}.router-playground-wrapper .router-playground .expression-inspirations[data-v-1ee3ba9d]{margin-top:16px}.router-playground-wrapper .router-playground .expression-inspirations .title[data-v-1ee3ba9d]{align-items:center;color:#6c7489;display:flex;flex-direction:row;font-size:14px;font-weight:700;gap:8px;justify-content:flex-start;margin-top:10px}.router-playground-wrapper .router-playground .expression-inspirations .title .material-icons[data-v-1ee3ba9d]{font-size:14px}.router-playground-wrapper .router-playground .expression-inspirations .buttons[data-v-1ee3ba9d]{align-items:center;display:flex;flex-direction:row;gap:8px;margin-top:12px}.router-playground-wrapper .router-playground .expression-inspirations .buttons button.expression-inspiration-item[data-v-1ee3ba9d]{border-style:solid;font-family:JetBrains Mono,Consolas,monospace}.router-playground-wrapper .router-playground .expression-editor-caption[data-v-1ee3ba9d]{align-items:center;display:flex;flex-direction:row;font-size:14px;justify-content:flex-start;margin:8px 0;opacity:.7}.router-playground-wrapper .router-playground .expression-list tbody tr[data-v-1ee3ba9d]{font-family:JetBrains Mono,Consolas,monospace}.router-playground-wrapper .router-playground .routes[data-v-1ee3ba9d]{margin-top:32px}.router-playground-wrapper .router-playground .routes .actions[data-v-1ee3ba9d]{align-items:center;display:flex;flex-direction:row;gap:8px}.router-playground-wrapper .router-playground .import-button[data-v-1ee3ba9d],.router-playground-wrapper .router-playground .export-button[data-v-1ee3ba9d]{margin-right:12px}.router-playground-wrapper .router-playground .route-cards[data-v-1ee3ba9d]{display:grid;gap:16px;grid-template-columns:1fr 1fr 1fr}.router-playground-wrapper .router-playground .route-cards-footer[data-v-1ee3ba9d]{align-items:center;display:flex;flex-direction:row;font-size:14px;justify-content:center;margin:16px 0 8px;opacity:.7}.router-playground-wrapper .link[data-v-1ee3ba9d]{cursor:pointer;margin:0 2px;text-decoration:underline}.router-playground-modal .k-modal-backdrop{overflow-y:scroll}.router-playground-modal .modal-container{max-width:1280px!important;width:100%!important}.router-playground-modal .k-modal-header{margin-bottom:0!important}.router-playground-modal .k-prompt-header hr{margin-bottom:0;margin-top:12px}.router-playground-modal .k-prompt-body hr{margin-bottom:0;margin-top:0}.router-playground-modal .k-prompt-body-content{max-height:800px!important;padding:24px 0}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { AxiosError } from 'axios';
|
|
3
|
-
import type { KongManagerRouteEntityConfig, KonnectRouteEntityConfig } from '../types';
|
|
4
|
-
import '@kong-ui-public/entities-shared/dist/style.css';
|
|
5
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
7
|
-
config: {
|
|
8
|
-
type: PropType<KonnectRouteEntityConfig | KongManagerRouteEntityConfig>;
|
|
9
|
-
required: true;
|
|
10
|
-
validator: (config: KonnectRouteEntityConfig | KongManagerRouteEntityConfig) => boolean;
|
|
11
|
-
};
|
|
12
|
-
/**
|
|
13
|
-
* External link for documentation that determines visibility of Documentation button
|
|
14
|
-
*/
|
|
15
|
-
configCardDoc: {
|
|
16
|
-
type: StringConstructor;
|
|
17
|
-
default: string;
|
|
18
|
-
required: false;
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Control visibility of card title content
|
|
22
|
-
*/
|
|
23
|
-
hideTitle: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
/** The id of the service with which the route is associated */
|
|
28
|
-
serviceId: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
required: false;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
34
|
-
loading: (isLoading: boolean) => any;
|
|
35
|
-
"fetch:error": (error: AxiosError<unknown, any>) => any;
|
|
36
|
-
"fetch:success": (data: Record<string, any>) => any;
|
|
37
|
-
"navigation-click": (id: string, entityType: string) => any;
|
|
38
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
40
|
-
config: {
|
|
41
|
-
type: PropType<KonnectRouteEntityConfig | KongManagerRouteEntityConfig>;
|
|
42
|
-
required: true;
|
|
43
|
-
validator: (config: KonnectRouteEntityConfig | KongManagerRouteEntityConfig) => boolean;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* External link for documentation that determines visibility of Documentation button
|
|
47
|
-
*/
|
|
48
|
-
configCardDoc: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: string;
|
|
51
|
-
required: false;
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Control visibility of card title content
|
|
55
|
-
*/
|
|
56
|
-
hideTitle: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
/** The id of the service with which the route is associated */
|
|
61
|
-
serviceId: {
|
|
62
|
-
type: StringConstructor;
|
|
63
|
-
required: false;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
}>> & Readonly<{
|
|
67
|
-
onLoading?: ((isLoading: boolean) => any) | undefined;
|
|
68
|
-
"onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
|
|
69
|
-
"onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
|
|
70
|
-
"onNavigation-click"?: ((id: string, entityType: string) => any) | undefined;
|
|
71
|
-
}>, {
|
|
72
|
-
configCardDoc: string;
|
|
73
|
-
hideTitle: boolean;
|
|
74
|
-
serviceId: string;
|
|
75
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
76
|
-
declare const _default: typeof __VLS_export;
|
|
77
|
-
export default _default;
|
|
78
|
-
//# sourceMappingURL=RouteConfigCard.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouteConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouteConfigCard.vue"],"names":[],"mappings":"AAoPA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWvC,OAAO,KAAK,EACV,4BAA4B,EAAE,wBAAwB,EACvD,MAAM,UAAU,CAAA;AAEjB,OAAO,gDAAgD,CAAA;AA0TvD,QAAA,MAAM,YAAY;IAGhB,oHAAoH;;cAElG,QAAQ,CAAC,wBAAwB,GAAG,4BAA4B,CAAC;;4BAE7D,wBAAwB,GAAG,4BAA4B,KAAG,OAAO;;IAQvF;;OAEG;;;;;;IAMH;;OAEG;;;;;IAKH,+DAA+D;;;;;;;;;;;;IA3B/D,oHAAoH;;cAElG,QAAQ,CAAC,wBAAwB,GAAG,4BAA4B,CAAC;;4BAE7D,wBAAwB,GAAG,4BAA4B,KAAG,OAAO;;IAQvF;;OAEG;;;;;;IAMH;;OAEG;;;;;IAKH,+DAA+D;;;;;;;;;;;;;;;4EAO/D,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import type { AxiosError } from 'axios';
|
|
2
|
-
import type { PropType } from 'vue';
|
|
3
|
-
import type { BaseRoutePayload, KongManagerRouteFormConfig, KonnectRouteFormConfig, RouteFlavors } from '../types';
|
|
4
|
-
import { RouteFlavor } from '../types';
|
|
5
|
-
import '@kong-ui-public/entities-shared/dist/style.css';
|
|
6
|
-
declare var __VLS_57: {
|
|
7
|
-
canSubmit: boolean;
|
|
8
|
-
cancel: () => void;
|
|
9
|
-
submit: (uncheckedPayload?: BaseRoutePayload) => Promise<void>;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_Slots = {} & {
|
|
12
|
-
'form-actions'?: (props: typeof __VLS_57) => any;
|
|
13
|
-
};
|
|
14
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
16
|
-
config: {
|
|
17
|
-
type: PropType<KonnectRouteFormConfig | KongManagerRouteFormConfig>;
|
|
18
|
-
required: true;
|
|
19
|
-
validator: (config: KonnectRouteFormConfig | KongManagerRouteFormConfig) => boolean;
|
|
20
|
-
};
|
|
21
|
-
/** If a valid routeId is provided, it will put the form in Edit mode instead of Create */
|
|
22
|
-
routeId: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
required: false;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
/** If valid serviceId is provided, don't show service select field */
|
|
28
|
-
serviceId: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
required: false;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
/** Whether show or hide EntityFormSection info column */
|
|
34
|
-
hideSectionsInfo: {
|
|
35
|
-
type: BooleanConstructor;
|
|
36
|
-
required: false;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
39
|
-
/** Whether show or hide Route name field */
|
|
40
|
-
hideNameField: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
required: false;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
/** Whether show or hide Service Select field */
|
|
46
|
-
hideServiceField: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
required: false;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
/** Route flavors to be enabled for this form */
|
|
52
|
-
routeFlavors: {
|
|
53
|
-
type: PropType<RouteFlavors>;
|
|
54
|
-
required: false;
|
|
55
|
-
default: () => {
|
|
56
|
-
traditional: boolean;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
/** Tooltips to show on config tabs */
|
|
60
|
-
configTabTooltips: {
|
|
61
|
-
type: PropType<{
|
|
62
|
-
[RouteFlavor.TRADITIONAL]?: string;
|
|
63
|
-
[RouteFlavor.EXPRESSIONS]?: string;
|
|
64
|
-
} | undefined>;
|
|
65
|
-
required: false;
|
|
66
|
-
default: () => undefined;
|
|
67
|
-
};
|
|
68
|
-
/** Whether to show the expressions modal entry */
|
|
69
|
-
showExpressionsModalEntry: {
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
required: false;
|
|
72
|
-
default: boolean;
|
|
73
|
-
};
|
|
74
|
-
}>, {
|
|
75
|
-
saveFormData: (uncheckedPayload?: BaseRoutePayload) => Promise<void>;
|
|
76
|
-
payload: import("vue").ComputedRef<BaseRoutePayload>;
|
|
77
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
78
|
-
loading: (isLoading: boolean) => any;
|
|
79
|
-
error: (error: AxiosError<unknown, any>) => any;
|
|
80
|
-
notify: (options: {
|
|
81
|
-
message: string;
|
|
82
|
-
type: string;
|
|
83
|
-
}) => any;
|
|
84
|
-
update: (data: BaseRoutePayload) => any;
|
|
85
|
-
"model-updated": (val: BaseRoutePayload) => any;
|
|
86
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
87
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
88
|
-
config: {
|
|
89
|
-
type: PropType<KonnectRouteFormConfig | KongManagerRouteFormConfig>;
|
|
90
|
-
required: true;
|
|
91
|
-
validator: (config: KonnectRouteFormConfig | KongManagerRouteFormConfig) => boolean;
|
|
92
|
-
};
|
|
93
|
-
/** If a valid routeId is provided, it will put the form in Edit mode instead of Create */
|
|
94
|
-
routeId: {
|
|
95
|
-
type: StringConstructor;
|
|
96
|
-
required: false;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
|
-
/** If valid serviceId is provided, don't show service select field */
|
|
100
|
-
serviceId: {
|
|
101
|
-
type: StringConstructor;
|
|
102
|
-
required: false;
|
|
103
|
-
default: string;
|
|
104
|
-
};
|
|
105
|
-
/** Whether show or hide EntityFormSection info column */
|
|
106
|
-
hideSectionsInfo: {
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
required: false;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
/** Whether show or hide Route name field */
|
|
112
|
-
hideNameField: {
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
required: false;
|
|
115
|
-
default: boolean;
|
|
116
|
-
};
|
|
117
|
-
/** Whether show or hide Service Select field */
|
|
118
|
-
hideServiceField: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
required: false;
|
|
121
|
-
default: boolean;
|
|
122
|
-
};
|
|
123
|
-
/** Route flavors to be enabled for this form */
|
|
124
|
-
routeFlavors: {
|
|
125
|
-
type: PropType<RouteFlavors>;
|
|
126
|
-
required: false;
|
|
127
|
-
default: () => {
|
|
128
|
-
traditional: boolean;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
/** Tooltips to show on config tabs */
|
|
132
|
-
configTabTooltips: {
|
|
133
|
-
type: PropType<{
|
|
134
|
-
[RouteFlavor.TRADITIONAL]?: string;
|
|
135
|
-
[RouteFlavor.EXPRESSIONS]?: string;
|
|
136
|
-
} | undefined>;
|
|
137
|
-
required: false;
|
|
138
|
-
default: () => undefined;
|
|
139
|
-
};
|
|
140
|
-
/** Whether to show the expressions modal entry */
|
|
141
|
-
showExpressionsModalEntry: {
|
|
142
|
-
type: BooleanConstructor;
|
|
143
|
-
required: false;
|
|
144
|
-
default: boolean;
|
|
145
|
-
};
|
|
146
|
-
}>> & Readonly<{
|
|
147
|
-
onLoading?: ((isLoading: boolean) => any) | undefined;
|
|
148
|
-
onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
|
|
149
|
-
onNotify?: ((options: {
|
|
150
|
-
message: string;
|
|
151
|
-
type: string;
|
|
152
|
-
}) => any) | undefined;
|
|
153
|
-
onUpdate?: ((data: BaseRoutePayload) => any) | undefined;
|
|
154
|
-
"onModel-updated"?: ((val: BaseRoutePayload) => any) | undefined;
|
|
155
|
-
}>, {
|
|
156
|
-
serviceId: string;
|
|
157
|
-
showExpressionsModalEntry: boolean;
|
|
158
|
-
routeFlavors: RouteFlavors;
|
|
159
|
-
routeId: string;
|
|
160
|
-
hideSectionsInfo: boolean;
|
|
161
|
-
hideNameField: boolean;
|
|
162
|
-
hideServiceField: boolean;
|
|
163
|
-
configTabTooltips: {
|
|
164
|
-
traditional?: string;
|
|
165
|
-
expressions?: string;
|
|
166
|
-
} | undefined;
|
|
167
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
168
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
169
|
-
declare const _default: typeof __VLS_export;
|
|
170
|
-
export default _default;
|
|
171
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
172
|
-
new (): {
|
|
173
|
-
$slots: S;
|
|
174
|
-
};
|
|
175
|
-
};
|
|
176
|
-
//# sourceMappingURL=RouteForm.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouteForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouteForm.vue"],"names":[],"mappings":"AAksBA,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,OAAO,CAAA;AAEtD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAMnC,OAAO,KAAK,EACV,gBAAgB,EAMhB,0BAA0B,EAC1B,sBAAsB,EAGtB,YAAY,EAKb,MAAM,UAAU,CAAA;AACjB,OAAO,EAEL,WAAW,EAIZ,MAAM,UAAU,CAAA;AAIjB,OAAO,gDAAgD,CAAA;AA+yBvD,QAAA,IAAI,QAAQ;;kBArnBc,IAAI;gCA6MiB,gBAAgB,KAAG,OAAO,CAAC,IAAI,CAAC;CAwavD,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKvD,QAAA,MAAM,UAAU;IAId,oHAAoH;;cAElG,QAAQ,CAAC,sBAAsB,GAAG,0BAA0B,CAAC;;4BAEzD,sBAAsB,GAAG,0BAA0B,KAAG,OAAO;;IAQnF,0FAA0F;;;;;;IAM1F,sEAAsE;;;;;;IAMtE,yDAAyD;;;;;;IAMzD,4CAA4C;;;;;;IAM5C,gDAAgD;;;;;;IAMhD,gDAAgD;;cAE9B,QAAQ,CAAC,YAAY,CAAC;;;;;;IAMxC,sCAAsC;;cAEpB,QAAQ,CAAC;YACvB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAA;YAClC,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAA;SACnC,GAAG,SAAS,CAAC;;;;IAIhB,kDAAkD;;;;;;;sCA9eL,gBAAgB,KAAG,OAAO,CAAC,IAAI,CAAC;;;;;;iBA3T3C,MAAM;cAAQ,MAAM;;;;;IA8uBtD,oHAAoH;;cAElG,QAAQ,CAAC,sBAAsB,GAAG,0BAA0B,CAAC;;4BAEzD,sBAAsB,GAAG,0BAA0B,KAAG,OAAO;;IAQnF,0FAA0F;;;;;;IAM1F,sEAAsE;;;;;;IAMtE,yDAAyD;;;;;;IAMzD,4CAA4C;;;;;;IAM5C,gDAAgD;;;;;;IAMhD,gDAAgD;;cAE9B,QAAQ,CAAC,YAAY,CAAC;;;;;;IAMxC,sCAAsC;;cAEpB,QAAQ,CAAC;YACvB,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAA;YAClC,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAA;SACnC,GAAG,SAAS,CAAC;;;;IAIhB,kDAAkD;;;;;;;;;;iBAzyBhB,MAAM;cAAQ,MAAM;;;;;;;;;;;;;sBAmyBtB,MAAM;sBACN,MAAM;;4EAYtC,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"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import '@kong-ui-public/expressions/dist/style.css';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
protocol?: string;
|
|
4
|
-
showExpressionsModalEntry?: boolean;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_ModelProps = {
|
|
7
|
-
modelValue: string;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
-
declare var __VLS_12: {};
|
|
11
|
-
type __VLS_Slots = {} & {
|
|
12
|
-
default?: (props: typeof __VLS_12) => any;
|
|
13
|
-
};
|
|
14
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
"update:modelValue": (value: string) => any;
|
|
16
|
-
} & {
|
|
17
|
-
notify: (options: {
|
|
18
|
-
message: string;
|
|
19
|
-
type: string;
|
|
20
|
-
}) => any;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
23
|
-
onNotify?: ((options: {
|
|
24
|
-
message: string;
|
|
25
|
-
type: string;
|
|
26
|
-
}) => any) | undefined;
|
|
27
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
-
declare const _default: typeof __VLS_export;
|
|
30
|
-
export default _default;
|
|
31
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
32
|
-
new (): {
|
|
33
|
-
$slots: S;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=RouteFormExpressionsEditor.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouteFormExpressionsEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouteFormExpressionsEditor.vue"],"names":[],"mappings":"AAuGA,OAAO,4CAA4C,CAAA;AAInD,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yBAAyB,CAAC,EAAE,OAAO,CAAA;CACpC,CAAC;AAkDF,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;CAClB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA0GxD,QAAA,IAAI,QAAQ,IAAY,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGhD,QAAA,MAAM,UAAU;;;;iBApKoB,MAAM;cAAQ,MAAM;;;;;iBAApB,MAAM;cAAQ,MAAM;;kFAuKtD,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"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ExpressionsEditorState } from '../types';
|
|
2
|
-
type __VLS_Props = {
|
|
3
|
-
protocol?: string;
|
|
4
|
-
showExpressionsModalEntry?: boolean;
|
|
5
|
-
};
|
|
6
|
-
type __VLS_ModelProps = {
|
|
7
|
-
modelValue: string;
|
|
8
|
-
};
|
|
9
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
10
|
-
declare var __VLS_24: {
|
|
11
|
-
expression: {
|
|
12
|
-
value: string;
|
|
13
|
-
update: (value: string) => void;
|
|
14
|
-
};
|
|
15
|
-
state: ExpressionsEditorState;
|
|
16
|
-
};
|
|
17
|
-
type __VLS_Slots = {} & {
|
|
18
|
-
'after-editor'?: (props: typeof __VLS_24) => any;
|
|
19
|
-
};
|
|
20
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
21
|
-
"update:modelValue": (value: string) => any;
|
|
22
|
-
} & {
|
|
23
|
-
notify: (options: {
|
|
24
|
-
message: string;
|
|
25
|
-
type: string;
|
|
26
|
-
}) => any;
|
|
27
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
29
|
-
onNotify?: ((options: {
|
|
30
|
-
message: string;
|
|
31
|
-
type: string;
|
|
32
|
-
}) => any) | undefined;
|
|
33
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
34
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
35
|
-
declare const _default: typeof __VLS_export;
|
|
36
|
-
export default _default;
|
|
37
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
38
|
-
new (): {
|
|
39
|
-
$slots: S;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=RouteFormExpressionsEditorLoader.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouteFormExpressionsEditorLoader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouteFormExpressionsEditorLoader.vue"],"names":[],"mappings":"AAoHA,OAAO,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAoBjD,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,yBAAyB,CAAC,EAAE,OAAO,CAAA;CACpC,CAAC;AA0BF,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;CAClB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAmGxD,QAAA,IAAI,QAAQ;;;wBAzHkB,MAAM;;;CAyHZ,CAAE;AAC1B,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAGvD,QAAA,MAAM,UAAU;;;;iBAtIoB,MAAM;cAAQ,MAAM;;;;;iBAApB,MAAM;cAAQ,MAAM;;kFAyItD,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"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { PROTOCOLS_TO_ROUTE_RULES } from '../constants';
|
|
2
|
-
import { RouteFlavor, type RouteFlavors, type SharedRouteRulesFields, type TypedRouteRulesPayload } from '../types';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
protocols: keyof typeof PROTOCOLS_TO_ROUTE_RULES;
|
|
5
|
-
routeFlavors: RouteFlavors;
|
|
6
|
-
readonly?: boolean;
|
|
7
|
-
recordFlavor?: RouteFlavor;
|
|
8
|
-
showExpressionsModalEntry?: boolean;
|
|
9
|
-
tooltips?: {
|
|
10
|
-
[RouteFlavor.TRADITIONAL]?: string;
|
|
11
|
-
[RouteFlavor.EXPRESSIONS]?: string;
|
|
12
|
-
};
|
|
13
|
-
isWsSupported?: boolean;
|
|
14
|
-
hideProtocols?: boolean;
|
|
15
|
-
};
|
|
16
|
-
type __VLS_ModelProps = {
|
|
17
|
-
'configType': 'basic' | 'advanced';
|
|
18
|
-
'configFlavor': RouteFlavor;
|
|
19
|
-
'fields'?: SharedRouteRulesFields;
|
|
20
|
-
'customMethods'?: Array<{
|
|
21
|
-
label: string;
|
|
22
|
-
value: string;
|
|
23
|
-
}>;
|
|
24
|
-
};
|
|
25
|
-
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
26
|
-
declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
"update:customMethods": (value: {
|
|
28
|
-
label: string;
|
|
29
|
-
value: string;
|
|
30
|
-
}[]) => any;
|
|
31
|
-
"update:fields": (value: SharedRouteRulesFields) => any;
|
|
32
|
-
notify: (notification: {
|
|
33
|
-
message: string;
|
|
34
|
-
type: string;
|
|
35
|
-
}) => any;
|
|
36
|
-
"update:payload": (payload?: TypedRouteRulesPayload | undefined) => any;
|
|
37
|
-
"update:protocols": (protocols: "grpc" | "grpcs" | "http" | "https" | "tcp" | "tls" | "tls_passthrough" | "udp" | "ws" | "wss" | "http,https" | "https,http" | "grpc,grpcs" | "grpcs,grpc" | "tls,udp" | "udp,tls" | "tcp,udp" | "udp,tcp" | "tcp,tls" | "tls,tcp" | "tcp,tls,udp" | "tls,udp,tcp" | "udp,tcp,tls" | "ws,wss" | "wss,ws") => any;
|
|
38
|
-
"update:configType": (value: "basic" | "advanced") => any;
|
|
39
|
-
"update:configFlavor": (value: RouteFlavor) => any;
|
|
40
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
41
|
-
"onUpdate:customMethods"?: ((value: {
|
|
42
|
-
label: string;
|
|
43
|
-
value: string;
|
|
44
|
-
}[]) => any) | undefined;
|
|
45
|
-
"onUpdate:fields"?: ((value: SharedRouteRulesFields) => any) | undefined;
|
|
46
|
-
onNotify?: ((notification: {
|
|
47
|
-
message: string;
|
|
48
|
-
type: string;
|
|
49
|
-
}) => any) | undefined;
|
|
50
|
-
"onUpdate:payload"?: ((payload?: TypedRouteRulesPayload | undefined) => any) | undefined;
|
|
51
|
-
"onUpdate:protocols"?: ((protocols: "grpc" | "grpcs" | "http" | "https" | "tcp" | "tls" | "tls_passthrough" | "udp" | "ws" | "wss" | "http,https" | "https,http" | "grpc,grpcs" | "grpcs,grpc" | "tls,udp" | "udp,tls" | "tcp,udp" | "udp,tcp" | "tcp,tls" | "tls,tcp" | "tcp,tls,udp" | "tls,udp,tcp" | "udp,tcp,tls" | "ws,wss" | "wss,ws") => any) | undefined;
|
|
52
|
-
"onUpdate:configType"?: ((value: "basic" | "advanced") => any) | undefined;
|
|
53
|
-
"onUpdate:configFlavor"?: ((value: RouteFlavor) => any) | undefined;
|
|
54
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
55
|
-
declare const _default: typeof __VLS_export;
|
|
56
|
-
export default _default;
|
|
57
|
-
//# sourceMappingURL=RouteFormRulesComposer.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouteFormRulesComposer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouteFormRulesComposer.vue"],"names":[],"mappings":"AA6XA,OAAO,EAA6E,wBAAwB,EAAE,MAAM,cAAc,CAAA;AAClI,OAAO,EACL,WAAW,EAQX,KAAK,YAAY,EACjB,KAAK,sBAAsB,EAI3B,KAAK,sBAAsB,EAC5B,MAAM,UAAU,CAAA;AAIjB,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,MAAM,OAAO,wBAAwB,CAAA;IAChD,YAAY,EAAE,YAAY,CAAA;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,WAAW,CAAA;IAC1B,yBAAyB,CAAC,EAAE,OAAO,CAAA;IACnC,QAAQ,CAAC,EAAE;QACT,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAA;QAClC,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC,EAAE,MAAM,CAAA;KACnC,CAAA;IACD,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AA2NF,KAAK,gBAAgB,GAAG;IACxB,YAAY,EAAE,OAAO,GAAG,UAAU,CAAC;IACnC,cAAc,EAAE,WAAW,CAAC;IAC5B,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAClC,eAAe,CAAC,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACzD,CAAC;AAQF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAwTxD,QAAA,MAAM,YAAY;;eA3T6B,MAAM;eAAS,MAAM;;;;iBA/MhC,MAAM;cAAQ,MAAM;;;;;;;;eA+MT,MAAM;eAAS,MAAM;;;;iBA/MhC,MAAM;cAAQ,MAAM;;;;;;kFA6gBtD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { AxiosError } from 'axios';
|
|
3
|
-
import type { HeaderTag } from '@kong/kongponents';
|
|
4
|
-
import type { KongManagerRouteListConfig, KonnectRouteListConfig, EntityRow, CopyEventPayload } from '../types';
|
|
5
|
-
import '@kong-ui-public/entities-shared/dist/style.css';
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
8
|
-
config: {
|
|
9
|
-
type: PropType<KonnectRouteListConfig | KongManagerRouteListConfig>;
|
|
10
|
-
required: true;
|
|
11
|
-
validator: (config: KonnectRouteListConfig | KongManagerRouteListConfig) => boolean;
|
|
12
|
-
};
|
|
13
|
-
cacheIdentifier: {
|
|
14
|
-
type: StringConstructor;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
|
|
18
|
-
canCreate: {
|
|
19
|
-
type: PropType<() => boolean | Promise<boolean>>;
|
|
20
|
-
required: false;
|
|
21
|
-
default: () => Promise<boolean>;
|
|
22
|
-
};
|
|
23
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
|
|
24
|
-
canDelete: {
|
|
25
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
26
|
-
required: false;
|
|
27
|
-
default: () => Promise<boolean>;
|
|
28
|
-
};
|
|
29
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
|
|
30
|
-
canEdit: {
|
|
31
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
32
|
-
required: false;
|
|
33
|
-
default: () => Promise<boolean>;
|
|
34
|
-
};
|
|
35
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
|
|
36
|
-
canRetrieve: {
|
|
37
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
38
|
-
required: false;
|
|
39
|
-
default: () => Promise<boolean>;
|
|
40
|
-
};
|
|
41
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can start debugger session on a given entity */
|
|
42
|
-
canDebug: {
|
|
43
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
44
|
-
required: false;
|
|
45
|
-
default: () => Promise<boolean>;
|
|
46
|
-
};
|
|
47
|
-
title: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
titleTag: {
|
|
52
|
-
type: PropType<HeaderTag>;
|
|
53
|
-
default: string;
|
|
54
|
-
};
|
|
55
|
-
/** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
|
|
56
|
-
useActionOutside: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
hideTraditionalColumns: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
hasExpressionColumn: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
69
|
-
error: (error: AxiosError<unknown, any>) => any;
|
|
70
|
-
"click:learn-more": () => any;
|
|
71
|
-
"copy:success": (payload: CopyEventPayload) => any;
|
|
72
|
-
"copy:error": (payload: CopyEventPayload) => any;
|
|
73
|
-
"delete:success": (route: EntityRow) => any;
|
|
74
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
76
|
-
config: {
|
|
77
|
-
type: PropType<KonnectRouteListConfig | KongManagerRouteListConfig>;
|
|
78
|
-
required: true;
|
|
79
|
-
validator: (config: KonnectRouteListConfig | KongManagerRouteListConfig) => boolean;
|
|
80
|
-
};
|
|
81
|
-
cacheIdentifier: {
|
|
82
|
-
type: StringConstructor;
|
|
83
|
-
default: string;
|
|
84
|
-
};
|
|
85
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
|
|
86
|
-
canCreate: {
|
|
87
|
-
type: PropType<() => boolean | Promise<boolean>>;
|
|
88
|
-
required: false;
|
|
89
|
-
default: () => Promise<boolean>;
|
|
90
|
-
};
|
|
91
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
|
|
92
|
-
canDelete: {
|
|
93
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
94
|
-
required: false;
|
|
95
|
-
default: () => Promise<boolean>;
|
|
96
|
-
};
|
|
97
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
|
|
98
|
-
canEdit: {
|
|
99
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
100
|
-
required: false;
|
|
101
|
-
default: () => Promise<boolean>;
|
|
102
|
-
};
|
|
103
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
|
|
104
|
-
canRetrieve: {
|
|
105
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
106
|
-
required: false;
|
|
107
|
-
default: () => Promise<boolean>;
|
|
108
|
-
};
|
|
109
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can start debugger session on a given entity */
|
|
110
|
-
canDebug: {
|
|
111
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
112
|
-
required: false;
|
|
113
|
-
default: () => Promise<boolean>;
|
|
114
|
-
};
|
|
115
|
-
title: {
|
|
116
|
-
type: StringConstructor;
|
|
117
|
-
default: string;
|
|
118
|
-
};
|
|
119
|
-
titleTag: {
|
|
120
|
-
type: PropType<HeaderTag>;
|
|
121
|
-
default: string;
|
|
122
|
-
};
|
|
123
|
-
/** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
|
|
124
|
-
useActionOutside: {
|
|
125
|
-
type: BooleanConstructor;
|
|
126
|
-
default: boolean;
|
|
127
|
-
};
|
|
128
|
-
hideTraditionalColumns: {
|
|
129
|
-
type: BooleanConstructor;
|
|
130
|
-
default: boolean;
|
|
131
|
-
};
|
|
132
|
-
hasExpressionColumn: {
|
|
133
|
-
type: BooleanConstructor;
|
|
134
|
-
default: boolean;
|
|
135
|
-
};
|
|
136
|
-
}>> & Readonly<{
|
|
137
|
-
onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
|
|
138
|
-
"onClick:learn-more"?: (() => any) | undefined;
|
|
139
|
-
"onCopy:success"?: ((payload: CopyEventPayload) => any) | undefined;
|
|
140
|
-
"onCopy:error"?: ((payload: CopyEventPayload) => any) | undefined;
|
|
141
|
-
"onDelete:success"?: ((route: EntityRow) => any) | undefined;
|
|
142
|
-
}>, {
|
|
143
|
-
title: string;
|
|
144
|
-
titleTag: HeaderTag;
|
|
145
|
-
cacheIdentifier: string;
|
|
146
|
-
canCreate: () => boolean | Promise<boolean>;
|
|
147
|
-
canDelete: (row: EntityRow) => boolean | Promise<boolean>;
|
|
148
|
-
canEdit: (row: EntityRow) => boolean | Promise<boolean>;
|
|
149
|
-
canRetrieve: (row: EntityRow) => boolean | Promise<boolean>;
|
|
150
|
-
canDebug: (row: EntityRow) => boolean | Promise<boolean>;
|
|
151
|
-
useActionOutside: boolean;
|
|
152
|
-
hideTraditionalColumns: boolean;
|
|
153
|
-
hasExpressionColumn: boolean;
|
|
154
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
155
|
-
declare const _default: typeof __VLS_export;
|
|
156
|
-
export default _default;
|
|
157
|
-
//# sourceMappingURL=RouteList.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouteList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RouteList.vue"],"names":[],"mappings":"AAyqBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAIvC,OAAO,KAAK,EAAyB,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAezE,OAAO,KAAK,EACV,0BAA0B,EAC1B,sBAAsB,EACtB,SAAS,EACT,gBAAgB,EACjB,MAAM,UAAU,CAAA;AASjB,OAAO,gDAAgD,CAAA;AA6vCvD,QAAA,MAAM,YAAY;IAGhB,oHAAoH;;cAElG,QAAQ,CAAC,sBAAsB,GAAG,0BAA0B,CAAC;;4BAEzD,sBAAsB,GAAG,0BAA0B,KAAG,OAAO;;;;;;IAYnF,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,8IAA8I;;cAE1H,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;cAS1D,QAAQ,CAAC,SAAS,CAAC;;;IAGrC,iHAAiH;;;;;;;;;;;;;;;;;;;;IAtDjH,oHAAoH;;cAElG,QAAQ,CAAC,sBAAsB,GAAG,0BAA0B,CAAC;;4BAEzD,sBAAsB,GAAG,0BAA0B,KAAG,OAAO;;;;;;IAYnF,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,8IAA8I;;cAE1H,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;cAS1D,QAAQ,CAAC,SAAS,CAAC;;;IAGrC,iHAAiH;;;;;;;;;;;;;;;;;;;;;;;qBApC9E,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;qBAM1B,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;mBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;uBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;oBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;;4EA0B3E,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|