@kong-ui-public/entities-plugins 9.210.11 → 9.211.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.
Files changed (32) hide show
  1. package/dist/entities-plugins.es.js +7644 -7619
  2. package/dist/entities-plugins.umd.js +94 -94
  3. package/dist/style.css +1 -1
  4. package/dist/types/components/fields/kong-identity/ConfigFormWithIdentity.vue.d.ts +1 -1
  5. package/dist/types/components/fields/kong-identity/ConfigFormWithIdentity.vue.d.ts.map +1 -1
  6. package/dist/types/components/free-form/Common/CommonForm.vue.d.ts +1 -1
  7. package/dist/types/components/free-form/Common/CommonForm.vue.d.ts.map +1 -1
  8. package/dist/types/components/free-form/plugins/acl/ACLForm.vue.d.ts +1 -1
  9. package/dist/types/components/free-form/plugins/acl/ACLForm.vue.d.ts.map +1 -1
  10. package/dist/types/components/free-form/plugins/ai-mcp-proxy/AIMcpProxyForm.vue.d.ts +1 -1
  11. package/dist/types/components/free-form/plugins/ai-mcp-proxy/AIMcpProxyForm.vue.d.ts.map +1 -1
  12. package/dist/types/components/free-form/plugins/datakit/DatakitForm.vue.d.ts +1 -1
  13. package/dist/types/components/free-form/plugins/datakit/DatakitForm.vue.d.ts.map +1 -1
  14. package/dist/types/components/free-form/plugins/jwt-signer/JwtSignerForm.vue.d.ts +1 -1
  15. package/dist/types/components/free-form/plugins/jwt-signer/JwtSignerForm.vue.d.ts.map +1 -1
  16. package/dist/types/components/free-form/plugins/metering-and-billing/MeteringAndBillingForm.vue.d.ts +1 -1
  17. package/dist/types/components/free-form/plugins/metering-and-billing/MeteringAndBillingForm.vue.d.ts.map +1 -1
  18. package/dist/types/components/free-form/plugins/rate-limiting-advanced/RateLimitingAdvancedForm.vue.d.ts +1 -1
  19. package/dist/types/components/free-form/plugins/rate-limiting-advanced/RateLimitingAdvancedForm.vue.d.ts.map +1 -1
  20. package/dist/types/components/free-form/plugins/request-callout/RequestCalloutForm.vue.d.ts +1 -1
  21. package/dist/types/components/free-form/plugins/request-callout/RequestCalloutForm.vue.d.ts.map +1 -1
  22. package/dist/types/components/free-form/plugins/service-protection/ServiceProtectionForm.vue.d.ts +1 -1
  23. package/dist/types/components/free-form/plugins/service-protection/ServiceProtectionForm.vue.d.ts.map +1 -1
  24. package/dist/types/components/free-form/shared/layout/DynamicLayout.vue.d.ts +23 -0
  25. package/dist/types/components/free-form/shared/layout/DynamicLayout.vue.d.ts.map +1 -0
  26. package/dist/types/components/free-form/shared/layout/StandardLayout.vue.d.ts +3 -32
  27. package/dist/types/components/free-form/shared/layout/StandardLayout.vue.d.ts.map +1 -1
  28. package/dist/types/components/free-form/shared/layout/provider.d.ts +38 -0
  29. package/dist/types/components/free-form/shared/layout/provider.d.ts.map +1 -0
  30. package/dist/types/index.d.ts +4 -1
  31. package/dist/types/index.d.ts.map +1 -1
  32. package/package.json +9 -9
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../../free-form/shared/layout/StandardLayout.vue';
2
+ import type { PluginFormLayoutProps as Props } from '../../free-form/shared/layout/provider';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"ConfigFormWithIdentity.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/ConfigFormWithIdentity.vue"],"names":[],"mappings":"AA0BA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAIzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kDAAkD,CAAA;AAE7E,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAqCF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ConfigFormWithIdentity.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/ConfigFormWithIdentity.vue"],"names":[],"mappings":"AA0BA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAIzE,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAE5F,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAqCF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../shared/layout/StandardLayout.vue';
2
+ import type { PluginFormLayoutProps as Props } from '../shared/layout/provider';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"CommonForm.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/Common/CommonForm.vue"],"names":[],"mappings":"AAyBA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAKzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qCAAqC,CAAA;AAEhE,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAqCF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"CommonForm.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/Common/CommonForm.vue"],"names":[],"mappings":"AAyBA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAKzE,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAE/E,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAqCF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../../shared/layout/StandardLayout.vue';
2
+ import type { PluginFormLayoutProps as Props } from '../../shared/layout/provider';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"ACLForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/acl/ACLForm.vue"],"names":[],"mappings":"AAiCA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAMzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAEnE,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAmDF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ACLForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/acl/ACLForm.vue"],"names":[],"mappings":"AAiCA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAMzE,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAA;AAElF,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAmDF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../../shared/layout/StandardLayout.vue';
2
+ import type { PluginFormLayoutProps as Props } from '../../shared/layout/provider';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"AIMcpProxyForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/ai-mcp-proxy/AIMcpProxyForm.vue"],"names":[],"mappings":"AA6EA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAQzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAInE,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAkKF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"AIMcpProxyForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/ai-mcp-proxy/AIMcpProxyForm.vue"],"names":[],"mappings":"AA6EA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAQzE,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAA;AAIlF,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAkKF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { Props } from '../../shared/layout/StandardLayout.vue';
1
+ import type { PluginFormLayoutProps as Props } from '../../shared/layout/provider';
2
2
  import type { DatakitPluginData } from './types';
