@kestra-io/ui-libs 0.0.215 → 0.0.217

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