@ballistix.digital/react-components 8.5.6 → 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.d.ts +15 -78
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +4 -621
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +2 -621
- package/dist/index.js.map +1 -1
- package/dist/lib/tsconfig.tsbuildinfo +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +21 -22
package/dist/index.esm.js
CHANGED
|
@@ -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
|
|
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,7 +24,6 @@ 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
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";
|
|
@@ -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',
|
|
@@ -6832,507 +6716,6 @@ var $b1b6aa72505b2474$export$2e2bcd8739ae039 = $b1b6aa72505b2474$var$FileInputGr
|
|
|
6832
6716
|
|
|
6833
6717
|
|
|
6834
6718
|
|
|
6835
|
-
|
|
6836
|
-
var $2109d011c77499b4$var$base = {
|
|
6837
|
-
container: '',
|
|
6838
|
-
head: 'flex justify-between',
|
|
6839
|
-
body: 'relative rounded-md py-2',
|
|
6840
|
-
foot: '',
|
|
6841
|
-
label: 'block font-medium text-gray-900',
|
|
6842
|
-
hint: 'text-xs text-gray-500',
|
|
6843
|
-
leading: 'pointer-events-none absolute inset-y-0 left-0 flex items-center',
|
|
6844
|
-
input: 'block w-full',
|
|
6845
|
-
trailing: 'pointer-events-none absolute inset-y-0 right-0 flex items-center',
|
|
6846
|
-
description: 'text-gray-400 text-xs mt-1',
|
|
6847
|
-
error: 'text-red-500 text-xs mt-1'
|
|
6848
|
-
};
|
|
6849
|
-
var $2109d011c77499b4$var$leading = {
|
|
6850
|
-
input: 'pl-10'
|
|
6851
|
-
};
|
|
6852
|
-
var $2109d011c77499b4$var$trailing = {};
|
|
6853
|
-
var $2109d011c77499b4$var$normal = {
|
|
6854
|
-
label: 'leading-6 text-sm mb-2',
|
|
6855
|
-
hint: 'leading-6',
|
|
6856
|
-
leading: 'pl-3',
|
|
6857
|
-
input: 'rounded-md border-gray-200 shadow-xs focus:border-primary-500 focus:ring-primary-500 sm:text-sm placeholder-gray-300',
|
|
6858
|
-
trailing: 'pr-3',
|
|
6859
|
-
description: 'mt-2 text-sm'
|
|
6860
|
-
};
|
|
6861
|
-
var $2109d011c77499b4$var$inset = {
|
|
6862
|
-
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',
|
|
6863
|
-
label: 'text-xs',
|
|
6864
|
-
hint: 'text-xs',
|
|
6865
|
-
input: 'border-0 ring-0! p-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm pl-0',
|
|
6866
|
-
description: 'hidden'
|
|
6867
|
-
};
|
|
6868
|
-
var $2109d011c77499b4$var$overlapping = {
|
|
6869
|
-
container: 'relative',
|
|
6870
|
-
head: ' absolute flex justify-between items-center left-0 -top-2 right-0 mx-2 z-10 w-full',
|
|
6871
|
-
label: 'inline-block bg-white px-1 text-xs font-medium text-gray-900 ',
|
|
6872
|
-
hint: 'text-xs mr-4 bg-white px-1',
|
|
6873
|
-
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',
|
|
6874
|
-
description: 'hidden'
|
|
6875
|
-
};
|
|
6876
|
-
var $2109d011c77499b4$var$pill = {
|
|
6877
|
-
head: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mb-1 pr-6',
|
|
6878
|
-
foot: 'mx-px block px-4 text-sm font-medium leading-6 text-gray-900 mt-1 pr-6',
|
|
6879
|
-
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',
|
|
6880
|
-
trailing: 'pr-2',
|
|
6881
|
-
description: 'text-xs'
|
|
6882
|
-
};
|
|
6883
|
-
var $2109d011c77499b4$var$floored = {
|
|
6884
|
-
body: 'relative mt-2',
|
|
6885
|
-
label: 'block text-sm font-medium leading-6 text-gray-900',
|
|
6886
|
-
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',
|
|
6887
|
-
description: 'text-xs mt-2'
|
|
6888
|
-
};
|
|
6889
|
-
var $2109d011c77499b4$var$invalid = {
|
|
6890
|
-
container: 'ring-red-500',
|
|
6891
|
-
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',
|
|
6892
|
-
'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',
|
|
6893
|
-
description: 'text-sm text-red-600'
|
|
6894
|
-
};
|
|
6895
|
-
var $2109d011c77499b4$var$disabled = {
|
|
6896
|
-
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'
|
|
6897
|
-
};
|
|
6898
|
-
var $2109d011c77499b4$var$styles = {
|
|
6899
|
-
base: $2109d011c77499b4$var$base,
|
|
6900
|
-
leading: $2109d011c77499b4$var$leading,
|
|
6901
|
-
trailing: $2109d011c77499b4$var$trailing,
|
|
6902
|
-
normal: $2109d011c77499b4$var$normal,
|
|
6903
|
-
inset: $2109d011c77499b4$var$inset,
|
|
6904
|
-
overlapping: $2109d011c77499b4$var$overlapping,
|
|
6905
|
-
pill: $2109d011c77499b4$var$pill,
|
|
6906
|
-
floored: $2109d011c77499b4$var$floored,
|
|
6907
|
-
invalid: $2109d011c77499b4$var$invalid,
|
|
6908
|
-
disabled: $2109d011c77499b4$var$disabled
|
|
6909
|
-
};
|
|
6910
|
-
var $2109d011c77499b4$export$2e2bcd8739ae039 = $2109d011c77499b4$var$styles;
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
6921
|
-
|
|
6922
|
-
|
|
6923
|
-
|
|
6924
|
-
var $2faf095044a1ccf8$var$OpeningHourItem = function(props) {
|
|
6925
|
-
var _a, _b, _c;
|
|
6926
|
-
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;
|
|
6927
|
-
var options = (0, $4MPRY$useMemo)(function() {
|
|
6928
|
-
var values = [
|
|
6929
|
-
'MONDAY',
|
|
6930
|
-
'TUESDAY',
|
|
6931
|
-
'WEDNESDAY',
|
|
6932
|
-
'THURSDAY',
|
|
6933
|
-
'FRIDAY',
|
|
6934
|
-
'SATURDAY',
|
|
6935
|
-
'SUNDAY'
|
|
6936
|
-
];
|
|
6937
|
-
var translations = [];
|
|
6938
|
-
switch(lang){
|
|
6939
|
-
case 'en':
|
|
6940
|
-
translations = [
|
|
6941
|
-
'Monday',
|
|
6942
|
-
'Tuesday',
|
|
6943
|
-
'Wednesday',
|
|
6944
|
-
'Thursday',
|
|
6945
|
-
'Friday',
|
|
6946
|
-
'Saturday',
|
|
6947
|
-
'Sunday'
|
|
6948
|
-
];
|
|
6949
|
-
break;
|
|
6950
|
-
case 'nl':
|
|
6951
|
-
translations = [
|
|
6952
|
-
'Maandag',
|
|
6953
|
-
'Dinsdag',
|
|
6954
|
-
'Woensdag',
|
|
6955
|
-
'Donderdag',
|
|
6956
|
-
'Vrijdag',
|
|
6957
|
-
'Zaterdag',
|
|
6958
|
-
'Zondag'
|
|
6959
|
-
];
|
|
6960
|
-
break;
|
|
6961
|
-
}
|
|
6962
|
-
return translations.map(function(translation, index) {
|
|
6963
|
-
return {
|
|
6964
|
-
label: translation,
|
|
6965
|
-
value: values[index]
|
|
6966
|
-
};
|
|
6967
|
-
});
|
|
6968
|
-
}, [
|
|
6969
|
-
lang
|
|
6970
|
-
]);
|
|
6971
|
-
var isCreating = defaultValue === undefined;
|
|
6972
|
-
var initialValues = (0, $4MPRY$useMemo)(function() {
|
|
6973
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
6974
|
-
return {
|
|
6975
|
-
id: (_a = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id) !== null && _a !== void 0 ? _a : id,
|
|
6976
|
-
day: {
|
|
6977
|
-
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,
|
|
6978
|
-
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
|
|
6979
|
-
},
|
|
6980
|
-
closed: (_h = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closed) !== null && _h !== void 0 ? _h : false,
|
|
6981
|
-
openingTime: (defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime) ? (0, $4MPRY$DateTime).fromISO(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime).minus({
|
|
6982
|
-
hours: 2
|
|
6983
|
-
}).toFormat('HH:mm') : '',
|
|
6984
|
-
closingTime: (defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime) ? (0, $4MPRY$DateTime).fromISO(defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime).minus({
|
|
6985
|
-
hours: 2
|
|
6986
|
-
}).toFormat('HH:mm') : ''
|
|
6987
|
-
};
|
|
6988
|
-
}, [
|
|
6989
|
-
dayPlaceholder,
|
|
6990
|
-
defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closed,
|
|
6991
|
-
defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.closingTime,
|
|
6992
|
-
defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.day,
|
|
6993
|
-
defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id,
|
|
6994
|
-
defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.openingTime,
|
|
6995
|
-
id,
|
|
6996
|
-
options
|
|
6997
|
-
]);
|
|
6998
|
-
var toTimeStamp = (0, $4MPRY$useCallback)(function(value) {
|
|
6999
|
-
if (value === undefined) return undefined;
|
|
7000
|
-
var _a = value.split(':'), hours = _a[0], minutes = _a[1];
|
|
7001
|
-
return (0, $4MPRY$DateTime).utc().set({
|
|
7002
|
-
hour: Number(hours),
|
|
7003
|
-
minute: Number(minutes),
|
|
7004
|
-
second: 0,
|
|
7005
|
-
millisecond: 0
|
|
7006
|
-
}).toISO();
|
|
7007
|
-
}, []);
|
|
7008
|
-
var onSubmit = (0, $4MPRY$useCallback)(function(values) {
|
|
7009
|
-
var _a;
|
|
7010
|
-
var openingTime = toTimeStamp(values === null || values === void 0 ? void 0 : values.openingTime);
|
|
7011
|
-
var closingTime = toTimeStamp(values === null || values === void 0 ? void 0 : values.closingTime);
|
|
7012
|
-
var params = {
|
|
7013
|
-
id: (_a = defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id) !== null && _a !== void 0 ? _a : id,
|
|
7014
|
-
day: options.findIndex(function(option) {
|
|
7015
|
-
var _a;
|
|
7016
|
-
return option.value === ((_a = values === null || values === void 0 ? void 0 : values.day) === null || _a === void 0 ? void 0 : _a.value);
|
|
7017
|
-
}),
|
|
7018
|
-
closed: values === null || values === void 0 ? void 0 : values.closed,
|
|
7019
|
-
openingTime: openingTime,
|
|
7020
|
-
closingTime: closingTime
|
|
7021
|
-
};
|
|
7022
|
-
onCreate(params);
|
|
7023
|
-
}, [
|
|
7024
|
-
defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id,
|
|
7025
|
-
id,
|
|
7026
|
-
onCreate,
|
|
7027
|
-
options,
|
|
7028
|
-
toTimeStamp
|
|
7029
|
-
]);
|
|
7030
|
-
var form = (0, $4MPRY$useFormik)({
|
|
7031
|
-
initialValues: initialValues,
|
|
7032
|
-
onSubmit: onSubmit
|
|
7033
|
-
});
|
|
7034
|
-
return (0, $4MPRY$jsxs)("div", {
|
|
7035
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)('-mt-2 flex gap-4 items-end', !isCreating && 'opacity-100'),
|
|
7036
|
-
children: [
|
|
7037
|
-
(0, $4MPRY$jsx)("div", {
|
|
7038
|
-
className: (0, $99ef0e378c886c3a$export$2e2bcd8739ae039).selectMenu.container,
|
|
7039
|
-
children: (0, $4MPRY$jsx)((0, $40038b27a5148d69$export$2e2bcd8739ae039), {
|
|
7040
|
-
name: "day",
|
|
7041
|
-
//
|
|
7042
|
-
isRequired: true,
|
|
7043
|
-
isMultiple: false,
|
|
7044
|
-
isSearchable: false,
|
|
7045
|
-
//
|
|
7046
|
-
options: options,
|
|
7047
|
-
//
|
|
7048
|
-
value: (_a = form === null || form === void 0 ? void 0 : form.values) === null || _a === void 0 ? void 0 : _a.day,
|
|
7049
|
-
onChange: function(value) {
|
|
7050
|
-
return form.setFieldValue('day', value);
|
|
7051
|
-
},
|
|
7052
|
-
onBlur: function() {
|
|
7053
|
-
var _a, _b, _c;
|
|
7054
|
-
form === null || form === void 0 || form.setFieldTouched('day');
|
|
7055
|
-
if (!isCreating) {
|
|
7056
|
-
var openingTime = toTimeStamp((_a = form.values) === null || _a === void 0 ? void 0 : _a.openingTime);
|
|
7057
|
-
var closingTime = toTimeStamp((_b = form.values) === null || _b === void 0 ? void 0 : _b.closingTime);
|
|
7058
|
-
var params = {
|
|
7059
|
-
id: defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.id,
|
|
7060
|
-
day: options.findIndex(function(option) {
|
|
7061
|
-
var _a, _b;
|
|
7062
|
-
return option.value === ((_b = (_a = form.values) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.value);
|
|
7063
|
-
}),
|
|
7064
|
-
closed: (_c = form.values) === null || _c === void 0 ? void 0 : _c.closed,
|
|
7065
|
-
openingTime: openingTime,
|
|
7066
|
-
closingTime: closingTime
|
|
7067
|
-
};
|
|
7068
|
-
onUpdate && onUpdate(params);
|
|
7069
|
-
}
|
|
7070
|
-
},
|
|
7071
|
-
onClear: function() {
|
|
7072
|
-
return form.setFieldValue('day', null);
|
|
7073
|
-
}
|
|
7074
|
-
})
|
|
7075
|
-
}),
|
|
7076
|
-
(0, $4MPRY$jsx)((0, $7b4ae85c2b92d7dd$export$2e2bcd8739ae039), {
|
|
7077
|
-
name: "openingTime",
|
|
7078
|
-
htmlType: "time",
|
|
7079
|
-
type: "normal",
|
|
7080
|
-
//
|
|
7081
|
-
isRequired: true,
|
|
7082
|
-
isDisabled: form.values.closed,
|
|
7083
|
-
//
|
|
7084
|
-
value: (_b = form === null || form === void 0 ? void 0 : form.values) === null || _b === void 0 ? void 0 : _b.openingTime,
|
|
7085
|
-
onChange: form === null || form === void 0 ? void 0 : form.handleChange,
|
|
7086
|
-
onBlur: function(values) {
|
|
7087
|
-
var _a, _b, _c;
|
|
7088
|
-
form === null || form === void 0 || form.handleBlur(values);
|
|
7089
|
-
if (!isCreating) {
|
|
7090
|
-
var openingTime = toTimeStamp((_a = form.values) === null || _a === void 0 ? void 0 : _a.openingTime);
|
|
7091
|
-
var closingTime = toTimeStamp((_b = form.values) === null || _b === void 0 ? void 0 : _b.closingTime);
|
|
7092
|
-
var params = {
|
|
7093
|
-
id: values === null || values === void 0 ? void 0 : values.id,
|
|
7094
|
-
day: options.findIndex(function(option) {
|
|
7095
|
-
var _a, _b;
|
|
7096
|
-
return option.value === ((_b = (_a = form.values) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.value);
|
|
7097
|
-
}),
|
|
7098
|
-
closed: (_c = form.values) === null || _c === void 0 ? void 0 : _c.closed,
|
|
7099
|
-
openingTime: openingTime,
|
|
7100
|
-
closingTime: closingTime
|
|
7101
|
-
};
|
|
7102
|
-
onUpdate && onUpdate(params);
|
|
7103
|
-
}
|
|
7104
|
-
}
|
|
7105
|
-
}),
|
|
7106
|
-
(0, $4MPRY$jsx)((0, $7b4ae85c2b92d7dd$export$2e2bcd8739ae039), {
|
|
7107
|
-
name: "closingTime",
|
|
7108
|
-
htmlType: "time",
|
|
7109
|
-
type: "normal",
|
|
7110
|
-
//
|
|
7111
|
-
isRequired: true,
|
|
7112
|
-
isDisabled: form.values.closed,
|
|
7113
|
-
//
|
|
7114
|
-
value: (_c = form.values) === null || _c === void 0 ? void 0 : _c.closingTime,
|
|
7115
|
-
onChange: form === null || form === void 0 ? void 0 : form.handleChange,
|
|
7116
|
-
onBlur: function(values) {
|
|
7117
|
-
var _a, _b, _c;
|
|
7118
|
-
form === null || form === void 0 || form.handleBlur(values);
|
|
7119
|
-
if (!isCreating) {
|
|
7120
|
-
var openingTime = toTimeStamp((_a = form.values) === null || _a === void 0 ? void 0 : _a.openingTime);
|
|
7121
|
-
var closingTime = toTimeStamp((_b = form.values) === null || _b === void 0 ? void 0 : _b.closingTime);
|
|
7122
|
-
var params = {
|
|
7123
|
-
id: values === null || values === void 0 ? void 0 : values.id,
|
|
7124
|
-
day: options.findIndex(function(option) {
|
|
7125
|
-
var _a, _b;
|
|
7126
|
-
return option.value === ((_b = (_a = form.values) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.value);
|
|
7127
|
-
}),
|
|
7128
|
-
closed: (_c = form.values) === null || _c === void 0 ? void 0 : _c.closed,
|
|
7129
|
-
openingTime: openingTime,
|
|
7130
|
-
closingTime: closingTime
|
|
7131
|
-
};
|
|
7132
|
-
onUpdate && onUpdate(params);
|
|
7133
|
-
}
|
|
7134
|
-
}
|
|
7135
|
-
}),
|
|
7136
|
-
(0, $4MPRY$jsxs)("div", {
|
|
7137
|
-
className: "flex flex-col",
|
|
7138
|
-
children: [
|
|
7139
|
-
(0, $4MPRY$jsx)("p", {
|
|
7140
|
-
className: "text-xs font-medium pb-1 mt-4",
|
|
7141
|
-
children: "Closed"
|
|
7142
|
-
}),
|
|
7143
|
-
(0, $4MPRY$jsxs)((0, $4MPRY$Switch), {
|
|
7144
|
-
checked: form.values.closed,
|
|
7145
|
-
onChange: function() {
|
|
7146
|
-
var _a, _b, _c, _d;
|
|
7147
|
-
form.setFieldValue('closed', !form.values.closed);
|
|
7148
|
-
if (!isCreating) {
|
|
7149
|
-
var openingTime = toTimeStamp((_a = form.values) === null || _a === void 0 ? void 0 : _a.openingTime);
|
|
7150
|
-
var closingTime = toTimeStamp((_b = form.values) === null || _b === void 0 ? void 0 : _b.closingTime);
|
|
7151
|
-
var params = {
|
|
7152
|
-
id: (_c = form.values) === null || _c === void 0 ? void 0 : _c.id,
|
|
7153
|
-
day: options.findIndex(function(option) {
|
|
7154
|
-
var _a, _b;
|
|
7155
|
-
return option.value === ((_b = (_a = form.values) === null || _a === void 0 ? void 0 : _a.day) === null || _b === void 0 ? void 0 : _b.value);
|
|
7156
|
-
}),
|
|
7157
|
-
closed: !((_d = form.values) === null || _d === void 0 ? void 0 : _d.closed),
|
|
7158
|
-
openingTime: openingTime,
|
|
7159
|
-
closingTime: closingTime
|
|
7160
|
-
};
|
|
7161
|
-
onUpdate && onUpdate(params);
|
|
7162
|
-
}
|
|
7163
|
-
},
|
|
7164
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)((0, $99ef0e378c886c3a$export$2e2bcd8739ae039).control.action, form.values.closed ? 'bg-primary-500' : 'bg-gray-200'),
|
|
7165
|
-
children: [
|
|
7166
|
-
(0, $4MPRY$jsx)("span", {
|
|
7167
|
-
className: (0, $99ef0e378c886c3a$export$2e2bcd8739ae039).control.sr,
|
|
7168
|
-
children: "Toggle closed"
|
|
7169
|
-
}),
|
|
7170
|
-
(0, $4MPRY$jsx)("span", {
|
|
7171
|
-
"aria-hidden": "true",
|
|
7172
|
-
className: (0, $66c3dcaaa74b5389$export$4370d69198e9314a)((0, $99ef0e378c886c3a$export$2e2bcd8739ae039).control.span, form.values.closed ? 'translate-x-5' : 'translate-x-0')
|
|
7173
|
-
})
|
|
7174
|
-
]
|
|
7175
|
-
})
|
|
7176
|
-
]
|
|
7177
|
-
}),
|
|
7178
|
-
!isCreating ? (0, $4MPRY$jsx)((0, $bc407adcad543f74$export$2e2bcd8739ae039), {
|
|
7179
|
-
size: "sm",
|
|
7180
|
-
type: "outline",
|
|
7181
|
-
onClick: function() {
|
|
7182
|
-
return onDelete && onDelete(form.values.id);
|
|
7183
|
-
},
|
|
7184
|
-
children: (0, $4MPRY$jsx)((0, $4MPRY$XMarkIcon), {
|
|
7185
|
-
className: "w-4 h-4"
|
|
7186
|
-
})
|
|
7187
|
-
}) : (0, $4MPRY$jsx)((0, $bc407adcad543f74$export$2e2bcd8739ae039), {
|
|
7188
|
-
size: "sm",
|
|
7189
|
-
type: "secondary",
|
|
7190
|
-
onClick: function() {
|
|
7191
|
-
return form.handleSubmit();
|
|
7192
|
-
},
|
|
7193
|
-
children: (0, $4MPRY$jsx)((0, $4MPRY$PlusIcon), {
|
|
7194
|
-
className: "w-4 h-4"
|
|
7195
|
-
})
|
|
7196
|
-
})
|
|
7197
|
-
]
|
|
7198
|
-
});
|
|
7199
|
-
};
|
|
7200
|
-
var $2faf095044a1ccf8$export$2e2bcd8739ae039 = $2faf095044a1ccf8$var$OpeningHourItem;
|
|
7201
|
-
|
|
7202
|
-
|
|
7203
|
-
var $99ef0e378c886c3a$var$styles = {
|
|
7204
|
-
container: '',
|
|
7205
|
-
selectMenu: {
|
|
7206
|
-
container: "grow"
|
|
7207
|
-
},
|
|
7208
|
-
control: {
|
|
7209
|
-
container: 'flex items-center',
|
|
7210
|
-
label: 'text-sm mr-2 font-medium w-36',
|
|
7211
|
-
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',
|
|
7212
|
-
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',
|
|
7213
|
-
sr: 'sr-only'
|
|
7214
|
-
}
|
|
7215
|
-
};
|
|
7216
|
-
var $99ef0e378c886c3a$export$2e2bcd8739ae039 = $99ef0e378c886c3a$var$styles;
|
|
7217
|
-
|
|
7218
|
-
|
|
7219
|
-
|
|
7220
|
-
|
|
7221
|
-
|
|
7222
|
-
|
|
7223
|
-
var $39e9223269e270c7$var$OpeningsHourInputGroupForm = function(props) {
|
|
7224
|
-
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;
|
|
7225
|
-
var isValid = error === undefined;
|
|
7226
|
-
var handleGenerateStyle = function() {
|
|
7227
|
-
var result = (0, $b3fc44f26b625a32$export$e2d2075c69d9100d)((0, $2109d011c77499b4$export$2e2bcd8739ae039).base);
|
|
7228
|
-
var keys = (0, $ba1db6dce71c3f25$export$be5d6ab3c5b84767)((0, $2109d011c77499b4$export$2e2bcd8739ae039).base);
|
|
7229
|
-
keys.forEach(function(key) {
|
|
7230
|
-
(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)));
|
|
7231
|
-
});
|
|
7232
|
-
return result;
|
|
7233
|
-
};
|
|
7234
|
-
var styles = handleGenerateStyle();
|
|
7235
|
-
(0, $4MPRY$useEffect)(function() {
|
|
7236
|
-
if (form.values[name]) onChange && onChange(form.values[name]);
|
|
7237
|
-
}, [
|
|
7238
|
-
form.values,
|
|
7239
|
-
name,
|
|
7240
|
-
onChange
|
|
7241
|
-
]);
|
|
7242
|
-
return (0, $4MPRY$jsxs)("div", {
|
|
7243
|
-
className: styles.container,
|
|
7244
|
-
children: [
|
|
7245
|
-
(0, $4MPRY$jsxs)("div", {
|
|
7246
|
-
className: styles.head,
|
|
7247
|
-
children: [
|
|
7248
|
-
label && (0, $4MPRY$jsx)("label", {
|
|
7249
|
-
htmlFor: name,
|
|
7250
|
-
className: styles.label,
|
|
7251
|
-
children: label
|
|
7252
|
-
}),
|
|
7253
|
-
!required && !isRequired && typeof label === 'string' && (0, $4MPRY$jsx)("span", {
|
|
7254
|
-
className: styles.hint,
|
|
7255
|
-
children: "Optional"
|
|
7256
|
-
}),
|
|
7257
|
-
required && required({
|
|
7258
|
-
isRequired: isRequired
|
|
7259
|
-
})
|
|
7260
|
-
]
|
|
7261
|
-
}),
|
|
7262
|
-
(0, $4MPRY$jsx)("div", {
|
|
7263
|
-
className: styles.body,
|
|
7264
|
-
children: (0, $4MPRY$jsx)((0, $4MPRY$FormikProvider), {
|
|
7265
|
-
value: form,
|
|
7266
|
-
children: (0, $4MPRY$jsx)((0, $4MPRY$FieldArray), {
|
|
7267
|
-
name: name,
|
|
7268
|
-
render: function(_a) {
|
|
7269
|
-
var _b, _c, _d, _e, _f;
|
|
7270
|
-
var remove = _a.remove, push = _a.push, replace = _a.replace;
|
|
7271
|
-
return (0, $4MPRY$jsxs)((0, $4MPRY$Fragment), {
|
|
7272
|
-
children: [
|
|
7273
|
-
(_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) {
|
|
7274
|
-
return {
|
|
7275
|
-
index: index,
|
|
7276
|
-
value: value
|
|
7277
|
-
};
|
|
7278
|
-
})) === null || _d === void 0 ? void 0 : _d.sort(function(a, b) {
|
|
7279
|
-
return a.value.day < b.value.day ? -1 : 1;
|
|
7280
|
-
})) === null || _e === void 0 ? void 0 : _e.map(function(_a) {
|
|
7281
|
-
var openingHour = _a.value, index = _a.index;
|
|
7282
|
-
return (0, $4MPRY$jsx)((0, $2faf095044a1ccf8$export$2e2bcd8739ae039), {
|
|
7283
|
-
id: index,
|
|
7284
|
-
openingHour: openingHour,
|
|
7285
|
-
lang: lang,
|
|
7286
|
-
onCreate: push,
|
|
7287
|
-
onUpdate: function(value) {
|
|
7288
|
-
return replace(index, value);
|
|
7289
|
-
},
|
|
7290
|
-
onDelete: function(id) {
|
|
7291
|
-
if (id) {
|
|
7292
|
-
handleDelete && handleDelete(id);
|
|
7293
|
-
remove(index);
|
|
7294
|
-
}
|
|
7295
|
-
}
|
|
7296
|
-
}, "".concat(openingHour.id, "-").concat(index));
|
|
7297
|
-
}),
|
|
7298
|
-
(0, $4MPRY$jsx)((0, $2faf095044a1ccf8$export$2e2bcd8739ae039), {
|
|
7299
|
-
id: "-",
|
|
7300
|
-
// Prefill picker with a day later than the day of the last saved opening hour.
|
|
7301
|
-
lang: lang,
|
|
7302
|
-
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,
|
|
7303
|
-
onCreate: push
|
|
7304
|
-
}, "-")
|
|
7305
|
-
]
|
|
7306
|
-
});
|
|
7307
|
-
}
|
|
7308
|
-
})
|
|
7309
|
-
})
|
|
7310
|
-
}),
|
|
7311
|
-
(0, $4MPRY$jsxs)("div", {
|
|
7312
|
-
className: styles.foot,
|
|
7313
|
-
children: [
|
|
7314
|
-
description && !(error && isTouched) && (0, $4MPRY$jsx)("p", {
|
|
7315
|
-
className: styles.description,
|
|
7316
|
-
children: description
|
|
7317
|
-
}),
|
|
7318
|
-
error && isTouched && (0, $4MPRY$jsx)("p", {
|
|
7319
|
-
className: styles.error,
|
|
7320
|
-
children: error
|
|
7321
|
-
})
|
|
7322
|
-
]
|
|
7323
|
-
})
|
|
7324
|
-
]
|
|
7325
|
-
});
|
|
7326
|
-
};
|
|
7327
|
-
var $39e9223269e270c7$export$2e2bcd8739ae039 = $39e9223269e270c7$var$OpeningsHourInputGroupForm;
|
|
7328
|
-
|
|
7329
|
-
|
|
7330
|
-
|
|
7331
|
-
|
|
7332
|
-
|
|
7333
|
-
|
|
7334
|
-
|
|
7335
|
-
|
|
7336
6719
|
var $0ef1dab9988818f3$var$base = {
|
|
7337
6720
|
container: '',
|
|
7338
6721
|
head: 'flex justify-between',
|
|
@@ -7759,5 +7142,5 @@ var $bcc7539df5bef927$export$1476d5e67a64a695 = function(str) {
|
|
|
7759
7142
|
|
|
7760
7143
|
|
|
7761
7144
|
|
|
7762
|
-
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, $
|
|
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};
|
|
7763
7146
|
//# sourceMappingURL=index.esm.js.map
|