3
3
  type __VLS_Props = Props<DatakitPluginData>;
4
4
  declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"DatakitForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/datakit/DatakitForm.vue"],"names":[],"mappings":"AA8QA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AACnE,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAsB5D,KAAK,WAAW,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAkX5C,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"DatakitForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/datakit/DatakitForm.vue"],"names":[],"mappings":"AAiRA,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAA;AAClF,OAAO,KAAK,EAAc,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAwB5D,KAAK,WAAW,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAoX5C,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../../shared/layout/StandardLayout.vue';
2
+ import type { PluginFormLayoutProps as Props } from '../../shared/layout/provider';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"JwtSignerForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/jwt-signer/JwtSignerForm.vue"],"names":[],"mappings":"AA4DA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAQzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAGnE,KAAK,WAAW,GAAG,KAAK,CAAC;AAUzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAwGF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"JwtSignerForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/jwt-signer/JwtSignerForm.vue"],"names":[],"mappings":"AA4DA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAQzE,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAA;AAGlF,KAAK,WAAW,GAAG,KAAK,CAAC;AAUzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAwGF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../../shared/layout/StandardLayout.vue';
2
+ import type { PluginFormLayoutProps as Props } from '../../shared/layout/provider';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"MeteringAndBillingForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/metering-and-billing/MeteringAndBillingForm.vue"],"names":[],"mappings":"AAgWA,OAAO,EAAiB,kBAAkB,EAAgB,MAAM,uBAAuB,CAAA;AAiBvF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAEnE,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAmoBF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"MeteringAndBillingForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/metering-and-billing/MeteringAndBillingForm.vue"],"names":[],"mappings":"AAgWA,OAAO,EAAiB,kBAAkB,EAAgB,MAAM,uBAAuB,CAAA;AAiBvF,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAA;AAElF,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAmoBF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../../shared/layout/StandardLayout.vue';
2
+ import type { PluginFormLayoutProps as Props } from '../../shared/layout/provider';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"RateLimitingAdvancedForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/rate-limiting-advanced/RateLimitingAdvancedForm.vue"],"names":[],"mappings":"AAwCA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAKzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAGnE,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AA0DF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"RateLimitingAdvancedForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/rate-limiting-advanced/RateLimitingAdvancedForm.vue"],"names":[],"mappings":"AAwCA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAKzE,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAA;AAGlF,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AA0DF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../../shared/layout/StandardLayout.vue';
2
+ import type { PluginFormLayoutProps as Props } from '../../shared/layout/provider';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"RequestCalloutForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/request-callout/RequestCalloutForm.vue"],"names":[],"mappings":"AA0IA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAWzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAInE,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AA0LF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"RequestCalloutForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/request-callout/RequestCalloutForm.vue"],"names":[],"mappings":"AA0IA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAWzE,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAA;AAIlF,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AA0LF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../../shared/layout/StandardLayout.vue';
2
+ import type { PluginFormLayoutProps as Props } from '../../shared/layout/provider';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceProtectionForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/service-protection/ServiceProtectionForm.vue"],"names":[],"mappings":"AAwCA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAKzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAGnE,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AA0DF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ServiceProtectionForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/service-protection/ServiceProtectionForm.vue"],"names":[],"mappings":"AAwCA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAKzE,OAAO,KAAK,EAAE,qBAAqB,IAAI,KAAK,EAAE,MAAM,8BAA8B,CAAA;AAGlF,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AA0DF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { FreeFormPluginData } from '../../../../types/plugins/free-form';
2
+ import type { PluginFormLayoutProps } from './provider';
3
+ declare const __VLS_export: <T extends FreeFormPluginData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<PluginFormLayoutProps<T>> & (typeof globalThis extends {
5
+ __VLS_PROPS_FALLBACK: infer P;
6
+ } ? P : {});
7
+ expose: (exposed: {}) => void;
8
+ attrs: any;
9
+ slots: {
10
+ [x: string]: ((props: any) => any) | undefined;
11
+ };
12
+ emit: {};
13
+ }>) => import("vue").VNode & {
14
+ __ctx?: Awaited<typeof __VLS_setup>;
15
+ };
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_PrettifyLocal<T> = (T extends any ? {
19
+ [K in keyof T]: T[K];
20
+ } : {
21
+ [K in keyof T as K]: T[K];
22
+ }) & {};
23
+ //# sourceMappingURL=DynamicLayout.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DynamicLayout.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/shared/layout/DynamicLayout.vue"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAG7E,OAAO,KAAK,EAA6B,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAElF,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,kBAAkB,EAClD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WAyEO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,0BAAmB,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC1I,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;sCAR2D,GAAG;;UAUlE,EAAE;EAEL,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAI,CAAC;wBACvD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -1,40 +1,11 @@
1
- import type { FormSchema } from '../../../../types/plugins/form-schema';
2
1
  import type { FreeFormPluginData } from '../../../../types/plugins/free-form';
