@xy-planning-network/trees 0.4.0-rc-7 → 0.4.2

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 (61) hide show
  1. package/README.md +236 -53
  2. package/dist/trees.es.js +1069 -330
  3. package/dist/trees.umd.js +6 -6
  4. package/package.json +6 -4
  5. package/src/lib-components/forms/BaseInput.vue +83 -0
  6. package/src/lib-components/forms/Checkbox.vue +46 -0
  7. package/src/lib-components/forms/DateRangePicker.vue +65 -0
  8. package/src/lib-components/forms/InputHelp.vue +24 -0
  9. package/src/lib-components/forms/InputLabel.vue +23 -0
  10. package/src/lib-components/forms/MultiCheckboxes.vue +55 -0
  11. package/src/lib-components/forms/Radio.vue +58 -0
  12. package/src/lib-components/forms/Select.vue +65 -0
  13. package/src/lib-components/forms/TextArea.vue +50 -0
  14. package/src/lib-components/forms/Toggle.vue +25 -0
  15. package/src/lib-components/forms/YesOrNoRadio.vue +70 -0
  16. package/src/lib-components/layout/DateFilter.vue +54 -0
  17. package/src/lib-components/layout/SidebarLayout.vue +239 -0
  18. package/src/lib-components/layout/StackedLayout.vue +172 -0
  19. package/src/lib-components/lists/Cards.vue +33 -0
  20. package/src/lib-components/lists/DetailList.vue +114 -0
  21. package/src/lib-components/lists/DownloadCell.vue +12 -0
  22. package/src/lib-components/lists/StaticTable.vue +83 -0
  23. package/src/lib-components/lists/Table.vue +291 -0
  24. package/src/lib-components/navigation/ActionsDropdown.vue +78 -0
  25. package/src/lib-components/navigation/Paginator.vue +111 -0
  26. package/src/lib-components/navigation/Steps.vue +83 -0
  27. package/src/lib-components/navigation/Tabs.vue +92 -0
  28. package/src/lib-components/overlays/ContentModal.vue +95 -0
  29. package/src/lib-components/overlays/Flash.vue +131 -0
  30. package/src/lib-components/overlays/Modal.vue +133 -0
  31. package/src/lib-components/overlays/Popover/Popover.vue +229 -0
  32. package/src/lib-components/overlays/Popover/PopoverContent.vue +8 -0
  33. package/src/lib-components/overlays/Slideover.vue +87 -0
  34. package/src/lib-components/overlays/Spinner.vue +149 -0
  35. package/src/lib-components/overlays/Tooltip.vue +34 -0
  36. package/types/components.d.ts +6 -2
  37. package/types/composables/date.d.ts +4 -0
  38. package/types/composables/nav.d.ts +13 -0
  39. package/types/composables/overlay.d.ts +4 -0
  40. package/types/composables/table.d.ts +32 -0
  41. package/types/composables/user.d.ts +6 -0
  42. package/types/global.d.ts +5 -2
  43. package/types/helpers/Debounce.d.ts +1 -0
  44. package/types/helpers/Throttle.d.ts +1 -0
  45. package/types/lib-components/forms/Select.vue.d.ts +2 -2
  46. package/types/lib-components/index.d.ts +9 -9
  47. package/types/lib-components/layout/DateFilter.vue.d.ts +1 -4
  48. package/types/lib-components/layout/SidebarLayout.vue.d.ts +1 -1
  49. package/types/lib-components/layout/StackedLayout.vue.d.ts +2 -2
  50. package/types/lib-components/lists/StaticTable.vue.d.ts +1 -1
  51. package/types/lib-components/lists/Table.vue.d.ts +1 -1
  52. package/types/lib-components/navigation/ActionsDropdown.vue.d.ts +2 -2
  53. package/types/lib-components/navigation/Paginator.vue.d.ts +1 -6
  54. package/types/lib-components/overlays/Flash.vue.d.ts +0 -4
  55. package/types/lib-components/overlays/Popover/Popover.vue.d.ts +23 -0
  56. package/types/lib-components/overlays/Popover/PopoverContent.vue.d.ts +2 -0
  57. package/types/lib-components/overlays/Tooltip.vue.d.ts +23 -0
  58. package/types/index.d.ts +0 -3
  59. package/types/nav.d.ts +0 -8
  60. package/types/table.d.ts +0 -36
  61. package/types/users.d.ts +0 -10
