@xy-planning-network/trees 0.4.0-rc-5 → 0.4.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 (55) hide show
  1. package/README.md +236 -53
  2. package/dist/trees.es.js +224 -225
  3. package/dist/trees.umd.js +5 -5
  4. package/package.json +10 -7
  5. package/src/lib-components/layout/DateFilter.vue +14 -16
  6. package/src/lib-components/layout/SidebarLayout.vue +1 -1
  7. package/src/lib-components/layout/StackedLayout.vue +3 -2
  8. package/src/lib-components/lists/StaticTable.vue +1 -1
  9. package/src/lib-components/lists/Table.vue +1 -1
  10. package/src/lib-components/navigation/ActionsDropdown.vue +2 -2
  11. package/src/lib-components/navigation/Paginator.vue +1 -9
  12. package/src/lib-components/overlays/Flash.vue +1 -6
  13. package/{dist/types → types}/api/base.d.ts +0 -0
  14. package/types/components.d.ts +12 -0
  15. package/types/composables/date.d.ts +4 -0
  16. package/types/composables/nav.d.ts +13 -0
  17. package/types/composables/overlay.d.ts +4 -0
  18. package/{dist/types/types → types/composables}/table.d.ts +3 -3
  19. package/types/composables/user.d.ts +6 -0
  20. package/{dist/types → types}/entry.d.ts +1 -3
  21. package/types/global.d.ts +13 -0
  22. package/{dist/types → types}/helpers/Uniques.d.ts +0 -0
  23. package/{dist/types → types}/lib-components/forms/BaseInput.vue.d.ts +2 -2
  24. package/{dist/types → types}/lib-components/forms/Checkbox.vue.d.ts +1 -1
  25. package/{dist/types → types}/lib-components/forms/DateRangePicker.vue.d.ts +2 -2
  26. package/{dist/types → types}/lib-components/forms/InputHelp.vue.d.ts +2 -2
  27. package/{dist/types → types}/lib-components/forms/InputLabel.vue.d.ts +0 -0
  28. package/{dist/types → types}/lib-components/forms/MultiCheckboxes.vue.d.ts +2 -2
  29. package/{dist/types → types}/lib-components/forms/Radio.vue.d.ts +3 -3
  30. package/{dist/types → types}/lib-components/forms/Select.vue.d.ts +5 -5
  31. package/{dist/types → types}/lib-components/forms/TextArea.vue.d.ts +2 -2
  32. package/{dist/types → types}/lib-components/forms/Toggle.vue.d.ts +0 -0
  33. package/{dist/types → types}/lib-components/forms/YesOrNoRadio.vue.d.ts +3 -3
  34. package/{dist/types → types}/lib-components/index.d.ts +29 -31
  35. package/{dist/types → types}/lib-components/layout/DateFilter.vue.d.ts +1 -4
  36. package/{dist/types → types}/lib-components/layout/SidebarLayout.vue.d.ts +1 -1
  37. package/{dist/types → types}/lib-components/layout/StackedLayout.vue.d.ts +2 -2
  38. package/{dist/types → types}/lib-components/lists/Cards.vue.d.ts +0 -0
  39. package/{dist/types → types}/lib-components/lists/DetailList.vue.d.ts +1 -1
  40. package/{dist/types → types}/lib-components/lists/DownloadCell.vue.d.ts +0 -0
  41. package/{dist/types → types}/lib-components/lists/StaticTable.vue.d.ts +1 -1
  42. package/{dist/types → types}/lib-components/lists/Table.vue.d.ts +1 -1
  43. package/{dist/types → types}/lib-components/navigation/ActionsDropdown.vue.d.ts +2 -2
  44. package/{dist/types → types}/lib-components/navigation/Paginator.vue.d.ts +1 -6
  45. package/{dist/types → types}/lib-components/navigation/Steps.vue.d.ts +2 -2
  46. package/{dist/types → types}/lib-components/navigation/Tabs.vue.d.ts +0 -0
  47. package/{dist/types → types}/lib-components/overlays/ContentModal.vue.d.ts +1 -1
  48. package/{dist/types/lib-components/overlays/Spinner.vue.d.ts → types/lib-components/overlays/Flash.vue.d.ts} +0 -0
  49. package/{dist/types → types}/lib-components/overlays/Modal.vue.d.ts +3 -3
  50. package/{dist/types → types}/lib-components/overlays/Slideover.vue.d.ts +1 -1
  51. package/{dist/types/lib-components/overlays/Flash.vue.d.ts → types/lib-components/overlays/Spinner.vue.d.ts} +0 -4
  52. package/dist/types/types/nav.d.ts +0 -7
  53. package/dist/types/types/users.d.ts +0 -9
  54. package/src/types/env.d.ts +0 -18
  55. package/src/types/global.d.ts +0 -10
package/dist/trees.es.js CHANGED
@@ -1147,14 +1147,6 @@ const BaseAPI = {
1147
1147
  return this.makeRequest({ url: path, data, method: "PUT" }, opts);
1148
1148
  }
1149
1149
  };