3
- import type { PluginValidityChangeEvent } from '../../../../types';
4
- import type { FieldRenderer as PluginFieldRenderer, FormConfig, RenderRules } from '../types';
5
- export type Props<T extends FreeFormPluginData = any> = {
6
- generalInfoTitle?: string;
7
- generalInfoDescription?: string;
8
- pluginConfigTitle?: string;
9
- pluginConfigDescription?: string;
10
- /** FreeForm Schema */
11
- schema: FormSchema;
2
+ import type { PluginFormLayoutProps } from './provider';
3
+ export interface Props<T extends FreeFormPluginData = any> extends PluginFormLayoutProps<T> {
12
4
  /** VFG schema */
13
5
  formSchema: any;
14
- /** The **initial** entire plugin model, never update */
15
- model: T;
16
6
  /** VFG form model */
17
7
  formModel: Record<string, any>;
18
- isEditing: boolean;
19
- /** Emits the final submission payload to the parent, the payload will be merged with the `formModel` but it has high override priority */
20
- onFormChange: (value: Partial<T>, fields?: string[]) => void;
21
- onValidityChange?: (event: PluginValidityChangeEvent) => void;
22
- /**
23
- * Hide the built-in form/code switcher. Plugins that own a custom switcher
24
- * (e.g. Datakit's flow/code control) should set this to true to avoid
25
- * rendering duplicate controls into #plugin-form-page-actions.
26
- */
27
- hideEditorModeSwitcher?: boolean;
28
- /** FreeForm configuration */
29
- formConfig?: FormConfig<T>;
30
- renderRules?: RenderRules;
31
- fieldRenderers?: PluginFieldRenderer[];
32
- pluginName: string;
33
- /** Konnect-managed Redis UI, from plugin form config */
34
- isKonnectManagedRedisEnabled?: boolean;
35
- /** Whether the plugin is being created for a portal developer */
36
- developer?: boolean;
37
- };
8
+ }
38
9
  declare const _default: typeof __VLS_export;
