@ballistix.digital/react-components 8.5.5 → 8.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {jsx as $4MPRY$jsx, jsxs as $4MPRY$jsxs, Fragment as $4MPRY$Fragment} from "react/jsx-runtime";
2
2
  import {ArrowPathIcon as $4MPRY$ArrowPathIcon, ChevronDownIcon as $4MPRY$ChevronDownIcon, EllipsisVerticalIcon as $4MPRY$EllipsisVerticalIcon, ExclamationCircleIcon as $4MPRY$ExclamationCircleIcon, ChevronDoubleLeftIcon as $4MPRY$ChevronDoubleLeftIcon, ChevronLeftIcon as $4MPRY$ChevronLeftIcon, ChevronRightIcon as $4MPRY$ChevronRightIcon, ChevronDoubleRightIcon as $4MPRY$ChevronDoubleRightIcon, ChevronUpDownIcon as $4MPRY$ChevronUpDownIcon, ChevronUpIcon as $4MPRY$ChevronUpIcon, HomeIcon as $4MPRY$HomeIcon, ArrowLongLeftIcon as $4MPRY$ArrowLongLeftIcon, ArrowLongRightIcon as $4MPRY$ArrowLongRightIcon} from "@heroicons/react/20/solid";
3
- import {set as $4MPRY$set, get as $4MPRY$get, isArray as $4MPRY$isArray, map as $4MPRY$map, padStart as $4MPRY$padStart, concat as $4MPRY$concat, isNil as $4MPRY$isNil, noop as $4MPRY$noop, toSafeInteger as $4MPRY$toSafeInteger, indexOf as $4MPRY$indexOf, compact as $4MPRY$compact, forEach as $4MPRY$forEach, assign as $4MPRY$assign, includes as $4MPRY$includes, isEmpty as $4MPRY$isEmpty, some as $4MPRY$some, findIndex as $4MPRY$findIndex, last as $4MPRY$last, first as $4MPRY$first, find as $4MPRY$find, times as $4MPRY$times, pick as $4MPRY$pick, intersection as $4MPRY$intersection, uniq as $4MPRY$uniq, trim as $4MPRY$trim, lastIndexOf as $4MPRY$lastIndexOf} from "lodash";
3
+ import {set as $4MPRY$set, get as $4MPRY$get, isArray as $4MPRY$isArray, map as $4MPRY$map, padStart as $4MPRY$padStart, concat as $4MPRY$concat, isNil as $4MPRY$isNil, noop as $4MPRY$noop, toSafeInteger as $4MPRY$toSafeInteger, indexOf as $4MPRY$indexOf, compact as $4MPRY$compact, forEach as $4MPRY$forEach, assign as $4MPRY$assign, includes as $4MPRY$includes, isEmpty as $4MPRY$isEmpty, some as $4MPRY$some, findIndex as $4MPRY$findIndex, last as $4MPRY$last, first as $4MPRY$first, find as $4MPRY$find, times as $4MPRY$times, pick as $4MPRY$pick, intersection as $4MPRY$intersection, every as $4MPRY$every, uniq as $4MPRY$uniq, trim as $4MPRY$trim, lastIndexOf as $4MPRY$lastIndexOf} from "lodash";
4
4
  import $4MPRY$react, {useState as $4MPRY$useState, useMemo as $4MPRY$useMemo, useRef as $4MPRY$useRef, Children as $4MPRY$Children, Fragment as $4MPRY$Fragment1, useCallback as $4MPRY$useCallback, useEffect as $4MPRY$useEffect, createElement as $4MPRY$createElement} from "react";
5
5
  import $4MPRY$lodashget from "lodash/get";
6
6
  import {library as $4MPRY$library} from "@fortawesome/fontawesome-svg-core";
@@ -13,7 +13,7 @@ import {FontAwesomeIcon as $4MPRY$FontAwesomeIcon} from "@fortawesome/react-font
13
13
  import {useFloating as $4MPRY$useFloating, offset as $4MPRY$offset, flip as $4MPRY$flip, shift as $4MPRY$shift, arrow as $4MPRY$arrow, autoUpdate as $4MPRY$autoUpdate, useHover as $4MPRY$useHover, useFocus as $4MPRY$useFocus, useDismiss as $4MPRY$useDismiss, useRole as $4MPRY$useRole, useInteractions as $4MPRY$useInteractions, FloatingArrow as $4MPRY$FloatingArrow} from "@floating-ui/react";
14
14
  import {Menu as $4MPRY$Menu, MenuButton as $4MPRY$MenuButton, Transition as $4MPRY$Transition, MenuItems as $4MPRY$MenuItems, Dialog as $4MPRY$Dialog, TransitionChild as $4MPRY$TransitionChild, Popover as $4MPRY$Popover, PopoverButton as $4MPRY$PopoverButton, PopoverPanel as $4MPRY$PopoverPanel, Switch as $4MPRY$Switch} from "@headlessui/react";
15
15
  import {useMask as $4MPRY$useMask} from "@react-input/mask";
16
- import {ViewColumnsIcon as $4MPRY$ViewColumnsIcon, ChevronDownIcon as $4MPRY$ChevronDownIcon1, TableCellsIcon as $4MPRY$TableCellsIcon, XMarkIcon as $4MPRY$XMarkIcon, PlusIcon as $4MPRY$PlusIcon} from "@heroicons/react/24/outline";
16
+ import {ViewColumnsIcon as $4MPRY$ViewColumnsIcon, ChevronDownIcon as $4MPRY$ChevronDownIcon1, TableCellsIcon as $4MPRY$TableCellsIcon} from "@heroicons/react/24/outline";
17
17
  import {useReactTable as $4MPRY$useReactTable, getCoreRowModel as $4MPRY$getCoreRowModel, flexRender as $4MPRY$flexRender, getExpandedRowModel as $4MPRY$getExpandedRowModel, getGroupedRowModel as $4MPRY$getGroupedRowModel, createColumnHelper as $4MPRY$createColumnHelper} from "@tanstack/react-table";
18
18
  import $4MPRY$reacttailwindcssselect from "react-tailwindcss-select";
19
19
  import {utils as $4MPRY$utils, writeFile as $4MPRY$writeFile} from "xlsx";
@@ -24,9 +24,8 @@ import {CSS as $4MPRY$CSS} from "@dnd-kit/utilities";
24
24
  import $4MPRY$lodashset from "lodash/set";
25
25
  import {DateTime as $4MPRY$DateTime} from "luxon";
26
26
  import $4MPRY$ballistixdigitalreacttailwindcssdatepicker from "@ballistix.digital/react-tailwindcss-datepicker";
27
- import {FormikProvider as $4MPRY$FormikProvider, FieldArray as $4MPRY$FieldArray, useFormik as $4MPRY$useFormik} from "formik";
28
27
  import $4MPRY$ishotkey from "is-hotkey";