package/dist/trees.es.js CHANGED
@@ -17,7 +17,7 @@ var __spreadValues = (a, b) => {
17
17
  return a;
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
- import { cloneVNode, h, inject, provide, watchEffect, defineComponent, ref, onUnmounted, Teleport, reactive, onUpdated, computed, onMounted, nextTick, watch, openBlock, createBlock, createVNode, unref, withCtx, Transition, createElementVNode, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, renderSlot, resolveDynamicComponent, normalizeProps, mergeProps, createTextVNode, useAttrs, withModifiers, TransitionGroup, withDirectives, vShow, getCurrentInstance, vModelText, resolveComponent, vModelCheckbox } from "vue";
20
+ import { cloneVNode, h, inject, provide, watchEffect, defineComponent, ref, onUnmounted, Teleport, reactive, onUpdated, computed, onMounted, nextTick, watch, openBlock, createBlock, createVNode, unref, withCtx, Transition, createElementVNode, createElementBlock, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, renderSlot, resolveDynamicComponent, normalizeProps, mergeProps, createTextVNode, useAttrs, withModifiers, TransitionGroup, withDirectives, vShow, normalizeStyle, getCurrentInstance, vModelText, resolveComponent, vModelCheckbox } from "vue";
21
21
  var axios$2 = { exports: {} };
22
22
  var bind$2 = function bind(fn, thisArg) {
23
23
  return function wrap() {
@@ -1244,7 +1244,7 @@ var RenderStrategy;
1244
1244
  RenderStrategy2[RenderStrategy2["Unmount"] = 0] = "Unmount";
1245
1245
  RenderStrategy2[RenderStrategy2["Hidden"] = 1] = "Hidden";
1246
1246
  })(RenderStrategy || (RenderStrategy = {}));
1247
- function render$7(_ref) {
1247
+ function render$8(_ref) {
1248
1248
  var _ref$visible = _ref.visible, visible = _ref$visible === void 0 ? true : _ref$visible, _ref$features = _ref.features, features = _ref$features === void 0 ? Features.None : _ref$features, main2 = _objectWithoutPropertiesLoose(_ref, ["visible", "features"]);
1249
1249
  if (visible)
1250
1250
  return _render(main2);
@@ -1370,7 +1370,7 @@ var ForcePortalRoot = /* @__PURE__ */ defineComponent({
1370
1370
  provide(ForcePortalRootContext, props.force);
1371
1371
  return function() {
1372
1372
  var passThroughProps = _objectWithoutPropertiesLoose(props, ["force"]);
1373
- return render$7({
1373
+ return render$8({
1374
1374
  props: passThroughProps,
1375
1375
  slot: {},
1376
1376
  slots,
@@ -1430,7 +1430,7 @@ var Portal = /* @__PURE__ */ defineComponent({
1430
1430
  };
1431
1431
  return h(Teleport, {
1432
1432
  to: myTarget.value
1433
- }, render$7({
1433
+ }, render$8({
1434
1434
  props: _extends({}, props, propsWeControl),
1435
1435
  slot: {},
1436
1436
  attrs,
@@ -1463,7 +1463,7 @@ var PortalGroup = /* @__PURE__ */ defineComponent({
1463
1463
  provide(PortalGroupContext, api);
1464
1464
  return function() {
1465
1465
  var passThroughProps = _objectWithoutPropertiesLoose(props, ["target"]);
1466
- return render$7({
1466
+ return render$8({
1467
1467
  props: passThroughProps,
1468
1468
  slot: {},
1469
1469
  attrs,
@@ -1551,6 +1551,25 @@ var FocusableMode;
1551
1551
  FocusableMode2[FocusableMode2["Strict"] = 0] = "Strict";
1552
1552
  FocusableMode2[FocusableMode2["Loose"] = 1] = "Loose";
1553
1553
  })(FocusableMode || (FocusableMode = {}));
1554
+ function isFocusableElement(element, mode) {
1555
+ var _match;
1556
+ if (mode === void 0) {
1557
+ mode = FocusableMode.Strict;
1558
+ }
1559
+ if (element === document.body)
1560
+ return false;
1561
+ return match(mode, (_match = {}, _match[FocusableMode.Strict] = function() {
1562
+ return element.matches(focusableSelector);
1563
+ }, _match[FocusableMode.Loose] = function() {
1564
+ var next = element;
1565
+ while (next !== null) {
1566
+ if (next.matches(focusableSelector))
1567
+ return true;
1568
+ next = next.parentElement;
1569
+ }
1570
+ return false;
1571
+ }, _match));
1572
+ }
1554
1573
  function focusElement(element) {
1555
1574
  element == null ? void 0 : element.focus({
1556
1575
  preventScroll: true
@@ -1895,7 +1914,7 @@ var Dialog = /* @__PURE__ */ defineComponent({
1895
1914
  return h(ForcePortalRoot, {
1896
1915
  force: false
1897
1916
  }, function() {
1898
- return render$7({
1917
+ return render$8({
1899
1918
  props: _extends({}, passThroughProps, propsWeControl),
1900
1919
  slot,
1901
1920
  attrs: _this.$attrs,
@@ -2068,7 +2087,7 @@ var DialogOverlay = /* @__PURE__ */ defineComponent({
2068
2087
  onClick: this.handleClick
2069
2088
  };
2070
2089
  var passThroughProps = this.$props;
2071
- return render$7({
2090
+ return render$8({
2072
2091
  props: _extends({}, passThroughProps, propsWeControl),
2073
2092
  slot: {
2074
2093
  open: api.dialogState.value === DialogStates.Open
@@ -2107,7 +2126,7 @@ var DialogTitle = /* @__PURE__ */ defineComponent({
2107
2126
  id: this.id
2108
2127
  };
2109
2128
  var passThroughProps = this.$props;
2110
- return render$7({
2129
+ return render$8({
2111
2130
  props: _extends({}, passThroughProps, propsWeControl),
2112
2131
  slot: {
2113
2132
  open: api.dialogState.value === DialogStates.Open
@@ -2235,7 +2254,7 @@ var Disclosure = /* @__PURE__ */ defineComponent({
2235
2254
  open: disclosureState.value === DisclosureStates.Open,
2236
2255
  close: api.close
2237
2256
  };
2238
- return render$7({
2257
+ return render$8({
2239
2258
  props: passThroughProps,
2240
2259
  slot,
2241
2260
  slots,
@@ -2278,7 +2297,7 @@ var DisclosureButton = /* @__PURE__ */ defineComponent({
2278
2297
  onKeydown: this.handleKeyDown,
2279
2298
  onKeyup: this.handleKeyUp
2280
2299
  };
2281
- return render$7({
2300
+ return render$8({
2282
2301
  props: _extends({}, this.$props, propsWeControl),
2283
2302
  slot,
2284
2303
  attrs: this.$attrs,
@@ -2379,7 +2398,7 @@ var DisclosurePanel = /* @__PURE__ */ defineComponent({
2379
2398
  id: this.id,
2380
2399
  ref: "el"
2381
2400
  };
2382
- return render$7({
2401
+ return render$8({
2383
2402
  props: _extends({}, this.$props, propsWeControl),
2384
2403
  slot,
2385
2404
  attrs: this.$attrs,
@@ -2623,7 +2642,7 @@ var Menu = /* @__PURE__ */ defineComponent({
2623
2642
  var slot = {
2624
2643
  open: menuState.value === MenuStates.Open
2625
2644
  };
2626
- return render$7({
2645
+ return render$8({
2627
2646
  props,
2628
2647
  slot,
2629
2648
  slots,
@@ -2662,7 +2681,7 @@ var MenuButton = /* @__PURE__ */ defineComponent({
2662
2681
  onKeyup: this.handleKeyUp,
2663
2682
  onClick: this.handleClick
2664
2683
  };
2665
- return render$7({
2684
+ return render$8({
2666
2685
  props: _extends({}, this.$props, propsWeControl),
2667
2686
  slot,
2668
2687
  attrs: this.$attrs,
@@ -2782,7 +2801,7 @@ var MenuItems = /* @__PURE__ */ defineComponent({
2782
2801
  ref: "el"
2783
2802
  };
2784
2803
  var passThroughProps = this.$props;
2785
- return render$7({
2804
+ return render$8({
2786
2805
  props: _extends({}, passThroughProps, propsWeControl),
2787
2806
  slot,
2788
2807
  attrs: this.$attrs,
@@ -3001,7 +3020,7 @@ var MenuItem = /* @__PURE__ */ defineComponent({
3001
3020
  onPointerleave: handleLeave,
3002
3021
  onMouseleave: handleLeave
3003
3022
  };
3004
- return render$7({
3023
+ return render$8({
3005
3024
  props: _extends({}, props, propsWeControl),
3006
3025
  slot,
3007
3026
  attrs,
@@ -3011,6 +3030,458 @@ var MenuItem = /* @__PURE__ */ defineComponent({
3011
3030
  };
3012
3031
  }
3013
3032
  });
3033
+ var PopoverStates;
3034
+ (function(PopoverStates2) {
3035
+ PopoverStates2[PopoverStates2["Open"] = 0] = "Open";
3036
+ PopoverStates2[PopoverStates2["Closed"] = 1] = "Closed";
3037
+ })(PopoverStates || (PopoverStates = {}));
3038
+ var PopoverContext = /* @__PURE__ */ Symbol("PopoverContext");
3039
+ function usePopoverContext(component) {
3040
+ var context = inject(PopoverContext, null);
3041
+ if (context === null) {
3042
+ var err = new Error("<" + component + " /> is missing a parent <" + Popover.name + " /> component.");
3043
+ if (Error.captureStackTrace)
3044
+ Error.captureStackTrace(err, usePopoverContext);
3045
+ throw err;
3046
+ }
3047
+ return context;
3048
+ }
3049
+ var PopoverGroupContext = /* @__PURE__ */ Symbol("PopoverGroupContext");
3050
+ function usePopoverGroupContext() {
3051
+ return inject(PopoverGroupContext, null);
3052
+ }
3053
+ var PopoverPanelContext = /* @__PURE__ */ Symbol("PopoverPanelContext");
3054
+ function usePopoverPanelContext() {
3055
+ return inject(PopoverPanelContext, null);
3056
+ }
3057
+ var Popover = /* @__PURE__ */ defineComponent({
3058
+ name: "Popover",
3059
+ props: {
3060
+ as: {
3061
+ type: [Object, String],
3062
+ "default": "div"
3063
+ }
3064
+ },
3065
+ setup: function setup14(props, _ref) {
3066
+ var slots = _ref.slots, attrs = _ref.attrs;
3067
+ var buttonId = "headlessui-popover-button-" + useId();
3068
+ var panelId = "headlessui-popover-panel-" + useId();
3069
+ var popoverState = ref(PopoverStates.Closed);
3070
+ var button = ref(null);
3071
+ var panel = ref(null);
3072
+ var api = {
3073
+ popoverState,
3074
+ buttonId,
3075
+ panelId,
3076
+ panel,
3077
+ button,
3078
+ togglePopover: function togglePopover() {
3079
+ var _match;
3080
+ popoverState.value = match(popoverState.value, (_match = {}, _match[PopoverStates.Open] = PopoverStates.Closed, _match[PopoverStates.Closed] = PopoverStates.Open, _match));
3081
+ },
3082
+ closePopover: function closePopover() {
3083
+ if (popoverState.value === PopoverStates.Closed)
3084
+ return;
3085
+ popoverState.value = PopoverStates.Closed;
3086
+ },
3087
+ close: function close2(focusableElement) {
3088
+ api.closePopover();
3089
+ var restoreElement = function() {
3090
+ if (!focusableElement)
3091
+ return dom(api.button);
3092
+ if (focusableElement instanceof HTMLElement)
3093
+ return focusableElement;
3094
+ if (focusableElement.value instanceof HTMLElement)
3095
+ return dom(focusableElement);
3096
+ return dom(api.button);
3097
+ }();
3098
+ restoreElement == null ? void 0 : restoreElement.focus();
3099
+ }
3100
+ };
3101
+ provide(PopoverContext, api);
3102
+ useOpenClosedProvider(computed(function() {
3103
+ var _match2;
3104
+ return match(popoverState.value, (_match2 = {}, _match2[PopoverStates.Open] = State.Open, _match2[PopoverStates.Closed] = State.Closed, _match2));
3105
+ }));
3106
+ var registerBag = {
3107
+ buttonId,
3108
+ panelId,
3109
+ close: function close2() {
3110
+ api.closePopover();
3111
+ }
3112
+ };
3113
+ var groupContext = usePopoverGroupContext();
3114
+ var registerPopover = groupContext == null ? void 0 : groupContext.registerPopover;
3115
+ function isFocusWithinPopoverGroup() {
3116
+ var _groupContext$isFocus, _dom, _dom2;
3117
+ return (_groupContext$isFocus = groupContext == null ? void 0 : groupContext.isFocusWithinPopoverGroup()) != null ? _groupContext$isFocus : ((_dom = dom(button)) == null ? void 0 : _dom.contains(document.activeElement)) || ((_dom2 = dom(panel)) == null ? void 0 : _dom2.contains(document.activeElement));
3118
+ }
3119
+ watchEffect(function() {
3120
+ return registerPopover == null ? void 0 : registerPopover(registerBag);
3121
+ });
3122
+ useWindowEvent("focus", function() {
3123
+ if (popoverState.value !== PopoverStates.Open)
3124
+ return;
3125
+ if (isFocusWithinPopoverGroup())
3126
+ return;
3127
+ if (!button)
3128
+ return;
3129
+ if (!panel)
3130
+ return;
3131
+ api.closePopover();
3132
+ }, true);
3133
+ useWindowEvent("mousedown", function(event) {
3134
+ var _dom3, _dom4;
3135
+ var target = event.target;
3136
+ if (popoverState.value !== PopoverStates.Open)
3137
+ return;
3138
+ if ((_dom3 = dom(button)) == null ? void 0 : _dom3.contains(target))
3139
+ return;
3140
+ if ((_dom4 = dom(panel)) == null ? void 0 : _dom4.contains(target))
3141
+ return;
3142
+ api.closePopover();
3143
+ if (!isFocusableElement(target, FocusableMode.Loose)) {
3144
+ var _dom5;
3145
+ event.preventDefault();
3146
+ (_dom5 = dom(button)) == null ? void 0 : _dom5.focus();
3147
+ }
3148
+ });
3149
+ return function() {
3150
+ var slot = {
3151
+ open: popoverState.value === PopoverStates.Open,
3152
+ close: api.close
3153
+ };
3154
+ return render$8({
3155
+ props,
3156
+ slot,
3157
+ slots,
3158
+ attrs,
3159
+ name: "Popover"
3160
+ });
3161
+ };
3162
+ }
3163
+ });
3164
+ var PopoverButton = /* @__PURE__ */ defineComponent({
3165
+ name: "PopoverButton",
3166
+ props: {
3167
+ as: {
3168
+ type: [Object, String],
3169
+ "default": "button"
3170
+ },
3171
+ disabled: {
3172
+ type: [Boolean],
3173
+ "default": false
3174
+ }
3175
+ },
3176
+ render: function render$18() {
3177
+ var api = usePopoverContext("PopoverButton");
3178
+ var slot = {
3179
+ open: api.popoverState.value === PopoverStates.Open
3180
+ };
3181
+ var propsWeControl = this.isWithinPanel ? {
3182
+ ref: "el",
3183
+ type: this.type,
3184
+ onKeydown: this.handleKeyDown,
3185
+ onClick: this.handleClick
3186
+ } : {
3187
+ ref: "el",
3188
+ id: api.buttonId,
3189
+ type: this.type,
3190
+ "aria-expanded": this.$props.disabled ? void 0 : api.popoverState.value === PopoverStates.Open,
3191
+ "aria-controls": dom(api.panel) ? api.panelId : void 0,
3192
+ disabled: this.$props.disabled ? true : void 0,
3193
+ onKeydown: this.handleKeyDown,
3194
+ onKeyup: this.handleKeyUp,
3195
+ onClick: this.handleClick
3196
+ };
3197
+ return render$8({
3198
+ props: _extends({}, this.$props, propsWeControl),
3199
+ slot,
3200
+ attrs: this.$attrs,
3201
+ slots: this.$slots,
3202
+ name: "PopoverButton"
3203
+ });
3204
+ },
3205
+ setup: function setup15(props, _ref2) {
3206
+ var attrs = _ref2.attrs;
3207
+ var api = usePopoverContext("PopoverButton");
3208
+ var groupContext = usePopoverGroupContext();
3209
+ var closeOthers = groupContext == null ? void 0 : groupContext.closeOthers;
3210
+ var panelContext = usePopoverPanelContext();
3211
+ var isWithinPanel = panelContext === null ? false : panelContext === api.panelId;
3212
+ var activeElementRef = ref(null);
3213
+ var previousActiveElementRef = ref(typeof window === "undefined" ? null : document.activeElement);
3214
+ useWindowEvent("focus", function() {
3215
+ previousActiveElementRef.value = activeElementRef.value;
3216
+ activeElementRef.value = document.activeElement;
3217
+ }, true);
3218
+ var elementRef = ref(null);
3219
+ if (!isWithinPanel) {
3220
+ watchEffect(function() {
3221
+ api.button.value = elementRef.value;
3222
+ });
3223
+ }
3224
+ return {
3225
+ isWithinPanel,
3226
+ el: elementRef,
3227
+ type: useResolveButtonType(computed(function() {
3228
+ return {
3229
+ as: props.as,
3230
+ type: attrs.type
3231
+ };
3232
+ }), elementRef),
3233
+ handleKeyDown: function handleKeyDown(event) {
3234
+ var _dom6, _dom7;
3235
+ if (isWithinPanel) {
3236
+ if (api.popoverState.value === PopoverStates.Closed)
3237
+ return;
3238
+ switch (event.key) {
3239
+ case Keys.Space:
3240
+ case Keys.Enter:
3241
+ event.preventDefault();
3242
+ event.stopPropagation();
3243
+ api.closePopover();
3244
+ (_dom6 = dom(api.button)) == null ? void 0 : _dom6.focus();
3245
+ break;
3246
+ }
3247
+ } else {
3248
+ switch (event.key) {
3249
+ case Keys.Space:
3250
+ case Keys.Enter:
3251
+ event.preventDefault();
3252
+ event.stopPropagation();
3253
+ if (api.popoverState.value === PopoverStates.Closed)
3254
+ closeOthers == null ? void 0 : closeOthers(api.buttonId);
3255
+ api.togglePopover();
3256
+ break;
3257
+ case Keys.Escape:
3258
+ if (api.popoverState.value !== PopoverStates.Open)
3259
+ return closeOthers == null ? void 0 : closeOthers(api.buttonId);
3260
+ if (!dom(api.button))
3261
+ return;
3262
+ if (!((_dom7 = dom(api.button)) == null ? void 0 : _dom7.contains(document.activeElement)))
3263
+ return;
3264
+ event.preventDefault();
3265
+ event.stopPropagation();
3266
+ api.closePopover();
3267
+ break;
3268
+ case Keys.Tab:
3269
+ if (api.popoverState.value !== PopoverStates.Open)
3270
+ return;
3271
+ if (!api.panel)
3272
+ return;
3273
+ if (!api.button)
3274
+ return;
3275
+ if (event.shiftKey) {
3276
+ var _dom8, _dom9;
3277
+ if (!previousActiveElementRef.value)
3278
+ return;
3279
+ if ((_dom8 = dom(api.button)) == null ? void 0 : _dom8.contains(previousActiveElementRef.value))
3280
+ return;
3281
+ if ((_dom9 = dom(api.panel)) == null ? void 0 : _dom9.contains(previousActiveElementRef.value))
3282
+ return;
3283
+ var focusableElements = getFocusableElements();
3284
+ var previousIdx = focusableElements.indexOf(previousActiveElementRef.value);
3285
+ var buttonIdx = focusableElements.indexOf(dom(api.button));
3286
+ if (buttonIdx > previousIdx)
3287
+ return;
3288
+ event.preventDefault();
3289
+ event.stopPropagation();
3290
+ focusIn(dom(api.panel), Focus$1.Last);
3291
+ } else {
3292
+ event.preventDefault();
3293
+ event.stopPropagation();
3294
+ focusIn(dom(api.panel), Focus$1.First);
3295
+ }
3296
+ break;
3297
+ }
3298
+ }
3299
+ },
3300
+ handleKeyUp: function handleKeyUp(event) {
3301
+ var _dom10, _dom11;
3302
+ if (isWithinPanel)
3303
+ return;
3304
+ if (event.key === Keys.Space) {
3305
+ event.preventDefault();
3306
+ }
3307
+ if (api.popoverState.value !== PopoverStates.Open)
3308
+ return;
3309
+ if (!api.panel)
3310
+ return;
3311
+ if (!api.button)
3312
+ return;
3313
+ switch (event.key) {
3314
+ case Keys.Tab:
3315
+ if (!previousActiveElementRef.value)
3316
+ return;
3317
+ if ((_dom10 = dom(api.button)) == null ? void 0 : _dom10.contains(previousActiveElementRef.value))
3318
+ return;
3319
+ if ((_dom11 = dom(api.panel)) == null ? void 0 : _dom11.contains(previousActiveElementRef.value))
3320
+ return;
3321
+ var focusableElements = getFocusableElements();
3322
+ var previousIdx = focusableElements.indexOf(previousActiveElementRef.value);
3323
+ var buttonIdx = focusableElements.indexOf(dom(api.button));
3324
+ if (buttonIdx > previousIdx)
3325
+ return;
3326
+ event.preventDefault();
3327
+ event.stopPropagation();
3328
+ focusIn(dom(api.panel), Focus$1.Last);
3329
+ break;
3330
+ }
3331
+ },
3332
+ handleClick: function handleClick() {
3333
+ if (props.disabled)
3334
+ return;
3335
+ if (isWithinPanel) {
3336
+ var _dom12;
3337
+ api.closePopover();
3338
+ (_dom12 = dom(api.button)) == null ? void 0 : _dom12.focus();
3339
+ } else {
3340
+ var _dom13;
3341
+ if (api.popoverState.value === PopoverStates.Closed)
3342
+ closeOthers == null ? void 0 : closeOthers(api.buttonId);
3343
+ (_dom13 = dom(api.button)) == null ? void 0 : _dom13.focus();
3344
+ api.togglePopover();
3345
+ }
3346
+ }
3347
+ };
3348
+ }
3349
+ });
3350
+ var PopoverPanel = /* @__PURE__ */ defineComponent({
3351
+ name: "PopoverPanel",
3352
+ props: {
3353
+ as: {
3354
+ type: [Object, String],
3355
+ "default": "div"
3356
+ },
3357
+ "static": {
3358
+ type: Boolean,
3359
+ "default": false
3360
+ },
3361
+ unmount: {
3362
+ type: Boolean,
3363
+ "default": true
3364
+ },
3365
+ focus: {
3366
+ type: Boolean,
3367
+ "default": false
3368
+ }
3369
+ },
3370
+ render: function render$19() {
3371
+ var api = usePopoverContext("PopoverPanel");
3372
+ var slot = {
3373
+ open: api.popoverState.value === PopoverStates.Open,
3374
+ close: api.close
3375
+ };
3376
+ var propsWeControl = {
3377
+ ref: "el",
3378
+ id: this.id,
3379
+ onKeydown: this.handleKeyDown
3380
+ };
3381
+ return render$8({
3382
+ props: _extends({}, this.$props, propsWeControl),
3383
+ slot,
3384
+ attrs: this.$attrs,
3385
+ slots: this.$slots,
3386
+ features: Features.RenderStrategy | Features.Static,
3387
+ visible: this.visible,
3388
+ name: "PopoverPanel"
3389
+ });
3390
+ },
3391
+ setup: function setup16(props) {
3392
+ var focus = props.focus;
3393
+ var api = usePopoverContext("PopoverPanel");
3394
+ provide(PopoverPanelContext, api.panelId);
3395
+ onUnmounted(function() {
3396
+ api.panel.value = null;
3397
+ });
3398
+ watchEffect(function() {
3399
+ var _dom14;
3400
+ if (!focus)
3401
+ return;
3402
+ if (api.popoverState.value !== PopoverStates.Open)
3403
+ return;
3404
+ if (!api.panel)
3405
+ return;
3406
+ var activeElement = document.activeElement;
3407
+ if ((_dom14 = dom(api.panel)) == null ? void 0 : _dom14.contains(activeElement))
3408
+ return;
3409
+ focusIn(dom(api.panel), Focus$1.First);
3410
+ });
3411
+ useWindowEvent("keydown", function(event) {
3412
+ var _dom15;
3413
+ if (api.popoverState.value !== PopoverStates.Open)
3414
+ return;
3415
+ if (!dom(api.panel))
3416
+ return;
3417
+ if (event.key !== Keys.Tab)
3418
+ return;
3419
+ if (!document.activeElement)
3420
+ return;
3421
+ if (!((_dom15 = dom(api.panel)) == null ? void 0 : _dom15.contains(document.activeElement)))
3422
+ return;
3423
+ event.preventDefault();
3424
+ var result = focusIn(dom(api.panel), event.shiftKey ? Focus$1.Previous : Focus$1.Next);
3425
+ if (result === FocusResult.Underflow) {
3426
+ var _dom16;
3427
+ return (_dom16 = dom(api.button)) == null ? void 0 : _dom16.focus();
3428
+ } else if (result === FocusResult.Overflow) {
3429
+ if (!dom(api.button))
3430
+ return;
3431
+ var elements = getFocusableElements();
3432
+ var buttonIdx = elements.indexOf(dom(api.button));
3433
+ var nextElements = elements.splice(buttonIdx + 1).filter(function(element) {
3434
+ var _dom17;
3435
+ return !((_dom17 = dom(api.panel)) == null ? void 0 : _dom17.contains(element));
3436
+ });
3437
+ if (focusIn(nextElements, Focus$1.First) === FocusResult.Error) {
3438
+ focusIn(document.body, Focus$1.First);
3439
+ }
3440
+ }
3441
+ });
3442
+ useWindowEvent("focus", function() {
3443
+ var _dom18;
3444
+ if (!focus)
3445
+ return;
3446
+ if (api.popoverState.value !== PopoverStates.Open)
3447
+ return;
3448
+ if (!dom(api.panel))
3449
+ return;
3450
+ if ((_dom18 = dom(api.panel)) == null ? void 0 : _dom18.contains(document.activeElement))
3451
+ return;
3452
+ api.closePopover();
3453
+ }, true);
3454
+ var usesOpenClosedState = useOpenClosed();
3455
+ var visible = computed(function() {
3456
+ if (usesOpenClosedState !== null) {
3457
+ return usesOpenClosedState.value === State.Open;
3458
+ }
3459
+ return api.popoverState.value === PopoverStates.Open;
3460
+ });
3461
+ return {
3462
+ id: api.panelId,
3463
+ el: api.panel,
3464
+ handleKeyDown: function handleKeyDown(event) {
3465
+ var _dom19, _dom20;
3466
+ switch (event.key) {
3467
+ case Keys.Escape:
3468
+ if (api.popoverState.value !== PopoverStates.Open)
3469
+ return;
3470
+ if (!dom(api.panel))
3471
+ return;
3472
+ if (!((_dom19 = dom(api.panel)) == null ? void 0 : _dom19.contains(document.activeElement)))
3473
+ return;
3474
+ event.preventDefault();
3475
+ event.stopPropagation();
3476
+ api.closePopover();
3477
+ (_dom20 = dom(api.button)) == null ? void 0 : _dom20.focus();
3478
+ break;
3479
+ }
3480
+ },
3481
+ visible
3482
+ };
3483
+ }
3484
+ });
3014
3485
  var GroupContext = /* @__PURE__ */ Symbol("GroupContext");
3015
3486
  var Switch = /* @__PURE__ */ defineComponent({
3016
3487
  name: "Switch",
@@ -3029,7 +3500,7 @@ var Switch = /* @__PURE__ */ defineComponent({
3029
3500
  "default": false
3030
3501
  }
3031
3502
  },
3032
- render: function render$18() {
3503
+ render: function render$110() {
3033
3504
  var slot = {
3034
3505
  checked: this.$props.modelValue
3035
3506
  };
@@ -3046,7 +3517,7 @@ var Switch = /* @__PURE__ */ defineComponent({
3046
3517
  onKeyup: this.handleKeyUp,
3047
3518
  onKeypress: this.handleKeyPress
3048
3519
  };
3049
- return render$7({
3520
+ return render$8({
3050
3521
  props: _extends({}, this.$props, propsWeControl),
3051
3522
  slot,
3052
3523
  attrs: this.$attrs,
@@ -3054,7 +3525,7 @@ var Switch = /* @__PURE__ */ defineComponent({
3054
3525
  name: "Switch"
3055
3526
  });
3056
3527
  },
3057
- setup: function setup14(props, _ref2) {
3528
+ setup: function setup17(props, _ref2) {
3058
3529
  var emit = _ref2.emit, attrs = _ref2.attrs;
3059
3530
  var api = inject(GroupContext, null);
3060
3531
  var id2 = "headlessui-switch-" + useId();
@@ -3373,7 +3844,7 @@ var TransitionChild = /* @__PURE__ */ defineComponent({
3373
3844
  return true;
3374
3845
  }
3375
3846
  },
3376
- render: function render$19() {
3847
+ render: function render$111() {
3377
3848
  var _this = this;
3378
3849
  if (this.renderAsRoot) {
3379
3850
  return h(TransitionRoot, _extends({}, this.$props, {
@@ -3396,7 +3867,7 @@ var TransitionChild = /* @__PURE__ */ defineComponent({
3396
3867
  ref: "el"
3397
3868
  };
3398
3869
  var passthroughProps = rest;
3399
- return render$7({
3870
+ return render$8({
3400
3871
  props: _extends({}, passthroughProps, propsWeControl),
3401
3872
  slot: {},
3402
3873
  slots: this.$slots,
@@ -3406,7 +3877,7 @@ var TransitionChild = /* @__PURE__ */ defineComponent({
3406
3877
  name: "TransitionChild"
3407
3878
  });
3408
3879
  },
3409
- setup: function setup15(props, _ref4) {
3880
+ setup: function setup18(props, _ref4) {
3410
3881
  var emit = _ref4.emit;
3411
3882
  if (!hasTransitionContext() && hasOpenClosed()) {
3412
3883
  return {
@@ -3581,13 +4052,13 @@ var TransitionRoot = /* @__PURE__ */ defineComponent({
3581
4052
  return true;
3582
4053
  }
3583
4054
  },
3584
- render: function render$110() {
4055
+ render: function render$112() {
3585
4056
  var _this2 = this;
3586
4057
  var _this$$props2 = this.$props, unmount = _this$$props2.unmount, passThroughProps = _objectWithoutPropertiesLoose(_this$$props2, ["show", "appear", "unmount"]);
3587
4058
  var sharedProps = {
3588
4059
  unmount
3589
4060
  };
3590
- return render$7({
4061
+ return render$8({
3591
4062
  props: _extends({}, sharedProps, {
3592
4063
  as: "template"
3593
4064
  }),
@@ -3616,7 +4087,7 @@ var TransitionRoot = /* @__PURE__ */ defineComponent({
3616
4087
  name: "Transition"
3617
4088
  });
3618
4089
  },
3619
- setup: function setup16(props) {
4090
+ setup: function setup19(props) {
3620
4091
  var usesOpenClosedState = useOpenClosed();
3621
4092
  var show = computed(function() {
3622
4093
  if (props.show === null && usesOpenClosedState !== null) {
@@ -3661,7 +4132,7 @@ var TransitionRoot = /* @__PURE__ */ defineComponent({
3661
4132
  };
3662
4133
  }
3663
4134
  });
3664
- function render$6(_ctx, _cache) {
4135
+ function render$7(_ctx, _cache) {
3665
4136
  return openBlock(), createBlock("svg", {
3666
4137
  xmlns: "http://www.w3.org/2000/svg",
3667
4138
  viewBox: "0 0 20 20",
@@ -3675,7 +4146,7 @@ function render$6(_ctx, _cache) {
3675
4146
  })
3676
4147
  ]);
3677
4148
  }
3678
- function render$5(_ctx, _cache) {
4149
+ function render$6(_ctx, _cache) {
3679
4150
  return openBlock(), createBlock("svg", {
3680
4151
  xmlns: "http://www.w3.org/2000/svg",
3681
4152
  viewBox: "0 0 20 20",
@@ -3685,7 +4156,7 @@ function render$5(_ctx, _cache) {
3685
4156
  createVNode("path", { d: "M10 6a2 2 0 110-4 2 2 0 010 4zM10 12a2 2 0 110-4 2 2 0 010 4zM10 18a2 2 0 110-4 2 2 0 010 4z" })
3686
4157
  ]);
3687
4158
  }
3688
- function render$4(_ctx, _cache) {
4159
+ function render$5(_ctx, _cache) {
3689
4160
  return openBlock(), createBlock("svg", {
3690
4161
  xmlns: "http://www.w3.org/2000/svg",
3691
4162
  viewBox: "0 0 20 20",
@@ -3699,10 +4170,10 @@ function render$4(_ctx, _cache) {
3699
4170
  })
3700
4171
  ]);
3701
4172
  }
3702
- const _hoisted_1$o = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Open options", -1);
3703
- const _hoisted_2$j = { class: "py-1" };
3704
- const _hoisted_3$g = ["textContent", "onClick"];
3705
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
4173
+ const _hoisted_1$q = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Open options", -1);
4174
+ const _hoisted_2$k = { class: "py-1" };
4175
+ const _hoisted_3$h = ["textContent", "onClick"];
4176
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
3706
4177
  props: {
3707
4178
  currentUser: null,
3708
4179
  items: null,
@@ -3743,8 +4214,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3743
4214
  disabled: !hasActionItems.value
3744
4215
  }, {
3745
4216
  default: withCtx(() => [
3746
- _hoisted_1$o,
3747
- createVNode(unref(render$5), {
4217
+ _hoisted_1$q,
4218
+ createVNode(unref(render$6), {
3748
4219
  class: "w-5 h-5",
3749
4220
  "aria-hidden": "true"
3750
4221
  })
@@ -3762,7 +4233,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3762
4233
  default: withCtx(() => [
3763
4234
  createVNode(unref(MenuItems), { class: "z-10 mx-3 origin-top-right absolute right-7 top-0 w-48 mt-1 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 divide-y divide-gray-200 focus:outline-none" }, {
3764
4235
  default: withCtx(() => [
3765
- createElementVNode("div", _hoisted_2$j, [
4236
+ createElementVNode("div", _hoisted_2$k, [
3766
4237
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.items, (item, idx) => {
3767
4238
  return openBlock(), createElementBlock(Fragment, { key: idx }, [
3768
4239
  show(item) ? (openBlock(), createBlock(unref(MenuItem), {
@@ -3778,7 +4249,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3778
4249
  ]),
3779
4250
  textContent: toDisplayString(item.label),
3780
4251
  onClick: ($event) => emitEvent(item.event)
3781
- }, null, 10, _hoisted_3$g)
4252
+ }, null, 10, _hoisted_3$h)
3782
4253
  ]),
3783
4254
  _: 2
3784
4255
  }, 1024)) : createCommentVNode("", true)
@@ -3797,10 +4268,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
3797
4268
  };
3798
4269
  }
3799
4270
  });
3800
- const _hoisted_1$n = { class: "px-4 py-5 sm:p-6 text-center" };
3801
- const _hoisted_2$i = ["textContent"];
3802
- const _hoisted_3$f = ["textContent"];
3803
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
4271
+ const _hoisted_1$p = { class: "px-4 py-5 sm:p-6 text-center" };
4272
+ const _hoisted_2$j = ["textContent"];
4273
+ const _hoisted_3$g = ["textContent"];
4274
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
3804
4275
  props: {
3805
4276
  cards: null
3806
4277
  },
@@ -3814,16 +4285,16 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
3814
4285
  class: "bg-white overflow-hidden shadow rounded-lg",
3815
4286
  key: idx
3816
4287
  }, [
3817
- createElementVNode("div", _hoisted_1$n, [
4288
+ createElementVNode("div", _hoisted_1$p, [
3818
4289
  createElementVNode("dl", null, [
3819
4290
  createElementVNode("dd", {
3820
4291
  class: "mt-1 text-3xl leading-9 font-semibold text-xy-blue",
3821
4292
  textContent: toDisplayString(card.primary)
3822
- }, null, 8, _hoisted_2$i),
4293
+ }, null, 8, _hoisted_2$j),
3823
4294
  createElementVNode("dt", {
3824
4295
  class: "text-sm leading-5 font-medium text-gray-700 truncate",
3825
4296
  textContent: toDisplayString(card.secondary)
3826
- }, null, 8, _hoisted_3$f)
4297
+ }, null, 8, _hoisted_3$g)
3827
4298
  ])
3828
4299
  ])
3829
4300
  ]);
@@ -3832,16 +4303,16 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
3832
4303
  };
3833
4304
  }
3834
4305
  });
3835
- const _hoisted_1$m = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" };
3836
- const _hoisted_2$h = /* @__PURE__ */ createElementVNode("span", {
4306
+ const _hoisted_1$o = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" };
4307
+ const _hoisted_2$i = /* @__PURE__ */ createElementVNode("span", {
3837
4308
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
3838
4309
  "aria-hidden": "true"
3839
4310
  }, "\u200B", -1);
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" };
4311
+ const _hoisted_3$f = { 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" };
3841
4312
  const _hoisted_4$b = { class: "mt-3 text-center sm:mt-5" };
3842
- const _hoisted_5$a = { class: "mt-2" };
3843
- const _hoisted_6$a = { class: "mt-5 sm:mt-6" };
3844
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
4313
+ const _hoisted_5$9 = { class: "mt-2" };
4314
+ const _hoisted_6$9 = { class: "mt-5 sm:mt-6" };
4315
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
3845
4316
  props: {
3846
4317
  modelValue: { type: Boolean },
3847
4318
  title: { default: "" }
@@ -3865,7 +4336,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3865
4336
  open: __props.modelValue
3866
4337
  }, {
3867
4338
  default: withCtx(() => [
3868
- createElementVNode("div", _hoisted_1$m, [
4339
+ createElementVNode("div", _hoisted_1$o, [
3869
4340
  createVNode(unref(TransitionChild), {
3870
4341
  as: "template",
3871
4342
  enter: "ease-out duration-300",
@@ -3880,7 +4351,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3880
4351
  ]),
3881
4352
  _: 1
3882
4353
  }),
3883
- _hoisted_2$h,
4354
+ _hoisted_2$i,
3884
4355
  createVNode(unref(TransitionChild), {
3885
4356
  as: "template",
3886
4357
  enter: "ease-out duration-300",
@@ -3891,7 +4362,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3891
4362
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
3892
4363
  }, {
3893
4364
  default: withCtx(() => [
3894
- createElementVNode("div", _hoisted_3$e, [
4365
+ createElementVNode("div", _hoisted_3$f, [
3895
4366
  createElementVNode("div", null, [
3896
4367
  renderSlot(_ctx.$slots, "icon"),
3897
4368
  createElementVNode("div", _hoisted_4$b, [
@@ -3899,12 +4370,12 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
3899
4370
  as: "h3",
3900
4371
  textContent: toDisplayString(__props.title)
3901
4372
  }, null, 8, ["textContent"]),
3902
- createElementVNode("div", _hoisted_5$a, [
4373
+ createElementVNode("div", _hoisted_5$9, [
3903
4374
  renderSlot(_ctx.$slots, "default")
3904
4375
  ])
3905
4376
  ])
3906
4377
  ]),
3907
- createElementVNode("div", _hoisted_6$a, [
4378
+ createElementVNode("div", _hoisted_6$9, [
3908
4379
  createElementVNode("button", {
3909
4380
  type: "button",
3910
4381
  class: "inline-flex justify-center w-full xy-btn",
@@ -6018,7 +6489,7 @@ if (typeof window !== "undefined") {
6018
6489
  window.flatpickr = flatpickr;
6019
6490
  }
6020
6491
  var flatpickr_min = "";
6021
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
6492
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
6022
6493
  props: {
6023
6494
  label: { default: "" },
6024
6495
  tag: { default: "label" }
@@ -6036,7 +6507,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
6036
6507
  };
6037
6508
  }
6038
6509
  });
6039
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
6510
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
6040
6511
  props: {
6041
6512
  tag: { default: "div" },
6042
6513
  text: { default: "" }
@@ -6054,8 +6525,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
6054
6525
  };
6055
6526
  }
6056
6527
  });
6057
- const _hoisted_1$l = ["aria-labelledby", "aria-describedby", "id", "placeholder", "type", "value"];
6058
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
6528
+ const _hoisted_1$n = ["aria-labelledby", "aria-describedby", "id", "placeholder", "type", "value"];
6529
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
6059
6530
  props: {
6060
6531
  type: null,
6061
6532
  help: { default: "" },
@@ -6086,7 +6557,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
6086
6557
  });
6087
6558
  return (_ctx, _cache) => {
6088
6559
  return openBlock(), createElementBlock(Fragment, null, [
6089
- createVNode(_sfc_main$o, {
6560
+ createVNode(_sfc_main$r, {
6090
6561
  class: "block",
6091
6562
  id: `${unref(uuid)}-label`,
6092
6563
  for: unref(uuid),
@@ -6112,8 +6583,118 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
6112
6583
  type: __props.type,
6113
6584
  value: __props.modelValue,
6114
6585
  onInput: _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event.target.value))
6115
- }, _ctx.$attrs), null, 16, _hoisted_1$l),
6116
- createVNode(_sfc_main$n, {
6586
+ }, _ctx.$attrs), null, 16, _hoisted_1$n),
6587
+ createVNode(_sfc_main$q, {
6588
+ id: `${unref(uuid)}-help`,
6589
+ text: __props.help
6590
+ }, null, 8, ["id", "text"])
6591
+ ], 64);
6592
+ };
6593
+ }
6594
+ });
6595
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
6596
+ props: {
6597
+ modelValue: null,
6598
+ startDate: { default: 0 },
6599
+ label: { default: "" },
6600
+ help: { default: "" }
6601
+ },
6602
+ emits: ["update:modelValue"],
6603
+ setup(__props, { emit: emits }) {
6604
+ const props = __props;
6605
+ const attrs = useAttrs();
6606
+ const uuid = attrs.id || Uniques.CreateIdAttribute();
6607
+ const updateModelValue2 = (value) => {
6608
+ emits("update:modelValue", value);
6609
+ };
6610
+ onMounted(() => {
6611
+ flatpickr(`#${uuid}`, {
6612
+ dateFormat: "m-d-Y",
6613
+ mode: "range",
6614
+ maxDate: new Date(),
6615
+ minDate: props.startDate,
6616
+ onClose: (selectedDates) => {
6617
+ if (selectedDates.length === 2) {
6618
+ updateModelValue2({
6619
+ minDate: selectedDates[0].setUTCHours(0, 0, 0, 0) / 1e3,
6620
+ maxDate: Math.floor(selectedDates[1].setUTCHours(23, 59, 59, 999) / 1e3)
6621
+ });
6622
+ } else if (selectedDates.length === 0) {
6623
+ updateModelValue2({
6624
+ minDate: 0,
6625
+ maxDate: 0
6626
+ });
6627
+ }
6628
+ }
6629
+ });
6630
+ });
6631
+ return (_ctx, _cache) => {
6632
+ return openBlock(), createBlock(_sfc_main$p, {
6633
+ type: "text",
6634
+ placeholder: "mm-dd-yyyy range",
6635
+ id: unref(uuid),
6636
+ label: __props.label,
6637
+ help: __props.help
6638
+ }, null, 8, ["id", "label", "help"]);
6639
+ };
6640
+ }
6641
+ });
6642
+ const _hoisted_1$m = ["aria-labelledby", "aria-describedby", "id", "value"];
6643
+ const _hoisted_2$h = {
6644
+ key: 0,
6645
+ value: "",
6646
+ disabled: "",
6647
+ selected: ""
6648
+ };
6649
+ const _hoisted_3$e = ["value", "textContent"];
6650
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
6651
+ props: {
6652
+ design: { default: "standard" },
6653
+ label: { default: "" },
6654
+ help: { default: "" },
6655
+ placeholder: { default: "Select an option" },
6656
+ options: null,
6657
+ modelValue: null
6658
+ },
6659
+ emits: ["update:modelValue"],
6660
+ setup(__props, { emit }) {
6661
+ const props = __props;
6662
+ const attrs = useAttrs();
6663
+ const uuid = attrs.id || Uniques.CreateIdAttribute();
6664
+ const classes = computed(() => {
6665
+ return {
6666
+ 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",
6667
+ 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"
6668
+ }[props.design];
6669
+ });
6670
+ return (_ctx, _cache) => {
6671
+ return openBlock(), createElementBlock(Fragment, null, [
6672
+ createVNode(_sfc_main$r, {
6673
+ id: `${unref(uuid)}-label`,
6674
+ for: unref(uuid),
6675
+ label: __props.label
6676
+ }, null, 8, ["id", "for", "label"]),
6677
+ createElementVNode("select", mergeProps({
6678
+ "aria-labelledby": __props.label ? `${unref(uuid)}-label` : void 0,
6679
+ "aria-describedby": __props.help ? `${unref(uuid)}-help` : void 0,
6680
+ class: unref(classes),
6681
+ id: unref(uuid),
6682
+ value: __props.modelValue
6683
+ }, __spreadProps(__spreadValues({}, _ctx.$attrs), {
6684
+ onChange: ($event) => {
6685
+ emit("update:modelValue", $event.target.value);
6686
+ }
6687
+ })), [
6688
+ __props.placeholder ? (openBlock(), createElementBlock("option", _hoisted_2$h, toDisplayString(__props.placeholder), 1)) : createCommentVNode("", true),
6689
+ (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
6690
+ return openBlock(), createElementBlock("option", {
6691
+ value: option.value,
6692
+ textContent: toDisplayString(option.label),
6693
+ key: option.value
6694
+ }, null, 8, _hoisted_3$e);
6695
+ }), 128))
6696
+ ], 16, _hoisted_1$m),
6697
+ createVNode(_sfc_main$q, {
6117
6698
  id: `${unref(uuid)}-help`,
6118
6699
  text: __props.help
6119
6700
  }, null, 8, ["id", "text"])
@@ -6121,64 +6702,11 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
6121
6702
  };
6122
6703
  }
6123
6704
  });
6124
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
6125
- props: {
6126
- modelValue: null,
6127
- startDate: { default: 0 },
6128
- label: { default: "" },
6129
- help: { default: "" }
6130
- },
6131
- emits: ["update:modelValue"],
6132
- setup(__props, { emit: emits }) {
6133
- const props = __props;
6134
- const attrs = useAttrs();
6135
- const uuid = attrs.id || Uniques.CreateIdAttribute();
6136
- const updateModelValue2 = (value) => {
6137
- emits("update:modelValue", value);
6138
- };
6139
- onMounted(() => {
6140
- flatpickr(`#${uuid}`, {
6141
- dateFormat: "m-d-Y",
6142
- mode: "range",
6143
- maxDate: new Date(),
6144
- minDate: props.startDate,
6145
- onClose: (selectedDates) => {
6146
- if (selectedDates.length === 2) {
6147
- updateModelValue2({
6148
- minDate: selectedDates[0].setUTCHours(0, 0, 0, 0) / 1e3,
6149
- maxDate: Math.floor(selectedDates[1].setUTCHours(23, 59, 59, 999) / 1e3)
6150
- });
6151
- } else if (selectedDates.length === 0) {
6152
- updateModelValue2({
6153
- minDate: 0,
6154
- maxDate: 0
6155
- });
6156
- }
6157
- }
6158
- });
6159
- });
6160
- return (_ctx, _cache) => {
6161
- return openBlock(), createBlock(_sfc_main$m, {
6162
- type: "text",
6163
- placeholder: "mm-dd-yyyy range",
6164
- id: unref(uuid),
6165
- label: __props.label,
6166
- help: __props.help
6167
- }, null, 8, ["id", "label", "help"]);
6168
- };
6169
- }
6170
- });
6171
- const _hoisted_1$k = { class: "md:flex md:items-center md:justify-between bg-white mx-auto py-4 border-t border-gray-100" };
6705
+ const _hoisted_1$l = { class: "md:flex md:items-center md:justify-between bg-white mx-auto py-4 border-t border-gray-100" };
6172
6706
  const _hoisted_2$g = { class: "flex-1 min-w-0" };
6173
6707
  const _hoisted_3$d = { class: "text-lg leading-6 font-semibold text-gray-900" };
6174
6708
  const _hoisted_4$a = { class: "mt-4 flex md:mt-0 md:ml-4" };
6175
- const _hoisted_5$9 = /* @__PURE__ */ createElementVNode("option", { value: "DESC" }, "Newest-Oldest", -1);
6176
- const _hoisted_6$9 = /* @__PURE__ */ createElementVNode("option", { value: "ASC" }, "Oldest-Newest", -1);
6177
- const _hoisted_7$9 = [
6178
- _hoisted_5$9,
6179
- _hoisted_6$9
6180
- ];
6181
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
6709
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
6182
6710
  props: {
6183
6711
  dateRange: null,
6184
6712
  sortDir: null,
@@ -6188,25 +6716,37 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
6188
6716
  setup(__props, { emit: emits }) {
6189
6717
  const props = __props;
6190
6718
  const dateRange = ref(props.dateRange);
6191
- const sortDirChanged = (sortDir) => {
6192
- emits("sort-dir-changed", sortDir);
6719
+ const sortDir = ref(props.sortDir);
6720
+ const sortOptions = [
6721
+ { label: "Newest-Oldest", value: "DESC" },
6722
+ { label: "Oldest-Newest", value: "ASC" }
6723
+ ];
6724
+ const sortDirChanged = (sortDir2) => {
6725
+ emits("sort-dir-changed", sortDir2);
6193
6726
  };
6194
6727
  const dateRangeChanged = (dateRange2) => {
6195
6728
  emits("date-range-changed", dateRange2);
6196
6729
  };
6197
6730
  return (_ctx, _cache) => {
6198
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
6731
+ return openBlock(), createElementBlock("div", _hoisted_1$l, [
6199
6732
  createElementVNode("div", _hoisted_2$g, [
6200
6733
  createElementVNode("h1", _hoisted_3$d, toDisplayString(__props.title), 1)
6201
6734
  ]),
6202
6735
  createElementVNode("div", _hoisted_4$a, [
6203
- createElementVNode("select", {
6204
- onChange: _cache[0] || (_cache[0] = ($event) => sortDirChanged($event.target.value)),
6205
- 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"
6206
- }, _hoisted_7$9, 32),
6207
- createVNode(_sfc_main$l, {
6736
+ createVNode(_sfc_main$n, {
6737
+ modelValue: sortDir.value,
6738
+ "onUpdate:modelValue": [
6739
+ _cache[0] || (_cache[0] = ($event) => sortDir.value = $event),
6740
+ sortDirChanged
6741
+ ],
6742
+ options: sortOptions
6743
+ }, null, 8, ["modelValue"]),
6744
+ createVNode(_sfc_main$o, {
6208
6745
  modelValue: dateRange.value,
6209
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => dateRangeChanged($event)),
6746
+ "onUpdate:modelValue": [
6747
+ _cache[1] || (_cache[1] = ($event) => dateRange.value = $event),
6748
+ dateRangeChanged
6749
+ ],
6210
6750
  class: "ml-3"
6211
6751
  }, null, 8, ["modelValue"])
6212
6752
  ])
@@ -6214,7 +6754,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
6214
6754
  };
6215
6755
  }
6216
6756
  });
6217
- const _hoisted_1$j = { class: "px-4 flex items-center justify-between sm:px-0" };
6757
+ const _hoisted_1$k = { class: "px-4 flex items-center justify-between sm:px-0" };
6218
6758
  const _hoisted_2$f = { class: "w-0 flex-1 flex" };
6219
6759
  const _hoisted_3$c = /* @__PURE__ */ createElementVNode("svg", {
6220
6760
  class: "mr-3 h-5 w-5",
@@ -6251,51 +6791,48 @@ const _hoisted_11$5 = [
6251
6791
  _hoisted_9$8,
6252
6792
  _hoisted_10$8
6253
6793
  ];
6254
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
6794
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
6255
6795
  props: {
6256
6796
  modelValue: null
6257
6797
  },
6258
6798
  emits: ["update:modelValue"],
6259
6799
  setup(__props, { emit }) {
6260
6800
  const props = __props;
6261
- const pagination = ref(props.modelValue);
6262
- const updateModelValue2 = () => {
6263
- emit("update:modelValue", pagination.value);
6264
- };
6265
6801
  const changePage = (page) => {
6266
- pagination.value.page = page;
6267
- updateModelValue2();
6802
+ emit("update:modelValue", __spreadProps(__spreadValues({}, props.modelValue), {
6803
+ page
6804
+ }));
6268
6805
  };
6269
6806
  const pageShortcuts = computed(() => {
6270
6807
  const shortcuts = [];
6271
- if (pagination.value.totalPages <= 4) {
6272
- for (let i = 0; i < pagination.value.totalPages; i++) {
6808
+ if (props.modelValue.totalPages <= 4) {
6809
+ for (let i = 0; i < props.modelValue.totalPages; i++) {
6273
6810
  shortcuts.push(i + 1);
6274
6811
  }
6275
6812
  return shortcuts;
6276
6813
  }
6277
- const pagesLeft = pagination.value.totalPages - pagination.value.page;
6814
+ const pagesLeft = props.modelValue.totalPages - props.modelValue.page;
6278
6815
  if (pagesLeft >= 3) {
6279
6816
  for (let i = 0; i < 4; i++) {
6280
- shortcuts.push(pagination.value.page + i);
6817
+ shortcuts.push(props.modelValue.page + i);
6281
6818
  }
6282
6819
  return shortcuts;
6283
6820
  }
6284
6821
  for (let i = 0; i < 4; i++) {
6285
- shortcuts.unshift(pagination.value.totalPages - i);
6822
+ shortcuts.unshift(props.modelValue.totalPages - i);
6286
6823
  }
6287
6824
  return shortcuts;
6288
6825
  });
6289
6826
  return (_ctx, _cache) => {
6290
- return openBlock(), createElementBlock("div", _hoisted_1$j, [
6827
+ return openBlock(), createElementBlock("div", _hoisted_1$k, [
6291
6828
  createElementVNode("div", _hoisted_2$f, [
6292
6829
  createElementVNode("a", {
6293
6830
  href: "#",
6294
6831
  class: normalizeClass([
6295
6832
  "-mt-px border-t-2 border-transparent pt-4 pr-1 inline-flex items-center text-sm leading-5 font-medium focus:outline-none focus:text-gray-700 focus:border-gray-400",
6296
- pagination.value.page == 1 ? "text-gray-500 cursor-not-allowed pointer-events-none" : "text-gray-700 hover:text-gray-900 hover:border-gray-300"
6833
+ __props.modelValue.page == 1 ? "text-gray-500 cursor-not-allowed pointer-events-none" : "text-gray-700 hover:text-gray-900 hover:border-gray-300"
6297
6834
  ]),
6298
- onClick: _cache[0] || (_cache[0] = withModifiers(($event) => changePage(pagination.value.page - 1), ["prevent"]))
6835
+ onClick: _cache[0] || (_cache[0] = withModifiers(($event) => changePage(__props.modelValue.page - 1), ["prevent"]))
6299
6836
  }, _hoisted_5$8, 2)
6300
6837
  ]),
6301
6838
  createElementVNode("div", _hoisted_6$8, [
@@ -6304,7 +6841,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6304
6841
  href: "#",
6305
6842
  class: normalizeClass([
6306
6843
  "-mt-px border-t-2 pt-4 px-4 inline-flex items-center text-sm leading-5 font-medium",
6307
- pagination.value.page === i ? "border-blue-500 text-blue-600 focus:outline-none focus:text-blue-800 focus:border-blue-700" : "border-transparent text-gray-700 hover:text-gray-900 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-400"
6844
+ __props.modelValue.page === i ? "border-blue-500 text-blue-600 focus:outline-none focus:text-blue-800 focus:border-blue-700" : "border-transparent text-gray-700 hover:text-gray-900 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-400"
6308
6845
  ]),
6309
6846
  key: i,
6310
6847
  textContent: toDisplayString(i),
@@ -6317,20 +6854,20 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6317
6854
  href: "#",
6318
6855
  class: normalizeClass([
6319
6856
  "-mt-px border-t-2 border-transparent pt-4 pl-1 inline-flex items-center text-sm leading-5 font-medium focus:outline-none focus:text-gray-700 focus:border-gray-400",
6320
- pagination.value.page >= pagination.value.totalPages ? "text-gray-500 cursor-not-allowed pointer-events-none" : "text-gray-700 hover:text-gray-900 hover:border-gray-300"
6857
+ __props.modelValue.page >= __props.modelValue.totalPages ? "text-gray-500 cursor-not-allowed pointer-events-none" : "text-gray-700 hover:text-gray-900 hover:border-gray-300"
6321
6858
  ]),
6322
- onClick: _cache[1] || (_cache[1] = withModifiers(($event) => changePage(pagination.value.page + 1), ["prevent"]))
6859
+ onClick: _cache[1] || (_cache[1] = withModifiers(($event) => changePage(__props.modelValue.page + 1), ["prevent"]))
6323
6860
  }, _hoisted_11$5, 2)
6324
6861
  ])
6325
6862
  ]);
6326
6863
  };
6327
6864
  }
6328
6865
  });
6329
- const _hoisted_1$i = {
6866
+ const _hoisted_1$j = {
6330
6867
  key: 0,
6331
6868
  class: "shadow overflow-hidden sm:rounded-md border"
6332
6869
  };
6333
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
6870
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
6334
6871
  props: {
6335
6872
  refreshTrigger: { default: 0 },
6336
6873
  reloadTrigger: { default: 0 },
@@ -6385,14 +6922,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6385
6922
  loadAndRender(true);
6386
6923
  return (_ctx, _cache) => {
6387
6924
  return openBlock(), createElementBlock("div", null, [
6388
- createVNode(_sfc_main$k, {
6925
+ createVNode(_sfc_main$m, {
6389
6926
  "date-range": dateRange.value,
6390
6927
  "sort-dir": sortDir.value,
6391
6928
  title: __props.title,
6392
6929
  onSortDirChanged: _cache[0] || (_cache[0] = ($event) => sortDir.value = $event),
6393
6930
  onDateRangeChanged: _cache[1] || (_cache[1] = ($event) => dateRange.value = $event)
6394
6931
  }, null, 8, ["date-range", "sort-dir", "title"]),
6395
- hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
6932
+ hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
6396
6933
  createElementVNode("ul", null, [
6397
6934
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, idx) => {
6398
6935
  return openBlock(), createElementBlock("li", {
@@ -6404,7 +6941,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6404
6941
  }), 128))
6405
6942
  ])
6406
6943
  ])) : renderSlot(_ctx.$slots, "empty", { key: 1 }),
6407
- hasContent.value ? (openBlock(), createBlock(_sfc_main$j, {
6944
+ hasContent.value ? (openBlock(), createBlock(_sfc_main$l, {
6408
6945
  key: 2,
6409
6946
  modelValue: pagination.value,
6410
6947
  "onUpdate:modelValue": [
@@ -6416,8 +6953,8 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6416
6953
  };
6417
6954
  }
6418
6955
  });
6419
- const _hoisted_1$h = ["href"];
6420
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
6956
+ const _hoisted_1$i = ["href"];
6957
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
6421
6958
  props: {
6422
6959
  propsData: null,
6423
6960
  attribute: null
@@ -6427,12 +6964,12 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
6427
6964
  return openBlock(), createElementBlock("a", {
6428
6965
  href: __props.propsData[__props.attribute]
6429
6966
  }, [
6430
- createVNode(unref(render$4), { class: "h-6 w-6 group-hover:text-gray-500 transition" })
6431
- ], 8, _hoisted_1$h);
6967
+ createVNode(unref(render$5), { class: "h-6 w-6 group-hover:text-gray-500 transition" })
6968
+ ], 8, _hoisted_1$i);
6432
6969
  };
6433
6970
  }
6434
6971
  });
6435
- 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" };
6972
+ const _hoisted_1$h = { class: "fixed inset-0 flex flex-col items-end justify-end px-4 py-6 pointer-events-none sm:p-6 z-40" };
6436
6973
  const _hoisted_2$e = { class: "rounded-lg ring-1 ring-black ring-opacity-5 overflow-hidden" };
6437
6974
  const _hoisted_3$b = { class: "p-4" };
6438
6975
  const _hoisted_4$8 = { class: "flex items-center" };
@@ -6454,7 +6991,7 @@ const _hoisted_9$7 = /* @__PURE__ */ createElementVNode("svg", {
6454
6991
  const _hoisted_10$7 = [
6455
6992
  _hoisted_9$7
6456
6993
  ];
6457
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
6994
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
6458
6995
  setup(__props) {
6459
6996
  const flashes = ref([]);
6460
6997
  const flashTypeBorderClass = {
@@ -6509,7 +7046,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
6509
7046
  }
6510
7047
  });
6511
7048
  return (_ctx, _cache) => {
6512
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
7049
+ return openBlock(), createElementBlock("div", _hoisted_1$h, [
6513
7050
  createVNode(TransitionGroup, {
6514
7051
  tag: "div",
6515
7052
  class: "max-w-sm w-full",
@@ -6553,6 +7090,22 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
6553
7090
  };
6554
7091
  }
6555
7092
  });
7093
+ function render$4(_ctx, _cache) {
7094
+ return openBlock(), createBlock("svg", {
7095
+ xmlns: "http://www.w3.org/2000/svg",
7096
+ fill: "none",
7097
+ viewBox: "0 0 24 24",
7098
+ stroke: "currentColor",
7099
+ "aria-hidden": "true"
7100
+ }, [
7101
+ createVNode("path", {
7102
+ "stroke-linecap": "round",
7103
+ "stroke-linejoin": "round",
7104
+ "stroke-width": "2",
7105
+ d: "M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
7106
+ })
7107
+ ]);
7108
+ }
6556
7109
  function render$3(_ctx, _cache) {
6557
7110
  return openBlock(), createBlock("svg", {
6558
7111
  xmlns: "http://www.w3.org/2000/svg",
@@ -6585,7 +7138,7 @@ function render$2(_ctx, _cache) {
6585
7138
  })
6586
7139
  ]);
6587
7140
  }
6588
- function render$111(_ctx, _cache) {
7141
+ function render$113(_ctx, _cache) {
6589
7142
  return openBlock(), createBlock("svg", {
6590
7143
  xmlns: "http://www.w3.org/2000/svg",
6591
7144
  fill: "none",
@@ -6617,7 +7170,7 @@ function render(_ctx, _cache) {
6617
7170
  })
6618
7171
  ]);
6619
7172
  }
6620
- 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" };
7173
+ const _hoisted_1$g = { class: "flex items-end justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0" };
6621
7174
  const _hoisted_2$d = /* @__PURE__ */ createElementVNode("span", {
6622
7175
  class: "hidden sm:inline-block sm:align-middle sm:h-screen",
6623
7176
  "aria-hidden": "true"
@@ -6633,7 +7186,7 @@ const _hoisted_9$6 = {
6633
7186
  class: "bg-gray-50 px-4 py-3 sm:px-6 sm:flex sm:flex-row-reverse"
6634
7187
  };
6635
7188
  const _hoisted_10$6 = ["textContent", "disabled"];
6636
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
7189
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
6637
7190
  props: {
6638
7191
  destructive: { type: Boolean, default: false },
6639
7192
  disabled: { type: Boolean, default: false },
@@ -6663,7 +7216,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6663
7216
  open: __props.modelValue
6664
7217
  }, {
6665
7218
  default: withCtx(() => [
6666
- createElementVNode("div", _hoisted_1$f, [
7219
+ createElementVNode("div", _hoisted_1$g, [
6667
7220
  createVNode(unref(TransitionChild), {
6668
7221
  as: "template",
6669
7222
  enter: "ease-out duration-300",
@@ -6745,7 +7298,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6745
7298
  };
6746
7299
  }
6747
7300
  });
6748
- const _hoisted_1$e = {
7301
+ const _hoisted_1$f = {
6749
7302
  key: 0,
6750
7303
  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"
6751
7304
  };
@@ -6827,7 +7380,7 @@ const _hoisted_2$c = /* @__PURE__ */ createElementVNode("div", { class: "flex ju
6827
7380
  ])
6828
7381
  ])
6829
7382
  ], -1);
6830
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
7383
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
6831
7384
  setup(__props) {
6832
7385
  const idx = ref(0);
6833
7386
  const loading = ref(false);
@@ -6869,7 +7422,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
6869
7422
  });
6870
7423
  });
6871
7424
  return (_ctx, _cache) => {
6872
- return loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$e, [
7425
+ return loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
6873
7426
  createElementVNode("div", null, [
6874
7427
  _hoisted_2$c,
6875
7428
  withDirectives(createElementVNode("div", null, [
@@ -6899,7 +7452,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
6899
7452
  };
6900
7453
  }
6901
7454
  });
6902
- const _hoisted_1$d = { class: "h-screen flex overflow-hidden bg-gray-100" };
7455
+ const _hoisted_1$e = { class: "h-screen flex overflow-hidden bg-gray-100" };
6903
7456
  const _hoisted_2$b = { class: "relative flex-1 flex flex-col max-w-xs w-full pt-5 pb-4 bg-white" };
6904
7457
  const _hoisted_3$9 = { class: "absolute top-0 right-0 -mr-12 pt-2" };
6905
7458
  const _hoisted_4$6 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Close sidebar", -1);
@@ -6931,7 +7484,7 @@ const _hoisted_26 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only
6931
7484
  const _hoisted_27 = ["href"];
6932
7485
  const _hoisted_28 = { class: "flex-1 relative overflow-y-auto focus:outline-none" };
6933
7486
  const _hoisted_29 = { class: "mx-auto" };
6934
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
7487
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
6935
7488
  props: {
6936
7489
  activeURL: { default: "" },
6937
7490
  iconURL: null,
@@ -6946,7 +7499,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
6946
7499
  };
6947
7500
  return (_ctx, _cache) => {
6948
7501
  return openBlock(), createElementBlock(Fragment, null, [
6949
- createElementVNode("div", _hoisted_1$d, [
7502
+ createElementVNode("div", _hoisted_1$e, [
6950
7503
  createVNode(unref(TransitionRoot), {
6951
7504
  as: "template",
6952
7505
  show: sidebarOpen.value
@@ -7117,7 +7670,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
7117
7670
  createVNode(unref(MenuButton), { class: "max-w-xs flex items-center text-sm text-white rounded-full hover:bg-blue-500 hover:text-gray-200 focus:outline-none focus:ring focus:text-white" }, {
7118
7671
  default: withCtx(() => [
7119
7672
  _hoisted_26,
7120
- createVNode(unref(render$6), {
7673
+ createVNode(unref(render$7), {
7121
7674
  class: "h-8 w-8",
7122
7675
  fill: "currentColor"
7123
7676
  })
@@ -7171,12 +7724,226 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
7171
7724
  ])
7172
7725
  ])
7173
7726
  ]),
7174
- createVNode(_sfc_main$g),
7175
- createVNode(_sfc_main$e)
7727
+ createVNode(_sfc_main$i),
7728
+ createVNode(_sfc_main$g)
7176
7729
  ], 64);
7177
7730
  };
7178
7731
  }
7179
7732
  });
7733
+ function throttle(func, timeout = 100) {
7734
+ let inThrottle;
7735
+ return (...args) => {
7736
+ if (!inThrottle) {
7737
+ func.apply(args);
7738
+ inThrottle = true;
7739
+ setTimeout(() => inThrottle = false, timeout);
7740
+ }
7741
+ };
7742
+ }
7743
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
7744
+ props: {
7745
+ as: { default: "div" },
7746
+ position: { default: "auto" }
7747
+ },
7748
+ setup(__props) {
7749
+ const props = __props;
7750
+ const getViewportDimensions = () => {
7751
+ return {
7752
+ vw: document.documentElement.clientWidth,
7753
+ vh: document.documentElement.clientHeight
7754
+ };
7755
+ };
7756
+ const trigger = ref();
7757
+ const wrapper = ref();
7758
+ const viewport = ref(getViewportDimensions());
7759
+ const classes = computed(() => {
7760
+ const classes2 = {
7761
+ wrapper: "",
7762
+ content: ""
7763
+ };
7764
+ if (props.position === "none") {
7765
+ return classes2;
7766
+ }
7767
+ classes2.wrapper = "h-0 flex w-screen";
7768
+ classes2.content = "absolute";
7769
+ if (props.position !== "auto") {
7770
+ classes2.wrapper += ` ${staticPosition.value.wrapper}`;
7771
+ classes2.content += ` ${staticPosition.value.content}`;
7772
+ }
7773
+ return classes2;
7774
+ });
7775
+ const staticPosition = computed(() => {
7776
+ let wrapperClasses = "";
7777
+ let contentClasses = "";
7778
+ switch (props.position) {
7779
+ case "top-left":
7780
+ wrapperClasses = "top-0 right-0 -translate-y-full justify-end";
7781
+ contentClasses = "bottom-full";
7782
+ break;
7783
+ case "top-center":
7784
+ wrapperClasses = "top-0 -translate-y-full -translate-x-full left-1/2 justify-end";
7785
+ contentClasses = "bottom-full translate-x-1/2";
7786
+ break;
7787
+ case "top-right":
7788
+ wrapperClasses = "top-0 -translate-y-full left-0 -translate-x-full justify-end";
7789
+ contentClasses = "bottom-full translate-x-full";
7790
+ break;
7791
+ case "bottom-left":
7792
+ wrapperClasses = "top-full right-0 justify-end";
7793
+ contentClasses = "top-full";
7794
+ break;
7795
+ case "bottom-center":
7796
+ wrapperClasses = "top-full -translate-x-full left-1/2 justify-end";
7797
+ contentClasses = "top-full translate-x-1/2";
7798
+ break;
7799
+ case "bottom-right":
7800
+ wrapperClasses = "top-full left-0 -translate-x-full justify-end";
7801
+ contentClasses = "top-full translate-x-full";
7802
+ break;
7803
+ case "left":
7804
+ wrapperClasses = "top-1/2 left-0 -translate-y-1/2 -translate-x-full justify-end";
7805
+ contentClasses = "-translate-y-1/2";
7806
+ break;
7807
+ case "right":
7808
+ wrapperClasses = "top-1/2 -translate-y-1/2 right-0 justify-end";
7809
+ contentClasses = "translate-x-full -translate-y-1/2";
7810
+ break;
7811
+ }
7812
+ return {
7813
+ wrapper: wrapperClasses,
7814
+ content: contentClasses
7815
+ };
7816
+ });
7817
+ const autoPosition = computed(() => {
7818
+ var _a, _b;
7819
+ if (!((_a = wrapper == null ? void 0 : wrapper.value) == null ? void 0 : _a.el) || !((_b = trigger == null ? void 0 : trigger.value) == null ? void 0 : _b.el)) {
7820
+ return {};
7821
+ }
7822
+ const { vw, vh } = viewport.value;
7823
+ const offset = 10;
7824
+ const anchorRect = trigger.value.el.getBoundingClientRect();
7825
+ const contentRect = wrapper.value.el.firstChild.getBoundingClientRect();
7826
+ const distToBottom = vh - anchorRect.bottom;
7827
+ const positionAbove = anchorRect.top > distToBottom;
7828
+ const distToRight = vw - anchorRect.left;
7829
+ const flowLeft = anchorRect.left > distToRight;
7830
+ let xPos = 0;
7831
+ if (flowLeft) {
7832
+ if (contentRect.width > anchorRect.right) {
7833
+ xPos = anchorRect.right - contentRect.width + (contentRect.width - anchorRect.right);
7834
+ } else {
7835
+ xPos = anchorRect.right - contentRect.width;
7836
+ }
7837
+ if (vw > contentRect.width + offset) {
7838
+ xPos = xPos + offset;
7839
+ }
7840
+ } else {
7841
+ if (contentRect.width > distToRight) {
7842
+ xPos = anchorRect.left - (contentRect.width - distToRight);
7843
+ } else {
7844
+ xPos = anchorRect.left;
7845
+ }
7846
+ if (vw > contentRect.width + offset) {
7847
+ xPos = xPos - offset;
7848
+ }
7849
+ }
7850
+ return {
7851
+ wrapper: {
7852
+ top: positionAbove ? "auto" : `100%`,
7853
+ bottom: positionAbove ? "100%" : `auto`,
7854
+ transform: `translate(${anchorRect.left * -1}px, 0)`,
7855
+ width: `${vw}px`
7856
+ },
7857
+ content: {
7858
+ top: positionAbove ? "auto" : `100%`,
7859
+ bottom: positionAbove ? "100%" : `auto`,
7860
+ transform: `translate(${xPos}px, 0)`
7861
+ }
7862
+ };
7863
+ });
7864
+ if (props.position === "auto") {
7865
+ const throttledSetPositions = throttle(() => {
7866
+ viewport.value = getViewportDimensions();
7867
+ });
7868
+ onMounted(() => {
7869
+ window.addEventListener("resize", throttledSetPositions);
7870
+ window.addEventListener("scroll", throttledSetPositions);
7871
+ });
7872
+ onUnmounted(() => {
7873
+ window.removeEventListener("resize", throttledSetPositions);
7874
+ window.removeEventListener("scroll", throttledSetPositions);
7875
+ });
7876
+ }
7877
+ return (_ctx, _cache) => {
7878
+ return openBlock(), createBlock(unref(Popover), {
7879
+ class: "relative",
7880
+ as: __props.as
7881
+ }, {
7882
+ default: withCtx(({ open, close: close2 }) => [
7883
+ createVNode(unref(PopoverButton), {
7884
+ ref_key: "trigger",
7885
+ ref: trigger
7886
+ }, {
7887
+ default: withCtx(() => [
7888
+ renderSlot(_ctx.$slots, "button", {
7889
+ open,
7890
+ close: close2
7891
+ })
7892
+ ]),
7893
+ _: 2
7894
+ }, 1536),
7895
+ createVNode(Transition, {
7896
+ "enter-active-class": "transition-opacity transition-faster ease-out-quad",
7897
+ "leave-active-class": "transition-opacity transition-fastest ease-in-quad",
7898
+ "enter-from-class": "opacity-0",
7899
+ "enter-to-class": "opacity-100",
7900
+ "leave-from-class": "opacity-100",
7901
+ "leave-to-class": "opacity-0"
7902
+ }, {
7903
+ default: withCtx(() => [
7904
+ createVNode(unref(PopoverPanel), {
7905
+ ref_key: "wrapper",
7906
+ ref: wrapper,
7907
+ class: normalizeClass(["absolute z-10", unref(classes).wrapper]),
7908
+ style: normalizeStyle(__props.position === "auto" ? unref(autoPosition).wrapper : {})
7909
+ }, {
7910
+ default: withCtx(() => [
7911
+ createElementVNode("div", {
7912
+ class: normalizeClass(unref(classes).content),
7913
+ style: normalizeStyle(__props.position === "auto" ? unref(autoPosition).content : {})
7914
+ }, [
7915
+ renderSlot(_ctx.$slots, "default", {
7916
+ open,
7917
+ close: close2
7918
+ })
7919
+ ], 6)
7920
+ ]),
7921
+ _: 2
7922
+ }, 1032, ["class", "style"])
7923
+ ]),
7924
+ _: 2
7925
+ }, 1024)
7926
+ ]),
7927
+ _: 3
7928
+ }, 8, ["as"]);
7929
+ };
7930
+ }
7931
+ });
7932
+ var _export_sfc = (sfc, props) => {
7933
+ const target = sfc.__vccOpts || sfc;
7934
+ for (const [key, val] of props) {
7935
+ target[key] = val;
7936
+ }
7937
+ return target;
7938
+ };
7939
+ const _sfc_main$d = {};
7940
+ const _hoisted_1$d = { class: "w-full max-w-xs bg-white rounded-md p-2 border border-gray-100 shadow-md" };
7941
+ function _sfc_render(_ctx, _cache) {
7942
+ return openBlock(), createElementBlock("div", _hoisted_1$d, [
7943
+ renderSlot(_ctx.$slots, "default")
7944
+ ]);
7945
+ }
7946
+ var PopoverContent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render]]);
7180
7947
  const _hoisted_1$c = { class: "absolute inset-0 overflow-hidden" };
7181
7948
  const _hoisted_2$a = { class: "fixed inset-y-0 right-0 pl-10 max-w-full flex" };
7182
7949
  const _hoisted_3$8 = { class: "w-screen max-w-md" };
@@ -7279,9 +8046,39 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
7279
8046
  };
7280
8047
  }
7281
8048
  });
7282
- const _hoisted_1$b = { class: "min-h-screen bg-gray-100" };
7283
- const _hoisted_2$9 = { class: "mx-auto px-4 sm:px-6 lg:px-8" };
7284
- const _hoisted_3$7 = { class: "flex justify-between h-16" };
8049
+ const _hoisted_1$b = { class: "leading-none w-4 h-4" };
8050
+ const _hoisted_2$9 = /* @__PURE__ */ createElementVNode("div", { class: "p-5 absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" }, null, -1);
8051
+ const _hoisted_3$7 = { class: "w-full max-w-xs bg-white rounded-md px-3 py-2 border border-gray-100 drop-shadow-md text-xs text-gray-900 leading-snug font-medium" };
8052
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
8053
+ props: {
8054
+ as: { default: "span" },
8055
+ position: { default: "auto" }
8056
+ },
8057
+ setup(__props) {
8058
+ return (_ctx, _cache) => {
8059
+ return openBlock(), createBlock(_sfc_main$e, {
8060
+ position: __props.position,
8061
+ as: __props.as
8062
+ }, {
8063
+ button: withCtx(() => [
8064
+ createElementVNode("div", _hoisted_1$b, [
8065
+ createVNode(unref(render$4)),
8066
+ _hoisted_2$9
8067
+ ])
8068
+ ]),
8069
+ default: withCtx(() => [
8070
+ createElementVNode("div", _hoisted_3$7, [
8071
+ renderSlot(_ctx.$slots, "default")
8072
+ ])
8073
+ ]),
8074
+ _: 3
8075
+ }, 8, ["position", "as"]);
8076
+ };
8077
+ }
8078
+ });
8079
+ const _hoisted_1$a = { class: "min-h-screen bg-gray-100" };
8080
+ const _hoisted_2$8 = { class: "mx-auto px-4 sm:px-6 lg:px-8" };
8081
+ const _hoisted_3$6 = { class: "flex justify-between h-16" };
7285
8082
  const _hoisted_4$4 = { class: "flex" };
7286
8083
  const _hoisted_5$3 = { class: "flex-shrink-0 flex items-center" };
7287
8084
  const _hoisted_6$3 = ["src"];
@@ -7304,7 +8101,7 @@ const _hoisted_22$1 = { class: "mt-3 space-y-1" };
7304
8101
  const _hoisted_23$1 = ["href"];
7305
8102
  const _hoisted_24$1 = { class: "mx-auto sm:px-6 lg:px-8" };
7306
8103
  const _hoisted_25 = { class: "px-4 py-8 sm:px-0" };
7307
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
8104
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7308
8105
  props: {
7309
8106
  activeURL: { default: "" },
7310
8107
  currentUser: null,
@@ -7319,14 +8116,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7319
8116
  };
7320
8117
  return (_ctx, _cache) => {
7321
8118
  return openBlock(), createElementBlock(Fragment, null, [
7322
- createElementVNode("div", _hoisted_1$b, [
8119
+ createElementVNode("div", _hoisted_1$a, [
7323
8120
  createVNode(unref(Disclosure), {
7324
8121
  as: "nav",
7325
8122
  class: "bg-white shadow-sm"
7326
8123
  }, {
7327
8124
  default: withCtx(({ open }) => [
7328
- createElementVNode("div", _hoisted_2$9, [
7329
- createElementVNode("div", _hoisted_3$7, [
8125
+ createElementVNode("div", _hoisted_2$8, [
8126
+ createElementVNode("div", _hoisted_3$6, [
7330
8127
  createElementVNode("div", _hoisted_4$4, [
7331
8128
  createElementVNode("div", _hoisted_5$3, [
7332
8129
  createElementVNode("img", {
@@ -7359,7 +8156,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7359
8156
  createVNode(unref(MenuButton), { class: "bg-white flex text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" }, {
7360
8157
  default: withCtx(() => [
7361
8158
  _hoisted_10$3,
7362
- createVNode(unref(render$111), { class: "text-gray-500 h-8 w-8 rounded-full" })
8159
+ createVNode(unref(render$113), { class: "text-gray-500 h-8 w-8 rounded-full" })
7363
8160
  ]),
7364
8161
  _: 1
7365
8162
  })
@@ -7438,13 +8235,14 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7438
8235
  createElementVNode("div", _hoisted_16$1, [
7439
8236
  createElementVNode("div", _hoisted_17$1, [
7440
8237
  createElementVNode("div", _hoisted_18$1, [
7441
- createVNode(unref(render$111), { class: "text-gray-500 h-10 w-10 rounded-full" })
8238
+ createVNode(unref(render$113), { class: "text-gray-500 h-10 w-10 rounded-full" })
7442
8239
  ]),
7443
8240
  createElementVNode("div", _hoisted_19$1, [
7444
- createElementVNode("div", {
8241
+ __props.currentUser.name ? (openBlock(), createElementBlock("div", {
8242
+ key: 0,
7445
8243
  class: "text-base font-medium text-gray-800",
7446
8244
  textContent: toDisplayString(__props.currentUser.name)
7447
- }, null, 8, _hoisted_20$1),
8245
+ }, null, 8, _hoisted_20$1)) : createCommentVNode("", true),
7448
8246
  createElementVNode("div", {
7449
8247
  class: "text-sm font-medium text-gray-500",
7450
8248
  textContent: toDisplayString(__props.currentUser.email)
@@ -7476,15 +8274,15 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
7476
8274
  ])
7477
8275
  ])
7478
8276
  ]),
7479
- createVNode(_sfc_main$g),
7480
- createVNode(_sfc_main$e)
8277
+ createVNode(_sfc_main$i),
8278
+ createVNode(_sfc_main$g)
7481
8279
  ], 64);
7482
8280
  };
7483
8281
  }
7484
8282
  });
7485
- const _hoisted_1$a = { class: "flex flex-col" };
7486
- const _hoisted_2$8 = { class: "-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" };
7487
- const _hoisted_3$6 = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8" };
8283
+ const _hoisted_1$9 = { class: "flex flex-col" };
8284
+ const _hoisted_2$7 = { class: "-my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" };
8285
+ const _hoisted_3$5 = { class: "inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8" };
7488
8286
  const _hoisted_4$3 = { class: "overflow-hidden border-b border-gray-200 shadow sm:rounded-lg" };
7489
8287
  const _hoisted_5$2 = { class: "min-w-full divide-y divide-gray-200" };
7490
8288
  const _hoisted_6$2 = ["textContent"];
@@ -7492,7 +8290,7 @@ const _hoisted_7$2 = { class: "bg-white divide-y divide-gray-200" };
7492
8290
  const _hoisted_8$2 = ["textContent"];
7493
8291
  const _hoisted_9$2 = { key: 0 };
7494
8292
  const _hoisted_10$2 = ["colspan"];
7495
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
8293
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
7496
8294
  props: {
7497
8295
  tableData: null
7498
8296
  },
@@ -7508,9 +8306,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7508
8306
  return "";
7509
8307
  };
7510
8308
  return (_ctx, _cache) => {
7511
- return openBlock(), createElementBlock("div", _hoisted_1$a, [
7512
- createElementVNode("div", _hoisted_2$8, [
7513
- createElementVNode("div", _hoisted_3$6, [
8309
+ return openBlock(), createElementBlock("div", _hoisted_1$9, [
8310
+ createElementVNode("div", _hoisted_2$7, [
8311
+ createElementVNode("div", _hoisted_3$5, [
7514
8312
  createElementVNode("div", _hoisted_4$3, [
7515
8313
  createElementVNode("table", _hoisted_5$2, [
7516
8314
  createElementVNode("thead", null, [
@@ -7562,9 +8360,9 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
7562
8360
  };
7563
8361
  }
7564
8362
  });
7565
- const _hoisted_1$9 = { class: "flex items-center justify-center space-x-8" };
7566
- const _hoisted_2$7 = { class: "font-medium" };
7567
- const _hoisted_3$5 = { class: "flex items-center space-x-5" };
8363
+ const _hoisted_1$8 = { class: "flex items-center justify-center space-x-8" };
8364
+ const _hoisted_2$6 = { class: "font-medium" };
8365
+ const _hoisted_3$4 = { class: "flex items-center space-x-5" };
7568
8366
  const _hoisted_4$2 = {
7569
8367
  key: 0,
7570
8368
  class: "block w-2.5 h-2.5 bg-xy-green rounded-full hover:bg-green-900 focus:bg-green-900"
@@ -7597,7 +8395,7 @@ const _hoisted_11$1 = {
7597
8395
  const _hoisted_12$1 = ["textContent"];
7598
8396
  const _hoisted_13$1 = { class: "ml-3 inline-flex rounded-md shadow-sm" };
7599
8397
  const _hoisted_14$1 = ["textContent"];
7600
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
8398
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7601
8399
  props: {
7602
8400
  hideActions: { type: Boolean, default: false },
7603
8401
  hidePrevious: { type: Boolean, default: false },
@@ -7616,9 +8414,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
7616
8414
  };
7617
8415
  return (_ctx, _cache) => {
7618
8416
  return openBlock(), createElementBlock("div", null, [
7619
- createElementVNode("nav", _hoisted_1$9, [
7620
- createElementVNode("p", _hoisted_2$7, "Step " + toDisplayString(__props.step) + " of " + toDisplayString(__props.total), 1),
7621
- createElementVNode("ul", _hoisted_3$5, [
8417
+ createElementVNode("nav", _hoisted_1$8, [
8418
+ createElementVNode("p", _hoisted_2$6, "Step " + toDisplayString(__props.step) + " of " + toDisplayString(__props.total), 1),
8419
+ createElementVNode("ul", _hoisted_3$4, [
7622
8420
  (openBlock(true), createElementBlock(Fragment, null, renderList(__props.total, (index) => {
7623
8421
  return openBlock(), createElementBlock("li", { key: index }, [
7624
8422
  __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))
@@ -7648,12 +8446,12 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
7648
8446
  };
7649
8447
  }
7650
8448
  });
7651
- const _hoisted_1$8 = { class: "flex flex-col mb-4 space-y-4 lg:space-y-0 lg:flex-row lg:justify-between" };
7652
- const _hoisted_2$6 = {
8449
+ const _hoisted_1$7 = { class: "flex flex-col mb-4 space-y-4 lg:space-y-0 lg:flex-row lg:justify-between" };
8450
+ const _hoisted_2$5 = {
7653
8451
  key: 0,
7654
8452
  class: "w-full max-w-lg lg:max-w-xs"
7655
8453
  };
7656
- const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("label", {
8454
+ const _hoisted_3$3 = /* @__PURE__ */ createElementVNode("label", {
7657
8455
  for: "search",
7658
8456
  class: "sr-only"
7659
8457
  }, "Search", -1);
@@ -7731,7 +8529,7 @@ const _hoisted_21 = ["onClick"];
7731
8529
  const _hoisted_22 = ["textContent"];
7732
8530
  const _hoisted_23 = { key: 0 };
7733
8531
  const _hoisted_24 = ["colspan"];
7734
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
8532
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7735
8533
  props: {
7736
8534
  clickable: { type: Boolean, default: false },
7737
8535
  loader: { type: Boolean, default: true },
@@ -7815,9 +8613,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7815
8613
  loadAndRender();
7816
8614
  return (_ctx, _cache) => {
7817
8615
  return openBlock(), createElementBlock("div", null, [
7818
- createElementVNode("div", _hoisted_1$8, [
7819
- __props.tableData.search ? (openBlock(), createElementBlock("div", _hoisted_2$6, [
7820
- _hoisted_3$4,
8616
+ createElementVNode("div", _hoisted_1$7, [
8617
+ __props.tableData.search ? (openBlock(), createElementBlock("div", _hoisted_2$5, [
8618
+ _hoisted_3$3,
7821
8619
  createElementVNode("div", _hoisted_4$1, [
7822
8620
  _hoisted_5,
7823
8621
  withDirectives(createElementVNode("input", {
@@ -7837,7 +8635,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7837
8635
  ])
7838
8636
  ])) : createCommentVNode("", true),
7839
8637
  __props.tableData.dateSearch ? (openBlock(), createElementBlock("div", _hoisted_6, [
7840
- createVNode(_sfc_main$l, {
8638
+ createVNode(_sfc_main$o, {
7841
8639
  modelValue: dateRange.value,
7842
8640
  "onUpdate:modelValue": [
7843
8641
  _cache[2] || (_cache[2] = ($event) => dateRange.value = $event),
@@ -7902,7 +8700,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7902
8700
  ])
7903
8701
  ])
7904
8702
  ]),
7905
- unref(hasContent) ? (openBlock(), createBlock(_sfc_main$j, {
8703
+ unref(hasContent) ? (openBlock(), createBlock(_sfc_main$l, {
7906
8704
  key: 0,
7907
8705
  modelValue: pagination.value,
7908
8706
  "onUpdate:modelValue": [
@@ -7914,13 +8712,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
7914
8712
  };
7915
8713
  }
7916
8714
  });
7917
- const _hoisted_1$7 = /* @__PURE__ */ createElementVNode("label", {
8715
+ const _hoisted_1$6 = /* @__PURE__ */ createElementVNode("label", {
7918
8716
  for: "tabs",
7919
8717
  class: "sr-only"
7920
8718
  }, "Select a tab", -1);
7921
- const _hoisted_2$5 = { class: "hidden sm:block" };
7922
- const _hoisted_3$3 = ["textContent", "onClick"];
7923
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
8719
+ const _hoisted_2$4 = { class: "hidden sm:block" };
8720
+ const _hoisted_3$2 = ["textContent", "onClick"];
8721
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
7924
8722
  props: {
7925
8723
  modelValue: null,
7926
8724
  pillDesign: { type: Boolean, default: false },
@@ -7962,7 +8760,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7962
8760
  createElementVNode("div", {
7963
8761
  class: normalizeClass(["sm:hidden", { "mb-4": __props.pillDesign }])
7964
8762
  }, [
7965
- _hoisted_1$7,
8763
+ _hoisted_1$6,
7966
8764
  createVNode(_component_Select, {
7967
8765
  name: "tabs",
7968
8766
  modelValue: __props.modelValue,
@@ -7970,7 +8768,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7970
8768
  options: __props.tabs
7971
8769
  }, null, 8, ["modelValue", "options"])
7972
8770
  ], 2),
7973
- createElementVNode("div", _hoisted_2$5, [
8771
+ createElementVNode("div", _hoisted_2$4, [
7974
8772
  createElementVNode("div", {
7975
8773
  class: normalizeClass({ "border-b border-gray-200": unref(notPillDesign) })
7976
8774
  }, [
@@ -7984,7 +8782,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7984
8782
  key: idx,
7985
8783
  textContent: toDisplayString(tab.label),
7986
8784
  onClick: withModifiers(($event) => updateModelValue2(tab.value), ["prevent"])
7987
- }, null, 10, _hoisted_3$3);
8785
+ }, null, 10, _hoisted_3$2);
7988
8786
  }), 128))
7989
8787
  ], 2)
7990
8788
  ], 2)
@@ -7993,8 +8791,8 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
7993
8791
  };
7994
8792
  }
7995
8793
  });
7996
- const _hoisted_1$6 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Use", -1);
7997
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
8794
+ const _hoisted_1$5 = /* @__PURE__ */ createElementVNode("span", { class: "sr-only" }, "Use", -1);
8795
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
7998
8796
  props: {
7999
8797
  modelValue: { type: Boolean, default: false }
8000
8798
  },
@@ -8010,7 +8808,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
8010
8808
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => emits("update:modelValue", $event))
8011
8809
  }, {
8012
8810
  default: withCtx(() => [
8013
- _hoisted_1$6,
8811
+ _hoisted_1$5,
8014
8812
  createElementVNode("span", {
8015
8813
  "aria-hidden": "true",
8016
8814
  class: normalizeClass([
@@ -8024,9 +8822,9 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
8024
8822
  };
8025
8823
  }
8026
8824
  });
8027
- const _hoisted_1$5 = { class: "inline-flex items-center" };
8028
- const _hoisted_2$4 = ["aria-labelledby", "checked", "id"];
8029
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8825
+ const _hoisted_1$4 = { class: "inline-flex items-center" };
8826
+ const _hoisted_2$3 = ["aria-labelledby", "checked", "id"];
8827
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8030
8828
  props: {
8031
8829
  label: { default: "" },
8032
8830
  modelValue: { type: Boolean }
@@ -8037,7 +8835,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8037
8835
  const uuid = attrs.id || Uniques.CreateIdAttribute();
8038
8836
  return (_ctx, _cache) => {
8039
8837
  return openBlock(), createElementBlock("div", null, [
8040
- createElementVNode("label", _hoisted_1$5, [
8838
+ createElementVNode("label", _hoisted_1$4, [
8041
8839
  createElementVNode("input", mergeProps({
8042
8840
  "aria-labelledby": __props.label ? `${unref(uuid)}-label` : void 0,
8043
8841
  checked: __props.modelValue,
@@ -8048,8 +8846,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8048
8846
  onChange: ($event) => {
8049
8847
  emits("update:modelValue", $event.target.checked);
8050
8848
  }
8051
- })), null, 16, _hoisted_2$4),
8052
- createVNode(_sfc_main$o, {
8849
+ })), null, 16, _hoisted_2$3),
8850
+ createVNode(_sfc_main$r, {
8053
8851
  class: "ml-2",
8054
8852
  id: `${unref(uuid)}-label`,
8055
8853
  for: unref(uuid),
@@ -8061,9 +8859,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
8061
8859
  };
8062
8860
  }
8063
8861
  });
8064
- const _hoisted_1$4 = { class: "inline-flex items-center" };
8065
- const _hoisted_2$3 = ["id", "value"];
8066
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8862
+ const _hoisted_1$3 = { class: "inline-flex items-center" };
8863
+ const _hoisted_2$2 = ["id", "value"];
8864
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8067
8865
  props: {
8068
8866
  options: null,
8069
8867
  legend: { default: "" },
@@ -8077,7 +8875,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8077
8875
  const model = ref(props.modelValue);
8078
8876
  return (_ctx, _cache) => {
8079
8877
  return openBlock(), createElementBlock("fieldset", null, [
8080
- createVNode(_sfc_main$o, {
8878
+ createVNode(_sfc_main$r, {
8081
8879
  class: "block mb-0",
8082
8880
  label: __props.legend,
8083
8881
  tag: "legend"
@@ -8087,7 +8885,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8087
8885
  class: "mt-4",
8088
8886
  key: option.value
8089
8887
  }, [
8090
- createElementVNode("label", _hoisted_1$4, [
8888
+ createElementVNode("label", _hoisted_1$3, [
8091
8889
  withDirectives(createElementVNode("input", mergeProps({
8092
8890
  type: "checkbox",
8093
8891
  class: "focus:ring-blue-500 h-4 w-4 text-xy-blue border-gray-600 rounded disabled:opacity-50 disabled:cursor-not-allowed",
@@ -8098,10 +8896,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8098
8896
  onChange: () => {
8099
8897
  emits("update:modelValue", model.value);
8100
8898
  }
8101
- })), null, 16, _hoisted_2$3), [
8899
+ })), null, 16, _hoisted_2$2), [
8102
8900
  [vModelCheckbox, model.value]
8103
8901
  ]),
8104
- createVNode(_sfc_main$o, {
8902
+ createVNode(_sfc_main$r, {
8105
8903
  class: "ml-2",
8106
8904
  for: `${unref(uuid)}-${index}`,
8107
8905
  label: option.label,
@@ -8114,10 +8912,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
8114
8912
  };
8115
8913
  }
8116
8914
  });
8117
- const _hoisted_1$3 = { class: "mt-1 space-y-2" };
8118
- const _hoisted_2$2 = ["for"];
8119
- const _hoisted_3$2 = ["checked", "id", "name", "value"];
8120
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8915
+ const _hoisted_1$2 = { class: "mt-1 space-y-2" };
8916
+ const _hoisted_2$1 = ["for"];
8917
+ const _hoisted_3$1 = ["checked", "id", "name", "value"];
8918
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
8121
8919
  props: {
8122
8920
  options: null,
8123
8921
  legend: { default: "" },
@@ -8130,8 +8928,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8130
8928
  const attrs = useAttrs();
8131
8929
  const uuid = attrs.id || Uniques.CreateIdAttribute();
8132
8930
  return (_ctx, _cache) => {
8133
- return openBlock(), createElementBlock("fieldset", _hoisted_1$3, [
8134
- createVNode(_sfc_main$o, {
8931
+ return openBlock(), createElementBlock("fieldset", _hoisted_1$2, [
8932
+ createVNode(_sfc_main$r, {
8135
8933
  class: "block",
8136
8934
  label: __props.legend,
8137
8935
  tag: "legend"
@@ -8156,13 +8954,13 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8156
8954
  onChange: ($event) => {
8157
8955
  emits("update:modelValue", $event.target.value);
8158
8956
  }
8159
- })), null, 16, _hoisted_3$2),
8160
- createVNode(_sfc_main$o, {
8957
+ })), null, 16, _hoisted_3$1),
8958
+ createVNode(_sfc_main$r, {
8161
8959
  class: "ml-2",
8162
8960
  label: option.label,
8163
8961
  tag: "span"
8164
8962
  }, null, 8, ["label"])
8165
- ], 10, _hoisted_2$2)
8963
+ ], 10, _hoisted_2$1)
8166
8964
  ]),
8167
8965
  _: 2
8168
8966
  }, 1024);
@@ -8171,69 +8969,6 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
8171
8969
  };
8172
8970
  }
8173
8971
  });
8174
- const _hoisted_1$2 = ["aria-labelledby", "aria-describedby", "id", "value"];
8175
- const _hoisted_2$1 = {
8176
- key: 0,
8177
- value: "",
8178
- disabled: "",
8179
- selected: ""
8180
- };
8181
- const _hoisted_3$1 = ["value", "textContent"];
8182
- const _sfc_main$2 = /* @__PURE__ */ defineComponent({
8183
- props: {
8184
- design: { default: "standard" },
8185
- label: { default: "" },
8186
- help: { default: "" },
8187
- placeholder: { default: "Select an option" },
8188
- options: null,
8189
- modelValue: null
8190
- },
8191
- emits: ["update:modelValue"],
8192
- setup(__props, { emit }) {
8193
- const props = __props;
8194
- const attrs = useAttrs();
8195
- const uuid = attrs.id || Uniques.CreateIdAttribute();
8196
- const classes = computed(() => {
8197
- return {
8198
- 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",
8199
- 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"
8200
- }[props.design];
8201
- });
8202
- return (_ctx, _cache) => {
8203
- return openBlock(), createElementBlock(Fragment, null, [
8204
- createVNode(_sfc_main$o, {
8205
- id: `${unref(uuid)}-label`,
8206
- for: unref(uuid),
8207
- label: __props.label
8208
- }, null, 8, ["id", "for", "label"]),
8209
- createElementVNode("select", mergeProps({
8210
- "aria-labelledby": __props.label ? `${unref(uuid)}-label` : void 0,
8211
- "aria-describedby": __props.help ? `${unref(uuid)}-help` : void 0,
8212
- class: unref(classes),
8213
- id: unref(uuid),
8214
- value: __props.modelValue
8215
- }, __spreadProps(__spreadValues({}, _ctx.$attrs), {
8216
- onChange: ($event) => {
8217
- emit("update:modelValue", $event.target.value);
8218
- }
8219
- })), [
8220
- __props.placeholder ? (openBlock(), createElementBlock("option", _hoisted_2$1, toDisplayString(__props.placeholder), 1)) : createCommentVNode("", true),
8221
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (option) => {
8222
- return openBlock(), createElementBlock("option", {
8223
- value: option.value,
8224
- textContent: toDisplayString(option.label),
8225
- key: option.value
8226
- }, null, 8, _hoisted_3$1);
8227
- }), 128))
8228
- ], 16, _hoisted_1$2),
8229
- createVNode(_sfc_main$n, {
8230
- id: `${unref(uuid)}-help`,
8231
- text: __props.help
8232
- }, null, 8, ["id", "text"])
8233
- ], 64);
8234
- };
8235
- }
8236
- });
8237
8972
  const _hoisted_1$1 = ["aria-labelledby", "aria-describedby", "id", "value"];
8238
8973
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8239
8974
  props: {
@@ -8247,7 +8982,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8247
8982
  const uuid = attrs.id || Uniques.CreateIdAttribute();
8248
8983
  return (_ctx, _cache) => {
8249
8984
  return openBlock(), createElementBlock(Fragment, null, [
8250
- createVNode(_sfc_main$o, {
8985
+ createVNode(_sfc_main$r, {
8251
8986
  class: "block",
8252
8987
  id: `${unref(uuid)}-label`,
8253
8988
  for: unref(uuid),
@@ -8271,7 +9006,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
8271
9006
  value: __props.modelValue,
8272
9007
  onInput: _cache[0] || (_cache[0] = ($event) => emit("update:modelValue", $event.target.value))
8273
9008
  }, _ctx.$attrs), null, 16, _hoisted_1$1),
8274
- createVNode(_sfc_main$n, {
9009
+ createVNode(_sfc_main$q, {
8275
9010
  id: `${unref(uuid)}-help`,
8276
9011
  text: __props.help
8277
9012
  }, null, 8, ["id", "text"])
@@ -8302,7 +9037,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8302
9037
  };
8303
9038
  return (_ctx, _cache) => {
8304
9039
  return openBlock(), createElementBlock("fieldset", null, [
8305
- createVNode(_sfc_main$o, {
9040
+ createVNode(_sfc_main$r, {
8306
9041
  class: "block",
8307
9042
  label: __props.legend,
8308
9043
  tag: "legend"
@@ -8321,7 +9056,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8321
9056
  }, __spreadProps(__spreadValues({}, _ctx.$attrs), {
8322
9057
  onChange
8323
9058
  })), null, 16, _hoisted_2),
8324
- createVNode(_sfc_main$o, {
9059
+ createVNode(_sfc_main$r, {
8325
9060
  class: "ml-2",
8326
9061
  label: "Yes",
8327
9062
  tag: "span"
@@ -8341,7 +9076,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8341
9076
  }, __spreadProps(__spreadValues({}, _ctx.$attrs), {
8342
9077
  onChange
8343
9078
  })), null, 16, _hoisted_4),
8344
- createVNode(_sfc_main$o, {
9079
+ createVNode(_sfc_main$r, {
8345
9080
  class: "ml-2",
8346
9081
  label: "No",
8347
9082
  tag: "span"
@@ -8354,32 +9089,36 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
8354
9089
  var components = /* @__PURE__ */ Object.freeze({
8355
9090
  __proto__: null,
8356
9091
  [Symbol.toStringTag]: "Module",
8357
- ActionsDropdown: _sfc_main$r,
8358
- Cards: _sfc_main$q,
8359
- ContentModal: _sfc_main$p,
8360
- DateFilter: _sfc_main$k,
8361
- DetailList: _sfc_main$i,
8362
- DownloadCell: _sfc_main$h,
8363
- Flash: _sfc_main$g,
8364
- Modal: _sfc_main$f,
8365
- SidebarLayout: _sfc_main$d,
9092
+ ActionsDropdown: _sfc_main$u,
9093
+ Cards: _sfc_main$t,
9094
+ ContentModal: _sfc_main$s,
9095
+ DateFilter: _sfc_main$m,
9096
+ DetailList: _sfc_main$k,
9097
+ DownloadCell: _sfc_main$j,
9098
+ Flash: _sfc_main$i,
9099
+ Modal: _sfc_main$h,
9100
+ SidebarLayout: _sfc_main$f,
8366
9101
  Slideover: _sfc_main$c,
8367
- StackedLayout: _sfc_main$b,
8368
- Paginator: _sfc_main$j,
8369
- Spinner: _sfc_main$e,
8370
- StaticTable: _sfc_main$a,
8371
- Steps: _sfc_main$9,
8372
- Table: _sfc_main$8,
8373
- Tabs: _sfc_main$7,
8374
- Toggle: _sfc_main$6,
8375
- BaseInput: _sfc_main$m,
8376
- Checkbox: _sfc_main$5,
8377
- DateRangePicker: _sfc_main$l,
8378
- InputHelp: _sfc_main$n,
8379
- InputLabel: _sfc_main$o,
8380
- MultiCheckboxes: _sfc_main$4,
8381
- Radio: _sfc_main$3,
8382
- Select: _sfc_main$2,
9102
+ StackedLayout: _sfc_main$a,
9103
+ Popover: _sfc_main$e,
9104
+ PopoverContent,
9105
+ PopoverPosition: _sfc_main$e,
9106
+ Paginator: _sfc_main$l,
9107
+ Spinner: _sfc_main$g,
9108
+ StaticTable: _sfc_main$9,
9109
+ Steps: _sfc_main$8,
9110
+ Table: _sfc_main$7,
9111
+ Tabs: _sfc_main$6,
9112
+ Toggle: _sfc_main$5,
9113
+ Tooltip: _sfc_main$b,
9114
+ BaseInput: _sfc_main$p,
9115
+ Checkbox: _sfc_main$4,
9116
+ DateRangePicker: _sfc_main$o,
9117
+ InputHelp: _sfc_main$q,
9118
+ InputLabel: _sfc_main$r,
9119
+ MultiCheckboxes: _sfc_main$3,
9120
+ Radio: _sfc_main$2,
9121
+ Select: _sfc_main$n,
8383
9122
  TextArea: _sfc_main$1,
8384
9123
  YesOrNoRadio: _sfc_main
8385
9124
  });
@@ -8388,4 +9127,4 @@ const install = function installTrees(app) {
8388
9127
  app.component(componentName, component);
8389
9128
  });
8390
9129
  };
8391
- 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, _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, _sfc_main$7 as Tabs, _sfc_main$1 as TextArea, _sfc_main$6 as Toggle, _sfc_main as YesOrNoRadio, install as default };
9130
+ export { _sfc_main$u as ActionsDropdown, BaseAPI, _sfc_main$p as BaseInput, _sfc_main$t as Cards, _sfc_main$4 as Checkbox, _sfc_main$s as ContentModal, _sfc_main$m as DateFilter, _sfc_main$o as DateRangePicker, _sfc_main$k as DetailList, _sfc_main$j as DownloadCell, _sfc_main$i as Flash, _sfc_main$q as InputHelp, _sfc_main$r as InputLabel, _sfc_main$h as Modal, _sfc_main$3 as MultiCheckboxes, _sfc_main$l as Paginator, _sfc_main$e as Popover, PopoverContent, _sfc_main$e as PopoverPosition, _sfc_main$2 as Radio, _sfc_main$n as Select, _sfc_main$f as SidebarLayout, _sfc_main$c as Slideover, _sfc_main$g 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$b as Tooltip, _sfc_main as YesOrNoRadio, install as default };