39
10
  export default _default;
40
11
  declare const __VLS_export: <T extends FreeFormPluginData>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
@@ -1 +1 @@
1
- {"version":3,"file":"StandardLayout.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/shared/layout/StandardLayout.vue"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"StandardLayout.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/shared/layout/StandardLayout.vue"],"names":[],"mappings":"AAupBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAe7E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAA;AAGvD,MAAM,WAAW,KAAK,CAAC,CAAC,SAAS,kBAAkB,GAAG,GAAG,CAAE,SAAQ,qBAAqB,CAAC,CAAC,CAAC;IACzF,iBAAiB;IACjB,UAAU,EAAE,GAAG,CAAA;IACf,qBAAqB;IACrB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;wBACoB,OAAO,YAAY;AAAxC,wBAAyC;AACzC,QAAA,MAAM,YAAY,GAAK,CAAC,SAAS,kBAAkB,EAClD,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,gBAAgB,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EAClE;WA+5BO,OAAO,KAAK,EAAE,WAAW,GAAG,mBAAmB,CAAC;;;;KAAmC,CAAC,GAAG,CAAC,OAAO,UAAU,SAAS;QAAE,oBAAoB,EAAE,MAAM,CAAC,CAAA;KAAE,GAAG,CAAC,GAAG,EAAE,CAAC;YAC5J,CAAC,OAAO,EAAE,EAAE,KAAK,IAAI;WACtB,GAAG;;iBAz1BA,MAAM,GAAG;wBACF,MAAM,GAAG;+BACF,MAAM,GAAG;qCACH,MAAM,GAAG;+BACf,MAAM,GAAG;gCACR,MAAM,GAAG;sCACH,MAAM,GAAG;gCACf,MAAM,GAAG;4BACb,MAAM,GAAG;;;EAq1B3B,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAI,CAAC;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,CAAC,GAAG,EAAE,CAAC"}
@@ -0,0 +1,38 @@
1
+ import type { Component, InjectionKey } from 'vue';
2
+ import type { FormSchema } from '../../../../types/plugins/form-schema';
3
+ import type { FreeFormPluginData } from '../../../../types/plugins/free-form';
4
+ import type { PluginValidityChangeEvent } from '../../../../types';
5
+ import type { FieldRenderer as PluginFieldRenderer, FormConfig, RenderRules } from '../types';
6
+ export type PluginFormLayoutProps<T extends FreeFormPluginData = FreeFormPluginData> = {
7
+ /** FreeForm Schema */
8
+ schema: FormSchema;
9
+ /** The **initial** entire plugin model, never update */
10
+ model: T;
11
+ /** Emits the final submission payload to the parent, the payload will be merged with the `formModel` but it has high override priority */
12
+ onFormChange: (value: Partial<T>, fields?: string[]) => void;
13
+ onValidityChange?: (event: PluginValidityChangeEvent) => void;
14
+ /** FreeForm configuration */
15
+ formConfig?: FormConfig<T>;
16
+ renderRules?: RenderRules;
17
+ fieldRenderers?: PluginFieldRenderer[];
18
+ pluginName: string;
19
+ /** Konnect-managed Redis UI, from plugin form config */
20
+ isKonnectManagedRedisEnabled?: boolean;
21
+ isEditing: boolean;
22
+ /**
23
+ * Hide the built-in form/code switcher. Plugins that own a custom switcher
24
+ * (e.g. Datakit's flow/code control) should set this to true to avoid
25
+ * rendering duplicate controls into #plugin-form-page-actions.
26
+ */
27
+ hideEditorModeSwitcher?: boolean;
28
+ /** Whether the plugin is being created for a portal developer */
29
+ developer?: boolean;
30
+ generalInfoTitle?: string;
31
+ generalInfoDescription?: string;
32
+ pluginConfigTitle?: string;
33
+ pluginConfigDescription?: string;
34
+ };
35
+ export type PluginFormLayoutComponent<T extends FreeFormPluginData = FreeFormPluginData> = Component<PluginFormLayoutProps<T>>;
36
+ export declare const FREE_FORM_PLUGIN_LAYOUT: InjectionKey<PluginFormLayoutComponent>;
37
+ export declare function useProvideFreeFormPluginLayout(layoutComponent: PluginFormLayoutComponent): void;
38
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/shared/layout/provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,KAAK,CAAA;AAElD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAA;AAC7E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAClE,OAAO,KAAK,EAAE,aAAa,IAAI,mBAAmB,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAE7F,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,IAAI;IACrF,sBAAsB;IACtB,MAAM,EAAE,UAAU,CAAA;IAClB,wDAAwD;IACxD,KAAK,EAAE,CAAC,CAAA;IACR,0IAA0I;IAC1I,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAC5D,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAA;IAC7D,6BAA6B;IAC7B,UAAU,CAAC,EAAE,UAAU,CAAC,CAAC,CAAC,CAAA;IAC1B,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,cAAc,CAAC,EAAE,mBAAmB,EAAE,CAAA;IACtC,UAAU,EAAE,MAAM,CAAA;IAClB,wDAAwD;IACxD,4BAA4B,CAAC,EAAE,OAAO,CAAA;IACtC,SAAS,EAAE,OAAO,CAAA;IAClB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,iEAAiE;IACjE,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,sBAAsB,CAAC,EAAE,MAAM,CAAA;IAC/B,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,uBAAuB,CAAC,EAAE,MAAM,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,yBAAyB,CAAC,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,IAAI,SAAS,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAA;AAE9H,eAAO,MAAM,uBAAuB,EAAE,YAAY,CAAC,yBAAyB,CAAyE,CAAA;AAErJ,wBAAgB,8BAA8B,CAAC,eAAe,EAAE,yBAAyB,GAAG,IAAI,CAE/F"}
@@ -6,6 +6,7 @@ import PluginCatalog from './components/PluginCatalog.vue';
6
6
  import PluginSelectGrid from './components/select/PluginSelectGrid.vue';
