@dynamic-framework/ui-react 1.2.1 → 1.3.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/css/dynamic-ui-all.css +1 -1
- package/dist/css/dynamic-ui-react.css +1 -1
- package/dist/css/dynamic-ui.css +1 -1
- package/dist/index.esm.js +180 -172
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +226 -216
- package/dist/index.js.map +1 -1
- package/dist/types/components/{MBoxFile.d.ts → DBoxFile.d.ts} +1 -1
- package/dist/types/components/{MCard.d.ts → DCard.d.ts} +1 -1
- package/dist/types/components/DCardAccount.d.ts +13 -0
- package/dist/types/components/{MCardBody.d.ts → DCardBody.d.ts} +1 -1
- package/dist/types/components/{MCardFooter.d.ts → DCardFooter.d.ts} +1 -1
- package/dist/types/components/{MCardHeader.d.ts → DCardHeader.d.ts} +1 -1
- package/dist/types/components/{MCarousel.d.ts → DCarousel.d.ts} +1 -1
- package/dist/types/components/{MCarouselSlide.d.ts → DCarouselSlide.d.ts} +1 -1
- package/dist/types/components/DCollapse.d.ts +11 -0
- package/dist/types/components/{banking/MCollapseIconText.d.ts → DCollapseIconText.d.ts} +1 -1
- package/dist/types/components/{MCurrencyText.d.ts → DCurrencyText.d.ts} +1 -1
- package/dist/types/components/{MDatePicker.d.ts → DDatePicker.d.ts} +3 -3
- package/dist/types/components/{MDatePickerHeader.d.ts → DDatePickerHeader.d.ts} +5 -4
- package/dist/types/components/DDatePickerInput.d.ts +8 -0
- package/dist/types/components/DDatePickerTime.d.ts +8 -0
- package/dist/types/components/DFormikInput.d.ts +7 -0
- package/dist/types/components/DFormikInputCurrency.d.ts +7 -0
- package/dist/types/components/{MFormikInputSelect.d.ts → DFormikInputSelect.d.ts} +3 -3
- package/dist/types/components/DInputCurrency.d.ts +9 -0
- package/dist/types/components/{MList.d.ts → DList.d.ts} +1 -1
- package/dist/types/components/{MListItem.d.ts → DListItem.d.ts} +2 -2
- package/dist/types/components/{MListItemMovement.d.ts → DListItemMovement.d.ts} +3 -3
- package/dist/types/components/DMonthPicker.d.ts +7 -0
- package/dist/types/components/{MPaginator.d.ts → DPaginator.d.ts} +4 -4
- package/dist/types/components/DPopover.d.ts +8 -0
- package/dist/types/components/{MSkeleton.d.ts → DSkeleton.d.ts} +1 -1
- package/dist/types/components/{MStepper.d.ts → DStepper.d.ts} +1 -1
- package/dist/types/components/{MTabContent.d.ts → DTabContent.d.ts} +1 -1
- package/dist/types/components/{MTabs.d.ts → DTabs.d.ts} +5 -5
- package/dist/types/components/{MToastContainer.d.ts → DToastContainer.d.ts} +2 -2
- package/dist/types/components/{MTooltip.d.ts → DTooltip.d.ts} +2 -2
- package/dist/types/components/banking/{MPermissionItem.d.ts → DPermissionItem.d.ts} +1 -1
- package/dist/types/components/banking/index.d.ts +1 -2
- package/dist/types/components/index.d.ts +27 -26
- package/dist/types/components/proxies.d.ts +21 -21
- package/dist/types/stories/components/{MBadge.stories.d.ts → DBadge.stories.d.ts} +3 -3
- package/dist/types/stories/components/DBoxFile.stories.d.ts +6 -0
- package/dist/types/stories/components/{MButton.stories.d.ts → DButton.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MCard.stories.d.ts → DCard.stories.d.ts} +3 -3
- package/dist/types/stories/components/DCardAccount.stories.d.ts +6 -0
- package/dist/types/stories/components/{MChip.stories.d.ts → DChip.stories.d.ts} +3 -3
- package/dist/types/stories/components/DCurrencyText.stories.d.ts +6 -0
- package/dist/types/stories/components/{MDatePicker.stories.d.ts → DDatePicker.stories.d.ts} +3 -3
- package/dist/types/stories/components/DFormikInput.stories.d.ts +7 -0
- package/dist/types/stories/components/{MFormikInputCurrency.stories.d.ts → DFormikInputCurrency.stories.d.ts} +3 -3
- package/dist/types/stories/components/DFormikInputSelect.stories.d.ts +7 -0
- package/dist/types/stories/components/{MIcon.stories.d.ts → DIcon.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInput.stories.d.ts → DInput.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputCheck.stories.d.ts → DInputCheck.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputCounter.stories.d.ts → DInputCounter.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputCurrency.stories.d.ts → DInputCurrency.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputCurrencyBase.stories.d.ts → DInputCurrencyBase.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputPassword.stories.d.ts → DInputPassword.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputPin.stories.d.ts → DInputPin.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputSearch.stories.d.ts → DInputSearch.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputSelect.stories.d.ts → DInputSelect.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MInputSwitch.stories.d.ts → DInputSwitch.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MList.stories.d.ts → DList.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MListItem.stories.d.ts → DListItem.stories.d.ts} +3 -3
- package/dist/types/stories/components/DListItemMovement.stories.d.ts +7 -0
- package/dist/types/stories/components/{MPaginator.stories.d.ts → DPaginator.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MProgressBar.stories.d.ts → DProgress.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MQuickActionButton.stories.d.ts → DQuickActionButton.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MQuickActionCheck.stories.d.ts → DQuickActionCheck.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MQuickActionSelect.stories.d.ts → DQuickActionSelect.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MQuickActionSwitch.stories.d.ts → DQuickActionSwitch.stories.d.ts} +3 -3
- package/dist/types/stories/components/DSkeleton.stories.d.ts +6 -0
- package/dist/types/stories/components/{MStepper.stories.d.ts → DStepper.stories.d.ts} +3 -3
- package/dist/types/stories/components/{MTooltip.stories.d.ts → DTooltip.stories.d.ts} +3 -3
- package/dist/types/stories/constants.d.ts +1 -2
- package/dist/types/stories/hooks/useOffcanvasContext.stories.d.ts +2 -2
- package/dist/types/stories/patterns/{MAlert.stories.d.ts → DAlert.stories.d.ts} +3 -3
- package/dist/types/stories/{components/MCarousel.stories.d.ts → patterns/DCarousel.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/{MCollapse.stories.d.ts → DCollapse.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/DCollapseIconText.stories.d.ts +6 -0
- package/dist/types/stories/patterns/{MModal.stories.d.ts → DModal.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/{MOffcanvas.stories.d.ts → DOffcanvas.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/{MPopover.stories.d.ts → DPopover.stories.d.ts} +3 -3
- package/dist/types/stories/patterns/{MTabs.stories.d.ts → DTabs.stories.d.ts} +3 -3
- package/package.json +3 -3
- package/src/style/components/_+import.scss +15 -12
- package/src/style/components/_d-box-file.scss +66 -0
- package/src/style/components/{_m-card-account.scss → _d-card-account.scss} +1 -1
- package/src/style/components/_d-carousel.scss +44 -0
- package/src/style/components/_d-collapse-icon-text.scss +16 -0
- package/src/style/components/_d-collapse.scss +54 -0
- package/src/style/components/_d-datepicker.scss +224 -0
- package/src/style/components/_d-monthpicker.scss +90 -0
- package/src/style/components/_d-paginator.scss +98 -0
- package/src/style/components/_d-permission-group.scss +39 -0
- package/src/style/components/{_m-popover.scss → _d-popover.scss} +2 -2
- package/src/style/components/_d-stepper.scss +156 -0
- package/src/style/components/_d-tabs.scss +56 -0
- package/src/style/components/_d-timepicker.scss +37 -0
- package/dist/types/components/MCardAccount.d.ts +0 -13
- package/dist/types/components/MCollapse.d.ts +0 -11
- package/dist/types/components/MDatePickerInput.d.ts +0 -9
- package/dist/types/components/MDatePickerTime.d.ts +0 -9
- package/dist/types/components/MFormikInput.d.ts +0 -7
- package/dist/types/components/MFormikInputCurrency.d.ts +0 -7
- package/dist/types/components/MInputCurrency.d.ts +0 -9
- package/dist/types/components/MMonthPicker.d.ts +0 -7
- package/dist/types/components/MPopover.d.ts +0 -8
- package/dist/types/stories/components/MBoxFile.stories.d.ts +0 -6
- package/dist/types/stories/components/MCardAccount.stories.d.ts +0 -6
- package/dist/types/stories/components/MFormikInput.stories.d.ts +0 -7
- package/dist/types/stories/components/MFormikInputSelect.stories.d.ts +0 -7
- package/dist/types/stories/components/MListItemMovement.stories.d.ts +0 -7
- package/dist/types/stories/components/MSkeleton.stories.d.ts +0 -6
- package/dist/types/stories/patterns/MCollapseIconText.stories.d.ts +0 -6
- package/src/style/components/_m-box-file.scss +0 -66
- package/src/style/components/_m-carousel.scss +0 -44
- package/src/style/components/_m-collapse-icon-text.scss +0 -16
- package/src/style/components/_m-collapse.scss +0 -56
- package/src/style/components/_m-datepicker.scss +0 -224
- package/src/style/components/_m-monthpicker.scss +0 -90
- package/src/style/components/_m-paginator.scss +0 -98
- package/src/style/components/_m-stepper.scss +0 -156
- package/src/style/components/_m-tabs.scss +0 -56
- package/src/style/components/_m-timepicker.scss +0 -37
package/dist/index.js
CHANGED
|
@@ -2,41 +2,42 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const tslib = require('tslib');
|
|
6
5
|
const jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
const reactToastify = require('react-toastify');
|
|
7
|
+
require('react-toastify/dist/ReactToastify.css');
|
|
8
|
+
const tslib = require('tslib');
|
|
7
9
|
const DatePicker = require('react-datepicker');
|
|
8
10
|
const luxon = require('luxon');
|
|
9
11
|
const React = require('react');
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
12
|
+
const dAlert_js = require('@dynamic-framework/ui/components/d-alert.js');
|
|
13
|
+
const dBadge_js = require('@dynamic-framework/ui/components/d-badge.js');
|
|
14
|
+
const dButton_js = require('@dynamic-framework/ui/components/d-button.js');
|
|
15
|
+
const dChip_js = require('@dynamic-framework/ui/components/d-chip.js');
|
|
16
|
+
const dIcon_js = require('@dynamic-framework/ui/components/d-icon.js');
|
|
17
|
+
const dInput_js = require('@dynamic-framework/ui/components/d-input.js');
|
|
18
|
+
const dInputCheck_js = require('@dynamic-framework/ui/components/d-input-check.js');
|
|
19
|
+
const dInputCounter_js = require('@dynamic-framework/ui/components/d-input-counter.js');
|
|
20
|
+
const dInputCurrencyBase_js = require('@dynamic-framework/ui/components/d-input-currency-base.js');
|
|
21
|
+
const dInputPassword_js = require('@dynamic-framework/ui/components/d-input-password.js');
|
|
22
|
+
const dInputPin_js = require('@dynamic-framework/ui/components/d-input-pin.js');
|
|
23
|
+
const dInputSearch_js = require('@dynamic-framework/ui/components/d-input-search.js');
|
|
24
|
+
const dInputSelect_js = require('@dynamic-framework/ui/components/d-input-select.js');
|
|
25
|
+
const dInputSwitch_js = require('@dynamic-framework/ui/components/d-input-switch.js');
|
|
26
|
+
const dModal_js = require('@dynamic-framework/ui/components/d-modal.js');
|
|
27
|
+
const dOffcanvas_js = require('@dynamic-framework/ui/components/d-offcanvas.js');
|
|
28
|
+
const dProgress_js = require('@dynamic-framework/ui/components/d-progress.js');
|
|
29
|
+
const dQuickActionButton_js = require('@dynamic-framework/ui/components/d-quick-action-button.js');
|
|
30
|
+
const dQuickActionCheck_js = require('@dynamic-framework/ui/components/d-quick-action-check.js');
|
|
31
|
+
const dQuickActionSelect_js = require('@dynamic-framework/ui/components/d-quick-action-select.js');
|
|
32
|
+
const dQuickActionSwitch_js = require('@dynamic-framework/ui/components/d-quick-action-switch.js');
|
|
31
33
|
const ui = require('@dynamic-framework/ui');
|
|
32
34
|
const ContentLoader = require('react-content-loader');
|
|
33
35
|
const classNames = require('classnames');
|
|
34
|
-
const reactToastify = require('react-toastify');
|
|
35
|
-
require('react-toastify/dist/ReactToastify.css');
|
|
36
36
|
const react = require('@floating-ui/react');
|
|
37
37
|
const formik = require('formik');
|
|
38
38
|
const reactDropzone = require('react-dropzone');
|
|
39
39
|
const reactSplide = require('@splidejs/react-splide');
|
|
40
|
+
const ResponsivePagination = require('react-responsive-pagination');
|
|
40
41
|
const i18n = require('i18next');
|
|
41
42
|
const reactI18next = require('react-i18next');
|
|
42
43
|
const html2canvas = require('html2canvas');
|
|
@@ -48,6 +49,7 @@ const DatePicker__default = /*#__PURE__*/_interopDefaultLegacy(DatePicker);
|
|
|
48
49
|
const React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
49
50
|
const ContentLoader__default = /*#__PURE__*/_interopDefaultLegacy(ContentLoader);
|
|
50
51
|
const classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
|
|
52
|
+
const ResponsivePagination__default = /*#__PURE__*/_interopDefaultLegacy(ResponsivePagination);
|
|
51
53
|
const i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
|
|
52
54
|
const html2canvas__default = /*#__PURE__*/_interopDefaultLegacy(html2canvas);
|
|
53
55
|
|
|
@@ -254,60 +256,42 @@ const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFun
|
|
|
254
256
|
};
|
|
255
257
|
|
|
256
258
|
/* eslint-disable */
|
|
257
|
-
const
|
|
258
|
-
const
|
|
259
|
-
const
|
|
260
|
-
const
|
|
261
|
-
const
|
|
262
|
-
const
|
|
263
|
-
const
|
|
264
|
-
const
|
|
265
|
-
const
|
|
266
|
-
const
|
|
267
|
-
const
|
|
268
|
-
const
|
|
269
|
-
const
|
|
270
|
-
const
|
|
271
|
-
const
|
|
272
|
-
const
|
|
273
|
-
const
|
|
274
|
-
const
|
|
275
|
-
const
|
|
276
|
-
const
|
|
277
|
-
const
|
|
278
|
-
|
|
279
|
-
function MCollapse({ id, className, Component, hasSeparator = false, defaultCollapsed = false, onChange, children, }) {
|
|
280
|
-
const [toggle, setToggle] = React.useState(defaultCollapsed);
|
|
281
|
-
const onChangeCollapse = () => setToggle((prev) => !prev);
|
|
282
|
-
React.useEffect(() => {
|
|
283
|
-
if (onChange) {
|
|
284
|
-
onChange(toggle);
|
|
285
|
-
}
|
|
286
|
-
}, [toggle, onChange]);
|
|
287
|
-
React.useEffect(() => {
|
|
288
|
-
setToggle(defaultCollapsed);
|
|
289
|
-
}, [defaultCollapsed]);
|
|
290
|
-
return (jsxRuntime.jsxs("div", Object.assign({ id: id, className: classNames__default["default"]('m-collapse collapse-container', className) }, { children: [jsxRuntime.jsxs("button", Object.assign({ className: "collapse-button", type: "button", onClick: onChangeCollapse }, { children: [jsxRuntime.jsx("div", Object.assign({ className: "flex-grow-1" }, { children: Component })), jsxRuntime.jsx(MIcon, { color: `var(--${ui.PREFIX_BS}gray)`, size: `var(--${ui.PREFIX_BS}ref-fs-small)`, icon: toggle ? 'chevron-up' : 'chevron-down' })] })), toggle && (jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]({
|
|
291
|
-
'collapse-body': true,
|
|
292
|
-
}), style: {
|
|
293
|
-
[`--${ui.PREFIX_BS}m-collapse-separator-display`]: hasSeparator ? 'block' : 'none',
|
|
294
|
-
} }, { children: children })))] })));
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
function MCollapseIconText({ children, icon, iconSize = '1.5rem', iconTheme = 'primary', title, iconFamilyClass, iconFamilyPrefix, }) {
|
|
298
|
-
return (jsxRuntime.jsx(MCollapse, Object.assign({ defaultCollapsed: true, className: "m-collapse-icon-text", Component: (jsxRuntime.jsxs("div", Object.assign({ className: "m-collapse-icon-text-header" }, { children: [jsxRuntime.jsx(MIcon, { icon: icon, size: iconSize, theme: iconTheme, familyClass: iconFamilyClass, familyPrefix: iconFamilyPrefix, hasCircle: true }), jsxRuntime.jsx("span", Object.assign({ className: "m-collapse-icon-text-title" }, { children: title }))] }))) }, { children: children })));
|
|
299
|
-
}
|
|
259
|
+
const DAlert = /*@__PURE__*/ createReactComponent('d-alert', undefined, undefined, dAlert_js.defineCustomElement);
|
|
260
|
+
const DBadge = /*@__PURE__*/ createReactComponent('d-badge', undefined, undefined, dBadge_js.defineCustomElement);
|
|
261
|
+
const DButton = /*@__PURE__*/ createReactComponent('d-button', undefined, undefined, dButton_js.defineCustomElement);
|
|
262
|
+
const DChip = /*@__PURE__*/ createReactComponent('d-chip', undefined, undefined, dChip_js.defineCustomElement);
|
|
263
|
+
const DIcon = /*@__PURE__*/ createReactComponent('d-icon', undefined, undefined, dIcon_js.defineCustomElement);
|
|
264
|
+
const DInput = /*@__PURE__*/ createReactComponent('d-input', undefined, undefined, dInput_js.defineCustomElement);
|
|
265
|
+
const DInputCheck = /*@__PURE__*/ createReactComponent('d-input-check', undefined, undefined, dInputCheck_js.defineCustomElement);
|
|
266
|
+
const DInputCounter = /*@__PURE__*/ createReactComponent('d-input-counter', undefined, undefined, dInputCounter_js.defineCustomElement);
|
|
267
|
+
const DInputCurrencyBase = /*@__PURE__*/ createReactComponent('d-input-currency-base', undefined, undefined, dInputCurrencyBase_js.defineCustomElement);
|
|
268
|
+
const DInputPassword = /*@__PURE__*/ createReactComponent('d-input-password', undefined, undefined, dInputPassword_js.defineCustomElement);
|
|
269
|
+
const DInputPin = /*@__PURE__*/ createReactComponent('d-input-pin', undefined, undefined, dInputPin_js.defineCustomElement);
|
|
270
|
+
const DInputSearch = /*@__PURE__*/ createReactComponent('d-input-search', undefined, undefined, dInputSearch_js.defineCustomElement);
|
|
271
|
+
const DInputSelect = /*@__PURE__*/ createReactComponent('d-input-select', undefined, undefined, dInputSelect_js.defineCustomElement);
|
|
272
|
+
const DInputSwitch = /*@__PURE__*/ createReactComponent('d-input-switch', undefined, undefined, dInputSwitch_js.defineCustomElement);
|
|
273
|
+
const DModal = /*@__PURE__*/ createReactComponent('d-modal', undefined, undefined, dModal_js.defineCustomElement);
|
|
274
|
+
const DOffcanvas = /*@__PURE__*/ createReactComponent('d-offcanvas', undefined, undefined, dOffcanvas_js.defineCustomElement);
|
|
275
|
+
const DProgress = /*@__PURE__*/ createReactComponent('d-progress', undefined, undefined, dProgress_js.defineCustomElement);
|
|
276
|
+
const DQuickActionButton = /*@__PURE__*/ createReactComponent('d-quick-action-button', undefined, undefined, dQuickActionButton_js.defineCustomElement);
|
|
277
|
+
const DQuickActionCheck = /*@__PURE__*/ createReactComponent('d-quick-action-check', undefined, undefined, dQuickActionCheck_js.defineCustomElement);
|
|
278
|
+
const DQuickActionSelect = /*@__PURE__*/ createReactComponent('d-quick-action-select', undefined, undefined, dQuickActionSelect_js.defineCustomElement);
|
|
279
|
+
const DQuickActionSwitch = /*@__PURE__*/ createReactComponent('d-quick-action-switch', undefined, undefined, dQuickActionSwitch_js.defineCustomElement);
|
|
300
280
|
|
|
301
|
-
function
|
|
302
|
-
return (jsxRuntime.jsxs("div", Object.assign({ role: "button", tabIndex: 0, onKeyDown: () => { }, className: "d-flex permission-item align-items-center", onClick: onAction }, { children: [jsxRuntime.jsx("span", Object.assign({ className: "flex-grow-1 label" }, { children: permission.label })), permission.type === 'custom' && (jsxRuntime.jsx(
|
|
281
|
+
function DPermissionItem({ permission, permissionState, onChange, onAction = () => { }, }) {
|
|
282
|
+
return (jsxRuntime.jsxs("div", Object.assign({ role: "button", tabIndex: 0, onKeyDown: () => { }, className: "d-flex permission-item align-items-center", onClick: onAction }, { children: [jsxRuntime.jsx("span", Object.assign({ className: "flex-grow-1 label" }, { children: permission.label })), permission.type === 'custom' && (jsxRuntime.jsx(DBadge, { theme: "tertiary", text: permissionState })), jsxRuntime.jsx(DInputSwitch, { innerId: permission.id, isChecked: !!permission.value, isDisabled: !permission.enabled, onEventChange: ({ detail: checked }) => onChange(checked) })] })));
|
|
303
283
|
}
|
|
304
284
|
|
|
305
285
|
function MPermissionGroup({ title, description, permissionState, permissionList, onChangePermission, onCustomAction = () => { }, }) {
|
|
306
|
-
return (jsxRuntime.jsxs("div", Object.assign({ className: "row operation-group g-0 mb-3 mb-lg-0" }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: "col-12 col-lg-4 d-flex flex-column justify-content-center" }, { children: [jsxRuntime.jsx("h6", Object.assign({ className: "fw-bold mb-3 mb-lg-2" }, { children: title })), jsxRuntime.jsx("p", Object.assign({ className: "fs-8 d-none d-lg-block m-0" }, { children: description }))] })), jsxRuntime.jsx("div", Object.assign({ className: "col-12 offset-lg-1 col-lg-7" }, { children: permissionList.map((permission) => (jsxRuntime.jsx(
|
|
286
|
+
return (jsxRuntime.jsxs("div", Object.assign({ className: "row operation-group g-0 mb-3 mb-lg-0" }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: "col-12 col-lg-4 d-flex flex-column justify-content-center" }, { children: [jsxRuntime.jsx("h6", Object.assign({ className: "fw-bold mb-3 mb-lg-2" }, { children: title })), jsxRuntime.jsx("p", Object.assign({ className: "fs-8 d-none d-lg-block m-0" }, { children: description }))] })), jsxRuntime.jsx("div", Object.assign({ className: "col-12 offset-lg-1 col-lg-7" }, { children: permissionList.map((permission) => (jsxRuntime.jsx(DPermissionItem, { permission: permission, permissionState: permissionState, onChange: (isChecked) => onChangePermission(permission, isChecked), onAction: () => onCustomAction(permission) }, permission.id))) }))] })));
|
|
307
287
|
}
|
|
308
288
|
|
|
309
289
|
function MSummaryCard({ title, description, icon, iconSize, iconTheme, Summary, }) {
|
|
310
|
-
return (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("h6", Object.assign({ className: "fw-bold fs-6" }, { children: title })), jsxRuntime.jsx("p", Object.assign({ className: "fs-8" }, { children: description })), jsxRuntime.jsxs("div", Object.assign({ className: "bg-white rounded p-4 d-flex gap-3 shadow-sm text-gray-700 fs-8" }, { children: [jsxRuntime.jsx(
|
|
290
|
+
return (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("h6", Object.assign({ className: "fw-bold fs-6" }, { children: title })), jsxRuntime.jsx("p", Object.assign({ className: "fs-8" }, { children: description })), jsxRuntime.jsxs("div", Object.assign({ className: "bg-white rounded p-4 d-flex gap-3 shadow-sm text-gray-700 fs-8" }, { children: [jsxRuntime.jsx(DIcon, { icon: icon, theme: iconTheme, size: iconSize }), Summary] }))] }));
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
function DToastContainer({ style, position = 'top-right', }) {
|
|
294
|
+
return (jsxRuntime.jsx(reactToastify.ToastContainer, { toastClassName: () => 'shadow-none p-0 cursor-default', position: position, autoClose: false, hideProgressBar: true, closeOnClick: false, closeButton: false, transition: reactToastify.Slide, style: style }));
|
|
311
295
|
}
|
|
312
296
|
|
|
313
297
|
const LiquidContext = React.createContext({
|
|
@@ -559,50 +543,50 @@ function useOffcanvasContext() {
|
|
|
559
543
|
return context;
|
|
560
544
|
}
|
|
561
545
|
|
|
562
|
-
function
|
|
563
|
-
var { value,
|
|
564
|
-
return (jsxRuntime.jsxs("div", Object.assign({ className: "d-flex align-items-center gap-2 flex-column
|
|
565
|
-
|
|
566
|
-
}, { type: "time",
|
|
546
|
+
function DDatePickerTime(_a) {
|
|
547
|
+
var { value, onEventChange, innerId, label } = _a, props = tslib.__rest(_a, ["value", "onEventChange", "innerId", "label"]);
|
|
548
|
+
return (jsxRuntime.jsxs("div", Object.assign({ className: "d-flex align-items-center gap-2 flex-column d-datepicker-time" }, { children: [label && (jsxRuntime.jsx("p", Object.assign({ className: "d-datepicker-time-label" }, { children: label }))), jsxRuntime.jsx(DInput, Object.assign({}, onEventChange && {
|
|
549
|
+
onEventChange: (time) => onEventChange(time),
|
|
550
|
+
}, { type: "time", innerId: innerId, value: value }, props))] })));
|
|
567
551
|
}
|
|
568
552
|
|
|
569
|
-
function
|
|
570
|
-
var { value,
|
|
553
|
+
function DDatePickerInput(_a, ref) {
|
|
554
|
+
var { value, onEventClick, innerId, iconEnd } = _a, props = tslib.__rest(_a, ["value", "onEventClick", "innerId", "iconEnd"]);
|
|
571
555
|
React.useImperativeHandle(ref, () => ({}), []);
|
|
572
|
-
return (jsxRuntime.jsx("div", Object.assign({ role: "button", onClick:
|
|
556
|
+
return (jsxRuntime.jsx("div", Object.assign({ role: "button", onClick: onEventClick, onKeyDown: () => { }, tabIndex: -1 }, { children: jsxRuntime.jsx(DInput, Object.assign({ isReadOnly: true, type: "text", innerId: innerId, value: value, onEventIconEndClick: onEventClick, iconEnd: iconEnd }, props)) })));
|
|
573
557
|
}
|
|
574
|
-
const
|
|
558
|
+
const DDatePickerInput$1 = React.forwardRef(DDatePickerInput);
|
|
575
559
|
|
|
576
|
-
function
|
|
577
|
-
var {
|
|
560
|
+
function DMonthPicker(_a) {
|
|
561
|
+
var { onEventChangeDate, date } = _a, props = tslib.__rest(_a, ["onEventChangeDate", "date"]);
|
|
578
562
|
const dateJS = (value) => luxon.DateTime.fromISO(value).toJSDate();
|
|
579
563
|
const { language } = useLiquidContext();
|
|
580
564
|
const lang = language || 'en';
|
|
581
|
-
return (jsxRuntime.jsx(DatePicker__default["default"], Object.assign({ showMonthYearPicker: true, selected: dateJS(date), calendarClassName: "
|
|
582
|
-
|
|
583
|
-
}, customInput: (jsxRuntime.jsx("p", Object.assign({ className: "fw-bold text-capitalize" }, { children: luxon.DateTime.fromISO(date).setLocale(lang).toFormat('MMMM yyyy') }))), renderCustomHeader: ({ monthDate, decreaseYear, increaseYear, prevYearButtonDisabled, nextYearButtonDisabled, }) => (jsxRuntime.jsxs("div", Object.assign({ className: "d-flex align-items-center justify-content-between gap-4 fs-6 bg-dark" }, { children: [jsxRuntime.jsx(
|
|
565
|
+
return (jsxRuntime.jsx(DatePicker__default["default"], Object.assign({ showMonthYearPicker: true, selected: dateJS(date), calendarClassName: "d-month-picker", onChange: (value) => {
|
|
566
|
+
onEventChangeDate(value);
|
|
567
|
+
}, customInput: (jsxRuntime.jsx("p", Object.assign({ className: "fw-bold text-capitalize" }, { children: luxon.DateTime.fromISO(date).setLocale(lang).toFormat('MMMM yyyy') }))), renderCustomHeader: ({ monthDate, decreaseYear, increaseYear, prevYearButtonDisabled, nextYearButtonDisabled, }) => (jsxRuntime.jsxs("div", Object.assign({ className: "d-flex align-items-center justify-content-between gap-4 fs-6 bg-dark" }, { children: [jsxRuntime.jsx(DButton, { iconStart: "chevron-left", size: "sm", variant: "link", theme: "light", onEventClick: decreaseYear, isDisabled: prevYearButtonDisabled }), jsxRuntime.jsx("p", Object.assign({ className: "fs-6 fw-bold" }, { children: monthDate.getFullYear() })), jsxRuntime.jsx(DButton, { iconStart: "chevron-right", size: "sm", variant: "link", theme: "light", onEventClick: increaseYear, isDisabled: nextYearButtonDisabled })] }))) }, props)));
|
|
584
568
|
}
|
|
585
569
|
|
|
586
|
-
function
|
|
570
|
+
function DDatePickerHeader({ monthDate, changeMonth, changeYear, decreaseMonth, increaseMonth, prevMonthButtonDisabled, nextMonthButtonDisabled, withMonthSelector, decreaseMonthIcon, increaseMonthIcon, iconSize, buttonVariant, buttonTheme, }) {
|
|
587
571
|
const { language } = useLiquidContext();
|
|
588
572
|
const lang = language || 'en';
|
|
589
|
-
return (jsxRuntime.jsxs("div", Object.assign({ className: "d-flex align-items-center justify-content-between
|
|
573
|
+
return (jsxRuntime.jsxs("div", Object.assign({ className: "d-flex align-items-center justify-content-between d-datepicker-header" }, { children: [jsxRuntime.jsx(DButton, { iconStart: decreaseMonthIcon, size: iconSize, variant: buttonVariant, theme: buttonTheme, onEventClick: decreaseMonth, isDisabled: prevMonthButtonDisabled }), jsxRuntime.jsx(DMonthPicker, Object.assign({}, !withMonthSelector && { readOnly: true }, { date: monthDate.toISOString(), onEventChangeDate: (value) => {
|
|
590
574
|
if (value) {
|
|
591
575
|
changeMonth(luxon.DateTime.fromJSDate(value).month - 1);
|
|
592
576
|
changeYear(luxon.DateTime.fromJSDate(value).year);
|
|
593
577
|
}
|
|
594
|
-
} }, lang && { locale: lang })), jsxRuntime.jsx(
|
|
578
|
+
} }, lang && { locale: lang })), jsxRuntime.jsx(DButton, { iconStart: increaseMonthIcon, size: iconSize, variant: buttonVariant, theme: buttonTheme, onEventClick: increaseMonth, isDisabled: nextMonthButtonDisabled })] })));
|
|
595
579
|
}
|
|
596
580
|
|
|
597
|
-
function
|
|
598
|
-
var {
|
|
581
|
+
function DDatePicker(_a) {
|
|
582
|
+
var { onEventChangeDate, date, selectsRange, withMonthSelector, inputLabel, inputIcon = 'calendar', inputId = 'input-calendar', timeId = 'input-time', timeLabel, headerDecreaseMonthIcon = 'chevron-left', headerIncreaseMonthIcon = 'chevron-right', headerIconSize = 'sm', headerButtonVariant = 'link', headerButtonTheme = 'dark' } = _a, props = tslib.__rest(_a, ["onEventChangeDate", "date", "selectsRange", "withMonthSelector", "inputLabel", "inputIcon", "inputId", "timeId", "timeLabel", "headerDecreaseMonthIcon", "headerIncreaseMonthIcon", "headerIconSize", "headerButtonVariant", "headerButtonTheme"]);
|
|
599
583
|
const dateJS = (value) => luxon.DateTime.fromISO(value).toJSDate();
|
|
600
584
|
const { language } = useLiquidContext();
|
|
601
585
|
const lang = language || 'en';
|
|
602
586
|
// eslint-disable-next-line react/no-unstable-nested-components
|
|
603
|
-
const InputPicker = React.forwardRef(({ value, onClick }, ref) => (jsxRuntime.jsx(
|
|
604
|
-
const TimeInputPicker = React.useCallback(({ value, onChange }) => (jsxRuntime.jsx(
|
|
605
|
-
const DatePickerHeader = React.useCallback((headerProps) => (jsxRuntime.jsx(
|
|
587
|
+
const InputPicker = React.forwardRef(({ value, onClick }, ref) => (jsxRuntime.jsx(DDatePickerInput$1, { label: inputLabel, innerId: inputId, iconEnd: inputIcon, value: value, onEventClick: onClick, ref: ref })));
|
|
588
|
+
const TimeInputPicker = React.useCallback(({ value, onChange }) => (jsxRuntime.jsx(DDatePickerTime, { onEventChange: onChange, value: value, label: timeLabel, innerId: timeId })), [timeLabel, timeId]);
|
|
589
|
+
const DatePickerHeader = React.useCallback((headerProps) => (jsxRuntime.jsx(DDatePickerHeader, Object.assign({}, headerProps, { decreaseMonthIcon: headerDecreaseMonthIcon, increaseMonthIcon: headerIncreaseMonthIcon, iconSize: headerIconSize, buttonVariant: headerButtonVariant, buttonTheme: headerButtonTheme, withMonthSelector: !!withMonthSelector }))), [headerButtonTheme,
|
|
606
590
|
headerButtonVariant,
|
|
607
591
|
headerDecreaseMonthIcon,
|
|
608
592
|
headerIconSize,
|
|
@@ -610,11 +594,11 @@ function MDatePicker(_a) {
|
|
|
610
594
|
withMonthSelector,
|
|
611
595
|
]);
|
|
612
596
|
return (jsxRuntime.jsx(DatePicker__default["default"], Object.assign({ selected: dateJS(date), calendarClassName: "m-date-picker", onChange: (value) => {
|
|
613
|
-
|
|
597
|
+
onEventChangeDate(value);
|
|
614
598
|
}, renderCustomHeader: (headerProps) => jsxRuntime.jsx(DatePickerHeader, Object.assign({}, headerProps)), customInput: jsxRuntime.jsx(InputPicker, {}), customTimeInput: jsxRuntime.jsx(TimeInputPicker, {}), selectsRange: selectsRange }, lang && { locale: lang }, props)));
|
|
615
599
|
}
|
|
616
600
|
|
|
617
|
-
function
|
|
601
|
+
function DSkeleton({ speed = 2, viewBox, backgroundColor, foregroundColor, children, }) {
|
|
618
602
|
const innerBackgroundColor = React.useMemo(() => {
|
|
619
603
|
if (backgroundColor) {
|
|
620
604
|
return backgroundColor;
|
|
@@ -633,14 +617,14 @@ function MSkeleton({ speed = 2, viewBox, backgroundColor, foregroundColor, child
|
|
|
633
617
|
}
|
|
634
618
|
|
|
635
619
|
const TabContext = React.createContext(undefined);
|
|
636
|
-
function
|
|
620
|
+
function DTabs({ children, defaultSelected, onEventChange, options, className, isVertical, }) {
|
|
637
621
|
const [selected, setSelected] = React.useState(defaultSelected);
|
|
638
622
|
const onSelect = React.useCallback((option) => {
|
|
639
623
|
if (option.tab) {
|
|
640
624
|
setSelected(option.tab);
|
|
641
625
|
}
|
|
642
|
-
|
|
643
|
-
}, [
|
|
626
|
+
onEventChange(option);
|
|
627
|
+
}, [onEventChange]);
|
|
644
628
|
React.useEffect(() => {
|
|
645
629
|
setSelected(defaultSelected);
|
|
646
630
|
}, [defaultSelected]);
|
|
@@ -649,8 +633,8 @@ function MTabs({ children, defaultSelected, onChange, options, className, isVert
|
|
|
649
633
|
isSelected,
|
|
650
634
|
}), [isSelected]);
|
|
651
635
|
return (jsxRuntime.jsx(TabContext.Provider, Object.assign({ value: value }, { children: jsxRuntime.jsxs("div", Object.assign({ className: classNames__default["default"]({
|
|
652
|
-
'
|
|
653
|
-
'
|
|
636
|
+
'd-tabs': true,
|
|
637
|
+
'd-tabs-vertical': isVertical,
|
|
654
638
|
}) }, { children: [jsxRuntime.jsx("nav", Object.assign({ className: "nav" }, { children: options.map((option) => (jsxRuntime.jsx("button", Object.assign({ id: `${option.tab}Tab`, className: classNames__default["default"]('nav-link', {
|
|
655
639
|
active: option.tab === selected,
|
|
656
640
|
}, className), type: "button", role: "tab", "aria-controls": `${option.tab}Pane`, "aria-selected": option.tab === selected, disabled: option.isDisabled, onClick: () => onSelect(option) }, { children: option.label }), option.label))) })), jsxRuntime.jsx("div", Object.assign({ className: "tab-content" }, { children: children }))] })) })));
|
|
@@ -663,7 +647,7 @@ function useTabContext() {
|
|
|
663
647
|
return context;
|
|
664
648
|
}
|
|
665
649
|
|
|
666
|
-
function
|
|
650
|
+
function DTabContent({ tab, children }) {
|
|
667
651
|
const { isSelected } = useTabContext();
|
|
668
652
|
if (!isSelected(tab)) {
|
|
669
653
|
return null;
|
|
@@ -671,19 +655,17 @@ function MTabContent({ tab, children }) {
|
|
|
671
655
|
return (jsxRuntime.jsx("div", Object.assign({ className: "tab-pane fade show active", id: `${tab}Pane`, role: "tabpanel", tabIndex: 0, "aria-labelledby": `${tab}Tab` }, { children: children })));
|
|
672
656
|
}
|
|
673
657
|
|
|
674
|
-
function
|
|
675
|
-
return (jsxRuntime.jsx(reactToastify.ToastContainer, { toastClassName: () => 'shadow-none p-0 cursor-default', position: position, autoClose: false, hideProgressBar: true, closeOnClick: false, closeButton: false, transition: reactToastify.Slide, style: style }));
|
|
676
|
-
}
|
|
677
|
-
|
|
678
|
-
function MPopover({ children, renderComponent, isOpen, setIsOpen = () => { }, }) {
|
|
658
|
+
function DPopover({ children, renderComponent, isOpen, setEventIsOpen, }) {
|
|
679
659
|
const [innerIsOpen, setInnerIsOpen] = React.useState(false);
|
|
680
660
|
React.useEffect(() => {
|
|
681
661
|
setInnerIsOpen(isOpen);
|
|
682
662
|
}, [isOpen]);
|
|
683
663
|
const onOpenChange = React.useCallback((value) => {
|
|
684
664
|
setInnerIsOpen(value);
|
|
685
|
-
|
|
686
|
-
|
|
665
|
+
if (setEventIsOpen) {
|
|
666
|
+
setEventIsOpen(value);
|
|
667
|
+
}
|
|
668
|
+
}, [setEventIsOpen]);
|
|
687
669
|
const { refs, floatingStyles, context } = react.useFloating({
|
|
688
670
|
open: innerIsOpen,
|
|
689
671
|
onOpenChange,
|
|
@@ -703,7 +685,7 @@ function MPopover({ children, renderComponent, isOpen, setIsOpen = () => { }, })
|
|
|
703
685
|
role,
|
|
704
686
|
]);
|
|
705
687
|
const headingId = react.useId();
|
|
706
|
-
return (jsxRuntime.jsxs("div", Object.assign({ className: "
|
|
688
|
+
return (jsxRuntime.jsxs("div", Object.assign({ className: "d-popover" }, { children: [jsxRuntime.jsx("div", Object.assign({ ref: refs.setReference }, getReferenceProps(), { children: renderComponent(innerIsOpen) })), innerIsOpen && (jsxRuntime.jsx(react.FloatingFocusManager, Object.assign({ context: context, modal: false }, { children: jsxRuntime.jsx("div", Object.assign({ className: "d-popover-content", ref: refs.setFloating, style: floatingStyles, "aria-labelledby": headingId }, getFloatingProps(), { children: children })) })))] })));
|
|
707
689
|
}
|
|
708
690
|
|
|
709
691
|
function useFormatCurrency(...args) {
|
|
@@ -716,45 +698,45 @@ function useFormatCurrency(...args) {
|
|
|
716
698
|
};
|
|
717
699
|
}
|
|
718
700
|
|
|
719
|
-
function
|
|
701
|
+
function DCurrencyText({ value, className, }) {
|
|
720
702
|
const { values: [valueFormatted] } = useFormatCurrency(value);
|
|
721
703
|
return (jsxRuntime.jsx("span", Object.assign({ className: className }, { children: valueFormatted })));
|
|
722
704
|
}
|
|
723
705
|
|
|
724
|
-
function
|
|
706
|
+
function DFormikInput(_a) {
|
|
725
707
|
var { name, hint } = _a, props = tslib.__rest(_a, ["name", "hint"]);
|
|
726
708
|
const [field, meta, helpers] = formik.useField(name);
|
|
727
|
-
return (jsxRuntime.jsx(
|
|
709
|
+
return (jsxRuntime.jsx(DInput, Object.assign({}, props, { name: field.name, value: field.value, onEventChange: ({ detail }) => helpers.setValue(detail), onEventBlur: ({ detail }) => field.onBlur(detail), isInvalid: !!meta.error, hint: meta.error || hint })));
|
|
728
710
|
}
|
|
729
711
|
|
|
730
|
-
function
|
|
712
|
+
function DFormikInputSelect(_a) {
|
|
731
713
|
var { name, labelExtractor = (item) => item === null || item === void 0 ? void 0 : item.label, valueExtractor = (item) => item === null || item === void 0 ? void 0 : item.value } = _a, props = tslib.__rest(_a, ["name", "labelExtractor", "valueExtractor"]);
|
|
732
714
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
733
715
|
const [field, , helpers] = formik.useField(name);
|
|
734
|
-
return (jsxRuntime.jsx(
|
|
716
|
+
return (jsxRuntime.jsx(DInputSelect, Object.assign({}, props, { name: field.name, selectedOption: field.value, labelExtractor: labelExtractor, valueExtractor: valueExtractor, onEventChange: ({ detail }) => helpers.setValue(detail), onEventBlur: ({ detail }) => field.onBlur(detail) })));
|
|
735
717
|
}
|
|
736
718
|
|
|
737
719
|
const TOOLTIP_FONT_SIZE_BY_SIZE = {
|
|
738
|
-
sm: `var(--${ui.PREFIX_BS}ref-fs-
|
|
720
|
+
sm: `var(--${ui.PREFIX_BS}ref-fs-small)`,
|
|
739
721
|
default: `var(--${ui.PREFIX_BS}body-font-size)`,
|
|
740
722
|
lg: `var(--${ui.PREFIX_BS}ref-fs-6)`,
|
|
741
723
|
};
|
|
742
724
|
const ARROW_WIDTH = 8;
|
|
743
725
|
const ARROW_HEIGHT = 4;
|
|
744
726
|
const GAP = 2;
|
|
745
|
-
function
|
|
727
|
+
function DTooltip({ classNameContainer, className, offSet = ARROW_HEIGHT + GAP, padding, withFocus = false, withClick = false, withHover = true, isOpen = false, placement = 'top', size, Component, children, }) {
|
|
746
728
|
const [open, setOpen] = React.useState(isOpen);
|
|
747
729
|
const styleVariables = React.useMemo(() => {
|
|
748
730
|
const defaultFontSize = size
|
|
749
731
|
? TOOLTIP_FONT_SIZE_BY_SIZE[size]
|
|
750
732
|
: TOOLTIP_FONT_SIZE_BY_SIZE.default;
|
|
751
733
|
return {
|
|
752
|
-
background: `var(--${ui.PREFIX_BS}
|
|
753
|
-
borderRadius: `var(--${ui.PREFIX_BS}
|
|
754
|
-
color: `var(--${ui.PREFIX_BS}
|
|
755
|
-
fontSize: `var(--${ui.PREFIX_BS}
|
|
756
|
-
padding: `var(--${ui.PREFIX_BS}
|
|
757
|
-
maxWidth: `var(--${ui.PREFIX_BS}
|
|
734
|
+
background: `var(--${ui.PREFIX_BS}tooltip-bg, var(--${ui.PREFIX_BS}tooltip-component-bg, var(--${ui.PREFIX_BS}secondary)))`,
|
|
735
|
+
borderRadius: `var(--${ui.PREFIX_BS}tooltip-border-radius, var(--${ui.PREFIX_BS}tooltip-component-border-radius, var(--${ui.PREFIX_BS}border-radius)))`,
|
|
736
|
+
color: `var(--${ui.PREFIX_BS}tooltip-color, var(--${ui.PREFIX_BS}tooltip-component-color, var(--${ui.PREFIX_BS}white)))`,
|
|
737
|
+
fontSize: `var(--${ui.PREFIX_BS}tooltip-font-size, var(--${ui.PREFIX_BS}tooltip-component-font-size, ${defaultFontSize}))`,
|
|
738
|
+
padding: `var(--${ui.PREFIX_BS}tooltip-padding, var(--${ui.PREFIX_BS}tooltip-component-padding, var(--${ui.PREFIX_BS}ref-spacer-2)))`,
|
|
739
|
+
maxWidth: `var(--${ui.PREFIX_BS}tooltip-max-width, var(--${ui.PREFIX_BS}tooltip-component-max-width, 300px))`,
|
|
758
740
|
};
|
|
759
741
|
}, [size]);
|
|
760
742
|
const arrowRef = React.useRef(null);
|
|
@@ -791,64 +773,82 @@ function MTooltip({ classNameContainer, className, offSet = ARROW_HEIGHT + GAP,
|
|
|
791
773
|
}, width: ARROW_WIDTH, height: ARROW_HEIGHT }), children] }))) })] }));
|
|
792
774
|
}
|
|
793
775
|
|
|
794
|
-
function
|
|
795
|
-
|
|
776
|
+
function DCollapse({ id, className, Component, hasSeparator = false, defaultCollapsed = false, onEventChange, children, }) {
|
|
777
|
+
const [toggle, setToggle] = React.useState(defaultCollapsed);
|
|
778
|
+
const onChangeCollapse = () => setToggle((prev) => !prev);
|
|
779
|
+
React.useEffect(() => {
|
|
780
|
+
if (onEventChange) {
|
|
781
|
+
onEventChange(toggle);
|
|
782
|
+
}
|
|
783
|
+
}, [toggle, onEventChange]);
|
|
784
|
+
React.useEffect(() => {
|
|
785
|
+
setToggle(defaultCollapsed);
|
|
786
|
+
}, [defaultCollapsed]);
|
|
787
|
+
return (jsxRuntime.jsxs("div", Object.assign({ id: id, className: classNames__default["default"]('collapse-container', className) }, { children: [jsxRuntime.jsxs("button", Object.assign({ className: "collapse-button", type: "button", onClick: onChangeCollapse }, { children: [jsxRuntime.jsx("div", Object.assign({ className: "flex-grow-1" }, { children: Component })), jsxRuntime.jsx(DIcon, { color: `var(--${ui.PREFIX_BS}gray)`, size: `var(--${ui.PREFIX_BS}ref-fs-small)`, icon: toggle ? 'chevron-up' : 'chevron-down' })] })), toggle && (jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]({
|
|
788
|
+
'collapse-body': true,
|
|
789
|
+
}), style: {
|
|
790
|
+
[`--${ui.PREFIX_BS}collapse-separator-display`]: hasSeparator ? 'block' : 'none',
|
|
791
|
+
} }, { children: children })))] })));
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
function DInputCurrency(_a) {
|
|
795
|
+
var { onEventChange, onEventBlur, onEventFocus } = _a, otherProps = tslib.__rest(_a, ["onEventChange", "onEventBlur", "onEventFocus"]);
|
|
796
796
|
const { currency } = useLiquidContext();
|
|
797
|
-
return (jsxRuntime.jsx(
|
|
798
|
-
|
|
799
|
-
},
|
|
800
|
-
|
|
797
|
+
return (jsxRuntime.jsx(DInputCurrencyBase, Object.assign({ currencyOptions: currency, onEventChange: ({ detail }) => onEventChange(detail) }, onEventBlur && {
|
|
798
|
+
onEventBlur: ({ detail }) => onEventBlur(detail),
|
|
799
|
+
}, onEventFocus && {
|
|
800
|
+
onEventFocus: ({ detail }) => onEventFocus(detail),
|
|
801
801
|
}, otherProps)));
|
|
802
802
|
}
|
|
803
803
|
|
|
804
|
-
function
|
|
804
|
+
function DBoxFile(_a) {
|
|
805
805
|
var { icon = 'cloud-upload', iconFamilyClass, iconFamilyPrefix, isDisabled = false, children } = _a, dropzoneOptions = tslib.__rest(_a, ["icon", "iconFamilyClass", "iconFamilyPrefix", "isDisabled", "children"]);
|
|
806
806
|
const { acceptedFiles, getRootProps, getInputProps, } = reactDropzone.useDropzone(Object.assign({ disabled: isDisabled }, dropzoneOptions));
|
|
807
|
-
return (jsxRuntime.jsxs("section", Object.assign({ className: classNames__default["default"]('
|
|
808
|
-
'
|
|
807
|
+
return (jsxRuntime.jsxs("section", Object.assign({ className: classNames__default["default"]('d-box-file', {
|
|
808
|
+
'd-box-file-selected': !!acceptedFiles.length,
|
|
809
809
|
}) }, { children: [jsxRuntime.jsxs("div", Object.assign({}, getRootProps({
|
|
810
|
-
className: classNames__default["default"]('
|
|
810
|
+
className: classNames__default["default"]('d-box-file-dropzone', {
|
|
811
811
|
disabled: isDisabled,
|
|
812
812
|
}),
|
|
813
|
-
}), { children: [jsxRuntime.jsx("input", Object.assign({}, getInputProps())), jsxRuntime.jsx(
|
|
813
|
+
}), { children: [jsxRuntime.jsx("input", Object.assign({}, getInputProps())), jsxRuntime.jsx(DIcon, { icon: icon, familyClass: iconFamilyClass, familyPrefix: iconFamilyPrefix }), jsxRuntime.jsx("div", Object.assign({ className: "d-box-content" }, { children: children }))] })), !!acceptedFiles.length && (jsxRuntime.jsx("aside", Object.assign({ className: "d-box-files" }, { children: acceptedFiles.map((file) => (jsxRuntime.jsx("div", Object.assign({ className: "d-box-files-text" }, { children: `${file.name} - ${file.size} bytes` }), file.name))) })))] })));
|
|
814
814
|
}
|
|
815
815
|
|
|
816
|
-
function
|
|
816
|
+
function DCarousel(_a) {
|
|
817
817
|
var { children, className, options } = _a, props = tslib.__rest(_a, ["children", "className", "options"]);
|
|
818
|
-
return (jsxRuntime.jsx(reactSplide.Splide, Object.assign({ className: classNames__default["default"]('
|
|
818
|
+
return (jsxRuntime.jsx(reactSplide.Splide, Object.assign({ className: classNames__default["default"]('d-carousel', className), options: Object.assign(Object.assign({}, options), { classes: {
|
|
819
819
|
// Arrows
|
|
820
|
-
arrows: 'splide__arrows
|
|
821
|
-
arrow: 'splide__arrow
|
|
822
|
-
prev: 'splide__arrow--prev
|
|
823
|
-
next: 'splide__arrow--next
|
|
820
|
+
arrows: 'splide__arrows d-carousel-arrows',
|
|
821
|
+
arrow: 'splide__arrow d-carousel-arrow',
|
|
822
|
+
prev: 'splide__arrow--prev d-carousel-arrow-prev',
|
|
823
|
+
next: 'splide__arrow--next d-carousel-arrow-next',
|
|
824
824
|
// Paginator
|
|
825
|
-
pagination: 'splide__pagination
|
|
826
|
-
page: 'splide__pagination__page
|
|
825
|
+
pagination: 'splide__pagination d-carousel-pagination',
|
|
826
|
+
page: 'splide__pagination__page d-carousel-pagination-page',
|
|
827
827
|
} }) }, props, { children: children })));
|
|
828
828
|
}
|
|
829
829
|
|
|
830
|
-
function
|
|
830
|
+
function DCarouselSlide(_a) {
|
|
831
831
|
var { className } = _a, props = tslib.__rest(_a, ["className"]);
|
|
832
|
-
return (jsxRuntime.jsx(reactSplide.SplideSlide, Object.assign({ className: classNames__default["default"]('
|
|
832
|
+
return (jsxRuntime.jsx(reactSplide.SplideSlide, Object.assign({ className: classNames__default["default"]('d-carousel-slide', className) }, props)));
|
|
833
833
|
}
|
|
834
834
|
|
|
835
|
-
function
|
|
835
|
+
function DList({ children, className, isFlush = false, isNumbered = false, isHorizontal = false, horizontalBreakpoint, }) {
|
|
836
836
|
if (isFlush && isHorizontal) {
|
|
837
837
|
throw new Error("Horizontal and Flush props don't work together");
|
|
838
838
|
}
|
|
839
|
-
return (jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]('
|
|
839
|
+
return (jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]('list-group', {
|
|
840
840
|
'list-group-flush': isFlush && !isHorizontal,
|
|
841
841
|
'list-group-numbered': isNumbered,
|
|
842
842
|
'list-group-horizontal': isHorizontal && !horizontalBreakpoint,
|
|
843
843
|
}, (isHorizontal && horizontalBreakpoint) && `list-group-horizontal-${horizontalBreakpoint}`, className) }, { children: children })));
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
-
function
|
|
847
|
-
const Tag = React.useMemo(() => (
|
|
846
|
+
function DListItem({ children, className, isActive = false, isDisabled = false, theme, onEventClick, }) {
|
|
847
|
+
const Tag = React.useMemo(() => (onEventClick ? 'button' : 'div'), [onEventClick]);
|
|
848
848
|
return (jsxRuntime.jsx(Tag, Object.assign({}, Tag === 'button' && {
|
|
849
|
-
onClick:
|
|
849
|
+
onClick: onEventClick,
|
|
850
850
|
type: 'button',
|
|
851
|
-
}, { className: classNames__default["default"]('
|
|
851
|
+
}, { className: classNames__default["default"]('list-group-item list-group-item-action', theme ? `list-group-item-${theme}` : undefined, className, {
|
|
852
852
|
active: isActive,
|
|
853
853
|
disabled: isDisabled,
|
|
854
854
|
}) }, isActive && { 'aria-current': true }, { children: children })));
|
|
@@ -856,7 +856,7 @@ function MListItem({ children, className, isActive = false, isDisabled = false,
|
|
|
856
856
|
|
|
857
857
|
function useToast() {
|
|
858
858
|
const toast = React.useCallback((message, { position = 'top-right', type = 'info', showClose = true, autoClose = false, } = {}) => {
|
|
859
|
-
reactToastify.toast(({ closeToast }) => (jsxRuntime.jsx(
|
|
859
|
+
reactToastify.toast(({ closeToast }) => (jsxRuntime.jsx(DAlert, Object.assign({ type: type, showClose: showClose, onEventClose: closeToast }, { children: message }))), {
|
|
860
860
|
transition: reactToastify.Slide,
|
|
861
861
|
position,
|
|
862
862
|
autoClose,
|
|
@@ -930,7 +930,7 @@ function useScreenshotWebShare() {
|
|
|
930
930
|
};
|
|
931
931
|
}
|
|
932
932
|
|
|
933
|
-
function
|
|
933
|
+
function DListItemMovement(_a) {
|
|
934
934
|
var { description, date, amount, classNameMovement } = _a, props = tslib.__rest(_a, ["description", "date", "amount", "classNameMovement"]);
|
|
935
935
|
const { format } = useFormatCurrency();
|
|
936
936
|
const value = React.useMemo(() => {
|
|
@@ -946,48 +946,57 @@ function MListItemMovement(_a) {
|
|
|
946
946
|
valueFormatted,
|
|
947
947
|
};
|
|
948
948
|
}, [format, amount]);
|
|
949
|
-
return (jsxRuntime.jsx(
|
|
949
|
+
return (jsxRuntime.jsx(DListItem, Object.assign({}, props, { children: jsxRuntime.jsxs("div", Object.assign({ className: classNames__default["default"]('d-flex justify-content-between align-items-center p-3 gap-3', classNameMovement) }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: "d-flex flex-column gap-1" }, { children: [jsxRuntime.jsx("span", Object.assign({ className: "fs-6" }, { children: description })), jsxRuntime.jsx("span", Object.assign({ className: "sp text-gray-700" }, { children: date }))] })), jsxRuntime.jsx("span", Object.assign({ className: classNames__default["default"]('fs-6', value.theme) }, { children: value.valueFormatted }))] })) })));
|
|
950
950
|
}
|
|
951
951
|
|
|
952
|
-
function
|
|
952
|
+
function DStepper({ options, currentStep, successIcon = 'check', isVertical = false, }) {
|
|
953
953
|
return (jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]({
|
|
954
|
-
'
|
|
954
|
+
'd-stepper': true,
|
|
955
955
|
'is-vertical': isVertical,
|
|
956
|
-
}) }, { children: options.map(({ label, value }) => (jsxRuntime.jsxs("div", Object.assign({ className: "
|
|
957
|
-
'
|
|
958
|
-
'
|
|
959
|
-
'
|
|
956
|
+
}) }, { children: options.map(({ label, value }) => (jsxRuntime.jsxs("div", Object.assign({ className: "d-step" }, { children: [jsxRuntime.jsx("div", Object.assign({ className: "d-step-value" }, { children: jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]({
|
|
957
|
+
'd-step-icon-container': true,
|
|
958
|
+
'd-step-check': value < currentStep,
|
|
959
|
+
'd-step-current': value === currentStep,
|
|
960
960
|
}) }, { children: value < currentStep
|
|
961
|
-
? (jsxRuntime.jsx(
|
|
962
|
-
: value })) })), jsxRuntime.jsx("div", Object.assign({ className: "
|
|
961
|
+
? (jsxRuntime.jsx(DIcon, { icon: successIcon, innerClass: "d-step-icon" }))
|
|
962
|
+
: value })) })), jsxRuntime.jsx("div", Object.assign({ className: "d-step-label" }, { children: label }))] }), label))) })));
|
|
963
963
|
}
|
|
964
964
|
|
|
965
|
-
function
|
|
965
|
+
function DFormikInputCurrency(_a) {
|
|
966
966
|
var { name, hint } = _a, props = tslib.__rest(_a, ["name", "hint"]);
|
|
967
967
|
const [field, meta, helpers] = formik.useField(name);
|
|
968
|
-
return (jsxRuntime.jsx(
|
|
968
|
+
return (jsxRuntime.jsx(DInputCurrency, Object.assign({}, props, { name: field.name, value: field.value, onEventChange: (value) => helpers.setValue(value), onEventBlur: (value) => field.onBlur(value), isInvalid: !!meta.error, hint: (meta === null || meta === void 0 ? void 0 : meta.error) || hint })));
|
|
969
969
|
}
|
|
970
970
|
|
|
971
|
-
function
|
|
971
|
+
function DCard({ className, style, children, }) {
|
|
972
972
|
return (jsxRuntime.jsx("div", Object.assign({ style: style, className: classNames__default["default"]('card', className) }, { children: children })));
|
|
973
973
|
}
|
|
974
974
|
|
|
975
|
-
function
|
|
975
|
+
function DCardBody({ className, children, }) {
|
|
976
976
|
return (jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]('card-body', className) }, { children: children })));
|
|
977
977
|
}
|
|
978
978
|
|
|
979
|
-
function
|
|
980
|
-
return (jsxRuntime.jsx(
|
|
979
|
+
function DCardAccount({ className, icon, theme, name, number, balance, balanceText, onEventClick, actionText, }) {
|
|
980
|
+
return (jsxRuntime.jsx(DCard, Object.assign({ className: classNames__default["default"]('d-card-account', className) }, { children: jsxRuntime.jsxs(DCardBody, { children: [jsxRuntime.jsxs("div", Object.assign({ className: "d-flex gap-3 align-items-center" }, { children: [jsxRuntime.jsx(DIcon, { icon: icon, hasCircle: true, theme: theme, size: "1.5rem" }), jsxRuntime.jsxs("div", Object.assign({ className: "d-block flex-grow-1" }, { children: [jsxRuntime.jsx("p", Object.assign({ className: "text-gray-700" }, { children: name })), jsxRuntime.jsx("small", Object.assign({ className: "text-gray" }, { children: number }))] }))] })), jsxRuntime.jsxs("div", Object.assign({ className: "d-block" }, { children: [jsxRuntime.jsx("p", Object.assign({ className: "fw-bold fs-6 text-body" }, { children: balance })), jsxRuntime.jsx("small", Object.assign({ className: "text-gray-700" }, { children: balanceText }))] })), jsxRuntime.jsx("div", Object.assign({ className: "d-flex justify-content-end" }, { children: jsxRuntime.jsx(DButton, { text: actionText, variant: "link", size: "sm", theme: "secondary", iconEnd: "chevron-right", onEventClick: onEventClick }) }))] }) })));
|
|
981
981
|
}
|
|
982
982
|
|
|
983
|
-
function
|
|
983
|
+
function DCardHeader({ className, children, }) {
|
|
984
984
|
return (jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]('card-header', className) }, { children: children })));
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
-
function
|
|
987
|
+
function DCardFooter({ className, children, }) {
|
|
988
988
|
return (jsxRuntime.jsx("div", Object.assign({ className: classNames__default["default"]('card-footer', className) }, { children: children })));
|
|
989
989
|
}
|
|
990
990
|
|
|
991
|
+
function DCollapseIconText({ children, icon, iconSize = '1.5rem', iconTheme = 'primary', title, iconFamilyClass, iconFamilyPrefix, }) {
|
|
992
|
+
return (jsxRuntime.jsx(DCollapse, Object.assign({ defaultCollapsed: true, className: "d-collapse-icon-text", Component: (jsxRuntime.jsxs("div", Object.assign({ className: "d-collapse-icon-text-header" }, { children: [jsxRuntime.jsx(DIcon, { icon: icon, size: iconSize, theme: iconTheme, familyClass: iconFamilyClass, familyPrefix: iconFamilyPrefix, hasCircle: true }), jsxRuntime.jsx("span", Object.assign({ className: "d-collapse-icon-text-title" }, { children: title }))] }))) }, { children: children })));
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
function DPaginator(_a) {
|
|
996
|
+
var { className, nextLabel, previousLabel, showArrows = true, page, onEventPageChange } = _a, props = tslib.__rest(_a, ["className", "nextLabel", "previousLabel", "showArrows", "page", "onEventPageChange"]);
|
|
997
|
+
return (jsxRuntime.jsx(ResponsivePagination__default["default"], Object.assign({ extraClassName: classNames__default["default"]('pagination', className), nextClassName: classNames__default["default"]('arrow arrow-next', !nextLabel && 'no-label'), nextLabel: nextLabel, previousClassName: classNames__default["default"]('arrow arrow-prev', !previousLabel && 'no-label'), previousLabel: previousLabel, renderNav: showArrows, current: page, onPageChange: onEventPageChange }, props)));
|
|
998
|
+
}
|
|
999
|
+
|
|
991
1000
|
const LANG = ui.liquidParser.parse('{{site.language}}');
|
|
992
1001
|
async function configureI8n(resources, _a = {}) {
|
|
993
1002
|
var { lng = LANG, fallbackLng = 'es' } = _a, config = tslib.__rest(_a, ["lng", "fallbackLng"]);
|
|
@@ -1007,58 +1016,59 @@ Object.defineProperty(exports, 'liquidParser', {
|
|
|
1007
1016
|
enumerable: true,
|
|
1008
1017
|
get: function () { return ui.liquidParser; }
|
|
1009
1018
|
});
|
|
1019
|
+
exports.DAlert = DAlert;
|
|
1020
|
+
exports.DBadge = DBadge;
|
|
1021
|
+
exports.DBoxFile = DBoxFile;
|
|
1022
|
+
exports.DButton = DButton;
|
|
1023
|
+
exports.DCard = DCard;
|
|
1024
|
+
exports.DCardAccount = DCardAccount;
|
|
1025
|
+
exports.DCardBody = DCardBody;
|
|
1026
|
+
exports.DCardFooter = DCardFooter;
|
|
1027
|
+
exports.DCardHeader = DCardHeader;
|
|
1028
|
+
exports.DCarousel = DCarousel;
|
|
1029
|
+
exports.DCarouselSlide = DCarouselSlide;
|
|
1030
|
+
exports.DChip = DChip;
|
|
1031
|
+
exports.DCollapse = DCollapse;
|
|
1032
|
+
exports.DCollapseIconText = DCollapseIconText;
|
|
1033
|
+
exports.DCurrencyText = DCurrencyText;
|
|
1034
|
+
exports.DDatePicker = DDatePicker;
|
|
1035
|
+
exports.DFormikInput = DFormikInput;
|
|
1036
|
+
exports.DFormikInputCurrency = DFormikInputCurrency;
|
|
1037
|
+
exports.DFormikInputSelect = DFormikInputSelect;
|
|
1038
|
+
exports.DIcon = DIcon;
|
|
1039
|
+
exports.DInput = DInput;
|
|
1040
|
+
exports.DInputCheck = DInputCheck;
|
|
1041
|
+
exports.DInputCounter = DInputCounter;
|
|
1042
|
+
exports.DInputCurrency = DInputCurrency;
|
|
1043
|
+
exports.DInputCurrencyBase = DInputCurrencyBase;
|
|
1044
|
+
exports.DInputPassword = DInputPassword;
|
|
1045
|
+
exports.DInputPin = DInputPin;
|
|
1046
|
+
exports.DInputSearch = DInputSearch;
|
|
1047
|
+
exports.DInputSelect = DInputSelect;
|
|
1048
|
+
exports.DInputSwitch = DInputSwitch;
|
|
1049
|
+
exports.DList = DList;
|
|
1050
|
+
exports.DListItem = DListItem;
|
|
1051
|
+
exports.DListItemMovement = DListItemMovement;
|
|
1052
|
+
exports.DModal = DModal;
|
|
1053
|
+
exports.DOffcanvas = DOffcanvas;
|
|
1054
|
+
exports.DPaginator = DPaginator;
|
|
1055
|
+
exports.DPermissionItem = DPermissionItem;
|
|
1056
|
+
exports.DPopover = DPopover;
|
|
1057
|
+
exports.DProgress = DProgress;
|
|
1058
|
+
exports.DQuickActionButton = DQuickActionButton;
|
|
1059
|
+
exports.DQuickActionCheck = DQuickActionCheck;
|
|
1060
|
+
exports.DQuickActionSelect = DQuickActionSelect;
|
|
1061
|
+
exports.DQuickActionSwitch = DQuickActionSwitch;
|
|
1062
|
+
exports.DSkeleton = DSkeleton;
|
|
1063
|
+
exports.DStepper = DStepper;
|
|
1064
|
+
exports.DTabContent = DTabContent;
|
|
1065
|
+
exports.DTabs = DTabs;
|
|
1066
|
+
exports.DToastContainer = DToastContainer;
|
|
1067
|
+
exports.DTooltip = DTooltip;
|
|
1010
1068
|
exports.LiquidContext = LiquidContext$1;
|
|
1011
1069
|
exports.LiquidContextProvider = LiquidContextProvider;
|
|
1012
|
-
exports.MAlert = MAlert;
|
|
1013
|
-
exports.MBadge = MBadge;
|
|
1014
|
-
exports.MBoxFile = MBoxFile;
|
|
1015
|
-
exports.MButton = MButton;
|
|
1016
|
-
exports.MCard = MCard;
|
|
1017
|
-
exports.MCardAccount = MCardAccount;
|
|
1018
|
-
exports.MCardBody = MCardBody;
|
|
1019
|
-
exports.MCardFooter = MCardFooter;
|
|
1020
|
-
exports.MCardHeader = MCardHeader;
|
|
1021
|
-
exports.MCarousel = MCarousel;
|
|
1022
|
-
exports.MCarouselSlide = MCarouselSlide;
|
|
1023
|
-
exports.MChip = MChip;
|
|
1024
|
-
exports.MCollapse = MCollapse;
|
|
1025
|
-
exports.MCollapseIconText = MCollapseIconText;
|
|
1026
|
-
exports.MCurrencyText = MCurrencyText;
|
|
1027
|
-
exports.MDatePicker = MDatePicker;
|
|
1028
|
-
exports.MFormikInput = MFormikInput;
|
|
1029
|
-
exports.MFormikInputCurrency = MFormikInputCurrency;
|
|
1030
|
-
exports.MFormikInputSelect = MFormikInputSelect;
|
|
1031
|
-
exports.MIcon = MIcon;
|
|
1032
|
-
exports.MInput = MInput;
|
|
1033
|
-
exports.MInputCheck = MInputCheck;
|
|
1034
|
-
exports.MInputCounter = MInputCounter;
|
|
1035
|
-
exports.MInputCurrency = MInputCurrency;
|
|
1036
|
-
exports.MInputCurrencyBase = MInputCurrencyBase;
|
|
1037
|
-
exports.MInputPassword = MInputPassword;
|
|
1038
|
-
exports.MInputPin = MInputPin;
|
|
1039
|
-
exports.MInputSearch = MInputSearch;
|
|
1040
|
-
exports.MInputSelect = MInputSelect;
|
|
1041
|
-
exports.MInputSwitch = MInputSwitch;
|
|
1042
|
-
exports.MList = MList;
|
|
1043
|
-
exports.MListItem = MListItem;
|
|
1044
|
-
exports.MListItemMovement = MListItemMovement;
|
|
1045
|
-
exports.MModal = MModal;
|
|
1046
|
-
exports.MOffcanvas = MOffcanvas;
|
|
1047
1070
|
exports.MPermissionGroup = MPermissionGroup;
|
|
1048
|
-
exports.MPermissionItem = MPermissionItem;
|
|
1049
|
-
exports.MPopover = MPopover;
|
|
1050
|
-
exports.MProgressBar = MProgressBar;
|
|
1051
|
-
exports.MQuickActionButton = MQuickActionButton;
|
|
1052
|
-
exports.MQuickActionCheck = MQuickActionCheck;
|
|
1053
|
-
exports.MQuickActionSelect = MQuickActionSelect;
|
|
1054
|
-
exports.MQuickActionSwitch = MQuickActionSwitch;
|
|
1055
|
-
exports.MSkeleton = MSkeleton;
|
|
1056
|
-
exports.MStepper = MStepper;
|
|
1057
1071
|
exports.MSummaryCard = MSummaryCard;
|
|
1058
|
-
exports.MTabContent = MTabContent;
|
|
1059
|
-
exports.MTabs = MTabs;
|
|
1060
|
-
exports.MToastContainer = MToastContainer;
|
|
1061
|
-
exports.MTooltip = MTooltip;
|
|
1062
1072
|
exports.ModalContext = ModalContext;
|
|
1063
1073
|
exports.ModalContextProvider = ModalContextProvider;
|
|
1064
1074
|
exports.OffcanvasContext = OffcanvasContext;
|