@kestra-io/ui-libs 0.0.216 → 0.0.218

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.
@@ -5216,7 +5216,8 @@ function Jt(e) {
5216
5216
  });
5217
5217
  }
5218
5218
  function P_(e, t) {
5219
- return Array.isArray(t) && !["categories", "controllers", "storages", "aliases", "guides"].includes(e) && (t.length === 0 || typeof t[0] == "string");
5219
+ var n;
5220
+ return Array.isArray(t) && !["categories", "controllers", "storages", "aliases", "guides"].includes(e) && (t.length === 0 || ((n = t[0]) == null ? void 0 : n.cls) !== void 0);
5220
5221
  }
5221
5222
  function ln(e) {
5222
5223
  const t = e.title.replaceAll(/\.([a-zA-Z])/g, (n, r) => ` ${r.toUpperCase()}`);
@@ -11800,7 +11801,7 @@ const k2 = /* @__PURE__ */ Q(y2, [["render", S2]]), L2 = ["id", "open"], T2 = {
11800
11801
  ], 8, N2)) : M("", !0)
11801
11802
  ], 8, L2));
11802
11803
  }
11803
- }), Hn = /* @__PURE__ */ Q(I2, [["__scopeId", "data-v-432d4837"]]);
11804
+ }), Hn = /* @__PURE__ */ Q(I2, [["__scopeId", "data-v-792a18bc"]]);
11804
11805
  function Nn(e) {
11805
11806
  if (e.type)
11806
11807
  return e.type;
@@ -12243,65 +12244,67 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
12243
12244
  sectionName: {},
12244
12245
  properties: { default: void 0 },
12245
12246
  showDynamic: { type: Boolean, default: !0 },
12246
- initiallyExpanded: { type: Boolean, default: !1 }
12247
+ initiallyExpanded: { type: Boolean, default: !1 },
12248
+ forceInclude: { default: () => [] }
12247
12249
  },
12248
12250
  emits: ["expand"],