7
7
  import PluginSelectCard from './components/select/PluginSelectCard.vue';
8
8
  import PluginConfigCard from './components/PluginConfigCard.vue';
9
+ import DynamicLayout from './components/free-form/shared/layout/DynamicLayout.vue';
9
10
  import pluginEndpoints from './plugins-endpoints';
10
11
  declare const usePluginMetaData: () => {
11
12
  pluginMetaData: Record<string, import("./types").PluginMetaData>;
@@ -13,7 +14,9 @@ declare const usePluginMetaData: () => {
13
14
  credentialSchemas: Record<string, any>;
14
15
  getDisplayName: (name: string) => string;
15
16
  }, useProvideExperimentalFreeForms: typeof import("./composables/useExperimentalFreeForms.ts").useProvideExperimentalFreeForms;
16
- export { CustomPluginForm, PluginForm, PluginList, PluginSelect, PluginCatalog, PluginSelectGrid, PluginSelectCard, PluginConfigCard, usePluginMetaData, useProvideExperimentalFreeForms, };
17
+ export { CustomPluginForm, PluginForm, PluginList, PluginSelect, PluginCatalog, PluginSelectGrid, PluginSelectCard, PluginConfigCard, DynamicLayout, usePluginMetaData, useProvideExperimentalFreeForms, };
18
+ export { useProvideFreeFormPluginLayout, } from './components/free-form/shared/layout/provider';
19
+ export type { PluginFormLayoutComponent, PluginFormLayoutProps, } from './components/free-form/shared/layout/provider';
17
20
  export * from './types';
18
21
  export { pluginEndpoints };
19
22
  export * from './constants';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,mCAAmC,CAAA;AAChE,OAAO,UAAU,MAAM,6BAA6B,CAAA;AACpD,OAAO,UAAU,MAAM,6BAA6B,CAAA;AACpD,OAAO,YAAY,MAAM,+BAA+B,CAAA;AACxD,OAAO,aAAa,MAAM,gCAAgC,CAAA;AAC1D,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,gBAAgB,MAAM,mCAAmC,CAAA;AAEhE,OAAO,eAAe,MAAM,qBAAqB,CAAA;AAEjD,QAAA,MAAQ,iBAAiB;;;;;GAAE,+BAA+B,4FAAgB,CAAA;AAE1E,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,+BAA+B,GAChC,CAAA;AAED,cAAc,SAAS,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,CAAA;AAE1B,cAAc,aAAa,CAAA;AAE3B;;;GAGG;AACH,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,mCAAmC,CAAA;AAChE,OAAO,UAAU,MAAM,6BAA6B,CAAA;AACpD,OAAO,UAAU,MAAM,6BAA6B,CAAA;AACpD,OAAO,YAAY,MAAM,+BAA+B,CAAA;AACxD,OAAO,aAAa,MAAM,gCAAgC,CAAA;AAC1D,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,gBAAgB,MAAM,mCAAmC,CAAA;AAChE,OAAO,aAAa,MAAM,wDAAwD,CAAA;AAElF,OAAO,eAAe,MAAM,qBAAqB,CAAA;AAEjD,QAAA,MAAQ,iBAAiB;;;;;GAAE,+BAA+B,4FAAgB,CAAA;AAE1E,OAAO,EACL,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,+BAA+B,GAChC,CAAA;AAED,OAAO,EACL,8BAA8B,GAC/B,MAAM,+CAA+C,CAAA;AAEtD,YAAY,EACV,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,+CAA+C,CAAA;AAEtD,cAAc,SAAS,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,CAAA;AAE1B,cAAc,aAAa,CAAA;AAE3B;;;GAGG;AACH,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-plugins",
3
- "version": "9.210.11",
3
+ "version": "9.211.0",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-plugins.umd.js",
6
6
  "module": "./dist/entities-plugins.es.js",
@@ -50,9 +50,9 @@
50
50
  "vue": ">= 3.3.13 < 4",
51
51
  "vue-router": "^4.6.4 || ^5.0.6",
52
52
  "zod": ">= 4.1.3 < 5",
53
- "@kong-ui-public/entities-shared": "^3.49.5",
54
53
  "@kong-ui-public/i18n": "^2.4.6",
55
- "@kong-ui-public/monaco-editor": "^0.22.17"
54
+ "@kong-ui-public/monaco-editor": "^0.22.17",
55
+ "@kong-ui-public/entities-shared": "^3.49.5"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@playwright/test": {
@@ -87,9 +87,9 @@
87
87
  "vue-router": "^5.1.0",
88
88
  "zod": "^4.4.3",
89
89
  "@kong-ui-public/entities-shared": "^3.49.5",
90
+ "@kong-ui-public/monaco-editor": "^0.22.17",
90
91
  "@kong-ui-public/entities-vaults": "^4.9.6",
91
- "@kong-ui-public/i18n": "^2.4.6",
92
- "@kong-ui-public/monaco-editor": "^0.22.17"
92
+ "@kong-ui-public/i18n": "^2.4.6"
93
93
  },