29
- import {Text as $4MPRY$Text, createEditor as $4MPRY$createEditor, Transforms as $4MPRY$Transforms, Editor as $4MPRY$Editor, Element as $4MPRY$Element} from "slate";
28
+ import {Text as $4MPRY$Text, Editor as $4MPRY$Editor, Element as $4MPRY$Element, createEditor as $4MPRY$createEditor, Transforms as $4MPRY$Transforms} from "slate";
30
29
  import {withHistory as $4MPRY$withHistory} from "slate-history";
31
30
  import {withReact as $4MPRY$withReact, Slate as $4MPRY$Slate, Editable as $4MPRY$Editable, useSlate as $4MPRY$useSlate} from "slate-react";
32
31
  import {useDropzone as $4MPRY$useDropzone} from "react-dropzone";
@@ -1618,7 +1617,7 @@ var $0249406a6f5edb4d$export$2e2bcd8739ae039 = $0249406a6f5edb4d$var$styles;
1618
1617
  var $7b4ae85c2b92d7dd$var$InputGroupForm = function(props) {
1619
1618
  var _a;
1620
1619
  var _b;
1621
- var name = props.name, _c = props.htmlType, htmlType = _c === void 0 ? 'text' : _c, label = props.label, hint = props.hint, description = props.description, placeholder = props.placeholder, leading = props.leading, trailing = props.trailing, required = props.required, value = props.value, mask = props.mask, min = props.min, max = props.max, maxLength = props.maxLength, rows = props.rows, error = props.error, _d = props.type, type = _d === void 0 ? 'normal' : _d, isDisabled = props.isDisabled, _e = props.isRequired, isRequired = _e === void 0 ? false : _e, _f = props.isTouched, isTouched = _f === void 0 ? false : _f, _g = props.isSolo, isSolo = _g === void 0 ? false : _g, _h = props.isOptionalLabelHidden, isOptionalLabelHidden = _h === void 0 ? false : _h, onChange = props.onChange, onClear = props.onClear, onBlur = props.onBlur, onClick = props.onClick, onKeyDown = props.onKeyDown, setRefOnLoad = props.setRefOnLoad, stylesOverrides = props.styles;
1620
+ var name = props.name, _c = props.htmlType, htmlType = _c === void 0 ? 'text' : _c, label = props.label, hint = props.hint, description = props.description, placeholder = props.placeholder, leading = props.leading, trailing = props.trailing, required = props.required, value = props.value, mask = props.mask, min = props.min, max = props.max, step = props.step, maxLength = props.maxLength, rows = props.rows, error = props.error, _d = props.type, type = _d === void 0 ? 'normal' : _d, isDisabled = props.isDisabled, _e = props.isRequired, isRequired = _e === void 0 ? false : _e, _f = props.isTouched, isTouched = _f === void 0 ? false : _f, _g = props.isSolo, isSolo = _g === void 0 ? false : _g, _h = props.isOptionalLabelHidden, isOptionalLabelHidden = _h === void 0 ? false : _h, onChange = props.onChange, onClear = props.onClear, onBlur = props.onBlur, onClick = props.onClick, onKeyDown = props.onKeyDown, setRefOnLoad = props.setRefOnLoad, stylesOverrides = props.styles;
1622
1621
  var isValid = error === undefined;
1623
1622
  var maskRef = (0, $4MPRY$useMask)({
1624
1623
  mask: mask === null || mask === void 0 ? void 0 : mask.mask,
@@ -1682,6 +1681,7 @@ var $7b4ae85c2b92d7dd$var$InputGroupForm = function(props) {
1682
1681
  value: isSolo ? undefined : value,
1683
1682
  min: min,
1684
1683
  max: max,
1684
+ step: step,
1685
1685
  maxLength: maxLength,
1686
1686
  disabled: isDisabled,
1687
1687
  onChange: onChange,
@@ -5762,122 +5762,6 @@ var $be69f9fa947058ae$export$2e2bcd8739ae039 = $be69f9fa947058ae$var$DateMenuFor
5762
5762
 
5763
5763
 
5764
5764
 
5765
-
5766
- var $901cc167fb8bbd92$var$base = {
5767
- container: '',
5768
- sr: 'sr-only',
5769
- list: 'space-y-5',
5770
- item: {
5771
- container: 'relative flex items-start',
5772
- head: 'flex h-6 items-center',
5773
- body: 'ml-3 text-sm leading-6',
5774
- input: 'h-4 w-4 rounded-sm border-gray-300 text-primary-600 focus:ring-primary-600',
5775
- label: 'font-medium text-gray-900',
5776
- description: 'text-gray-500'
5777
- }
5778
- };
5779
- var $901cc167fb8bbd92$var$disabled = {
5780
- item: {
5781
- input: 'block rounded-md border-0 text-gray-900 shadow-xs ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200'
5782
- }
5783
- };
5784
- var $901cc167fb8bbd92$var$styles = {
5785
- base: $901cc167fb8bbd92$var$base,
5786
- disabled: $901cc167fb8bbd92$var$disabled
5787
- };
5788
- var $901cc167fb8bbd92$export$2e2bcd8739ae039 = $901cc167fb8bbd92$var$styles;
5789
-
5790
-
5791
- var $e964500960620598$var$CheckboxInputGroupForm = function(props) {
5792
- var name = props.name, form = props.form, options = props.options, values = props.values, isDisabled = props.isDisabled, stylesOverrides = props.styles;
5793
- var handleGenerateStyle = function() {
5794
- var result = (0, $b3fc44f26b625a32$export$e2d2075c69d9100d)((0, $901cc167fb8bbd92$export$2e2bcd8739ae039).base);
5795
- var keys = (0, $ba1db6dce71c3f25$export$be5d6ab3c5b84767)((0, $901cc167fb8bbd92$export$2e2bcd8739ae039).base);
5796
- keys.forEach(function(key) {
5797
- (0, $4MPRY$set)(result, key, (0, $66c3dcaaa74b5389$export$4370d69198e9314a)((0, $4MPRY$get)((0, $901cc167fb8bbd92$export$2e2bcd8739ae039).base, key), // isTouched === true && !isValid && get(defaultStyles.invalid, key),
5798
- isDisabled && (0, $4MPRY$get)((0, $901cc167fb8bbd92$export$2e2bcd8739ae039).disabled, key), (0, $4MPRY$get)(stylesOverrides, key)));
5799
- });
5800
- return result;
5801
- };
5802
- var styles = handleGenerateStyle();
5803
- return (0, $4MPRY$jsx)((0, $4MPRY$FormikProvider), {
5804
- value: form,
5805
- children: (0, $4MPRY$jsxs)("div", {
5806
- children: [
5807
- (0, $4MPRY$jsx)("legend", {
5808
- className: styles.sr,
5809
- children: name
5810
- }),
5811
- (0, $4MPRY$jsx)("div", {
5812
- className: styles.list,
5813
- children: (0, $4MPRY$jsx)((0, $4MPRY$FieldArray), {
5814
- name: name,
5815
- render: function(_a) {
5816
- var remove = _a.remove, push = _a.push;
5817
- return (0, $4MPRY$jsx)((0, $4MPRY$Fragment), {
5818
- children: options === null || options === void 0 ? void 0 : options.map(function(option) {
5819
- return (0, $4MPRY$jsxs)("div", {
5820
- className: styles.item.container,
5821
- children: [
5822
- (0, $4MPRY$jsx)("div", {
5823
- className: styles.item.head,
5824
- children: (0, $4MPRY$jsx)("input", {
5825
- id: option.value,
5826
- name: option.value,
5827
- "data-cy": "form-".concat(name, "-checkbox-").concat(option.value),
5828
- "aria-describedby": "".concat(option.value, "-description"),
5829
- type: "checkbox",
5830
- checked: values === null || values === void 0 ? void 0 : values.includes(option.value),
5831
- className: styles.item.input,
5832
- disabled: isDisabled,
5833
- onChange: function(value) {
5834
- var isChecked = value.currentTarget.checked;
5835
- if (isChecked) {
5836
- push(option.value);
5837
- return;
5838
- }
5839
- var findIndex = values.findIndex(function(value) {
5840
- return value === option.value;
5841
- });
5842
- remove(findIndex);
5843
- }
5844
- })
5845
- }),
5846
- (0, $4MPRY$jsxs)("div", {
5847
- className: styles.item.body,
5848
- children: [
5849
- (0, $4MPRY$jsx)("label", {
5850
- htmlFor: "comments",
5851
- className: styles.item.label,
5852
- children: option.title
5853
- }),
5854
- option.description && (0, $4MPRY$jsx)("p", {
5855
- id: "comments-description",
5856
- className: styles.item.description,
5857
- children: option.description
5858
- })
5859
- ]
5860
- })
5861
- ]
5862
- }, option.value);
5863
- })
5864
- });
5865
- }
5866
- })
5867
- })
5868
- ]
5869
- })
5870
- });
5871
- };
5872
- var $e964500960620598$export$2e2bcd8739ae039 = $e964500960620598$var$CheckboxInputGroupForm;
5873
-
5874
-
5875
-
5876
-
5877
-
5878
-
5879
-
5880
-
5881
5765
  var $9ad148e334dfe9e5$var$base = {
5882
5766
  container: 'relative flex items-start',
5883
5767
  head: 'flex h-6 items-center select-none',
@@ -6159,6 +6043,7 @@ var $293d351fa67aae30$var$base = {
6159
6043
  },
6160
6044
  area: {
6161
6045
  container: 'overflow-hidden p-4',
6046
+ emptyLine: 'min-h-[1em] leading-none',
6162
6047
  editable: 'leading-7 focus:outline-none prose prose-sm max-w-none prose-headings:font-semibold prose-h1:text-2xl prose-h2:text-xl prose-p:my-3 prose-blockquote:my-3'
6163
6048
  }
6164
6049
  },
@@ -6269,10 +6154,32 @@ var $aa6702347bcd9c62$var$applyMarks = function(content, marks) {
6269
6154
  });
6270
6155
  return content;
6271
6156
  };
6157
+ var $aa6702347bcd9c62$var$isNodeTextEmpty = function(node) {
6158
+ var _a, _b;
6159
+ if ((0, $4MPRY$Text).isText(node)) return ((_a = node.text) !== null && _a !== void 0 ? _a : '').trim() === '';
6160
+ if ((0, $4MPRY$Editor).isEditor(node) || (0, $4MPRY$Element).isElement(node)) {
6161
+ var children = (_b = node.children) !== null && _b !== void 0 ? _b : [];
6162
+ if ((0, $4MPRY$isEmpty)(children)) return true;
6163
+ return (0, $4MPRY$every)(children, function(child) {
6164
+ return $aa6702347bcd9c62$var$isNodeTextEmpty(child);
6165
+ });
6166
+ }
6167
+ return true;
6168
+ };
6169
+ var $aa6702347bcd9c62$var$isDocumentAllTextEmpty = function(value) {
6170
+ if (!(0, $4MPRY$isArray)(value) || (0, $4MPRY$isEmpty)(value)) return true;
6171
+ return (0, $4MPRY$every)(value, function(node) {
6172
+ return $aa6702347bcd9c62$var$isNodeTextEmpty(node);
6173
+ });
6174
+ };
6272
6175
  var $aa6702347bcd9c62$var$renderRichNode = function(node, options) {
6273
6176
  if (options === void 0) options = {};
6274
6177
  var attributes = options.attributes, providedChildren = options.children, key = options.key;
6275
6178
  if ((0, $4MPRY$Text).isText(node)) {
6179
+ if (String(providedChildren !== null && providedChildren !== void 0 ? providedChildren : node.text).trim() === '') return (0, $4MPRY$jsx)("div", {
6180
+ className: (0, $293d351fa67aae30$export$2e2bcd8739ae039).editor.area.emptyLine,
6181
+ "aria-hidden": "true"
6182
+ }, key);
6276
6183
  var content = $aa6702347bcd9c62$var$applyMarks(providedChildren !== null && providedChildren !== void 0 ? providedChildren : node.text, node);
6277
6184
  return attributes ? (0, $4MPRY$jsx)("span", $aa6702347bcd9c62$var$__assign({}, attributes, {
6278
6185
  children: content
@@ -6416,7 +6323,7 @@ var $aa6702347bcd9c62$var$RichTextArea = function(_a) {
6416
6323
  generateBlockButton('justify', 'align-justify')
6417
6324
  ]);
6418
6325
  if (!(0, $4MPRY$isEmpty)(align)) sections.push(align);
6419
- return sections.map(function(group, index) {
6326
+ return (0, $4MPRY$map)(sections, function(group, index) {
6420
6327
  return (0, $4MPRY$jsxs)((0, $4MPRY$Fragment1), {
6421
6328
  children: [
6422
6329
  index > 0 && (0, $4MPRY$jsx)("div", {
@@ -6431,7 +6338,7 @@ var $aa6702347bcd9c62$var$RichTextArea = function(_a) {
6431
6338
  generateBlockButton,
6432
6339
  styles.editor.toolbar.divider
6433
6340
  ]);
6434
- if (isReadOnly && (0, $4MPRY$isEmpty)(parsedInitialValue)) return null;
6341
+ if (isReadOnly && ((0, $4MPRY$isEmpty)(parsedInitialValue) || $aa6702347bcd9c62$var$isDocumentAllTextEmpty(parsedInitialValue))) return null;
6435
6342
  return isReadOnly ? (0, $4MPRY$jsx)("div", {
6436
6343
  className: styles.readOnlyWrapper,
6437
6344
  children: (0, $4MPRY$isArray)(parsedInitialValue) ? (0, $4MPRY$map)(parsedInitialValue, function(n, i) {
@@ -6809,507 +6716,6 @@ var $b1b6aa72505b2474$export$2e2bcd8739ae039 = $b1b6aa72505b2474$var$FileInputGr
6809
6716
 
6810
6717
 
6811
6718
 
6812
-
6813
- var $2109d011c77499b4$var$base = {
6814
- container: '',
6815
- head: 'flex justify-between',
6816
- body: 'relative rounded-md py-2',
6817
- foot: '',
6818
- label: 'block font-medium text-gray-900',
6819
- hint: 'text-xs text-gray-500',
6820
- leading: 'pointer-events-none absolute inset-y-0 left-0 flex items-center',
6821
- input: 'block w-full',
6822
- trailing: 'pointer-events-none absolute inset-y-0 right-0 flex items-center',
6823
- description: 'text-gray-400 text-xs mt-1',
6824
- error: 'text-red-500 text-xs mt-1'
6825
- };
6826
- var $2109d011c77499b4$var$leading = {
6827
- input: 'pl-10'
6828
- };
6829
- var $2109d011c77499b4$var$trailing = {};
6830
- var $2109d011c77499b4$var$normal = {
6831
- label: 'leading-6 text-sm mb-2',
6832
- hint: 'leading-6',
6833
- leading: 'pl-3',
6834
- input: 'rounded-md border-gray-200 shadow-xs focus:border-primary-500 focus:ring-primary-500 sm:text-sm placeholder-gray-300',
6835
- trailing: 'pr-3',
6836
- description: 'mt-2 text-sm'
6837
- };
6838
- var $2109d011c77499b4$var$inset = {
6839
- container: 'rounded-md px-3 pt-2.5 pb-1.5 shadow-xs ring-1 ring-inset ring-gray-300 focus-within:ring-2 focus-within:ring-primary-600',
6840
- label: 'text-xs',
6841
- hint: 'text-xs',
6842
- input: 'border-0 ring-0! p-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm pl-0',
6843
- description: 'hidden'
6844
- };
6845
- var $2109d011c77499b4$var$overlapping = {
6846
- container: 'relative',
6847
- head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
6848
- label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
6849
- hint: 'text-xs mr-4 bg-white px-1',
6850
- input: 'block w-full rounded-md border-0 py-1.5 text-gray-900 shadow-xs ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
6851
- description: 'hidden'
6852
- };
6853
- var $2109d011c77499b4$var$pill = {
6854
- head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
6855
- foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
6856
- input: 'block w-full rounded-full border-0 px-4 py-1.5 text-gray-900 shadow-xs ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 sm:text-sm sm:leading-6',
6857
- trailing: 'pr-2',
6858
- description: 'text-xs'
6859
- };
6860
- var $2109d011c77499b4$var$floored = {
6861
- body: 'relative mt-2',
6862
- label: 'block text-sm font-medium leading-6 text-gray-900',
6863
- input: 'peer block w-full border-0 bg-gray-50 py-1.5 text-gray-900 focus:ring-0 sm:text-sm sm:leading-6 ring-0',
6864
- description: 'text-xs mt-2'
6865
- };
6866
- var $2109d011c77499b4$var$invalid = {
6867
- container: 'ring-red-500',
6868
- input: // 'block w-full border border-transparent text-red-900 ring-1 ring-inset ring-red-300 placeholder:text-red-300 focus:ring-2 focus:ring-inset focus:ring-red-500 sm:leading-6 pr-10',
6869
- 'block w-full border border-transparent text-red-900 ring-1 ring-inset ring-red-300 placeholder:text-red-300 focus:ring-2 focus:ring-inset focus:ring-red-500 pr-10',
6870
- description: 'text-sm text-red-600'
6871
- };
6872
- var $2109d011c77499b4$var$disabled = {
6873
- input: 'block w-full rounded-md border-0 text-gray-900 shadow-xs ring-1 ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-primary-600 disabled:cursor-not-allowed disabled:bg-gray-50 disabled:text-gray-500 disabled:ring-gray-200'
6874
- };
6875
- var $2109d011c77499b4$var$styles = {
6876
- base: $2109d011c77499b4$var$base,
6877
- leading: $2109d011c77499b4$var$leading,
6878
- trailing: $2109d011c77499b4$var$trailing,
6879
- normal: $2109d011c77499b4$var$normal,
6880
- inset: $2109d011c77499b4$var$inset,
6881
- overlapping: $2109d011c77499b4$var$overlapping,
6882
- pill: $2109d011c77499b4$var$pill,
6883
- floored: $2109d011c77499b4$var$floored,
6884
- invalid: $2109d011c77499b4$var$invalid,
6885
- disabled: $2109d011c77499b4$var$disabled
6886
- };
6887
- var $2109d011c77499b4$export$2e2bcd8739ae039 = $2109d011c77499b4$var$styles;
6888
-
6889
-
6890
-
6891
-
6892
-
6893
-
6894
-
6895
-
6896
-
6897
-
6898
-
6899
-
6900
-
6901
- var $2faf095044a1ccf8$var$OpeningHourItem = function(props) {
6902
- var _a, _b, _c;
6903
- var id = props.id, _d = props.lang, lang = _d === void 0 ? 'en' : _d, defaultValue = props.openingHour, dayPlaceholder = props.dayPlaceholder, onCreate = props.onCreate, onUpdate = props.onUpdate, onDelete = props.onDelete;
6904
- var options = (0, $4MPRY$useMemo)(function() {
6905
- var values = [
6906
- 'MONDAY',
6907
- 'TUESDAY',
6908
- 'WEDNESDAY',
6909
- 'THURSDAY',
6910
- 'FRIDAY',
6911
- 'SATURDAY',
6912
- 'SUNDAY'
6913
- ];
6914
- var translations = [];
6915
- switch(lang){
6916
- case 'en':
6917
- translations = [
6918
- 'Monday',
6919
- 'Tuesday',
6920
- 'Wednesday',
6921
- 'Thursday',
6922
- 'Friday',
6923
- 'Saturday',
6924
- 'Sunday'
6925
- ];
6926
- break;
6927
- case 'nl':
6928
- translations = [
6929
- 'Maandag',
6930
- 'Dinsdag',
6931
- 'Woensdag',
6932
- 'Donderdag',
6933
- 'Vrijdag',
6934
- 'Zaterdag',
6935
- 'Zondag'
6936
- ];
6937
- break;
6938
- }
6939
- return translations.map(function(translation, index) {
6940
- return {
6941
- label: translation,
6942
- value: values[index]
6943
- };
6944
- });
6945
- }, [
6946
- lang
6947
- ]);
6948
- var isCreating = defaultValue === undefined;
6949
- var initialValues = (0, $4MPRY$useMemo)(function() {
6950
- var _a, _b, _c, _d, _e, _f, _g, _h;
6951
- return {
6952
- id: (_a = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id) !== null && _a !== void 0 ? _a : id,
6953
- day: {
6954
- label: (_d = options[(_c = (_b = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.day) !== null && _b !== void 0 ? _b : dayPlaceholder) !== null && _c !== void 0 ? _c : 0]) === null || _d === void 0 ? void 0 : _d.label,
6955
- value: (_g = options[(_f = (_e = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.day) !== null && _e !== void 0 ? _e : dayPlaceholder) !== null && _f !== void 0 ? _f : 0]) === null || _g === void 0 ? void 0 : _g.value
6956
- },
6957
- closed: (_h = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closed) !== null && _h !== void 0 ? _h : false,
6958
- openingTime: (defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime) ? (0, $4MPRY$DateTime).fromISO(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime).minus({
6959
- hours: 2
6960
- }).toFormat('HH:mm') : '',
6961
- closingTime: (defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime) ? (0, $4MPRY$DateTime).fromISO(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime).minus({
6962
- hours: 2
6963
- }).toFormat('HH:mm') : ''
6964
- };
6965
- }, [
6966
- dayPlaceholder,
6967
- defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closed,
6968
- defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime,
6969
- defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.day,
6970
- defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id,
6971
- defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime,
6972
- id,
6973
- options
6974
- ]);
6975
- var toTimeStamp = (0, $4MPRY$useCallback)(function(value) {
6976
- if (value === undefined) return undefined;
6977
- var _a = value.split(':'), hours = _a[0], minutes = _a[1];
6978
- return (0, $4MPRY$DateTime).utc().set({
6979
- hour: Number(hours),
6980
- minute: Number(minutes),
6981
- second: 0,
6982
- millisecond: 0
6983
- }).toISO();
6984
- }, []);
6985
- var onSubmit = (0, $4MPRY$useCallback)(function(values) {
6986
- var _a;
6987
- var openingTime = toTimeStamp(values === null || values === void 0 ? void 0 : values.openingTime);
6988
- var closingTime = toTimeStamp(values === null || values === void 0 ? void 0 : values.closingTime);
6989
- var params = {
6990
- id: (_a = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id) !== null && _a !== void 0 ? _a : id,
6991
- day: options.findIndex(function(option) {
6992
- var _a;
6993
- return option.value === ((_a = values === null || values === void 0 ? void 0 : values.day) === null || _a === void 0 ? void 0 : _a.value);
6994
- }),
6995
- closed: values === null || values === void 0 ? void 0 : values.closed,
6996
- openingTime: openingTime,
6997
- closingTime: closingTime
6998
- };
6999
- onCreate(params);
7000
- }, [
7001
- defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id,
7002
- id,
7003
- onCreate,
7004
- options,
7005
- toTimeStamp
7006
- ]);
7007
- var form = (0, $4MPRY$useFormik)({
7008
- initialValues: initialValues,
7009
- onSubmit: onSubmit
7010
- });
7011
- return (0, $4MPRY$jsxs)("div", {
7012
- className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)('-mt-2 flex gap-4 items-end', !isCreating && 'opacity-100'),
7013
- children: [
7014
- (0, $4MPRY$jsx)("div", {
7015
- className: (0, $99ef0e378c886c3a$export$2e2bcd8739ae039).selectMenu.container,
7016
- children: (0, $4MPRY$jsx)((0, $40038b27a5148d69$export$2e2bcd8739ae039), {
7017
- name: "day",
7018
- //
7019
- isRequired: true,
7020
- isMultiple: false,
7021
- isSearchable: false,
7022
- //
7023
- options: options,
7024
- //
7025
- value: (_a = form === null || form === void 0 ? void 0 : form.values) === null || _a === void 0 ? void 0 : _a.day,
7026
- onChange: function(value) {
7027
- return form.setFieldValue('day', value);
7028
- },
7029
- onBlur: function() {
7030
- var _a, _b, _c;
7031
- form === null || form === void 0 || form.setFieldTouched('day');
7032
- if (!isCreating) {
7033
- var openingTime = toTimeStamp((_a = form.values) === null || _a === void 0 ? void 0 : _a.openingTime);
7034
- var closingTime = toTimeStamp((_b = form.values) === null || _b === void 0 ? void 0 : _b.closingTime);
7035
- var params = {
7036
- id: defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id,
7037
- day: options.findIndex(function(option) {
7038
- var _a, _b;
7039
- return option.value === ((_b = (_a = form.values) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.value);
7040
- }),
7041
- closed: (_c = form.values) === null || _c === void 0 ? void 0 : _c.closed,
7042
- openingTime: openingTime,
7043
- closingTime: closingTime
7044
- };
7045
- onUpdate && onUpdate(params);
7046
- }
7047
- },
7048
- onClear: function() {
7049
- return form.setFieldValue('day', null);
7050
- }
7051
- })
7052
- }),
7053
- (0, $4MPRY$jsx)((0, $7b4ae85c2b92d7dd$export$2e2bcd8739ae039), {
7054
- name: "openingTime",
7055
- htmlType: "time",
7056
- type: "normal",
7057
- //
7058
- isRequired: true,
7059
- isDisabled: form.values.closed,
7060
- //
7061
- value: (_b = form === null || form === void 0 ? void 0 : form.values) === null || _b === void 0 ? void 0 : _b.openingTime,
7062
- onChange: form === null || form === void 0 ? void 0 : form.handleChange,
7063
- onBlur: function(values) {
7064
- var _a, _b, _c;
7065
- form === null || form === void 0 || form.handleBlur(values);
7066
- if (!isCreating) {
7067
- var openingTime = toTimeStamp((_a = form.values) === null || _a === void 0 ? void 0 : _a.openingTime);
7068
- var closingTime = toTimeStamp((_b = form.values) === null || _b === void 0 ? void 0 : _b.closingTime);
7069
- var params = {
7070
- id: values === null || values === void 0 ? void 0 : values.id,
7071
- day: options.findIndex(function(option) {
7072
- var _a, _b;
7073
- return option.value === ((_b = (_a = form.values) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.value);
7074
- }),
7075
- closed: (_c = form.values) === null || _c === void 0 ? void 0 : _c.closed,
7076
- openingTime: openingTime,
7077
- closingTime: closingTime
7078
- };
7079
- onUpdate && onUpdate(params);
7080
- }
7081
- }
7082
- }),
7083
- (0, $4MPRY$jsx)((0, $7b4ae85c2b92d7dd$export$2e2bcd8739ae039), {
7084
- name: "closingTime",
7085
- htmlType: "time",
7086
- type: "normal",
7087
- //
7088
- isRequired: true,
7089
- isDisabled: form.values.closed,
7090
- //
7091
- value: (_c = form.values) === null || _c === void 0 ? void 0 : _c.closingTime,
7092
- onChange: form === null || form === void 0 ? void 0 : form.handleChange,
7093
- onBlur: function(values) {
7094
- var _a, _b, _c;
7095
- form === null || form === void 0 || form.handleBlur(values);
7096
- if (!isCreating) {
7097
- var openingTime = toTimeStamp((_a = form.values) === null || _a === void 0 ? void 0 : _a.openingTime);
7098
- var closingTime = toTimeStamp((_b = form.values) === null || _b === void 0 ? void 0 : _b.closingTime);
7099
- var params = {
7100
- id: values === null || values === void 0 ? void 0 : values.id,
7101
- day: options.findIndex(function(option) {
7102
- var _a, _b;
7103
- return option.value === ((_b = (_a = form.values) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.value);
7104
- }),
7105
- closed: (_c = form.values) === null || _c === void 0 ? void 0 : _c.closed,
7106
- openingTime: openingTime,
7107
- closingTime: closingTime
7108
- };
7109
- onUpdate && onUpdate(params);
7110
- }
7111
- }
7112
- }),
7113
- (0, $4MPRY$jsxs)("div", {
7114
- className: "flex flex-col",
7115
- children: [
7116
- (0, $4MPRY$jsx)("p", {
7117
- className: "text-xs font-medium pb-1 mt-4",
7118
- children: "Closed"
7119
- }),
7120
- (0, $4MPRY$jsxs)((0, $4MPRY$Switch), {
7121
- checked: form.values.closed,
7122
- onChange: function() {
7123
- var _a, _b, _c, _d;
7124
- form.setFieldValue('closed', !form.values.closed);
7125
- if (!isCreating) {
7126
- var openingTime = toTimeStamp((_a = form.values) === null || _a === void 0 ? void 0 : _a.openingTime);
7127
- var closingTime = toTimeStamp((_b = form.values) === null || _b === void 0 ? void 0 : _b.closingTime);
7128
- var params = {
7129
- id: (_c = form.values) === null || _c === void 0 ? void 0 : _c.id,
7130
- day: options.findIndex(function(option) {
7131
- var _a, _b;
7132
- return option.value === ((_b = (_a = form.values) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.value);
7133
- }),
7134
- closed: !((_d = form.values) === null || _d === void 0 ? void 0 : _d.closed),
7135
- openingTime: openingTime,
7136
- closingTime: closingTime
7137
- };
7138
- onUpdate && onUpdate(params);
7139
- }
7140
- },
7141
- className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)((0, $99ef0e378c886c3a$export$2e2bcd8739ae039).control.action, form.values.closed ? 'bg-primary-500' : 'bg-gray-200'),
7142
- children: [
7143
- (0, $4MPRY$jsx)("span", {
7144
- className: (0, $99ef0e378c886c3a$export$2e2bcd8739ae039).control.sr,
7145
- children: "Toggle closed"
7146
- }),
7147
- (0, $4MPRY$jsx)("span", {
7148
- "aria-hidden": "true",
7149
- className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)((0, $99ef0e378c886c3a$export$2e2bcd8739ae039).control.span, form.values.closed ? 'translate-x-5' : 'translate-x-0')
7150
- })
7151
- ]
7152
- })
7153
- ]
7154
- }),
7155
- !isCreating ? (0, $4MPRY$jsx)((0, $bc407adcad543f74$export$2e2bcd8739ae039), {
7156
- size: "sm",
7157
- type: "outline",
7158
- onClick: function() {
7159
- return onDelete && onDelete(form.values.id);
7160
- },
7161
- children: (0, $4MPRY$jsx)((0, $4MPRY$XMarkIcon), {
7162
- className: "w-4 h-4"
7163
- })
7164
- }) : (0, $4MPRY$jsx)((0, $bc407adcad543f74$export$2e2bcd8739ae039), {
7165
- size: "sm",
7166
- type: "secondary",
7167
- onClick: function() {
7168
- return form.handleSubmit();
7169
- },
7170
- children: (0, $4MPRY$jsx)((0, $4MPRY$PlusIcon), {
7171
- className: "w-4 h-4"
7172
- })
7173
- })
7174
- ]
7175
- });
7176
- };
7177
- var $2faf095044a1ccf8$export$2e2bcd8739ae039 = $2faf095044a1ccf8$var$OpeningHourItem;
7178
-
7179
-
7180
- var $99ef0e378c886c3a$var$styles = {
7181
- container: '',
7182
- selectMenu: {
7183
- container: "grow"
7184
- },
7185
- control: {
7186
- container: 'flex items-center',
7187
- label: 'text-sm mr-2 font-medium w-36',
7188
- action: 'relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-hidden focus:ring-2 focus:ring-primary-500 focus:ring-offset-2',
7189
- span: 'pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow-sm ring-0 transition duration-200 ease-in-out',
7190
- sr: 'sr-only'
7191
- }
7192
- };
7193
- var $99ef0e378c886c3a$export$2e2bcd8739ae039 = $99ef0e378c886c3a$var$styles;
7194
-
7195
-
7196
-
7197
-
7198
-
7199
-
7200
- var $39e9223269e270c7$var$OpeningsHourInputGroupForm = function(props) {
7201
- var form = props.form, _a = props.name, name = _a === void 0 ? 'opening-hours-input' : _a, label = props.label, description = props.description, required = props.required, value = props.value, error = props.error, lang = props.lang, isDisabled = props.isDisabled, _b = props.isRequired, isRequired = _b === void 0 ? false : _b, _c = props.isTouched, isTouched = _c === void 0 ? false : _c, onChange = props.onChange, stylesOverrides = props.styles, handleDelete = props.handleDelete;
7202
- var isValid = error === undefined;
7203
- var handleGenerateStyle = function() {
7204
- var result = (0, $b3fc44f26b625a32$export$e2d2075c69d9100d)((0, $2109d011c77499b4$export$2e2bcd8739ae039).base);
7205
- var keys = (0, $ba1db6dce71c3f25$export$be5d6ab3c5b84767)((0, $2109d011c77499b4$export$2e2bcd8739ae039).base);
7206
- keys.forEach(function(key) {
7207
- (0, $4MPRY$set)(result, key, (0, $66c3dcaaa74b5389$export$4370d69198e9314a)((0, $4MPRY$get)((0, $2109d011c77499b4$export$2e2bcd8739ae039).base, key), isTouched === true && !isValid && (0, $4MPRY$get)((0, $2109d011c77499b4$export$2e2bcd8739ae039).invalid, key), isDisabled && (0, $4MPRY$get)((0, $2109d011c77499b4$export$2e2bcd8739ae039).disabled, key), (0, $4MPRY$get)(stylesOverrides, key)));
7208
- });
7209
- return result;
7210
- };
7211
- var styles = handleGenerateStyle();
7212
- (0, $4MPRY$useEffect)(function() {
7213
- if (form.values[name]) onChange && onChange(form.values[name]);
7214
- }, [
7215
- form.values,
7216
- name,
7217
- onChange
7218
- ]);
7219
- return (0, $4MPRY$jsxs)("div", {
7220
- className: styles.container,
7221
- children: [
7222
- (0, $4MPRY$jsxs)("div", {
7223
- className: styles.head,
7224
- children: [
7225
- label && (0, $4MPRY$jsx)("label", {
7226
- htmlFor: name,
7227
- className: styles.label,
7228
- children: label
7229
- }),
7230
- !required && !isRequired && typeof label === 'string' && (0, $4MPRY$jsx)("span", {
7231
- className: styles.hint,
7232
- children: "Optional"
7233
- }),
7234
- required && required({
7235
- isRequired: isRequired
7236
- })
7237
- ]
7238
- }),
7239
- (0, $4MPRY$jsx)("div", {
7240
- className: styles.body,
7241
- children: (0, $4MPRY$jsx)((0, $4MPRY$FormikProvider), {
7242
- value: form,
7243
- children: (0, $4MPRY$jsx)((0, $4MPRY$FieldArray), {
7244
- name: name,
7245
- render: function(_a) {
7246
- var _b, _c, _d, _e, _f;
7247
- var remove = _a.remove, push = _a.push, replace = _a.replace;
7248
- return (0, $4MPRY$jsxs)((0, $4MPRY$Fragment), {
7249
- children: [
7250
- (_e = (_d = (_c = (_b = form.values) === null || _b === void 0 ? void 0 : _b[name]) === null || _c === void 0 ? void 0 : _c.map(function(value, index) {
7251
- return {
7252
- index: index,
7253
- value: value
7254
- };
7255
- })) === null || _d === void 0 ? void 0 : _d.sort(function(a, b) {
7256
- return a.value.day < b.value.day ? -1 : 1;
7257
- })) === null || _e === void 0 ? void 0 : _e.map(function(_a) {
7258
- var openingHour = _a.value, index = _a.index;
7259
- return (0, $4MPRY$jsx)((0, $2faf095044a1ccf8$export$2e2bcd8739ae039), {
7260
- id: index,
7261
- openingHour: openingHour,
7262
- lang: lang,
7263
- onCreate: push,
7264
- onUpdate: function(value) {
7265
- return replace(index, value);
7266
- },
7267
- onDelete: function(id) {
7268
- if (id) {
7269
- handleDelete && handleDelete(id);
7270
- remove(index);
7271
- }
7272
- }
7273
- }, "".concat(openingHour.id, "-").concat(index));
7274
- }),
7275
- (0, $4MPRY$jsx)((0, $2faf095044a1ccf8$export$2e2bcd8739ae039), {
7276
- id: "-",
7277
- // Prefill picker with a day later than the day of the last saved opening hour.
7278
- lang: lang,
7279
- dayPlaceholder: value && ((_f = value === null || value === void 0 ? void 0 : value[(value === null || value === void 0 ? void 0 : value.length) - 1]) === null || _f === void 0 ? void 0 : _f.day) + 1,
7280
- onCreate: push
7281
- }, "-")
7282
- ]
7283
- });
7284
- }
7285
- })
7286
- })
7287
- }),
7288
- (0, $4MPRY$jsxs)("div", {
7289
- className: styles.foot,
7290
- children: [
7291
- description && !(error && isTouched) && (0, $4MPRY$jsx)("p", {
7292
- className: styles.description,
7293
- children: description
7294
- }),
7295
- error && isTouched && (0, $4MPRY$jsx)("p", {
7296
- className: styles.error,
7297
- children: error
7298
- })
7299
- ]
7300
- })
7301
- ]
7302
- });
7303
- };
7304
- var $39e9223269e270c7$export$2e2bcd8739ae039 = $39e9223269e270c7$var$OpeningsHourInputGroupForm;
7305
-
7306
-
7307
-
7308
-
7309
-
7310
-
7311
-
7312
-
7313
6719
  var $0ef1dab9988818f3$var$base = {
7314
6720
  container: '',
7315
6721
  head: 'flex justify-between',
@@ -7736,5 +7142,5 @@ var $bcc7539df5bef927$export$1476d5e67a64a695 = function(str) {
7736
7142
 
7737
7143
 
7738
7144
 
7739
- export {$4f6dca59bb6d6d50$export$2e2bcd8739ae039 as AvatarElement, $9a29d5e0e3b54abe$export$2e2bcd8739ae039 as AlertElement, $a5045567c9b3a96e$export$2e2bcd8739ae039 as BadgeElement, $b237e6d2d86a5c92$export$2e2bcd8739ae039 as TooltipElement, $bc407adcad543f74$export$2e2bcd8739ae039 as ButtonElement, $c827cec2b56530a4$export$2e2bcd8739ae039 as ButtonGroupElement, $edc4ba41affb9483$export$2e2bcd8739ae039 as DropdownElement, $77cd4416ca4a0639$export$2e2bcd8739ae039 as IconElement, $307aa6ad38171d38$export$2e2bcd8739ae039 as CollapsibleElement, $49931a5175dab103$export$2e2bcd8739ae039 as ProgressTrackElement, $7b4ae85c2b92d7dd$export$2e2bcd8739ae039 as InputGroupForm, $2e39e1fa3f910477$export$2e2bcd8739ae039 as ContainerLayout, $47c668decea293b6$export$2e2bcd8739ae039 as DividerLayout, $40af42a6ff486398$export$2e2bcd8739ae039 as ListContainerLayout, $d8086708b0fe8d97$export$2e2bcd8739ae039 as MediaObjectLayout, $11b7c597538c2257$export$2e2bcd8739ae039 as PanelLayout, $4421fdc946e7dd6c$export$2e2bcd8739ae039 as TableList, $df469b72efb8986e$export$2e2bcd8739ae039 as TableList2, $fc6e6482f238e9ea$export$4b44a5cb9651fe5e as createColumnHelper, $797c6dd505f17788$export$2e2bcd8739ae039 as BreadcrumbsNavigation, $8239f5cdc1851973$export$2e2bcd8739ae039 as PanelPaginationNavigation, $56d2586955e116da$export$2e2bcd8739ae039 as PagePaginationNavigation, $fa0fc9b7e04a1799$export$2e2bcd8739ae039 as TabNavigation, $860faaa2c7bb1f36$export$2e2bcd8739ae039 as VerticalNavigation, $d467f992ffa88739$export$2e2bcd8739ae039 as ModalOverlay, $0a39296cb800ec26$export$2e2bcd8739ae039 as NotificationOverlay, $434e0b441c881466$export$2e2bcd8739ae039 as SlideOverOverlay, $28232825d538e297$export$2e2bcd8739ae039 as TableColumnOptionsCustom, $b38b76ffa80a65c8$export$2e2bcd8739ae039 as TableExportCustom, $40038b27a5148d69$export$2e2bcd8739ae039 as SelectMenuForm, $66c3dcaaa74b5389$export$7493424cf90fe793 as fromSelectMenuOptionToStringValue, $66c3dcaaa74b5389$export$4370d69198e9314a as toClassName, $66c3dcaaa74b5389$export$91d20e9290e3c358 as toAddressString, $66c3dcaaa74b5389$export$ba96624aa3b67894 as toAddressUrl, $66c3dcaaa74b5389$export$f3f93e5bb54c3de5 as toNationalRegistryNumberString, $66c3dcaaa74b5389$export$648c405ef8d23fec as toPriceString, $66c3dcaaa74b5389$export$155f7ed6f228c17c as toReadableFileSize, $66c3dcaaa74b5389$export$b2669f8969cc59be as toUserName, $66c3dcaaa74b5389$export$d9f806f9324c35ff as toUserInitials, $4e61e073e8ab55ca$export$b7c4e1545c61edee as toDateString, $4e61e073e8ab55ca$export$b489b1fb1454ddcf as toTimeString, $4e61e073e8ab55ca$export$c03bb0116ee09d4b as isValidDate, $4e61e073e8ab55ca$export$9b56e83e909e2c38 as toDateTimeString, $4e61e073e8ab55ca$export$1771f44233a5f72 as toDaysDifference, $4e61e073e8ab55ca$export$8649d02bd537ff66 as latestDateString, $4e61e073e8ab55ca$export$df20409d3177a2e0 as toDateValue, $4e61e073e8ab55ca$export$8a6f307d1b8b1960 as toTimeValue, $4e61e073e8ab55ca$export$8de20099c30464f2 as toUTCDate, $be69f9fa947058ae$export$2e2bcd8739ae039 as DateMenuForm, $00ca07f933061d8a$export$2e2bcd8739ae039 as DateRangeMenuForm, $e964500960620598$export$2e2bcd8739ae039 as __DEPRECATED__CheckboxInputGroupForm, $785bf8949af26aa5$export$2e2bcd8739ae039 as CheckboxInput, $10ded3c19afe27a9$export$2e2bcd8739ae039 as SwitchForm, $aa6702347bcd9c62$export$2e2bcd8739ae039 as RichTextArea, $b1b6aa72505b2474$export$2e2bcd8739ae039 as FileInputGroupForm, $39e9223269e270c7$export$2e2bcd8739ae039 as OpeningsHourInputGroupForm, $c7f1fe1c3b2d56f5$export$2e2bcd8739ae039 as AddressInputGroupForm, $382ffb7c1faa0f62$export$4564041bcff0e281 as useExcel, $48d5b0ffa682dc0b$export$2e2bcd8739ae039 as useExcelMapper, $3f6ca002faff40a3$export$2e2bcd8739ae039 as useColumnHelper, $bcc7539df5bef927$export$1476d5e67a64a695 as escapeSpecialCharacters};
7145
+ export {$4f6dca59bb6d6d50$export$2e2bcd8739ae039 as AvatarElement, $9a29d5e0e3b54abe$export$2e2bcd8739ae039 as AlertElement, $a5045567c9b3a96e$export$2e2bcd8739ae039 as BadgeElement, $b237e6d2d86a5c92$export$2e2bcd8739ae039 as TooltipElement, $bc407adcad543f74$export$2e2bcd8739ae039 as ButtonElement, $c827cec2b56530a4$export$2e2bcd8739ae039 as ButtonGroupElement, $edc4ba41affb9483$export$2e2bcd8739ae039 as DropdownElement, $77cd4416ca4a0639$export$2e2bcd8739ae039 as IconElement, $307aa6ad38171d38$export$2e2bcd8739ae039 as CollapsibleElement, $49931a5175dab103$export$2e2bcd8739ae039 as ProgressTrackElement, $7b4ae85c2b92d7dd$export$2e2bcd8739ae039 as InputGroupForm, $2e39e1fa3f910477$export$2e2bcd8739ae039 as ContainerLayout, $47c668decea293b6$export$2e2bcd8739ae039 as DividerLayout, $40af42a6ff486398$export$2e2bcd8739ae039 as ListContainerLayout, $d8086708b0fe8d97$export$2e2bcd8739ae039 as MediaObjectLayout, $11b7c597538c2257$export$2e2bcd8739ae039 as PanelLayout, $4421fdc946e7dd6c$export$2e2bcd8739ae039 as TableList, $df469b72efb8986e$export$2e2bcd8739ae039 as TableList2, $fc6e6482f238e9ea$export$4b44a5cb9651fe5e as createColumnHelper, $797c6dd505f17788$export$2e2bcd8739ae039 as BreadcrumbsNavigation, $8239f5cdc1851973$export$2e2bcd8739ae039 as PanelPaginationNavigation, $56d2586955e116da$export$2e2bcd8739ae039 as PagePaginationNavigation, $fa0fc9b7e04a1799$export$2e2bcd8739ae039 as TabNavigation, $860faaa2c7bb1f36$export$2e2bcd8739ae039 as VerticalNavigation, $d467f992ffa88739$export$2e2bcd8739ae039 as ModalOverlay, $0a39296cb800ec26$export$2e2bcd8739ae039 as NotificationOverlay, $434e0b441c881466$export$2e2bcd8739ae039 as SlideOverOverlay, $28232825d538e297$export$2e2bcd8739ae039 as TableColumnOptionsCustom, $b38b76ffa80a65c8$export$2e2bcd8739ae039 as TableExportCustom, $40038b27a5148d69$export$2e2bcd8739ae039 as SelectMenuForm, $66c3dcaaa74b5389$export$7493424cf90fe793 as fromSelectMenuOptionToStringValue, $66c3dcaaa74b5389$export$4370d69198e9314a as toClassName, $66c3dcaaa74b5389$export$91d20e9290e3c358 as toAddressString, $66c3dcaaa74b5389$export$ba96624aa3b67894 as toAddressUrl, $66c3dcaaa74b5389$export$f3f93e5bb54c3de5 as toNationalRegistryNumberString, $66c3dcaaa74b5389$export$648c405ef8d23fec as toPriceString, $66c3dcaaa74b5389$export$155f7ed6f228c17c as toReadableFileSize, $66c3dcaaa74b5389$export$b2669f8969cc59be as toUserName, $66c3dcaaa74b5389$export$d9f806f9324c35ff as toUserInitials, $4e61e073e8ab55ca$export$b7c4e1545c61edee as toDateString, $4e61e073e8ab55ca$export$b489b1fb1454ddcf as toTimeString, $4e61e073e8ab55ca$export$c03bb0116ee09d4b as isValidDate, $4e61e073e8ab55ca$export$9b56e83e909e2c38 as toDateTimeString, $4e61e073e8ab55ca$export$1771f44233a5f72 as toDaysDifference, $4e61e073e8ab55ca$export$8649d02bd537ff66 as latestDateString, $4e61e073e8ab55ca$export$df20409d3177a2e0 as toDateValue, $4e61e073e8ab55ca$export$8a6f307d1b8b1960 as toTimeValue, $4e61e073e8ab55ca$export$8de20099c30464f2 as toUTCDate, $be69f9fa947058ae$export$2e2bcd8739ae039 as DateMenuForm, $00ca07f933061d8a$export$2e2bcd8739ae039 as DateRangeMenuForm, $785bf8949af26aa5$export$2e2bcd8739ae039 as CheckboxInput, $10ded3c19afe27a9$export$2e2bcd8739ae039 as SwitchForm, $aa6702347bcd9c62$export$2e2bcd8739ae039 as RichTextArea, $b1b6aa72505b2474$export$2e2bcd8739ae039 as FileInputGroupForm, $c7f1fe1c3b2d56f5$export$2e2bcd8739ae039 as AddressInputGroupForm, $382ffb7c1faa0f62$export$4564041bcff0e281 as useExcel, $48d5b0ffa682dc0b$export$2e2bcd8739ae039 as useExcelMapper, $3f6ca002faff40a3$export$2e2bcd8739ae039 as useColumnHelper, $bcc7539df5bef927$export$1476d5e67a64a695 as escapeSpecialCharacters};
7740
7146
  //# sourceMappingURL=index.esm.js.map