12249
12251
  setup(e, { emit: t }) {
12250
- const n = t, r = ge(!1);
12252
+ const n = e, r = t, i = ge(!1);
12251
12253
  st(
12252
- r,
12253
- (o) => {
12254
- o && n("expand");
12254
+ i,
12255
+ (s) => {
12256
+ s && r("expand");
12255
12257
  }
12256
12258
  );
12257
- const i = (o) => {
12258
- var s;
12259
- return o.$dynamic === !0 ? !0 : o.$dynamic === !1 ? !1 : ((s = o.anyOf) == null ? void 0 : s.some((l) => l.$dynamic === !0)) ?? !1;
12259
+ const a = (s) => {
12260
+ var l;
12261
+ return s.$dynamic === !0 ? !0 : s.$dynamic === !1 ? !1 : ((l = s.anyOf) == null ? void 0 : l.some((c) => c.$dynamic === !0)) ?? !1;
12260
12262
  };
12261
- function a(o) {
12262
- const s = [], l = [];
12263
- for (const d in o)
12264
- typeof o[d] == "object" && (o[d] = R2(o[d]), o[d].$required ? s.push(d) : l.push(d));
12265
- const c = [...s.sort(), ...l.sort()], u = {};
12266
- return c.forEach((d) => {
12267
- u[d] = o[d];
12268
- }), u;
12269
- }
12270
- return (o, s) => (E(), ue(Hn, {
12263
+ function o(s) {
12264
+ const l = [], c = [];
12265
+ for (const f in s)
12266
+ typeof s[f] == "object" && (s[f] = R2(s[f]), s[f].$required ? l.push(f) : c.push(f));
12267
+ const u = [...l.sort(), ...c.sort()], d = {};
12268
+ return u.forEach((f) => {
12269
+ var h;
12270
+ (!s[f].$deprecated || (h = n.forceInclude) != null && h.includes(f)) && (d[f] = s[f]);
12271
+ }), d;
12272
+ }
12273
+ return (s, l) => (E(), ue(Hn, {
12271
12274
  class: "section-collapsible",
12272
- "clickable-text": o.sectionName,
12273
- href: o.href,
12274
- onExpand: s[2] || (s[2] = (l) => n("expand")),
12275
- "initially-expanded": o.initiallyExpanded || r.value
12275
+ "clickable-text": s.sectionName,
12276
+ href: s.href,
12277
+ onExpand: l[2] || (l[2] = (c) => r("expand")),
12278
+ "initially-expanded": s.initiallyExpanded || i.value
12276
12279
  }, Lf({ _: 2 }, [
12277
- Object.keys(o.properties ?? {}).length > 0 ? {
12280
+ Object.keys(s.properties ?? {}).length > 0 ? {
12278
12281
  name: "content",
12279
12282
  fn: te(() => [
12280
12283
  O("div", hk, [
12281
- (E(!0), L(Me, null, _t(a(o.properties), (l, c) => (E(), ue(Hn, {
12284
+ (E(!0), L(Me, null, _t(o(s.properties), (c, u) => (E(), ue(Hn, {
12282
12285
  class: "property",
12283
- key: c,
12286
+ key: u,
12284
12287
  arrow: !1,
12285
- "clickable-text": c,
12286
- href: o.href + "_" + c,
12287
- onExpand: s[1] || (s[1] = (u) => r.value = !0)
12288
+ "clickable-text": u,
12289
+ href: s.href + "_" + u,
12290
+ onExpand: l[1] || (l[1] = (d) => i.value = !0)
12288
12291
  }, {
12289
12292
  additionalButtonText: te(() => [
12290
- l.$required ? (E(), ue(_e, {
12293
+ c.$required ? (E(), ue(_e, {
12291
12294
  key: 0,
12292
12295
  class: "d-flex",
12293
12296
  title: "Required"
12294
12297
  }, {
12295
- default: te(() => s[3] || (s[3] = [
12298
+ default: te(() => l[3] || (l[3] = [
12296
12299
  O("span", { class: "text-danger" }, " *", -1)
12297
12300
  ])),
12298
12301
  _: 1
12299
12302
  })) : M("", !0)
12300
12303
  ]),
12301
- buttonRight: te(({ collapsed: u }) => [
12304
+ buttonRight: te(({ collapsed: d }) => [
12302
12305
  O("span", pk, [
12303
12306
  O("span", mk, [
12304
- o.showDynamic && !i(l) ? (E(), ue(_e, {
12307
+ s.showDynamic && !a(c) ? (E(), ue(_e, {
12305
12308
  key: 0,
12306
12309
  class: "d-flex",
12307
12310
  title: "Non-dynamic"
@@ -12311,7 +12314,7 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
12311
12314
  ]),
12312
12315
  _: 1
12313
12316
  })) : M("", !0),
12314
- l.$beta ? (E(), ue(_e, {
12317
+ c.$beta ? (E(), ue(_e, {
12315
12318
  key: 1,
12316
12319
  class: "d-flex",
12317
12320
  title: "Beta"
@@ -12321,7 +12324,7 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
12321
12324
  ]),
12322
12325
  _: 1
12323
12326
  })) : M("", !0),
12324
- l.$deprecated ? (E(), ue(_e, {
12327
+ c.$deprecated ? (E(), ue(_e, {
12325
12328
  key: 2,
12326
12329
  class: "d-flex",
12327
12330
  title: "Deprecated"
@@ -12333,26 +12336,26 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
12333
12336
  })) : M("", !0)
12334
12337
  ]),
12335
12338
  O("span", gk, [
12336
- (E(!0), L(Me, null, _t(W(_p)(l).types, (d) => (E(), L(Me, { key: d }, [
12337
- d.startsWith("#") ? (E(), L("a", {
12339
+ (E(!0), L(Me, null, _t(W(_p)(c).types, (f) => (E(), L(Me, { key: f }, [
12340
+ f.startsWith("#") ? (E(), L("a", {
12338
12341
  key: 0,
12339
12342
  class: "d-flex fw-bold type-box rounded fs-7 px-2 py-1",
12340
- href: d,
12341
- onClick: s[0] || (s[0] = Tf(() => {
12343
+ href: f,
12344
+ onClick: l[0] || (l[0] = Tf(() => {
12342
12345
  }, ["stop"]))
12343
12346
  }, [
12344
- O("span", _k, z(W(vp)(d)), 1),
12347
+ O("span", _k, z(W(vp)(f)), 1),
12345
12348
  K(yp)
12346
- ], 8, vk)) : (E(), L("span", yk, z(d), 1))
12349
+ ], 8, vk)) : (E(), L("span", yk, z(f), 1))
12347
12350
  ], 64))), 128)),
12348
- (E(), ue(Ht(u ? F2 : JS), { class: "arrow" }))
12351
+ (E(), ue(Ht(d ? F2 : JS), { class: "arrow" }))
12349
12352
  ])
12350
12353
  ])
12351
12354
  ]),
12352
12355
  content: te(() => [
12353
- K(WS, { property: l }, {
12354
- markdown: te(({ content: u }) => [
12355
- ye(o.$slots, "markdown", { content: u }, void 0, !0)
12356
+ K(WS, { property: c }, {
12357
+ markdown: te(({ content: d }) => [
12358
+ ye(s.$slots, "markdown", { content: d }, void 0, !0)
12356
12359
  ]),
12357
12360
  _: 2
12358
12361
  }, 1032, ["property"])
@@ -12365,7 +12368,7 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
12365
12368
  } : void 0
12366
12369
  ]), 1032, ["clickable-text", "href", "initially-expanded"]));
12367
12370
  }
12368
- }), In = /* @__PURE__ */ Q(Ek, [["__scopeId", "data-v-d73516e7"]]), bk = { class: "d-flex flex-column gap-6" }, Ck = {
12371
+ }), In = /* @__PURE__ */ Q(Ek, [["__scopeId", "data-v-0d36ff40"]]), bk = { class: "d-flex flex-column gap-6" }, Ck = {
12369
12372
  key: 0,
12370
12373
  class: "alert alert-info",
12371
12374
  role: "alert"
@@ -12384,7 +12387,8 @@ const fk = /* @__PURE__ */ Q(ok, [["render", dk]]), hk = { class: "border overfl
12384
12387
  schema: {},
12385
12388
  pluginType: {},
12386
12389
  darkMode: { type: Boolean, default: !0 },
12387
- propsInitiallyExpanded: { type: Boolean, default: !1 }
12390
+ propsInitiallyExpanded: { type: Boolean, default: !1 },
12391
+ forceIncludeProperties: { default: () => [] }
12388
12392
  },
12389
12393
  async setup(e) {
12390
12394
  let t, n;
@@ -12516,7 +12520,8 @@ type: "${r.pluginType}"
12516
12520
  properties: m.schema.properties.properties,
12517
12521
  "section-name": "Properties",
12518
12522
  href: "properties",
12519
- "initially-expanded": m.propsInitiallyExpanded
12523
+ "initially-expanded": m.propsInitiallyExpanded,
12524
+ "force-include": m.forceIncludeProperties
12520
12525
  }, {
12521
12526
  markdown: te(({ content: q }) => [
12522
12527
  O("div", Nk, [
@@ -12524,7 +12529,7 @@ type: "${r.pluginType}"
12524
12529
  ])
12525
12530
  ]),
12526
12531
  _: 3
12527
- }, 8, ["properties", "initially-expanded"])) : M("", !0),
12532
+ }, 8, ["properties", "initially-expanded", "force-include"])) : M("", !0),
12528
12533
  (D = m.schema.outputs) != null && D.properties && Object.keys(m.schema.outputs.properties).length > 0 ? (E(), ue(In, {
12529
12534
  key: 2,
12530
12535
  class: "plugin-section",
@@ -12591,7 +12596,7 @@ type: "${r.pluginType}"
12591
12596
  ]);
12592
12597
  };
12593
12598
  }
12594
- }), eT = /* @__PURE__ */ Q(Pk, [["__scopeId", "data-v-d07027c2"]]), Mk = {
12599
+ }), eT = /* @__PURE__ */ Q(Pk, [["__scopeId", "data-v-5953ec4c"]]), Mk = {
12595
12600
  name: "ChevronRightIcon",
12596
12601
  emits: ["click"],
12597
12602
  props: {