@kong-ui-public/entities-certificates 3.8.28-pr.2132.c7fba69a4.0 → 3.8.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/entities-certificates.es.js +11066 -0
  2. package/dist/entities-certificates.umd.js +117 -0
  3. package/dist/style.css +1 -0
  4. package/dist/types/ca-certificates-endpoints.d.ts +20 -0
  5. package/dist/types/ca-certificates-endpoints.d.ts.map +1 -0
  6. package/dist/types/certificates-endpoints.d.ts +20 -0
  7. package/dist/types/certificates-endpoints.d.ts.map +1 -0
  8. package/dist/types/components/CACertificateConfigCard.vue.d.ts +62 -0
  9. package/dist/types/components/CACertificateConfigCard.vue.d.ts.map +1 -0
  10. package/dist/types/components/CACertificateForm.vue.d.ts +43 -0
  11. package/dist/types/components/CACertificateForm.vue.d.ts.map +1 -0
  12. package/dist/types/components/CACertificateList.vue.d.ts +123 -0
  13. package/dist/types/components/CACertificateList.vue.d.ts.map +1 -0
  14. package/dist/types/components/CertificateConfigCard.vue.d.ts +62 -0
  15. package/dist/types/components/CertificateConfigCard.vue.d.ts.map +1 -0
  16. package/dist/types/components/CertificateForm.vue.d.ts +56 -0
  17. package/dist/types/components/CertificateForm.vue.d.ts.map +1 -0
  18. package/dist/types/components/CertificateFormSniField.vue.d.ts +42 -0
  19. package/dist/types/components/CertificateFormSniField.vue.d.ts.map +1 -0
  20. package/dist/types/components/CertificateList.vue.d.ts +137 -0
  21. package/dist/types/components/CertificateList.vue.d.ts.map +1 -0
  22. package/dist/types/composables/index.d.ts +10 -0
  23. package/dist/types/composables/index.d.ts.map +1 -0
  24. package/dist/types/composables/useCertificate.d.ts +16 -0
  25. package/dist/types/composables/useCertificate.d.ts.map +1 -0
  26. package/dist/types/composables/useI18n.d.ts +9 -0
  27. package/dist/types/composables/useI18n.d.ts.map +1 -0
  28. package/dist/types/composables/x509Helper.d.ts +5 -0
  29. package/dist/types/composables/x509Helper.d.ts.map +1 -0
  30. package/dist/types/index.d.ts +14 -0
  31. package/dist/types/index.d.ts.map +1 -0
  32. package/dist/types/types/certificate-config-card.d.ts +33 -0
  33. package/dist/types/types/certificate-config-card.d.ts.map +1 -0
  34. package/dist/types/types/certificate-form.d.ts +46 -0
  35. package/dist/types/types/certificate-form.d.ts.map +1 -0
  36. package/dist/types/types/certificate-list.d.ts +33 -0
  37. package/dist/types/types/certificate-list.d.ts.map +1 -0
  38. package/dist/types/types/index.d.ts +6 -0
  39. package/dist/types/types/index.d.ts.map +1 -0
  40. package/dist/types/types/x509.d.ts +8 -0
  41. package/dist/types/types/x509.d.ts.map +1 -0
  42. package/package.json +3 -3