94
94
  "repository": {
95
95
  "type": "git",
@@ -109,14 +109,14 @@
109
109
  "lodash-es": "^4.18.1",
110
110
  "marked": "^14.1.4",
111
111
  "@kong-ui-public/entities-consumer-groups": "^4.5.24",
112
- "@kong-ui-public/entities-consumers": "^4.4.22",
113
112
  "@kong-ui-public/entities-gateway-services": "^3.20.22",
114
- "@kong-ui-public/entities-plugins-icon": "^1.6.7",
113
+ "@kong-ui-public/entities-consumers": "^4.4.22",
115
114
  "@kong-ui-public/entities-plugins-metadata": "^1.13.3",
115
+ "@kong-ui-public/entities-plugins-icon": "^1.6.7",
116
116
  "@kong-ui-public/entities-routes": "^3.22.25",
117
- "@kong-ui-public/entities-redis-configurations": "^1.15.26",
117
+ "@kong-ui-public/forms": "^4.25.11",
118
118
  "@kong-ui-public/entities-vaults": "^4.9.6",
119
- "@kong-ui-public/forms": "^4.25.11"
119
+ "@kong-ui-public/entities-redis-configurations": "^1.15.26"
120
120
  },
121
121
  "scripts": {
122
122
  "dev": "cross-env USE_SANDBOX=true vite",