1150
- var table = /* @__PURE__ */ Object.freeze({
1151
- __proto__: null,
1152
- [Symbol.toStringTag]: "Module"
1153
- });
1154
- var nav = /* @__PURE__ */ Object.freeze({
1155
- __proto__: null,
1156
- [Symbol.toStringTag]: "Module"
1157
- });
1158
1150
  function _extends() {
1159
1151
  _extends = Object.assign || function(target) {
1160
1152
  for (var i = 1; i < arguments.length; i++) {
@@ -3847,8 +3839,8 @@ const _hoisted_2$h = /* @__PURE__ */ createElementVNode("span", {
3847
3839
  }, "\u200B", -1);
3848
3840
  const _hoisted_3$e = { class: "inline-block align-bottom bg-white rounded-lg px-4 pt-5 pb-4 text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-sm sm:w-full sm:p-6" };
3849
3841
  const _hoisted_4$b = { class: "mt-3 text-center sm:mt-5" };
3850
- const _hoisted_5$a = { class: "mt-2" };
3851
- const _hoisted_6$a = { class: "mt-5 sm:mt-6" };
3842
+ const _hoisted_5$9 = { class: "mt-2" };
3843
+ const _hoisted_6$9 = { class: "mt-5 sm:mt-6" };
3852
3844
  const _sfc_main$p = /* @__PURE__ */ defineComponent({
3853
3845
  props: {
3854
3846
  modelValue: { type: Boolean },
@@ -3907,12 +3899,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3907
3899
  as: "h3",
3908
3900
  textContent: toDisplayString(__props.title)
3909
3901
  }, null, 8, ["textContent"]),
3910
- createElementVNode("div", _hoisted_5$a, [
3902
+ createElementVNode("div", _hoisted_5$9, [
3911
3903
  renderSlot(_ctx.$slots, "default")
3912
3904
  ])
3913
3905
  ])
3914
3906
  ]),
3915
- createElementVNode("div", _hoisted_6$a, [
3907
+ createElementVNode("div", _hoisted_6$9, [
3916
3908
  createElementVNode("button", {
3917
3909
  type: "button",
3918
3910
  class: "inline-flex justify-center w-full xy-btn",
@@ -6176,17 +6168,74 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
6176
6168
  };
6177
6169
  }
6178
6170
  });
6179
- const _hoisted_1$k = { class: "md:flex md:items-center md:justify-between bg-white mx-auto py-4 border-t border-gray-100" };
6180
- const _hoisted_2$g = { class: "flex-1 min-w-0" };
6181
- const _hoisted_3$d = { class: "text-lg leading-6 font-semibold text-gray-900" };
6182
- const _hoisted_4$a = { class: "mt-4 flex md:mt-0 md:ml-4" };
6183
- const _hoisted_5$9 = /* @__PURE__ */ createElementVNode("option", { value: "DESC" }, "Newest-Oldest", -1);
6184
- const _hoisted_6$9 = /* @__PURE__ */ createElementVNode("option", { value: "ASC" }, "Oldest-Newest", -1);
6185
- const _hoisted_7$9 = [
6186
- _hoisted_5$9,
6187
- _hoisted_6$9
6188
- ];
6171
+ const _hoisted_1$k = ["aria-labelledby", "aria-describedby", "id", "value"];
6172
+ const _hoisted_2$g = {
6173
+ key: 0,
6174
+ value: "",
6175
+ disabled: "",
6176
+ selected: ""
6177
+ };
6178
+ const _hoisted_3$d = ["value", "textContent"];
6189
6179
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
6180
+ props: {
6181
+ design: { default: "standard" },
6182
+ label: { default: "" },
6183
+ help: { default: "" },
6184
+ placeholder: { default: "Select an option" },
6185
+ options: null,
6186
+ modelValue: null
6187
+ },
6188
+ emits: ["update:modelValue"],
6189
+ setup(__props, { emit }) {
6190
+ const props = __props;
6191
+ const attrs = useAttrs();
6192
+ const uuid = attrs.id || Uniques.CreateIdAttribute();
6193
+ const classes = computed(() => {
6194
+ return {
6195
+ standard: "mt-1 block w-full border border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
6196
+ compressed: "appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-600 text-gray-900 focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm"
6197
+ }[props.design];
6198
+ });
6199
+ return (_ctx, _cache) => {
6200
+ return openBlock(), createElementBlock(Fragment, null, [
6201
+ createVNode(_sfc_main$o, {
6202
+ id: `${unref(uuid)}-label`,
6203
+ for: unref(uuid),
6204
+ label: __props.label
6205
+ }, null, 8, ["id", "for", "label"]),
6206
+ createElementVNode("select", mergeProps({
6207
+ "aria-labelledby": __props.label ? `${unref(uuid)}-label` : void 0,
6208
+ "aria-describedby": __props.help ? `${unref(uuid)}-help` : void 0,
6209
+ class: unref(classes),
6210
+ id: unref(uuid),
6211
+ value: __props.modelValue
6212
+ }, __spreadProps(__spreadValues({}, _ctx.$attrs), {
6213
+ onChange: ($event) => {
6214
+ emit("update:modelValue", $event.target.value);
6215
+ }
6216
+ })), [
6217
+ __props.placeholder ? (openBlock(), createElementBlock("option", _hoisted_2$g, toDisplayString(__props.placeholder), 1)) : createCommentVNode("", true),
6218
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
6219
+ return openBlock(), createElementBlock("option", {
6220
+ value: option.value,
6221
+ textContent: toDisplayString(option.label),
6222
+ key: option.value
6223
+ }, null, 8, _hoisted_3$d);
6224
+ }), 128))
6225
+ ], 16, _hoisted_1$k),
6226
+ createVNode(_sfc_main$n, {
6227
+ id: `${unref(uuid)}-help`,
6228
+ text: __props.help
6229
+ }, null, 8, ["id", "text"])
6230
+ ], 64);
6231
+ };
6232
+ }
6233
+ });
6234
+ const _hoisted_1$j = { class: "md:flex md:items-center md:justify-between bg-white mx-auto py-4 border-t border-gray-100" };
6235
+ const _hoisted_2$f = { class: "flex-1 min-w-0" };
6236
+ const _hoisted_3$c = { class: "text-lg leading-6 font-semibold text-gray-900" };
6237
+ const _hoisted_4$a = { class: "mt-4 flex md:mt-0 md:ml-4" };
6238
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6190
6239
  props: {
6191
6240
  dateRange: null,
6192
6241
  sortDir: null,
@@ -6196,25 +6245,37 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
6196
6245
  setup(__props, { emit: emits }) {
6197
6246
  const props = __props;
6198
6247
  const dateRange = ref(props.dateRange);
6199
- const sortDirChanged = (sortDir) => {
6200
- emits("sort-dir-changed", sortDir);
6248
+ const sortDir = ref(props.sortDir);
6249
+ const sortOptions = [
6250
+ { label: "Newest-Oldest", value: "DESC" },
6251
+ { label: "Oldest-Newest", value: "ASC" }
6252
+ ];
6253
+ const sortDirChanged = (sortDir2) => {
6254
+ emits("sort-dir-changed", sortDir2);
6201
6255
  };
6202
6256
  const dateRangeChanged = (dateRange2) => {
6203
6257
  emits("date-range-changed", dateRange2);
6204
6258
  };
6205
6259
  return (_ctx, _cache) => {
6206
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
6207
- createElementVNode("div", _hoisted_2$g, [
6208
- createElementVNode("h1", _hoisted_3$d, toDisplayString(__props.title), 1)
6260
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [
6261
+ createElementVNode("div", _hoisted_2$f, [
6262
+ createElementVNode("h1", _hoisted_3$c, toDisplayString(__props.title), 1)
6209
6263
  ]),
6210
6264
  createElementVNode("div", _hoisted_4$a, [
6211
- createElementVNode("select", {
6212
- onChange: _cache[0] || (_cache[0] = ($event) => sortDirChanged($event.target.value)),
6213
- class: "block w-full border border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm"
6214
- }, _hoisted_7$9, 32),
6265
+ createVNode(_sfc_main$k, {
6266
+ modelValue: sortDir.value,
6267
+ "onUpdate:modelValue": [
6268
+ _cache[0] || (_cache[0] = ($event) => sortDir.value = $event),
6269
+ sortDirChanged
6270
+ ],
6271
+ options: sortOptions
6272
+ }, null, 8, ["modelValue"]),
6215
6273
  createVNode(_sfc_main$l, {
6216
6274
  modelValue: dateRange.value,
6217
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => dateRangeChanged($event)),
6275
+ "onUpdate:modelValue": [
6276
+ _cache[1] || (_cache[1] = ($event) => dateRange.value = $event),
6277
+ dateRangeChanged
6278
+ ],
6218
6279
  class: "ml-3"
6219
6280
  }, null, 8, ["modelValue"])
6220
6281
  ])
@@ -6222,9 +6283,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
6222
6283
  };
6223
6284
  }
6224
6285
  });
6225
- const _hoisted_1$j = { class: "px-4 flex items-center justify-between sm:px-0" };
6226
- const _hoisted_2$f = { class: "w-0 flex-1 flex" };
6227
- const _hoisted_3$c = /* @__PURE__ */ createElementVNode("svg", {
6286
+ const _hoisted_1$i = { class: "px-4 flex items-center justify-between sm:px-0" };
6287
+ const _hoisted_2$e = { class: "w-0 flex-1 flex" };
6288
+ const _hoisted_3$b = /* @__PURE__ */ createElementVNode("svg", {
6228
6289
  class: "mr-3 h-5 w-5",
6229
6290
  fill: "currentColor",
6230
6291
  viewBox: "0 0 20 20"
@@ -6237,7 +6298,7 @@ const _hoisted_3$c = /* @__PURE__ */ createElementVNode("svg", {
6237
6298
  ], -1);
6238
6299
  const _hoisted_4$9 = /* @__PURE__ */ createTextVNode(" Previous ");
6239
6300
  const _hoisted_5$8 = [
6240
- _hoisted_3$c,
6301
+ _hoisted_3$b,
6241
6302
  _hoisted_4$9
6242
6303
  ];
6243
6304
  const _hoisted_6$8 = { class: "hidden md:flex" };
@@ -6259,7 +6320,7 @@ const _hoisted_11$5 = [
6259
6320
  _hoisted_9$8,
6260
6321
  _hoisted_10$8
6261
6322
  ];
6262
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
6323
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6263
6324
  props: {
6264
6325
  modelValue: null
6265
6326
  },
@@ -6295,8 +6356,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6295
6356
  return shortcuts;
6296
6357
  });
6297
6358
  return (_ctx, _cache) => {
6298
- return openBlock(), createElementBlock("div", _hoisted_1$j, [
6299
- createElementVNode("div", _hoisted_2$f, [
6359
+ return openBlock(), createElementBlock("div", _hoisted_1$i, [
6360
+ createElementVNode("div", _hoisted_2$e, [
6300
6361
  createElementVNode("a", {
6301
6362
  href: "#",
6302
6363
  class: normalizeClass([
@@ -6334,11 +6395,11 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6334
6395
  };
6335
6396
  }
6336
6397
  });
6337
- const _hoisted_1$i = {
6398
+ const _hoisted_1$h = {
6338
6399
  key: 0,
6339
6400
  class: "shadow overflow-hidden sm:rounded-md border"
6340
6401
  };
6341
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
6402
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
6342
6403
  props: {
6343
6404
  refreshTrigger: { default: 0 },
6344
6405
  reloadTrigger: { default: 0 },
@@ -6393,14 +6454,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6393
6454
  loadAndRender(true);
6394
6455
  return (_ctx, _cache) => {
6395
6456
  return openBlock(), createElementBlock("div", null, [
6396
- createVNode(_sfc_main$k, {
6457
+ createVNode(_sfc_main$j, {
6397
6458
  "date-range": dateRange.value,
6398
6459
  "sort-dir": sortDir.value,
6399
6460
  title: __props.title,
6400
6461
  onSortDirChanged: _cache[0] || (_cache[0] = ($event) => sortDir.value = $event),
6401
6462
  onDateRangeChanged: _cache[1] || (_cache[1] = ($event) => dateRange.value = $event)
6402
6463
  }, null, 8, ["date-range", "sort-dir", "title"]),
6403
- hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
6464
+ hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
6404
6465
  createElementVNode("ul", null, [
6405
6466
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, idx) => {
6406
6467
  return openBlock(), createElementBlock("li", {
@@ -6412,7 +6473,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6412
6473
  }), 128))
6413
6474
  ])
6414
6475
  ])) : renderSlot(_ctx.$slots, "empty", { key: 1 }),
6415
- hasContent.value ? (openBlock(), createBlock(_sfc_main$j, {
6476
+ hasContent.value ? (openBlock(), createBlock(_sfc_main$i, {
6416
6477
  key: 2,
6417
6478
  modelValue: pagination.value,
6418
6479
  "onUpdate:modelValue": [
@@ -6424,8 +6485,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6424
6485
  };
6425
6486
  }
6426
6487
  });
6427
- const _hoisted_1$h = ["href"];
6428
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
6488
+ const _hoisted_1$g = ["href"];
6489
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
6429
6490
  props: {
6430
6491
  propsData: null,
6431
6492
  attribute: null
@@ -6436,13 +6497,13 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
6436
6497
  href: __props.propsData[__props.attribute]
6437
6498
  }, [
6438
6499
  createVNode(unref(render$4), { class: "h-6 w-6 group-hover:text-gray-500 transition" })
6439
- ], 8, _hoisted_1$h);
6500
+ ], 8, _hoisted_1$g);
6440
6501
  };
6441
6502
  }
6442
6503
  });
6443
- const _hoisted_1$g = { class: "fixed inset-0 flex flex-col items-end justify-end px-4 py-6 pointer-events-none sm:p-6 z-40" };
6444
- const _hoisted_2$e = { class: "rounded-lg ring-1 ring-black ring-opacity-5 overflow-hidden" };
6445
- const _hoisted_3$b = { class: "p-4" };
6504
+ const _hoisted_1$f = { class: "fixed inset-0 flex flex-col items-end justify-end px-4 py-6 pointer-events-none sm:p-6 z-40" };
6505
+ const _hoisted_2$d = { class: "rounded-lg ring-1 ring-black ring-opacity-5 overflow-hidden" };
6506
+ const _hoisted_3$a = { class: "p-4" };
6446
6507
  const _hoisted_4$8 = { class: "flex items-center" };
6447
6508
  const _hoisted_5$7 = { class: "w-0 flex-1 flex justify-between" };
6448
6509
  const _hoisted_6$7 = ["innerHTML"];
@@ -6462,7 +6523,7 @@ const _hoisted_9$7 = /* @__PURE__ */ createElementVNode("svg", {
6462
6523
  const _hoisted_10$7 = [
6463
6524
  _hoisted_9$7
6464
6525
  ];
6465
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
6526
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6466
6527
  setup(__props) {
6467
6528
  const flashes = ref([]);
6468
6529
  const flashTypeBorderClass = {
@@ -6517,7 +6578,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
6517
6578
  }
6518
6579
  });
6519
6580
  return (_ctx, _cache) => {
6520
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
6581
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
6521
6582
  createVNode(TransitionGroup, {
6522
6583
  tag: "div",
6523
6584
  class: "max-w-sm w-full",
@@ -6534,8 +6595,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
6534
6595
  key: flash.message,
6535
6596
  class: normalizeClass(["bg-white shadow-lg rounded-lg pointer-events-auto border-t-4 transform", [{ "mt-2": idx > 0 }, getFlashClass(flash)]])
6536
6597
  }, [
6537
- createElementVNode("div", _hoisted_2$e, [
6538
- createElementVNode("div", _hoisted_3$b, [
6598
+ createElementVNode("div", _hoisted_2$d, [
6599
+ createElementVNode("div", _hoisted_3$a, [
6539
6600
  createElementVNode("div", _hoisted_4$8, [
6540
6601
  createElementVNode("div", _hoisted_5$7, [
6541
6602
  createElementVNode("p", {
@@ -6625,12 +6686,12 @@ function render(_ctx, _cache) {
6625
6686
  })
6626
6687
  ]);
6627
6688
  }
6628
- const _hoisted_1$f = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" };
6629
- const _hoisted_2$d = /* @__PURE__ */ createElementVNode("span", {
6689
+ const _hoisted_1$e = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" };
6690
+ const _hoisted_2$c = /* @__PURE__ */ createElementVNode("span", {
6630
6691
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
6631
6692
  "aria-hidden": "true"
6632
6693
  }, "\u200B", -1);
6633
- const _hoisted_3$a = { class: "inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-2xl w-full" };
6694
+ const _hoisted_3$9 = { class: "inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-2xl w-full" };
6634
6695
  const _hoisted_4$7 = { class: "block absolute top-0 right-0 pt-4 pr-4" };
6635
6696
  const _hoisted_5$6 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Close", -1);
6636
6697
  const _hoisted_6$6 = { class: "bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4" };
@@ -6641,7 +6702,7 @@ const _hoisted_9$6 = {
6641
6702
  class: "bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse"
6642
6703
  };
6643
6704
  const _hoisted_10$6 = ["textContent", "disabled"];
6644
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
6705
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
6645
6706
  props: {
6646
6707
  destructive: { type: Boolean, default: false },
6647
6708
  disabled: { type: Boolean, default: false },
@@ -6671,7 +6732,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6671
6732
  open: __props.modelValue
6672
6733
  }, {
6673
6734
  default: withCtx(() => [
6674
- createElementVNode("div", _hoisted_1$f, [
6735
+ createElementVNode("div", _hoisted_1$e, [
6675
6736
  createVNode(unref(TransitionChild), {
6676
6737
  as: "template",
6677
6738
  enter: "ease-out duration-300",
@@ -6686,7 +6747,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6686
6747
  ]),
6687
6748
  _: 1
6688
6749
  }),
6689
- _hoisted_2$d,
6750
+ _hoisted_2$c,
6690
6751
  createVNode(unref(TransitionChild), {
6691
6752
  as: "template",
6692
6753
  enter: "ease-out duration-300",
@@ -6697,7 +6758,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6697
6758
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
6698
6759
  }, {
6699
6760
  default: withCtx(() => [
6700
- createElementVNode("div", _hoisted_3$a, [
6761
+ createElementVNode("div", _hoisted_3$9, [
6701
6762
  createElementVNode("div", _hoisted_4$7, [
6702
6763
  createElementVNode("button", {
6703
6764
  type: "button",
@@ -6753,11 +6814,11 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6753
6814
  };
6754
6815
  }
6755
6816
  });
6756
- const _hoisted_1$e = {
6817
+ const _hoisted_1$d = {
6757
6818
  key: 0,
6758
6819
  class: "fixed top-0 left-0 flex items-center justify-center w-full h-full cursor-not-allowed z-50 bg-gray-50 bg-opacity-50"
6759
6820
  };
6760
- const _hoisted_2$c = /* @__PURE__ */ createElementVNode("div", { class: "flex justify-center" }, [
6821
+ const _hoisted_2$b = /* @__PURE__ */ createElementVNode("div", { class: "flex justify-center" }, [
6761
6822
  /* @__PURE__ */ createElementVNode("div", { class: "animate-spin-gear" }, [
6762
6823
  /* @__PURE__ */ createElementVNode("svg", {
6763
6824
  width: "129px",
@@ -6835,7 +6896,7 @@ const _hoisted_2$c = /* @__PURE__ */ createElementVNode("div", { class: "flex ju
6835
6896
  ])
6836
6897
  ])
6837
6898
  ], -1);
6838
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
6899
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
6839
6900
  setup(__props) {
6840
6901
  const idx = ref(0);
6841
6902
  const loading = ref(false);
@@ -6877,9 +6938,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
6877
6938
  });
6878
6939
  });
6879
6940
  return (_ctx, _cache) => {
6880
- return loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
6941
+ return loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
6881
6942
  createElementVNode("div", null, [
6882
- _hoisted_2$c,
6943
+ _hoisted_2$b,
6883
6944
  withDirectives(createElementVNode("div", null, [
6884
6945
  createVNode(Transition, {
6885
6946
  appear: "",
@@ -6907,9 +6968,9 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
6907
6968
  };
6908
6969
  }
6909
6970
  });
6910
- const _hoisted_1$d = { class: "h-screen flex overflow-hidden bg-gray-100" };
6911
- const _hoisted_2$b = { class: "relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-white" };
6912
- const _hoisted_3$9 = { class: "absolute top-0 right-0 -mr-12 pt-2" };
6971
+ const _hoisted_1$c = { class: "h-screen flex overflow-hidden bg-gray-100" };
6972
+ const _hoisted_2$a = { class: "relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-white" };
6973
+ const _hoisted_3$8 = { class: "absolute top-0 right-0 -mr-12 pt-2" };
6913
6974
  const _hoisted_4$6 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Close sidebar", -1);
6914
6975
  const _hoisted_5$5 = { class: "flex-shrink-0 flex justify-center px-4" };
6915
6976
  const _hoisted_6$5 = ["src"];
@@ -6939,7 +7000,7 @@ const _hoisted_26 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only
6939
7000
  const _hoisted_27 = ["href"];
6940
7001
  const _hoisted_28 = { class: "flex-1 relative overflow-y-auto focus:outline-none" };
6941
7002
  const _hoisted_29 = { class: "mx-auto" };
6942
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
7003
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
6943
7004
  props: {
6944
7005
  activeURL: { default: "" },
6945
7006
  iconURL: null,
@@ -6954,7 +7015,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
6954
7015
  };
6955
7016
  return (_ctx, _cache) => {
6956
7017
  return openBlock(), createElementBlock(Fragment, null, [
6957
- createElementVNode("div", _hoisted_1$d, [
7018
+ createElementVNode("div", _hoisted_1$c, [
6958
7019
  createVNode(unref(TransitionRoot), {
6959
7020
  as: "template",
6960
7021
  show: sidebarOpen.value
@@ -6992,7 +7053,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
6992
7053
  "leave-to": "-translate-x-full"
6993
7054
  }, {
6994
7055
  default: withCtx(() => [
6995
- createElementVNode("div", _hoisted_2$b, [
7056
+ createElementVNode("div", _hoisted_2$a, [
6996
7057
  createVNode(unref(TransitionChild), {
6997
7058
  as: "template",
6998
7059
  enter: "ease-in-out duration-300",
@@ -7003,7 +7064,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
7003
7064
  "leave-to": "opacity-0"
7004
7065
  }, {
7005
7066
  default: withCtx(() => [
7006
- createElementVNode("div", _hoisted_3$9, [
7067
+ createElementVNode("div", _hoisted_3$8, [
7007
7068
  createElementVNode("button", {
7008
7069
  class: "ml-1 flex items-center justify-center h-10 w-10 rounded-full focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white",
7009
7070
  onClick: _cache[0] || (_cache[0] = ($event) => sidebarOpen.value = false)
@@ -7179,15 +7240,15 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
7179
7240
  ])
7180
7241
  ])
7181
7242
  ]),
7182
- createVNode(_sfc_main$g),
7183
- createVNode(_sfc_main$e)
7243
+ createVNode(_sfc_main$f),
7244
+ createVNode(_sfc_main$d)
7184
7245
  ], 64);
7185
7246
  };
7186
7247
  }
7187
7248
  });
7188
- const _hoisted_1$c = { class: "absolute inset-0 overflow-hidden" };
7189
- const _hoisted_2$a = { class: "fixed inset-y-0 right-0 pl-10 max-w-full flex" };
7190
- const _hoisted_3$8 = { class: "w-screen max-w-md" };
7249
+ const _hoisted_1$b = { class: "absolute inset-0 overflow-hidden" };
7250
+ const _hoisted_2$9 = { class: "fixed inset-y-0 right-0 pl-10 max-w-full flex" };
7251
+ const _hoisted_3$7 = { class: "w-screen max-w-md" };
7191
7252
  const _hoisted_4$5 = { class: "h-full flex flex-col bg-white shadow-xl overflow-y-scroll" };
7192
7253
  const _hoisted_5$4 = { class: "py-6 px-4 bg-blue-700 sm:px-6" };
7193
7254
  const _hoisted_6$4 = { class: "flex items-center justify-between" };
@@ -7196,7 +7257,7 @@ const _hoisted_8$4 = /* @__PURE__ */ createElementVNode("span", { class: "sr-onl
7196
7257
  const _hoisted_9$4 = { class: "mt-1" };
7197
7258
  const _hoisted_10$4 = ["textContent"];
7198
7259
  const _hoisted_11$3 = { class: "relative flex-1 py-6 px-4 sm:px-6" };
7199
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
7260
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7200
7261
  props: {
7201
7262
  header: null,
7202
7263
  description: null,
@@ -7225,9 +7286,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
7225
7286
  open: __props.modelValue
7226
7287
  }, {
7227
7288
  default: withCtx(() => [
7228
- createElementVNode("div", _hoisted_1$c, [
7289
+ createElementVNode("div", _hoisted_1$b, [
7229
7290
  createVNode(unref(DialogOverlay), { class: "absolute inset-0" }),
7230
- createElementVNode("div", _hoisted_2$a, [
7291
+ createElementVNode("div", _hoisted_2$9, [
7231
7292
  createVNode(unref(TransitionChild), {
7232
7293
  as: "template",
7233
7294
  enter: "transform transition ease-in-out duration-500 sm:duration-700",
@@ -7238,7 +7299,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
7238
7299
  "leave-to": "translate-x-full"
7239
7300
  }, {
7240
7301
  default: withCtx(() => [
7241
- createElementVNode("div", _hoisted_3$8, [
7302
+ createElementVNode("div", _hoisted_3$7, [
7242
7303
  createElementVNode("div", _hoisted_4$5, [
7243
7304
  createElementVNode("div", _hoisted_5$4, [
7244
7305
  createElementVNode("div", _hoisted_6$4, [
@@ -7287,9 +7348,9 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
7287
7348
  };
7288
7349
  }
7289
7350
  });
7290
- const _hoisted_1$b = { class: "min-h-screen bg-gray-100" };
7291
- const _hoisted_2$9 = { class: "mx-auto px-4 sm:px-6 lg:px-8" };
7292
- const _hoisted_3$7 = { class: "flex justify-between h-16" };
7351
+ const _hoisted_1$a = { class: "min-h-screen bg-gray-100" };
7352
+ const _hoisted_2$8 = { class: "mx-auto px-4 sm:px-6 lg:px-8" };
7353
+ const _hoisted_3$6 = { class: "flex justify-between h-16" };
7293
7354
  const _hoisted_4$4 = { class: "flex" };
7294
7355
  const _hoisted_5$3 = { class: "flex-shrink-0 flex items-center" };
7295
7356
  const _hoisted_6$3 = ["src"];
@@ -7312,7 +7373,7 @@ const _hoisted_22$1 = { class: "mt-3 space-y-1" };
7312
7373
  const _hoisted_23$1 = ["href"];
7313
7374
  const _hoisted_24$1 = { class: "mx-auto sm:px-6 lg:px-8" };
7314
7375
  const _hoisted_25 = { class: "px-4 py-8 sm:px-0" };
7315
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
7376
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7316
7377
  props: {
7317
7378
  activeURL: { default: "" },
7318
7379
  currentUser: null,
@@ -7327,14 +7388,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7327
7388
  };
7328
7389
  return (_ctx, _cache) => {
7329
7390
  return openBlock(), createElementBlock(Fragment, null, [
7330
- createElementVNode("div", _hoisted_1$b, [
7391
+ createElementVNode("div", _hoisted_1$a, [
7331
7392
  createVNode(unref(Disclosure), {
7332
7393
  as: "nav",
7333
7394
  class: "bg-white shadow-sm"
7334
7395
  }, {
7335
7396
  default: withCtx(({ open }) => [
7336
- createElementVNode("div", _hoisted_2$9, [
7337
- createElementVNode("div", _hoisted_3$7, [
7397
+ createElementVNode("div", _hoisted_2$8, [
7398
+ createElementVNode("div", _hoisted_3$6, [
7338
7399
  createElementVNode("div", _hoisted_4$4, [
7339
7400
  createElementVNode("div", _hoisted_5$3, [
7340
7401
  createElementVNode("img", {
@@ -7449,10 +7510,11 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7449
7510
  createVNode(unref(render$111), { class: "text-gray-500 h-10 w-10 rounded-full" })
7450
7511
  ]),
7451
7512
  createElementVNode("div", _hoisted_19$1, [
7452
- createElementVNode("div", {
7513
+ __props.currentUser.name ? (openBlock(), createElementBlock("div", {
7514
+ key: 0,
7453
7515
  class: "text-base font-medium text-gray-800",
7454
7516
  textContent: toDisplayString(__props.currentUser.name)
7455
- }, null, 8, _hoisted_20$1),
7517
+ }, null, 8, _hoisted_20$1)) : createCommentVNode("", true),
7456
7518
  createElementVNode("div", {
7457
7519
  class: "text-sm font-medium text-gray-500",
7458
7520
  textContent: toDisplayString(__props.currentUser.email)
@@ -7484,15 +7546,15 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7484
7546
  ])
7485
7547
  ])
7486
7548
  ]),
7487
- createVNode(_sfc_main$g),
7488
- createVNode(_sfc_main$e)
7549
+ createVNode(_sfc_main$f),
7550
+ createVNode(_sfc_main$d)
7489
7551
  ], 64);
7490
7552
  };
7491
7553
  }
7492
7554
  });
7493
- const _hoisted_1$a = { class: "flex flex-col" };
7494
- const _hoisted_2$8 = { class: "-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" };
7495
- const _hoisted_3$6 = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8" };
7555
+ const _hoisted_1$9 = { class: "flex flex-col" };
7556
+ const _hoisted_2$7 = { class: "-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" };
7557
+ const _hoisted_3$5 = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8" };
7496
7558
  const _hoisted_4$3 = { class: "overflow-hidden border-b border-gray-200 shadow sm:rounded-lg" };
7497
7559
  const _hoisted_5$2 = { class: "min-w-full divide-y divide-gray-200" };
7498
7560
  const _hoisted_6$2 = ["textContent"];
@@ -7500,7 +7562,7 @@ const _hoisted_7$2 = { class: "bg-white divide-y divide-gray-200" };
7500
7562
  const _hoisted_8$2 = ["textContent"];
7501
7563
  const _hoisted_9$2 = { key: 0 };
7502
7564
  const _hoisted_10$2 = ["colspan"];
7503
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
7565
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
7504
7566
  props: {
7505
7567
  tableData: null
7506
7568
  },
@@ -7516,9 +7578,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7516
7578
  return "";
7517
7579
  };
7518
7580
  return (_ctx, _cache) => {
7519
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
7520
- createElementVNode("div", _hoisted_2$8, [
7521
- createElementVNode("div", _hoisted_3$6, [
7581
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
7582
+ createElementVNode("div", _hoisted_2$7, [
7583
+ createElementVNode("div", _hoisted_3$5, [
7522
7584
  createElementVNode("div", _hoisted_4$3, [
7523
7585
  createElementVNode("table", _hoisted_5$2, [
7524
7586
  createElementVNode("thead", null, [
@@ -7570,9 +7632,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7570
7632
  };
7571
7633
  }
7572
7634
  });
7573
- const _hoisted_1$9 = { class: "flex items-center justify-center space-x-8" };
7574
- const _hoisted_2$7 = { class: "font-medium" };
7575
- const _hoisted_3$5 = { class: "flex items-center space-x-5" };
7635
+ const _hoisted_1$8 = { class: "flex items-center justify-center space-x-8" };
7636
+ const _hoisted_2$6 = { class: "font-medium" };
7637
+ const _hoisted_3$4 = { class: "flex items-center space-x-5" };
7576
7638
  const _hoisted_4$2 = {
7577
7639
  key: 0,
7578
7640
  class: "block w-2.5 h-2.5 bg-xy-green rounded-full hover:bg-green-900 focus:bg-green-900"
@@ -7605,7 +7667,7 @@ const _hoisted_11$1 = {
7605
7667
  const _hoisted_12$1 = ["textContent"];
7606
7668
  const _hoisted_13$1 = { class: "ml-3 inline-flex rounded-md shadow-sm" };
7607
7669
  const _hoisted_14$1 = ["textContent"];
7608
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
7670
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7609
7671
  props: {
7610
7672
  hideActions: { type: Boolean, default: false },
7611
7673
  hidePrevious: { type: Boolean, default: false },
@@ -7624,9 +7686,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
7624
7686
  };
7625
7687
  return (_ctx, _cache) => {
7626
7688
  return openBlock(), createElementBlock("div", null, [
7627
- createElementVNode("nav", _hoisted_1$9, [
7628
- createElementVNode("p", _hoisted_2$7, "Step " + toDisplayString(__props.step) + " of " + toDisplayString(__props.total), 1),
7629
- createElementVNode("ul", _hoisted_3$5, [
7689
+ createElementVNode("nav", _hoisted_1$8, [
7690
+ createElementVNode("p", _hoisted_2$6, "Step " + toDisplayString(__props.step) + " of " + toDisplayString(__props.total), 1),
7691
+ createElementVNode("ul", _hoisted_3$4, [
7630
7692
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.total, (index) => {
7631
7693
  return openBlock(), createElementBlock("li", { key: index }, [
7632
7694
  __props.step > index ? (openBlock(), createElementBlock("span", _hoisted_4$2)) : __props.step === index ? (openBlock(), createElementBlock("div", _hoisted_5$1, _hoisted_8$1)) : (openBlock(), createElementBlock("span", _hoisted_9$1))
@@ -7656,12 +7718,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
7656
7718
  };
7657
7719
  }
7658
7720
  });
7659
- const _hoisted_1$8 = { class: "flex flex-col mb-4 space-y-4 lg:space-y-0 lg:flex-row lg:justify-between" };
7660
- const _hoisted_2$6 = {
7721
+ const _hoisted_1$7 = { class: "flex flex-col mb-4 space-y-4 lg:space-y-0 lg:flex-row lg:justify-between" };
7722
+ const _hoisted_2$5 = {
7661
7723
  key: 0,
7662
7724
  class: "w-full max-w-lg lg:max-w-xs"
7663
7725
  };
7664
- const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("label", {
7726
+ const _hoisted_3$3 = /* @__PURE__ */ createElementVNode("label", {
7665
7727
  for: "search",
7666
7728
  class: "sr-only"
7667
7729
  }, "Search", -1);
@@ -7739,7 +7801,7 @@ const _hoisted_21 = ["onClick"];
7739
7801
  const _hoisted_22 = ["textContent"];
7740
7802
  const _hoisted_23 = { key: 0 };
7741
7803
  const _hoisted_24 = ["colspan"];
7742
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7804
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7743
7805
  props: {
7744
7806
  clickable: { type: Boolean, default: false },
7745
7807
  loader: { type: Boolean, default: true },
@@ -7823,9 +7885,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7823
7885
  loadAndRender();
7824
7886
  return (_ctx, _cache) => {
7825
7887
  return openBlock(), createElementBlock("div", null, [
7826
- createElementVNode("div", _hoisted_1$8, [
7827
- __props.tableData.search ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
7828
- _hoisted_3$4,
7888
+ createElementVNode("div", _hoisted_1$7, [
7889
+ __props.tableData.search ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
7890
+ _hoisted_3$3,
7829
7891
  createElementVNode("div", _hoisted_4$1, [
7830
7892
  _hoisted_5,
7831
7893
  withDirectives(createElementVNode("input", {
@@ -7910,7 +7972,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7910
7972
  ])
7911
7973
  ])
7912
7974
  ]),
7913
- unref(hasContent) ? (openBlock(), createBlock(_sfc_main$j, {
7975
+ unref(hasContent) ? (openBlock(), createBlock(_sfc_main$i, {
7914
7976
  key: 0,
7915
7977
  modelValue: pagination.value,
7916
7978
  "onUpdate:modelValue": [
@@ -7922,13 +7984,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7922
7984
  };
7923
7985
  }
7924
7986
  });
7925
- const _hoisted_1$7 = /* @__PURE__ */ createElementVNode("label", {
7987
+ const _hoisted_1$6 = /* @__PURE__ */ createElementVNode("label", {
7926
7988
  for: "tabs",
7927
7989
  class: "sr-only"
7928
7990
  }, "Select a tab", -1);
7929
- const _hoisted_2$5 = { class: "hidden sm:block" };
7930
- const _hoisted_3$3 = ["textContent", "onClick"];
7931
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7991
+ const _hoisted_2$4 = { class: "hidden sm:block" };
7992
+ const _hoisted_3$2 = ["textContent", "onClick"];
7993
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7932
7994
  props: {
7933
7995
  modelValue: null,
7934
7996
  pillDesign: { type: Boolean, default: false },
@@ -7970,7 +8032,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7970
8032
  createElementVNode("div", {
7971
8033
  class: normalizeClass(["sm:hidden", { "mb-4": __props.pillDesign }])
7972
8034
  }, [
7973
- _hoisted_1$7,
8035
+ _hoisted_1$6,
7974
8036
  createVNode(_component_Select, {
7975
8037
  name: "tabs",
7976
8038
  modelValue: __props.modelValue,
@@ -7978,7 +8040,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7978
8040
  options: __props.tabs
7979
8041
  }, null, 8, ["modelValue", "options"])
7980
8042
  ], 2),
7981
- createElementVNode("div", _hoisted_2$5, [
8043
+ createElementVNode("div", _hoisted_2$4, [
7982
8044
  createElementVNode("div", {
7983
8045
  class: normalizeClass({ "border-b border-gray-200": unref(notPillDesign) })
7984
8046
  }, [
@@ -7992,7 +8054,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7992
8054
  key: idx,
7993
8055
  textContent: toDisplayString(tab.label),
7994
8056
  onClick: withModifiers(($event) => updateModelValue2(tab.value), ["prevent"])
7995
- }, null, 10, _hoisted_3$3);
8057
+ }, null, 10, _hoisted_3$2);
7996
8058
  }), 128))
7997
8059
  ], 2)
7998
8060
  ], 2)
@@ -8001,8 +8063,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
8001
8063
  };
8002
8064
  }
8003
8065
  });
8004
- const _hoisted_1$6 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Use", -1);
8005
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
8066
+ const _hoisted_1$5 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Use", -1);
8067
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8006
8068
  props: {
8007
8069
  modelValue: { type: Boolean, default: false }
8008
8070
  },
@@ -8018,7 +8080,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
8018
8080
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emits("update:modelValue", $event))
8019
8081
  }, {
8020
8082
  default: withCtx(() => [
8021
- _hoisted_1$6,
8083
+ _hoisted_1$5,
8022
8084
  createElementVNode("span", {
8023
8085
  "aria-hidden": "true",
8024
8086
  class: normalizeClass([
@@ -8032,9 +8094,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
8032
8094
  };
8033
8095
  }
8034
8096
  });
8035
- const _hoisted_1$5 = { class: "inline-flex items-center" };
8036
- const _hoisted_2$4 = ["aria-labelledby", "checked", "id"];
8037
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8097
+ const _hoisted_1$4 = { class: "inline-flex items-center" };
8098
+ const _hoisted_2$3 = ["aria-labelledby", "checked", "id"];
8099
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8038
8100
  props: {
8039
8101
  label: { default: "" },
8040
8102
  modelValue: { type: Boolean }
@@ -8045,7 +8107,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8045
8107
  const uuid = attrs.id || Uniques.CreateIdAttribute();
8046
8108
  return (_ctx, _cache) => {
8047
8109
  return openBlock(), createElementBlock("div", null, [
8048
- createElementVNode("label", _hoisted_1$5, [
8110
+ createElementVNode("label", _hoisted_1$4, [
8049
8111
  createElementVNode("input", mergeProps({
8050
8112
  "aria-labelledby": __props.label ? `${unref(uuid)}-label` : void 0,
8051
8113
  checked: __props.modelValue,
@@ -8056,7 +8118,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8056
8118
  onChange: ($event) => {
8057
8119
  emits("update:modelValue", $event.target.checked);
8058
8120
  }
8059
- })), null, 16, _hoisted_2$4),
8121
+ })), null, 16, _hoisted_2$3),
8060
8122
  createVNode(_sfc_main$o, {
8061
8123
  class: "ml-2",
8062
8124
  id: `${unref(uuid)}-label`,
@@ -8069,9 +8131,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8069
8131
  };
8070
8132
  }
8071
8133
  });
8072
- const _hoisted_1$4 = { class: "inline-flex items-center" };
8073
- const _hoisted_2$3 = ["id", "value"];
8074
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8134
+ const _hoisted_1$3 = { class: "inline-flex items-center" };
8135
+ const _hoisted_2$2 = ["id", "value"];
8136
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8075
8137
  props: {
8076
8138
  options: null,
8077
8139
  legend: { default: "" },
@@ -8095,7 +8157,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8095
8157
  class: "mt-4",
8096
8158
  key: option.value
8097
8159
  }, [
8098
- createElementVNode("label", _hoisted_1$4, [
8160
+ createElementVNode("label", _hoisted_1$3, [
8099
8161
  withDirectives(createElementVNode("input", mergeProps({
8100
8162
  type: "checkbox",
8101
8163
  class: "focus:ring-blue-500 h-4 w-4 text-xy-blue border-gray-600 rounded disabled:opacity-50 disabled:cursor-not-allowed",
@@ -8106,7 +8168,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8106
8168
  onChange: () => {
8107
8169
  emits("update:modelValue", model.value);
8108
8170
  }
8109
- })), null, 16, _hoisted_2$3), [
8171
+ })), null, 16, _hoisted_2$2), [
8110
8172
  [vModelCheckbox, model.value]
8111
8173
  ]),
8112
8174
  createVNode(_sfc_main$o, {
@@ -8122,10 +8184,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8122
8184
  };
8123
8185
  }
8124
8186
  });
8125
- const _hoisted_1$3 = { class: "mt-1 space-y-2" };
8126
- const _hoisted_2$2 = ["for"];
8127
- const _hoisted_3$2 = ["checked", "id", "name", "value"];
8128
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8187
+ const _hoisted_1$2 = { class: "mt-1 space-y-2" };
8188
+ const _hoisted_2$1 = ["for"];
8189
+ const _hoisted_3$1 = ["checked", "id", "name", "value"];
8190
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
8129
8191
  props: {
8130
8192
  options: null,
8131
8193
  legend: { default: "" },
@@ -8138,7 +8200,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8138
8200
  const attrs = useAttrs();
8139
8201
  const uuid = attrs.id || Uniques.CreateIdAttribute();
8140
8202
  return (_ctx, _cache) => {
8141
- return openBlock(), createElementBlock("fieldset", _hoisted_1$3, [
8203
+ return openBlock(), createElementBlock("fieldset", _hoisted_1$2, [
8142
8204
  createVNode(_sfc_main$o, {
8143
8205
  class: "block",
8144
8206
  label: __props.legend,
@@ -8164,13 +8226,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8164
8226
  onChange: ($event) => {
8165
8227
  emits("update:modelValue", $event.target.value);
8166
8228
  }
8167
- })), null, 16, _hoisted_3$2),
8229
+ })), null, 16, _hoisted_3$1),
8168
8230
  createVNode(_sfc_main$o, {
8169
8231
  class: "ml-2",
8170
8232
  label: option.label,
8171
8233
  tag: "span"
8172
8234
  }, null, 8, ["label"])
8173
- ], 10, _hoisted_2$2)
8235
+ ], 10, _hoisted_2$1)
8174
8236
  ]),
8175
8237
  _: 2
8176
8238
  }, 1024);
@@ -8179,69 +8241,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8179
8241
  };
8180
8242
  }
8181
8243
  });
8182
- const _hoisted_1$2 = ["aria-labelledby", "aria-describedby", "id", "value"];
8183
- const _hoisted_2$1 = {
8184
- key: 0,
8185
- value: "",
8186
- disabled: "",
8187
- selected: ""
8188
- };
8189
- const _hoisted_3$1 = ["value", "textContent"];
8190
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
8191
- props: {
8192
- design: { default: "standard" },
8193
- label: { default: "" },
8194
- help: { default: "" },
8195
- placeholder: { default: "Select an option" },
8196
- options: null,
8197
- modelValue: null
8198
- },
8199
- emits: ["update:modelValue"],
8200
- setup(__props, { emit }) {
8201
- const props = __props;
8202
- const attrs = useAttrs();
8203
- const uuid = attrs.id || Uniques.CreateIdAttribute();
8204
- const classes = computed(() => {
8205
- return {
8206
- standard: "mt-1 block w-full border border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
8207
- compressed: "appearance-none rounded-none relative block w-full px-3 py-2 border border-gray-600 text-gray-900 focus:outline-none focus:ring-blue-500 focus:border-blue-500 focus:z-10 sm:text-sm"
8208
- }[props.design];
8209
- });
8210
- return (_ctx, _cache) => {
8211
- return openBlock(), createElementBlock(Fragment, null, [
8212
- createVNode(_sfc_main$o, {
8213
- id: `${unref(uuid)}-label`,
8214
- for: unref(uuid),
8215
- label: __props.label
8216
- }, null, 8, ["id", "for", "label"]),
8217
- createElementVNode("select", mergeProps({
8218
- "aria-labelledby": __props.label ? `${unref(uuid)}-label` : void 0,
8219
- "aria-describedby": __props.help ? `${unref(uuid)}-help` : void 0,
8220
- class: unref(classes),
8221
- id: unref(uuid),
8222
- value: __props.modelValue
8223
- }, __spreadProps(__spreadValues({}, _ctx.$attrs), {
8224
- onChange: ($event) => {
8225
- emit("update:modelValue", $event.target.value);
8226
- }
8227
- })), [
8228
- __props.placeholder ? (openBlock(), createElementBlock("option", _hoisted_2$1, toDisplayString(__props.placeholder), 1)) : createCommentVNode("", true),
8229
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
8230
- return openBlock(), createElementBlock("option", {
8231
- value: option.value,
8232
- textContent: toDisplayString(option.label),
8233
- key: option.value
8234
- }, null, 8, _hoisted_3$1);
8235
- }), 128))
8236
- ], 16, _hoisted_1$2),
8237
- createVNode(_sfc_main$n, {
8238
- id: `${unref(uuid)}-help`,
8239
- text: __props.help
8240
- }, null, 8, ["id", "text"])
8241
- ], 64);
8242
- };
8243
- }
8244
- });
8245
8244
  const _hoisted_1$1 = ["aria-labelledby", "aria-describedby", "id", "value"];
8246
8245
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8247
8246
  props: {
@@ -8365,29 +8364,29 @@ var components = /* @__PURE__ */ Object.freeze({
8365
8364
  ActionsDropdown: _sfc_main$r,
8366
8365
  Cards: _sfc_main$q,
8367
8366
  ContentModal: _sfc_main$p,
8368
- DateFilter: _sfc_main$k,
8369
- DetailList: _sfc_main$i,
8370
- DownloadCell: _sfc_main$h,
8371
- Flash: _sfc_main$g,
8372
- Modal: _sfc_main$f,
8373
- SidebarLayout: _sfc_main$d,
8374
- Slideover: _sfc_main$c,
8375
- StackedLayout: _sfc_main$b,
8376
- Paginator: _sfc_main$j,
8377
- Spinner: _sfc_main$e,
8378
- StaticTable: _sfc_main$a,
8379
- Steps: _sfc_main$9,
8380
- Table: _sfc_main$8,
8381
- Tabs: _sfc_main$7,
8382
- Toggle: _sfc_main$6,
8367
+ DateFilter: _sfc_main$j,
8368
+ DetailList: _sfc_main$h,
8369
+ DownloadCell: _sfc_main$g,
8370
+ Flash: _sfc_main$f,
8371
+ Modal: _sfc_main$e,
8372
+ SidebarLayout: _sfc_main$c,
8373
+ Slideover: _sfc_main$b,
8374
+ StackedLayout: _sfc_main$a,
8375
+ Paginator: _sfc_main$i,
8376
+ Spinner: _sfc_main$d,
8377
+ StaticTable: _sfc_main$9,
8378
+ Steps: _sfc_main$8,
8379
+ Table: _sfc_main$7,
8380
+ Tabs: _sfc_main$6,
8381
+ Toggle: _sfc_main$5,
8383
8382
  BaseInput: _sfc_main$m,
8384
- Checkbox: _sfc_main$5,
8383
+ Checkbox: _sfc_main$4,
8385
8384
  DateRangePicker: _sfc_main$l,
8386
8385
  InputHelp: _sfc_main$n,
8387
8386
  InputLabel: _sfc_main$o,
8388
- MultiCheckboxes: _sfc_main$4,
8389
- Radio: _sfc_main$3,
8390
- Select: _sfc_main$2,
8387
+ MultiCheckboxes: _sfc_main$3,
8388
+ Radio: _sfc_main$2,
8389
+ Select: _sfc_main$k,
8391
8390
  TextArea: _sfc_main$1,
8392
8391
  YesOrNoRadio: _sfc_main
8393
8392
  });
@@ -8396,4 +8395,4 @@ const install = function installTrees(app) {
8396
8395
  app.component(componentName, component);
8397
8396
  });
8398
8397
  };
8399
- export { _sfc_main$r as ActionsDropdown, BaseAPI, _sfc_main$m as BaseInput, _sfc_main$q as Cards, _sfc_main$5 as Checkbox, _sfc_main$p as ContentModal, _sfc_main$k as DateFilter, _sfc_main$l as DateRangePicker, _sfc_main$i as DetailList, _sfc_main$h as DownloadCell, _sfc_main$g as Flash, _sfc_main$n as InputHelp, _sfc_main$o as InputLabel, _sfc_main$f as Modal, _sfc_main$4 as MultiCheckboxes, nav as NavTypes, _sfc_main$j as Paginator, _sfc_main$3 as Radio, _sfc_main$2 as Select, _sfc_main$d as SidebarLayout, _sfc_main$c as Slideover, _sfc_main$e as Spinner, _sfc_main$b as StackedLayout, _sfc_main$a as StaticTable, _sfc_main$9 as Steps, _sfc_main$8 as Table, table as TableTypes, _sfc_main$7 as Tabs, _sfc_main$1 as TextArea, _sfc_main$6 as Toggle, _sfc_main as YesOrNoRadio, install as default };
8398
+ export { _sfc_main$r as ActionsDropdown, BaseAPI, _sfc_main$m as BaseInput, _sfc_main$q as Cards, _sfc_main$4 as Checkbox, _sfc_main$p as ContentModal, _sfc_main$j as DateFilter, _sfc_main$l as DateRangePicker, _sfc_main$h as DetailList, _sfc_main$g as DownloadCell, _sfc_main$f as Flash, _sfc_main$n as InputHelp, _sfc_main$o as InputLabel, _sfc_main$e as Modal, _sfc_main$3 as MultiCheckboxes, _sfc_main$i as Paginator, _sfc_main$2 as Radio, _sfc_main$k as Select, _sfc_main$c as SidebarLayout, _sfc_main$b as Slideover, _sfc_main$d as Spinner, _sfc_main$a as StackedLayout, _sfc_main$9 as StaticTable, _sfc_main$8 as Steps, _sfc_main$7 as Table, _sfc_main$6 as Tabs, _sfc_main$1 as TextArea, _sfc_main$5 as Toggle, _sfc_main as YesOrNoRadio, install as default };