package/dist/style.css ADDED
@@ -0,0 +1 @@
1
+ .config-card-fieldset[data-v-f7096c33]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-f7096c33]{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-5f9aa0e8]{align-items:center;border-bottom:var(--2f90d7f7);box-sizing:border-box;display:var(--668a792a);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-5f9aa0e8]{box-sizing:border-box;padding-right:16px;width:var(--5bc9ad14)}.config-card-details-row .config-card-details-label label[data-v-5f9aa0e8]{color:#3a3f51;display:inline-flex;max-width:100%}.config-card-details-row .config-card-details-label label .label-content[data-v-5f9aa0e8]{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-5f9aa0e8]{min-width:0}.config-card-details-row .config-card-details-value[data-v-5f9aa0e8]{box-sizing:border-box;width:var(--5bc5215e)}.config-card-details-row .config-card-details-value .truncated[data-v-5f9aa0e8]{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-5f9aa0e8]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-5f9aa0e8] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-5f9aa0e8]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-5f9aa0e8]{margin-right:4px}.config-card-details-row[data-v-5f9aa0e8] .k-label{margin-bottom:0}.config-card-details-row[data-v-5f9aa0e8] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-5f9aa0e8] .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(--54aebfa2);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-d67757a9]{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-dd0edd92]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-dd0edd92]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-dd0edd92]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-dd0edd92] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-dd0edd92]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-b073d014]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form[data-v-b073d014] .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-b073d014] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-b073d014] .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-b073d014] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.form-actions[data-v-b073d014]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.form-actions[data-v-b073d014] .k-button:last-of-type,.form-actions[data-v-b073d014] .k-button:nth-last-of-type(2){margin-left:16px}.content-wrapper[data-v-a3a65cac] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-254b0222]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-254b0222]{margin-left:auto}.kong-ui-entity-base-table .hidden[data-v-254b0222]{display:none}.kong-ui-entity-base-table[data-v-254b0222] .empty-state-icon-gateway{background-color:#ecfcff;border-radius:4px;padding:8px}.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-d1bb74d1]{width:100%}.kong-ui-entity-filter-clear[data-v-d1bb74d1]{cursor:pointer}.kong-ui-entity-filter[data-v-d1bb74d1]{display:flex;position:relative}.kong-ui-entity-filter[data-v-d1bb74d1] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-d1bb74d1] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-d1bb74d1]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-d1bb74d1]{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-d1bb74d1]{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-d1bb74d1]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-d1bb74d1]{color:#232633}.menu-item-expand-icon[data-v-d1bb74d1]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-d1bb74d1]{transform:rotate(180deg)}.menu-item-indicator[data-v-d1bb74d1]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-d1bb74d1]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-d1bb74d1] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-d1bb74d1] .k-input{width:100%}.menu-item-body[data-v-d1bb74d1] .k-select-input .input{font-size:12px}.menu-item-body[data-v-d1bb74d1] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-d1bb74d1]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-d1bb74d1]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-d1bb74d1]{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-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-b6376b66]{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-b6376b66]{padding:64px 96px}}.kong-ui-public-entity-empty-state .empty-state-image[data-v-b6376b66]{margin-bottom:8px}.kong-ui-public-entity-empty-state .entity-empty-state-content[data-v-b6376b66]{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-b6376b66]{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-b6376b66]{font-size:18px}.kong-ui-public-entity-empty-state .entity-empty-state-description[data-v-b6376b66],.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-b6376b66]{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-b6376b66],.kong-ui-public-entity-empty-state .entity-empty-state-pricing p[data-v-b6376b66]{margin:0}.kong-ui-public-entity-empty-state .entity-empty-state-pricing[data-v-b6376b66]{margin-top:16px}.kong-ui-public-entity-empty-state .entity-empty-state-message[data-v-b6376b66]{color:#52596e}.kong-ui-public-entity-empty-state .entity-empty-state-action[data-v-b6376b66]{align-items:center;display:flex;gap:12px}.kong-ui-public-entity-empty-state .entity-empty-state-card-container[data-v-b6376b66]{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-b6376b66]{width:640px}}.kong-ui-public-entity-empty-state .entity-empty-state-card-container .entity-empty-state-card[data-v-b6376b66]{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-b6376b66]{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-b6376b66] .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-b6376b66] .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-b6376b66] .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-b6376b66]{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-b6376b66]{width:640px}}.button-row[data-v-93203b6f]{align-items:center;display:flex;gap:12px}.kong-ui-entities-certificates-list[data-v-93203b6f]{width:100%}.kong-ui-entities-certificates-list .kong-ui-entity-filter-input[data-v-93203b6f]{margin-right:12px}.sni-field-container .sni-field-input[data-v-89e994ac]{align-items:center;display:flex;gap:24px}.sni-field-container .sni-field-input[data-v-89e994ac]:not(:last-child){margin-bottom:16px}.sni-field-container .sni-field-controls-container[data-v-89e994ac]{display:flex;gap:4px}.kong-ui-entities-certificates-form[data-v-7988c8e6],.kong-ui-entities-certificates-form .certificate-form-textarea[data-v-7988c8e6]{width:100%}.kong-ui-entities-certificates-form .certificate-form-textarea[data-v-7988c8e6] .k-tooltip{max-width:300px}.kong-ui-ca-certificate-entity-config-card[data-v-03b2633e] .config-badge{margin-right:4px}.kong-ui-ca-certificate-entity-config-card .metadata-label[data-v-03b2633e]{font-size:16px}.button-row[data-v-3f8f4a0c]{align-items:center;display:flex;gap:12px}.kong-ui-entities-ca-certificates-list[data-v-3f8f4a0c]{width:100%}.kong-ui-entities-ca-certificates-list .kong-ui-entity-filter-input[data-v-3f8f4a0c]{margin-right:12px}.kong-ui-entities-ca-certificates-form[data-v-a850d9bb],.kong-ui-entities-ca-certificates-form .certificate-form-textarea[data-v-a850d9bb]{width:100%}.kong-ui-certificate-entity-config-card[data-v-605d185b] .config-badge{margin-right:4px}.kong-ui-certificate-entity-config-card .metadata-label[data-v-605d185b]{font-size:16px}
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ list: {
3
+ konnect: string;
4
+ kongManager: string;
5
+ };
6
+ form: {
7
+ konnect: {
8
+ create: string;
9
+ edit: string;
10
+ validate: string;
11
+ };
12
+ kongManager: {
13
+ create: string;
14
+ edit: string;
15
+ validate: string;
16
+ };
17
+ };
18
+ };
19
+ export default _default;
20
+ //# sourceMappingURL=ca-certificates-endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ca-certificates-endpoints.d.ts","sourceRoot":"","sources":["../../src/ca-certificates-endpoints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAGA,wBAiBC"}
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ list: {
3
+ konnect: string;
4
+ kongManager: string;
5
+ };
6
+ form: {
7
+ konnect: {
8
+ create: string;
9
+ edit: string;
10
+ validate: string;
11
+ };
12
+ kongManager: {
13
+ create: string;
14
+ edit: string;
15
+ validate: string;
16
+ };
17
+ };
18
+ };
19
+ export default _default;
20
+ //# sourceMappingURL=certificates-endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"certificates-endpoints.d.ts","sourceRoot":"","sources":["../../src/certificates-endpoints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAGA,wBAiBC"}
@@ -0,0 +1,62 @@
1
+ import type { PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import type { KongManagerCertificateEntityConfig, KonnectCertificateEntityConfig } from '../types';
4
+ import '@kong-ui-public/entities-shared/dist/style.css';
5
+ declare const _default: 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<KonnectCertificateEntityConfig | KongManagerCertificateEntityConfig>;
9
+ required: true;
10
+ validator: (config: KonnectCertificateEntityConfig | KongManagerCertificateEntityConfig) => 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
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
+ loading: (isLoading: boolean) => any;
29
+ "fetch:success": (data: Record<string, any>) => any;
30
+ "fetch:error": (error: AxiosError<unknown, any>) => any;
31
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
33
+ config: {
34
+ type: PropType<KonnectCertificateEntityConfig | KongManagerCertificateEntityConfig>;
35
+ required: true;
36
+ validator: (config: KonnectCertificateEntityConfig | KongManagerCertificateEntityConfig) => boolean;
37
+ };
38
+ /**
39
+ * External link for documentation that determines visibility of Documentation button
40
+ */
41
+ configCardDoc: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ required: false;
45
+ };
46
+ /**
47
+ * Control visibility of card title content
48
+ */
49
+ hideTitle: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ }>> & Readonly<{
54
+ onLoading?: ((isLoading: boolean) => any) | undefined;
55
+ "onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
56
+ "onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
57
+ }>, {
58
+ configCardDoc: string;
59
+ hideTitle: boolean;
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
+ export default _default;
62
+ //# sourceMappingURL=CACertificateConfigCard.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CACertificateConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CACertificateConfigCard.vue"],"names":[],"mappings":"AA2NA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,kCAAkC,EAAE,8BAA8B,EAA+C,MAAM,UAAU,CAAA;AAY/I,OAAO,gDAAgD,CAAA;;IAuYrD,oHAAoH;;cAElG,QAAQ,CAAC,8BAA8B,GAAG,kCAAkC,CAAC;;4BAEzE,8BAA8B,GAAG,kCAAkC,KAAG,OAAO;;IAQnG;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;IAtBH,oHAAoH;;cAElG,QAAQ,CAAC,8BAA8B,GAAG,kCAAkC,CAAC;;4BAEzE,8BAA8B,GAAG,kCAAkC,KAAG,OAAO;;IAQnG;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;;;;AAjCL,wBAuCG"}
@@ -0,0 +1,43 @@
1
+ import type { PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import type { KonnectCertificateFormConfig, KongManagerCertificateFormConfig } from '../types';
4
+ import '@kong-ui-public/entities-shared/dist/style.css';
5
+ declare const _default: 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<KonnectCertificateFormConfig | KongManagerCertificateFormConfig>;
9
+ required: true;
10
+ validator: (config: KonnectCertificateFormConfig | KongManagerCertificateFormConfig) => boolean;
11
+ };
12
+ /** If a valid certificate ID is provided, it will put the form in Edit mode instead of Create */
13
+ certificateId: {
14
+ type: StringConstructor;
15
+ required: false;
16
+ default: string;
17
+ };
18
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
+ error: (error: AxiosError<unknown, any>) => any;
20
+ update: (data: Record<string, any>) => any;
21
+ loading: (isLoading: boolean) => any;
22
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
24
+ config: {
25
+ type: PropType<KonnectCertificateFormConfig | KongManagerCertificateFormConfig>;
26
+ required: true;
27
+ validator: (config: KonnectCertificateFormConfig | KongManagerCertificateFormConfig) => boolean;
28
+ };
29
+ /** If a valid certificate ID is provided, it will put the form in Edit mode instead of Create */
30
+ certificateId: {
31
+ type: StringConstructor;
32
+ required: false;
33
+ default: string;
34
+ };
35
+ }>> & Readonly<{
36
+ onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
37
+ onUpdate?: ((data: Record<string, any>) => any) | undefined;
38
+ onLoading?: ((isLoading: boolean) => any) | undefined;
39
+ }>, {
40
+ certificateId: string;
41
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
+ export default _default;
43
+ //# sourceMappingURL=CACertificateForm.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CACertificateForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CACertificateForm.vue"],"names":[],"mappings":"AAiQA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,OAAO,CAAA;AACtD,OAAO,KAAK,EACV,4BAA4B,EAC5B,gCAAgC,EAGjC,MAAM,UAAU,CAAA;AAWjB,OAAO,gDAAgD,CAAA;;IAwYrD,oHAAoH;;cAElG,QAAQ,CAAC,4BAA4B,GAAG,gCAAgC,CAAC;;4BAErE,4BAA4B,GAAG,gCAAgC,KAAG,OAAO;;IAQ/F,iGAAiG;;;;;;;;;;;IAZjG,oHAAoH;;cAElG,QAAQ,CAAC,4BAA4B,GAAG,gCAAgC,CAAC;;4BAErE,4BAA4B,GAAG,gCAAgC,KAAG,OAAO;;IAQ/F,iGAAiG;;;;;;;;;;;;;AAvBnG,wBA8BG"}
@@ -0,0 +1,123 @@
1
+ import type { PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import type { KongManagerCertificateListConfig, KonnectCertificateListConfig, EntityRow, CopyEventPayload } from '../types';
4
+ import '@kong-ui-public/entities-shared/dist/style.css';
5
+ declare const _default: 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<KonnectCertificateListConfig | KongManagerCertificateListConfig>;
9
+ required: true;
10
+ validator: (config: KonnectCertificateListConfig | KongManagerCertificateListConfig) => boolean;
11
+ };
12
+ cacheIdentifier: {
13
+ type: StringConstructor;
14
+ default: string;
15
+ };
16
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
17
+ canCreate: {
18
+ type: PropType<() => boolean | Promise<boolean>>;
19
+ required: false;
20
+ default: () => Promise<boolean>;
21
+ };
22
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
23
+ canDelete: {
24
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
25
+ required: false;
26
+ default: () => Promise<boolean>;
27
+ };
28
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
29
+ canEdit: {
30
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
31
+ required: false;
32
+ default: () => Promise<boolean>;
33
+ };
34
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
35
+ canRetrieve: {
36
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
37
+ required: false;
38
+ default: () => Promise<boolean>;
39
+ };
40
+ /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
41
+ useActionOutside: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ /**
46
+ * Enables the new empty state design, this prop can be removed when
47
+ * the khcp-14756-empty-states-m2 FF is removed.
48
+ */
49
+ enableV2EmptyStates: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
54
+ error: (error: AxiosError<unknown, any>) => any;
55
+ "click:learn-more": () => any;
56
+ "copy:success": (payload: CopyEventPayload) => any;
57
+ "copy:error": (payload: CopyEventPayload) => any;
58
+ "delete:success": (caCertificate: EntityRow) => any;
59
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
60
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
61
+ config: {
62
+ type: PropType<KonnectCertificateListConfig | KongManagerCertificateListConfig>;
63
+ required: true;
64
+ validator: (config: KonnectCertificateListConfig | KongManagerCertificateListConfig) => boolean;
65
+ };
66
+ cacheIdentifier: {
67
+ type: StringConstructor;
68
+ default: string;
69
+ };
70
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
71
+ canCreate: {
72
+ type: PropType<() => boolean | Promise<boolean>>;
73
+ required: false;
74
+ default: () => Promise<boolean>;
75
+ };
76
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
77
+ canDelete: {
78
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
79
+ required: false;
80
+ default: () => Promise<boolean>;
81
+ };
82
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
83
+ canEdit: {
84
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
85
+ required: false;
86
+ default: () => Promise<boolean>;
87
+ };
88
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
89
+ canRetrieve: {
90
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
91
+ required: false;
92
+ default: () => Promise<boolean>;
93
+ };
94
+ /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
95
+ useActionOutside: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ /**
100
+ * Enables the new empty state design, this prop can be removed when
101
+ * the khcp-14756-empty-states-m2 FF is removed.
102
+ */
103
+ enableV2EmptyStates: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ }>> & Readonly<{
108
+ onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
109
+ "onClick:learn-more"?: (() => any) | undefined;
110
+ "onCopy:success"?: ((payload: CopyEventPayload) => any) | undefined;
111
+ "onCopy:error"?: ((payload: CopyEventPayload) => any) | undefined;
112
+ "onDelete:success"?: ((caCertificate: EntityRow) => any) | undefined;
113
+ }>, {
114
+ cacheIdentifier: string;
115
+ canCreate: () => boolean | Promise<boolean>;
116
+ canDelete: (row: EntityRow) => boolean | Promise<boolean>;
117
+ canEdit: (row: EntityRow) => boolean | Promise<boolean>;
118
+ canRetrieve: (row: EntityRow) => boolean | Promise<boolean>;
119
+ useActionOutside: boolean;
120
+ enableV2EmptyStates: boolean;
121
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
122
+ export default _default;
123
+ //# sourceMappingURL=CACertificateList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CACertificateList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CACertificateList.vue"],"names":[],"mappings":"AAkkBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAsBvC,OAAO,KAAK,EACV,gCAAgC,EAChC,4BAA4B,EAC5B,SAAS,EACT,gBAAgB,EACjB,MAAM,UAAU,CAAA;AAQjB,OAAO,gDAAgD,CAAA;;IAggCrD,oHAAoH;;cAElG,QAAQ,CAAC,4BAA4B,GAAG,gCAAgC,CAAC;;4BAErE,4BAA4B,GAAG,gCAAgC,KAAG,OAAO;;;;;;IAY/F,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,iHAAiH;;;;;IAKjH;;;OAGG;;;;;;;;;;;;IAhDH,oHAAoH;;cAElG,QAAQ,CAAC,4BAA4B,GAAG,gCAAgC,CAAC;;4BAErE,4BAA4B,GAAG,gCAAgC,KAAG,OAAO;;;;;;IAY/F,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,iHAAiH;;;;;IAKjH;;;OAGG;;;;;;;;;;;;;qBA9BgC,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;;;;AAjD7E,wBAmEG"}
@@ -0,0 +1,62 @@
1
+ import type { PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import type { KongManagerCertificateEntityConfig, KonnectCertificateEntityConfig } from '../types';
4
+ import '@kong-ui-public/entities-shared/dist/style.css';
5
+ declare const _default: 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<KonnectCertificateEntityConfig | KongManagerCertificateEntityConfig>;
9
+ required: true;
10
+ validator: (config: KonnectCertificateEntityConfig | KongManagerCertificateEntityConfig) => 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
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
+ loading: (isLoading: boolean) => any;
29
+ "fetch:success": (data: Record<string, any>) => any;
30
+ "fetch:error": (error: AxiosError<unknown, any>) => any;
31
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
33
+ config: {
34
+ type: PropType<KonnectCertificateEntityConfig | KongManagerCertificateEntityConfig>;
35
+ required: true;
36
+ validator: (config: KonnectCertificateEntityConfig | KongManagerCertificateEntityConfig) => boolean;
37
+ };
38
+ /**
39
+ * External link for documentation that determines visibility of Documentation button
40
+ */
41
+ configCardDoc: {
42
+ type: StringConstructor;
43
+ default: string;
44
+ required: false;
45
+ };
46
+ /**
47
+ * Control visibility of card title content
48
+ */
49
+ hideTitle: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ }>> & Readonly<{
54
+ onLoading?: ((isLoading: boolean) => any) | undefined;
55
+ "onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
56
+ "onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
57
+ }>, {
58
+ configCardDoc: string;
59
+ hideTitle: boolean;
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
+ export default _default;
62
+ //# sourceMappingURL=CertificateConfigCard.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CertificateConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CertificateConfigCard.vue"],"names":[],"mappings":"AA6UA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,kCAAkC,EAAE,8BAA8B,EAA6C,MAAM,UAAU,CAAA;AAY7I,OAAO,gDAAgD,CAAA;;IAuhBrD,oHAAoH;;cAElG,QAAQ,CAAC,8BAA8B,GAAG,kCAAkC,CAAC;;4BAEzE,8BAA8B,GAAG,kCAAkC,KAAG,OAAO;;IAQnG;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;IAtBH,oHAAoH;;cAElG,QAAQ,CAAC,8BAA8B,GAAG,kCAAkC,CAAC;;4BAEzE,8BAA8B,GAAG,kCAAkC,KAAG,OAAO;;IAQnG;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;;;;AAjCL,wBAuCG"}
@@ -0,0 +1,56 @@
1
+ import type { PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import type { KonnectCertificateFormConfig, KongManagerCertificateFormConfig } from '../types';
4
+ import '@kong-ui-public/entities-shared/dist/style.css';
5
+ declare const _default: 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<KonnectCertificateFormConfig | KongManagerCertificateFormConfig>;
9
+ required: true;
10
+ validator: (config: KonnectCertificateFormConfig | KongManagerCertificateFormConfig) => boolean;
11
+ };
12
+ /** If a valid certificate ID is provided, it will put the form in Edit mode instead of Create */
13
+ certificateId: {
14
+ type: StringConstructor;
15
+ required: false;
16
+ default: string;
17
+ };
18
+ /** If true, the SNI field will be shown */
19
+ showSnisField: {
20
+ type: BooleanConstructor;
21
+ required: false;
22
+ default: boolean;
23
+ };
24
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
25
+ error: (error: AxiosError<unknown, any>) => any;
26
+ update: (data: Record<string, any>) => any;
27
+ loading: (isLoading: boolean) => any;
28
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
30
+ config: {
31
+ type: PropType<KonnectCertificateFormConfig | KongManagerCertificateFormConfig>;
32
+ required: true;
33
+ validator: (config: KonnectCertificateFormConfig | KongManagerCertificateFormConfig) => boolean;
34
+ };
35
+ /** If a valid certificate ID is provided, it will put the form in Edit mode instead of Create */
36
+ certificateId: {
37
+ type: StringConstructor;
38
+ required: false;
39
+ default: string;
40
+ };
41
+ /** If true, the SNI field will be shown */
42
+ showSnisField: {
43
+ type: BooleanConstructor;
44
+ required: false;
45
+ default: boolean;
46
+ };
47
+ }>> & Readonly<{
48
+ onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
49
+ onUpdate?: ((data: Record<string, any>) => any) | undefined;
50
+ onLoading?: ((isLoading: boolean) => any) | undefined;
51
+ }>, {
52
+ certificateId: string;
53
+ showSnisField: boolean;
54
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
55
+ export default _default;
56
+ //# sourceMappingURL=CertificateForm.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CertificateForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CertificateForm.vue"],"names":[],"mappings":"AA2WA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAAU,EAAiB,MAAM,OAAO,CAAA;AACtD,OAAO,KAAK,EACV,4BAA4B,EAC5B,gCAAgC,EAGjC,MAAM,UAAU,CAAA;AAYjB,OAAO,gDAAgD,CAAA;;IAqiBrD,oHAAoH;;cAElG,QAAQ,CAAC,4BAA4B,GAAG,gCAAgC,CAAC;;4BAErE,4BAA4B,GAAG,gCAAgC,KAAG,OAAO;;IAQ/F,iGAAiG;;;;;;IAMjG,2CAA2C;;;;;;;;;;;IAlB3C,oHAAoH;;cAElG,QAAQ,CAAC,4BAA4B,GAAG,gCAAgC,CAAC;;4BAErE,4BAA4B,GAAG,gCAAgC,KAAG,OAAO;;IAQ/F,iGAAiG;;;;;;IAMjG,2CAA2C;;;;;;;;;;;;;;AA7B7C,wBAoCG"}
@@ -0,0 +1,42 @@
1
+ import type { PropType } from 'vue';
2
+ import type { RouteLocationRaw } from 'vue-router';
3
+ type FieldsValue = Array<string>;
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ isEditing: {
6
+ type: BooleanConstructor;
7
+ default: boolean;
8
+ };
9
+ modelValue: {
10
+ type: PropType<FieldsValue>;
11
+ required: true;
12
+ };
13
+ sniListRoute: {
14
+ type: PropType<RouteLocationRaw>;
15
+ required: true;
16
+ };
17
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
18
+ add: () => any;
19
+ remove: (index: number) => any;
20
+ "update:modelValue": (value: FieldsValue) => any;
21
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ isEditing: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ modelValue: {
27
+ type: PropType<FieldsValue>;
28
+ required: true;
29
+ };
30
+ sniListRoute: {
31
+ type: PropType<RouteLocationRaw>;
32
+ required: true;
33
+ };
34
+ }>> & Readonly<{
35
+ onAdd?: (() => any) | undefined;
36
+ onRemove?: ((index: number) => any) | undefined;
37
+ "onUpdate:modelValue"?: ((value: FieldsValue) => any) | undefined;
38
+ }>, {
39
+ isEditing: boolean;
40
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
+ export default _default;
42
+ //# sourceMappingURL=CertificateFormSniField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CertificateFormSniField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CertificateFormSniField.vue"],"names":[],"mappings":"AAiIA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAOlD,KAAK,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,CAAA;;;;;;;cA4Rb,QAAQ,CAAC,WAAW,CAAC;;;;cAIpB,QAAQ,CAAC,gBAAgB,CAAC;;;;;;;;;;;;;cAJ3B,QAAQ,CAAC,WAAW,CAAC;;;;cAIpB,QAAQ,CAAC,gBAAgB,CAAC;;;;;;;;;;AApB9C,wBAwBG"}
@@ -0,0 +1,137 @@
1
+ import type { PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import '@kong-ui-public/entities-shared/dist/style.css';
4
+ import type { KongManagerCertificateListConfig, KonnectCertificateListConfig, EntityRow, CopyEventPayload } from '../types';
5
+ import '@kong-ui-public/entities-shared/dist/style.css';
6
+ declare const _default: 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<KonnectCertificateListConfig | KongManagerCertificateListConfig>;
10
+ required: true;
11
+ validator: (config: KonnectCertificateListConfig | KongManagerCertificateListConfig) => 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 create a new SNI entity */
24
+ canCreateSni: {
25
+ type: PropType<() => 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 delete a given entity */
30
+ canDelete: {
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 edit a given entity */
36
+ canEdit: {
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 retrieve (view details) a given entity */
42
+ canRetrieve: {
43
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
44
+ required: false;
45
+ default: () => Promise<boolean>;
46
+ };
47
+ /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
48
+ useActionOutside: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ /**
53
+ * Enables the new empty state design, this prop can be removed when
54
+ * the khcp-14756-empty-states-m2 FF is removed.
55
+ */
56
+ enableV2EmptyStates: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
61
+ error: (error: AxiosError<unknown, any>) => any;
62
+ "click:learn-more": () => any;
63
+ "copy:success": (payload: CopyEventPayload) => any;
64
+ "copy:error": (payload: CopyEventPayload) => any;
65
+ "delete:success": (certificate: EntityRow) => any;
66
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
67
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
68
+ config: {
69
+ type: PropType<KonnectCertificateListConfig | KongManagerCertificateListConfig>;
70
+ required: true;
71
+ validator: (config: KonnectCertificateListConfig | KongManagerCertificateListConfig) => boolean;
72
+ };
73
+ cacheIdentifier: {
74
+ type: StringConstructor;
75
+ default: string;
76
+ };
77
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
78
+ canCreate: {
79
+ type: PropType<() => boolean | Promise<boolean>>;
80
+ required: false;
81
+ default: () => Promise<boolean>;
82
+ };
83
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new SNI entity */
84
+ canCreateSni: {
85
+ type: PropType<() => boolean | Promise<boolean>>;
86
+ required: false;
87
+ default: () => Promise<boolean>;
88
+ };
89
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
90
+ canDelete: {
91
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
92
+ required: false;
93
+ default: () => Promise<boolean>;
94
+ };
95
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
96
+ canEdit: {
97
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
98
+ required: false;
99
+ default: () => Promise<boolean>;
100
+ };
101
+ /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
102
+ canRetrieve: {
103
+ type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
104
+ required: false;
105
+ default: () => Promise<boolean>;
106
+ };
107
+ /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
108
+ useActionOutside: {
109
+ type: BooleanConstructor;
110
+ default: boolean;
111
+ };
112
+ /**
113
+ * Enables the new empty state design, this prop can be removed when
114
+ * the khcp-14756-empty-states-m2 FF is removed.
115
+ */
116
+ enableV2EmptyStates: {
117
+ type: BooleanConstructor;
118
+ default: boolean;
119
+ };
120
+ }>> & Readonly<{
121
+ onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
122
+ "onClick:learn-more"?: (() => any) | undefined;
123
+ "onCopy:success"?: ((payload: CopyEventPayload) => any) | undefined;
124
+ "onCopy:error"?: ((payload: CopyEventPayload) => any) | undefined;
125
+ "onDelete:success"?: ((certificate: EntityRow) => any) | undefined;
126
+ }>, {
127
+ cacheIdentifier: string;
128
+ canCreate: () => boolean | Promise<boolean>;
129
+ canCreateSni: () => boolean | Promise<boolean>;
130
+ canDelete: (row: EntityRow) => boolean | Promise<boolean>;
131
+ canEdit: (row: EntityRow) => boolean | Promise<boolean>;
132
+ canRetrieve: (row: EntityRow) => boolean | Promise<boolean>;
133
+ useActionOutside: boolean;
134
+ enableV2EmptyStates: boolean;
135
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
136
+ export default _default;
137
+ //# sourceMappingURL=CertificateList.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CertificateList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CertificateList.vue"],"names":[],"mappings":"AAinBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAInC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAKvC,OAAO,gDAAgD,CAAA;AAevD,OAAO,KAAK,EACV,gCAAgC,EAChC,4BAA4B,EAC5B,SAAS,EACT,gBAAgB,EACjB,MAAM,UAAU,CAAA;AAQjB,OAAO,gDAAgD,CAAA;;IA8kCrD,oHAAoH;;cAElG,QAAQ,CAAC,4BAA4B,GAAG,gCAAgC,CAAC;;4BAErE,4BAA4B,GAAG,gCAAgC,KAAG,OAAO;;;;;;IAY/F,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,6HAA6H;;cAEzG,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,iHAAiH;;;;;IAKjH;;;OAGG;;;;;;;;;;;;IAtDH,oHAAoH;;cAElG,QAAQ,CAAC,4BAA4B,GAAG,gCAAgC,CAAC;;4BAErE,4BAA4B,GAAG,gCAAgC,KAAG,OAAO;;;;;;IAY/F,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,6HAA6H;;cAEzG,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,iHAAiH;;;;;IAKjH;;;OAGG;;;;;;;;;;;;;qBApCgC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;wBAM1B,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;;;;AAvD7E,wBAyEG"}