1mpacto-react-ui 2.0.27 → 2.0.28
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/assets/_typography.scss +16 -16
- package/dist/assets/core.css +1 -1
- package/dist/assets/style.css +1 -1
- package/dist/components/Alert/index.cjs +1 -1
- package/dist/components/Alert/index.mjs +55 -51
- package/dist/components/Alert/style.module.scss.cjs +1 -1
- package/dist/components/Alert/style.module.scss.mjs +12 -11
- package/dist/components/Badges/Badges.config.cjs +1 -1
- package/dist/components/Badges/Badges.config.mjs +18 -3
- package/dist/components/Badges/style.module.scss.cjs +1 -1
- package/dist/components/Badges/style.module.scss.mjs +46 -35
- package/dist/components/Breadcrumbs/Breadcrumbs.cjs +3 -3
- package/dist/components/Breadcrumbs/Breadcrumbs.mjs +38 -36
- package/dist/components/Breadcrumbs/style.module.scss.cjs +1 -1
- package/dist/components/Breadcrumbs/style.module.scss.mjs +16 -16
- package/dist/components/Button/style.module.scss.cjs +1 -1
- package/dist/components/Button/style.module.scss.mjs +64 -64
- package/dist/components/ButtonIcon/style.module.scss.cjs +1 -1
- package/dist/components/ButtonIcon/style.module.scss.mjs +55 -55
- package/dist/components/Modal/ModalDialog.cjs +11 -1
- package/dist/components/Modal/ModalDialog.config.cjs +1 -1
- package/dist/components/Modal/ModalDialog.config.mjs +16 -9
- package/dist/components/Modal/ModalDialog.mjs +59 -33
- package/dist/components/Modal/style.module.scss.cjs +1 -1
- package/dist/components/Modal/style.module.scss.mjs +17 -13
- package/dist/components/Pagination/Pagination.cjs +2 -2
- package/dist/components/Pagination/Pagination.config.cjs +1 -1
- package/dist/components/Pagination/Pagination.config.mjs +4 -3
- package/dist/components/Pagination/Pagination.mjs +90 -90
- package/dist/components/Pagination/style.module.scss.cjs +1 -1
- package/dist/components/Pagination/style.module.scss.mjs +18 -16
- package/dist/components/Popover/Popover.config.cjs +1 -1
- package/dist/components/Popover/Popover.config.mjs +3 -2
- package/dist/components/Popover/style.module.scss.cjs +1 -1
- package/dist/components/Popover/style.module.scss.mjs +8 -7
- package/dist/components/RadioCheckbox/RadioCheckbox.config.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckbox.config.mjs +24 -22
- package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckbox.module.scss.mjs +25 -23
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.config.mjs +5 -4
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.cjs +1 -1
- package/dist/components/RadioCheckbox/RadioCheckboxLabel.module.scss.mjs +8 -7
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.cjs +1 -1
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.cjs +1 -1
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.config.mjs +19 -10
- package/dist/components/SelectDropdownContainer/SelectDropdownContainer.mjs +95 -80
- package/dist/components/SelectDropdownContainer/styleConfig.cjs +1 -1
- package/dist/components/SelectDropdownContainer/styleConfig.mjs +151 -11
- package/dist/components/Sidebar/Sidebar.module.scss.cjs +1 -1
- package/dist/components/Sidebar/Sidebar.module.scss.mjs +25 -25
- package/dist/components/Step/StepIndicator.cjs +6 -4
- package/dist/components/Step/StepIndicator.config.cjs +1 -0
- package/dist/components/Step/StepIndicator.config.mjs +12 -0
- package/dist/components/Step/StepIndicator.mjs +31 -26
- package/dist/components/Step/StepIndicator.module.scss.cjs +1 -1
- package/dist/components/Step/StepIndicator.module.scss.mjs +12 -11
- package/dist/components/Switch/Switch.config.cjs +1 -1
- package/dist/components/Switch/Switch.config.mjs +6 -3
- package/dist/components/Switch/style.module.scss.cjs +1 -1
- package/dist/components/Switch/style.module.scss.mjs +18 -15
- package/dist/components/Tabs/Tabs.config.cjs +1 -1
- package/dist/components/Tabs/Tabs.config.mjs +13 -6
- package/dist/components/Tabs/style.module.scss.cjs +1 -1
- package/dist/components/Tabs/style.module.scss.mjs +29 -23
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.cjs +1 -1
- package/dist/components/Textarea/TextareaFloatingInner.module.scss.mjs +12 -12
- package/dist/components/fin/Chat/BubbleChat.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChat.mjs +20 -0
- package/dist/components/fin/Chat/BubbleChatOption.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChatOption.mjs +70 -0
- package/dist/components/fin/Chat/BubbleChatUser.cjs +1 -0
- package/dist/components/fin/Chat/BubbleChatUser.mjs +15 -0
- package/dist/components/fin/Chat/Icons.cjs +1 -0
- package/dist/components/fin/Chat/Icons.mjs +44 -0
- package/dist/components/fin/Chat/style.module.scss.cjs +1 -0
- package/dist/components/fin/Chat/style.module.scss.mjs +27 -0
- package/dist/config/components/typography.cjs +1 -1
- package/dist/config/components/typography.mjs +40 -6
- package/dist/config/tailwind/typography.cjs +1 -1
- package/dist/config/tailwind/typography.mjs +20 -20
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +86 -80
- package/dist/package.json.cjs +1 -1
- package/dist/package.json.d.ts +1 -1
- package/dist/package.json.mjs +1 -1
- package/dist/src/components/Badges/Badges.config.d.ts +15 -0
- package/dist/src/components/Modal/ModalDialog.config.d.ts +8 -0
- package/dist/src/components/Modal/ModalDialog.d.ts +1 -1
- package/dist/src/components/Modal/ModalDialog.stories.d.ts +17 -1
- package/dist/src/components/Pagination/Pagination.config.d.ts +1 -0
- package/dist/src/components/Pagination/Pagination.d.ts +1 -1
- package/dist/src/components/Pagination/Pagination.stories.d.ts +14 -1
- package/dist/src/components/Popover/Popover.config.d.ts +1 -0
- package/dist/src/components/RadioCheckbox/RadioCheckbox.config.d.ts +2 -0
- package/dist/src/components/RadioCheckbox/RadioCheckboxLabel.config.d.ts +1 -0
- package/dist/src/components/SelectDropdownContainer/SelectDropdownContainer.config.d.ts +10 -0
- package/dist/src/components/SelectDropdownContainer/styleConfig.d.ts +2 -0
- package/dist/src/components/Step/StepIndicator.config.d.ts +18 -0
- package/dist/src/components/Step/StepIndicator.d.ts +1 -1
- package/dist/src/components/Step/StepIndicator.stories.d.ts +30 -1
- package/dist/src/components/Switch/Switch.config.d.ts +3 -0
- package/dist/src/components/Tabs/Tabs.config.d.ts +7 -1
- package/dist/src/components/fin/Chat/BubbleChat.d.ts +3 -0
- package/dist/src/components/fin/Chat/BubbleChatOption.d.ts +3 -0
- package/dist/src/components/fin/Chat/BubbleChatUser.d.ts +3 -0
- package/dist/src/components/fin/Chat/Icons.d.ts +5 -0
- package/dist/src/components/fin/index.d.ts +4 -0
- package/dist/src/components/index.d.ts +2 -1
- package/dist/src/config/components/typography.d.ts +1 -1
- package/dist/src/interfaces/components/Badges/index.d.ts +6 -1
- package/dist/src/interfaces/components/Modal/index.d.ts +5 -0
- package/dist/src/interfaces/components/Pagination/index.d.ts +6 -1
- package/dist/src/interfaces/components/Popover/index.d.ts +1 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckbox.d.ts +1 -1
- package/dist/src/interfaces/components/RadioCheckbox/RadioCheckboxLabel.d.ts +1 -1
- package/dist/src/interfaces/components/SelectDropdownContainer/index.d.ts +7 -1
- package/dist/src/interfaces/components/Step/index.d.ts +13 -2
- package/dist/src/interfaces/components/Switch/index.d.ts +1 -1
- package/dist/src/interfaces/components/Tabs/index.d.ts +2 -2
- package/dist/src/interfaces/components/fin/Chat/index.d.ts +39 -0
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
const
|
|
2
|
-
"fin-blue-gray-500": "_fin-blue-gray-
|
|
3
|
-
"bill-secondary-800": "_bill-secondary-
|
|
4
|
-
"laba-blue-10": "_laba-blue-
|
|
5
|
-
"blue-700": "_blue-
|
|
6
|
-
action:
|
|
7
|
-
urls:
|
|
8
|
-
url:
|
|
9
|
-
active:
|
|
10
|
-
sparator:
|
|
1
|
+
const a = "_action_bna0h_10", _ = "_urls_bna0h_31", n = "_url_bna0h_31", l = "_active_bna0h_49", b = "_sparator_bna0h_223", t = {
|
|
2
|
+
"fin-blue-gray-500": "_fin-blue-gray-500_bna0h_1",
|
|
3
|
+
"bill-secondary-800": "_bill-secondary-800_bna0h_1",
|
|
4
|
+
"laba-blue-10": "_laba-blue-10_bna0h_1",
|
|
5
|
+
"blue-700": "_blue-700_bna0h_1",
|
|
6
|
+
action: a,
|
|
7
|
+
urls: _,
|
|
8
|
+
url: n,
|
|
9
|
+
active: l,
|
|
10
|
+
sparator: b
|
|
11
11
|
};
|
|
12
12
|
export {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
a as action,
|
|
14
|
+
l as active,
|
|
15
|
+
t as default,
|
|
16
|
+
b as sparator,
|
|
17
|
+
n as url,
|
|
18
|
+
_ as urls
|
|
19
19
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const l="_loading_jlgxa_14",a={"button-fin-xs":"_button-fin-xs_jlgxa_6","button-fin-s":"_button-fin-s_jlgxa_6","button-fin-m":"_button-fin-m_jlgxa_6","button-fin-l":"_button-fin-l_jlgxa_6","button-bill-xxs":"_button-bill-xxs_jlgxa_6","button-bill-xs":"_button-bill-xs_jlgxa_6","button-bill-s":"_button-bill-s_jlgxa_6","button-bill-m":"_button-bill-m_jlgxa_6","button-bill-l":"_button-bill-l_jlgxa_6","button-xs":"_button-xs_jlgxa_6","button-s":"_button-s_jlgxa_6","button-m":"_button-m_jlgxa_6","button-l":"_button-l_jlgxa_6","button-extra-small":"_button-extra-small_jlgxa_6","button-small":"_button-small_jlgxa_6","button-reguler":"_button-reguler_jlgxa_6","button-large":"_button-large_jlgxa_6",loading:l,"filled-blue-gray-900":"_filled-blue-gray-900_jlgxa_29","primary-blue-gray-900-dsb_laba-grey-06":"_primary-blue-gray-900-dsb_laba-grey-06_jlgxa_29","filled-bill-secondary-800_bg-white":"_filled-bill-secondary-800_bg-white_jlgxa_29","filled-bill-blue-gray-500_bg-blue-gray-50":"_filled-bill-blue-gray-500_bg-blue-gray-50_jlgxa_29","nude-laba-red-05":"_nude-laba-red-05_jlgxa_29","nude-laba-red-08":"_nude-laba-red-08_jlgxa_29","nude-laba-red-10":"_nude-laba-red-10_jlgxa_29","nude-gray-500":"_nude-gray-500_jlgxa_29","nude-green-700":"_nude-green-700_jlgxa_29","nude-red-700":"_nude-red-700_jlgxa_29","nude-laba-blue-10":"_nude-laba-blue-10_jlgxa_29","ghost-blue-gray-100-bg_white-text_blue-gray-400":"_ghost-blue-gray-100-bg_white-text_blue-gray-400_jlgxa_29","ghost-blue-gray-100-bg_white":"_ghost-blue-gray-100-bg_white_jlgxa_29","ghost-laba-green-10":"_ghost-laba-green-10_jlgxa_29","ghost-laba-blue-01":"_ghost-laba-blue-01_jlgxa_29","ghost-laba-blue-05":"_ghost-laba-blue-05_jlgxa_29","ghost-green-700":"_ghost-green-700_jlgxa_29","ghost-red-700":"_ghost-red-700_jlgxa_29","ghost-laba-blue-10":"_ghost-laba-blue-10_jlgxa_29","filled-laba-white_laba-red-05":"_filled-laba-white_laba-red-05_jlgxa_29","filled-laba-white_laba-blue-10":"_filled-laba-white_laba-blue-10_jlgxa_29","primary-green-700-dsb_laba-grey-06":"_primary-green-700-dsb_laba-grey-06_jlgxa_29","primary-red-700-dsb_laba-grey-06":"_primary-red-700-dsb_laba-grey-06_jlgxa_29","primary-laba-blue-10":"_primary-laba-blue-10_jlgxa_29","tertiary-fin-primary-500":"_tertiary-fin-primary-500_jlgxa_29","secondary-fin-primary-500":"_secondary-fin-primary-500_jlgxa_29","primary-fin-primary-500":"_primary-fin-primary-500_jlgxa_29","primary-bill-red-700":"_primary-bill-red-700_jlgxa_29","tertiary-bill-secondary-800":"_tertiary-bill-secondary-800_jlgxa_29","secondary-bill-secondary-800":"_secondary-bill-secondary-800_jlgxa_29","primary-bill-primary-600":"_primary-bill-primary-600_jlgxa_29","tertiary-black":"_tertiary-black_jlgxa_29","tertiary-gray-500":"_tertiary-gray-500_jlgxa_29","tertiary-red-600":"_tertiary-red-600_jlgxa_29","tertiary-red-300":"_tertiary-red-300_jlgxa_29","tertiary-blue-700":"_tertiary-blue-700_jlgxa_29","secondary-green-600":"_secondary-green-600_jlgxa_29","secondary-red-700":"_secondary-red-700_jlgxa_29","secondary-red-600":"_secondary-red-600_jlgxa_29","secondary-blue-700":"_secondary-blue-700_jlgxa_29","primary-red-700":"_primary-red-700_jlgxa_29","primary-blue-700":"_primary-blue-700_jlgxa_29","icon-loading":"_icon-loading_jlgxa_304"};exports.default=a;exports.loading=l;
|
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
const
|
|
2
|
-
"button-fin-xs": "_button-fin-
|
|
3
|
-
"button-fin-s": "_button-fin-
|
|
4
|
-
"button-fin-m": "_button-fin-
|
|
5
|
-
"button-fin-l": "_button-fin-
|
|
6
|
-
"button-bill-xxs": "_button-bill-
|
|
7
|
-
"button-bill-xs": "_button-bill-
|
|
8
|
-
"button-bill-s": "_button-bill-
|
|
9
|
-
"button-bill-m": "_button-bill-
|
|
10
|
-
"button-bill-l": "_button-bill-
|
|
11
|
-
"button-xs": "_button-
|
|
12
|
-
"button-s": "_button-
|
|
13
|
-
"button-m": "_button-
|
|
14
|
-
"button-l": "_button-
|
|
15
|
-
"button-extra-small": "_button-extra-
|
|
16
|
-
"button-small": "_button-
|
|
17
|
-
"button-reguler": "_button-
|
|
18
|
-
"button-large": "_button-
|
|
19
|
-
loading:
|
|
20
|
-
"filled-blue-gray-900": "_filled-blue-gray-
|
|
21
|
-
"primary-blue-gray-900-dsb_laba-grey-06": "_primary-blue-gray-900-dsb_laba-grey-
|
|
22
|
-
"filled-bill-secondary-800_bg-white": "_filled-bill-secondary-800_bg-
|
|
23
|
-
"filled-bill-blue-gray-500_bg-blue-gray-50": "_filled-bill-blue-gray-500_bg-blue-gray-
|
|
24
|
-
"nude-laba-red-05": "_nude-laba-red-
|
|
25
|
-
"nude-laba-red-08": "_nude-laba-red-
|
|
26
|
-
"nude-laba-red-10": "_nude-laba-red-
|
|
27
|
-
"nude-gray-500": "_nude-gray-
|
|
28
|
-
"nude-green-700": "_nude-green-
|
|
29
|
-
"nude-red-700": "_nude-red-
|
|
30
|
-
"nude-laba-blue-10": "_nude-laba-blue-
|
|
31
|
-
"ghost-blue-gray-100-bg_white-text_blue-gray-400": "_ghost-blue-gray-100-bg_white-text_blue-gray-
|
|
32
|
-
"ghost-blue-gray-100-bg_white": "_ghost-blue-gray-100-
|
|
33
|
-
"ghost-laba-green-10": "_ghost-laba-green-
|
|
34
|
-
"ghost-laba-blue-01": "_ghost-laba-blue-
|
|
35
|
-
"ghost-laba-blue-05": "_ghost-laba-blue-
|
|
36
|
-
"ghost-green-700": "_ghost-green-
|
|
37
|
-
"ghost-red-700": "_ghost-red-
|
|
38
|
-
"ghost-laba-blue-10": "_ghost-laba-blue-
|
|
39
|
-
"filled-laba-white_laba-red-05": "_filled-laba-white_laba-red-
|
|
40
|
-
"filled-laba-white_laba-blue-10": "_filled-laba-white_laba-blue-
|
|
41
|
-
"primary-green-700-dsb_laba-grey-06": "_primary-green-700-dsb_laba-grey-
|
|
42
|
-
"primary-red-700-dsb_laba-grey-06": "_primary-red-700-dsb_laba-grey-
|
|
43
|
-
"primary-laba-blue-10": "_primary-laba-blue-
|
|
44
|
-
"tertiary-fin-primary-500": "_tertiary-fin-primary-
|
|
45
|
-
"secondary-fin-primary-500": "_secondary-fin-primary-
|
|
46
|
-
"primary-fin-primary-500": "_primary-fin-primary-
|
|
47
|
-
"primary-bill-red-700": "_primary-bill-red-
|
|
48
|
-
"tertiary-bill-secondary-800": "_tertiary-bill-secondary-
|
|
49
|
-
"secondary-bill-secondary-800": "_secondary-bill-secondary-
|
|
50
|
-
"primary-bill-primary-600": "_primary-bill-primary-
|
|
51
|
-
"tertiary-black": "_tertiary-
|
|
52
|
-
"tertiary-gray-500": "_tertiary-gray-
|
|
53
|
-
"tertiary-red-600": "_tertiary-red-
|
|
54
|
-
"tertiary-red-300": "_tertiary-red-
|
|
55
|
-
"tertiary-blue-700": "_tertiary-blue-
|
|
56
|
-
"secondary-green-600": "_secondary-green-
|
|
57
|
-
"secondary-red-700": "_secondary-red-
|
|
58
|
-
"secondary-red-600": "_secondary-red-
|
|
59
|
-
"secondary-blue-700": "_secondary-blue-
|
|
60
|
-
"primary-red-700": "_primary-red-
|
|
61
|
-
"primary-blue-700": "_primary-blue-
|
|
62
|
-
"icon-loading": "_icon-
|
|
1
|
+
const a = "_loading_jlgxa_14", l = {
|
|
2
|
+
"button-fin-xs": "_button-fin-xs_jlgxa_6",
|
|
3
|
+
"button-fin-s": "_button-fin-s_jlgxa_6",
|
|
4
|
+
"button-fin-m": "_button-fin-m_jlgxa_6",
|
|
5
|
+
"button-fin-l": "_button-fin-l_jlgxa_6",
|
|
6
|
+
"button-bill-xxs": "_button-bill-xxs_jlgxa_6",
|
|
7
|
+
"button-bill-xs": "_button-bill-xs_jlgxa_6",
|
|
8
|
+
"button-bill-s": "_button-bill-s_jlgxa_6",
|
|
9
|
+
"button-bill-m": "_button-bill-m_jlgxa_6",
|
|
10
|
+
"button-bill-l": "_button-bill-l_jlgxa_6",
|
|
11
|
+
"button-xs": "_button-xs_jlgxa_6",
|
|
12
|
+
"button-s": "_button-s_jlgxa_6",
|
|
13
|
+
"button-m": "_button-m_jlgxa_6",
|
|
14
|
+
"button-l": "_button-l_jlgxa_6",
|
|
15
|
+
"button-extra-small": "_button-extra-small_jlgxa_6",
|
|
16
|
+
"button-small": "_button-small_jlgxa_6",
|
|
17
|
+
"button-reguler": "_button-reguler_jlgxa_6",
|
|
18
|
+
"button-large": "_button-large_jlgxa_6",
|
|
19
|
+
loading: a,
|
|
20
|
+
"filled-blue-gray-900": "_filled-blue-gray-900_jlgxa_29",
|
|
21
|
+
"primary-blue-gray-900-dsb_laba-grey-06": "_primary-blue-gray-900-dsb_laba-grey-06_jlgxa_29",
|
|
22
|
+
"filled-bill-secondary-800_bg-white": "_filled-bill-secondary-800_bg-white_jlgxa_29",
|
|
23
|
+
"filled-bill-blue-gray-500_bg-blue-gray-50": "_filled-bill-blue-gray-500_bg-blue-gray-50_jlgxa_29",
|
|
24
|
+
"nude-laba-red-05": "_nude-laba-red-05_jlgxa_29",
|
|
25
|
+
"nude-laba-red-08": "_nude-laba-red-08_jlgxa_29",
|
|
26
|
+
"nude-laba-red-10": "_nude-laba-red-10_jlgxa_29",
|
|
27
|
+
"nude-gray-500": "_nude-gray-500_jlgxa_29",
|
|
28
|
+
"nude-green-700": "_nude-green-700_jlgxa_29",
|
|
29
|
+
"nude-red-700": "_nude-red-700_jlgxa_29",
|
|
30
|
+
"nude-laba-blue-10": "_nude-laba-blue-10_jlgxa_29",
|
|
31
|
+
"ghost-blue-gray-100-bg_white-text_blue-gray-400": "_ghost-blue-gray-100-bg_white-text_blue-gray-400_jlgxa_29",
|
|
32
|
+
"ghost-blue-gray-100-bg_white": "_ghost-blue-gray-100-bg_white_jlgxa_29",
|
|
33
|
+
"ghost-laba-green-10": "_ghost-laba-green-10_jlgxa_29",
|
|
34
|
+
"ghost-laba-blue-01": "_ghost-laba-blue-01_jlgxa_29",
|
|
35
|
+
"ghost-laba-blue-05": "_ghost-laba-blue-05_jlgxa_29",
|
|
36
|
+
"ghost-green-700": "_ghost-green-700_jlgxa_29",
|
|
37
|
+
"ghost-red-700": "_ghost-red-700_jlgxa_29",
|
|
38
|
+
"ghost-laba-blue-10": "_ghost-laba-blue-10_jlgxa_29",
|
|
39
|
+
"filled-laba-white_laba-red-05": "_filled-laba-white_laba-red-05_jlgxa_29",
|
|
40
|
+
"filled-laba-white_laba-blue-10": "_filled-laba-white_laba-blue-10_jlgxa_29",
|
|
41
|
+
"primary-green-700-dsb_laba-grey-06": "_primary-green-700-dsb_laba-grey-06_jlgxa_29",
|
|
42
|
+
"primary-red-700-dsb_laba-grey-06": "_primary-red-700-dsb_laba-grey-06_jlgxa_29",
|
|
43
|
+
"primary-laba-blue-10": "_primary-laba-blue-10_jlgxa_29",
|
|
44
|
+
"tertiary-fin-primary-500": "_tertiary-fin-primary-500_jlgxa_29",
|
|
45
|
+
"secondary-fin-primary-500": "_secondary-fin-primary-500_jlgxa_29",
|
|
46
|
+
"primary-fin-primary-500": "_primary-fin-primary-500_jlgxa_29",
|
|
47
|
+
"primary-bill-red-700": "_primary-bill-red-700_jlgxa_29",
|
|
48
|
+
"tertiary-bill-secondary-800": "_tertiary-bill-secondary-800_jlgxa_29",
|
|
49
|
+
"secondary-bill-secondary-800": "_secondary-bill-secondary-800_jlgxa_29",
|
|
50
|
+
"primary-bill-primary-600": "_primary-bill-primary-600_jlgxa_29",
|
|
51
|
+
"tertiary-black": "_tertiary-black_jlgxa_29",
|
|
52
|
+
"tertiary-gray-500": "_tertiary-gray-500_jlgxa_29",
|
|
53
|
+
"tertiary-red-600": "_tertiary-red-600_jlgxa_29",
|
|
54
|
+
"tertiary-red-300": "_tertiary-red-300_jlgxa_29",
|
|
55
|
+
"tertiary-blue-700": "_tertiary-blue-700_jlgxa_29",
|
|
56
|
+
"secondary-green-600": "_secondary-green-600_jlgxa_29",
|
|
57
|
+
"secondary-red-700": "_secondary-red-700_jlgxa_29",
|
|
58
|
+
"secondary-red-600": "_secondary-red-600_jlgxa_29",
|
|
59
|
+
"secondary-blue-700": "_secondary-blue-700_jlgxa_29",
|
|
60
|
+
"primary-red-700": "_primary-red-700_jlgxa_29",
|
|
61
|
+
"primary-blue-700": "_primary-blue-700_jlgxa_29",
|
|
62
|
+
"icon-loading": "_icon-loading_jlgxa_304"
|
|
63
63
|
};
|
|
64
64
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
l as default,
|
|
66
|
+
a as loading
|
|
67
67
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a="_loading_ayzhk_14",_={"button-fin-xs":"_button-fin-xs_ayzhk_6","button-fin-s":"_button-fin-s_ayzhk_6","button-fin-m":"_button-fin-m_ayzhk_6","button-fin-l":"_button-fin-l_ayzhk_6","button-bill-xxs":"_button-bill-xxs_ayzhk_6","button-bill-xs":"_button-bill-xs_ayzhk_6","button-bill-s":"_button-bill-s_ayzhk_6","button-bill-m":"_button-bill-m_ayzhk_6","button-bill-l":"_button-bill-l_ayzhk_6","button-xs":"_button-xs_ayzhk_6","button-s":"_button-s_ayzhk_6","button-m":"_button-m_ayzhk_6","button-l":"_button-l_ayzhk_6","button-extra-small":"_button-extra-small_ayzhk_6","button-small":"_button-small_ayzhk_6","button-reguler":"_button-reguler_ayzhk_6","button-large":"_button-large_ayzhk_6",loading:a,"nude-laba-red-05":"_nude-laba-red-05_ayzhk_29","nude-laba-red-10":"_nude-laba-red-10_ayzhk_29","nude-gray-500":"_nude-gray-500_ayzhk_29","nude-green-700":"_nude-green-700_ayzhk_29","nude-red-700":"_nude-red-700_ayzhk_29","nude-laba-blue-10":"_nude-laba-blue-10_ayzhk_29","ghost-laba-green-10":"_ghost-laba-green-10_ayzhk_29","ghost-blue-gray-100-bg_white":"_ghost-blue-gray-100-bg_white_ayzhk_29","ghost-green-700":"_ghost-green-700_ayzhk_29","ghost-red-700":"_ghost-red-700_ayzhk_29","ghost-laba-blue-10":"_ghost-laba-blue-10_ayzhk_29","filled-laba-white_laba-red-05":"_filled-laba-white_laba-red-05_ayzhk_29","filled-laba-white_laba-blue-10":"_filled-laba-white_laba-blue-10_ayzhk_29","primary-green-700-dsb_laba-grey-06":"_primary-green-700-dsb_laba-grey-06_ayzhk_29","primary-red-700-dsb_laba-grey-06":"_primary-red-700-dsb_laba-grey-06_ayzhk_29","primary-laba-blue-10":"_primary-laba-blue-10_ayzhk_29","tertiary-fin-primary-500":"_tertiary-fin-primary-500_ayzhk_29","secondary-fin-primary-500":"_secondary-fin-primary-500_ayzhk_29","primary-fin-primary-500":"_primary-fin-primary-500_ayzhk_29","primary-bill-red-700":"_primary-bill-red-700_ayzhk_29","tertiary-bill-secondary-800":"_tertiary-bill-secondary-800_ayzhk_29","secondary-bill-secondary-800":"_secondary-bill-secondary-800_ayzhk_29","primary-bill-primary-600":"_primary-bill-primary-600_ayzhk_29","tertiary-gray-500":"_tertiary-gray-500_ayzhk_29","tertiary-red-600":"_tertiary-red-600_ayzhk_29","tertiary-red-300":"_tertiary-red-300_ayzhk_29","tertiary-blue-700":"_tertiary-blue-700_ayzhk_29","secondary-green-600":"_secondary-green-600_ayzhk_29","secondary-red-700":"_secondary-red-700_ayzhk_29","secondary-red-600":"_secondary-red-600_ayzhk_29","secondary-blue-700":"_secondary-blue-700_ayzhk_29","primary-red-700":"_primary-red-700_ayzhk_29","primary-blue-700":"_primary-blue-700_ayzhk_29","icon-loading":"_icon-loading_ayzhk_236"};exports.default=_;exports.loading=a;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
const
|
|
2
|
-
"button-fin-xs": "_button-fin-
|
|
3
|
-
"button-fin-s": "_button-fin-
|
|
4
|
-
"button-fin-m": "_button-fin-
|
|
5
|
-
"button-fin-l": "_button-fin-
|
|
6
|
-
"button-bill-xxs": "_button-bill-
|
|
7
|
-
"button-bill-xs": "_button-bill-
|
|
8
|
-
"button-bill-s": "_button-bill-
|
|
9
|
-
"button-bill-m": "_button-bill-
|
|
10
|
-
"button-bill-l": "_button-bill-
|
|
11
|
-
"button-xs": "_button-
|
|
12
|
-
"button-s": "_button-
|
|
13
|
-
"button-m": "_button-
|
|
14
|
-
"button-l": "_button-
|
|
15
|
-
"button-extra-small": "_button-extra-
|
|
16
|
-
"button-small": "_button-
|
|
17
|
-
"button-reguler": "_button-
|
|
18
|
-
"button-large": "_button-
|
|
19
|
-
loading:
|
|
20
|
-
"nude-laba-red-05": "_nude-laba-red-
|
|
21
|
-
"nude-laba-red-10": "_nude-laba-red-
|
|
22
|
-
"nude-gray-500": "_nude-gray-
|
|
23
|
-
"nude-green-700": "_nude-green-
|
|
24
|
-
"nude-red-700": "_nude-red-
|
|
25
|
-
"nude-laba-blue-10": "_nude-laba-blue-
|
|
26
|
-
"ghost-laba-green-10": "_ghost-laba-green-
|
|
27
|
-
"ghost-blue-gray-100-bg_white": "_ghost-blue-gray-100-
|
|
28
|
-
"ghost-green-700": "_ghost-green-
|
|
29
|
-
"ghost-red-700": "_ghost-red-
|
|
30
|
-
"ghost-laba-blue-10": "_ghost-laba-blue-
|
|
31
|
-
"filled-laba-white_laba-red-05": "_filled-laba-white_laba-red-
|
|
32
|
-
"filled-laba-white_laba-blue-10": "_filled-laba-white_laba-blue-
|
|
33
|
-
"primary-green-700-dsb_laba-grey-06": "_primary-green-700-dsb_laba-grey-
|
|
34
|
-
"primary-red-700-dsb_laba-grey-06": "_primary-red-700-dsb_laba-grey-
|
|
35
|
-
"primary-laba-blue-10": "_primary-laba-blue-
|
|
36
|
-
"tertiary-fin-primary-500": "_tertiary-fin-primary-
|
|
37
|
-
"secondary-fin-primary-500": "_secondary-fin-primary-
|
|
38
|
-
"primary-fin-primary-500": "_primary-fin-primary-
|
|
39
|
-
"primary-bill-red-700": "_primary-bill-red-
|
|
40
|
-
"tertiary-bill-secondary-800": "_tertiary-bill-secondary-
|
|
41
|
-
"secondary-bill-secondary-800": "_secondary-bill-secondary-
|
|
42
|
-
"primary-bill-primary-600": "_primary-bill-primary-
|
|
43
|
-
"tertiary-gray-500": "_tertiary-gray-
|
|
44
|
-
"tertiary-red-600": "_tertiary-red-
|
|
45
|
-
"tertiary-red-300": "_tertiary-red-
|
|
46
|
-
"tertiary-blue-700": "_tertiary-blue-
|
|
47
|
-
"secondary-green-600": "_secondary-green-
|
|
48
|
-
"secondary-red-700": "_secondary-red-
|
|
49
|
-
"secondary-red-600": "_secondary-red-
|
|
50
|
-
"secondary-blue-700": "_secondary-blue-
|
|
51
|
-
"primary-red-700": "_primary-red-
|
|
52
|
-
"primary-blue-700": "_primary-blue-
|
|
53
|
-
"icon-loading": "_icon-
|
|
1
|
+
const a = "_loading_ayzhk_14", _ = {
|
|
2
|
+
"button-fin-xs": "_button-fin-xs_ayzhk_6",
|
|
3
|
+
"button-fin-s": "_button-fin-s_ayzhk_6",
|
|
4
|
+
"button-fin-m": "_button-fin-m_ayzhk_6",
|
|
5
|
+
"button-fin-l": "_button-fin-l_ayzhk_6",
|
|
6
|
+
"button-bill-xxs": "_button-bill-xxs_ayzhk_6",
|
|
7
|
+
"button-bill-xs": "_button-bill-xs_ayzhk_6",
|
|
8
|
+
"button-bill-s": "_button-bill-s_ayzhk_6",
|
|
9
|
+
"button-bill-m": "_button-bill-m_ayzhk_6",
|
|
10
|
+
"button-bill-l": "_button-bill-l_ayzhk_6",
|
|
11
|
+
"button-xs": "_button-xs_ayzhk_6",
|
|
12
|
+
"button-s": "_button-s_ayzhk_6",
|
|
13
|
+
"button-m": "_button-m_ayzhk_6",
|
|
14
|
+
"button-l": "_button-l_ayzhk_6",
|
|
15
|
+
"button-extra-small": "_button-extra-small_ayzhk_6",
|
|
16
|
+
"button-small": "_button-small_ayzhk_6",
|
|
17
|
+
"button-reguler": "_button-reguler_ayzhk_6",
|
|
18
|
+
"button-large": "_button-large_ayzhk_6",
|
|
19
|
+
loading: a,
|
|
20
|
+
"nude-laba-red-05": "_nude-laba-red-05_ayzhk_29",
|
|
21
|
+
"nude-laba-red-10": "_nude-laba-red-10_ayzhk_29",
|
|
22
|
+
"nude-gray-500": "_nude-gray-500_ayzhk_29",
|
|
23
|
+
"nude-green-700": "_nude-green-700_ayzhk_29",
|
|
24
|
+
"nude-red-700": "_nude-red-700_ayzhk_29",
|
|
25
|
+
"nude-laba-blue-10": "_nude-laba-blue-10_ayzhk_29",
|
|
26
|
+
"ghost-laba-green-10": "_ghost-laba-green-10_ayzhk_29",
|
|
27
|
+
"ghost-blue-gray-100-bg_white": "_ghost-blue-gray-100-bg_white_ayzhk_29",
|
|
28
|
+
"ghost-green-700": "_ghost-green-700_ayzhk_29",
|
|
29
|
+
"ghost-red-700": "_ghost-red-700_ayzhk_29",
|
|
30
|
+
"ghost-laba-blue-10": "_ghost-laba-blue-10_ayzhk_29",
|
|
31
|
+
"filled-laba-white_laba-red-05": "_filled-laba-white_laba-red-05_ayzhk_29",
|
|
32
|
+
"filled-laba-white_laba-blue-10": "_filled-laba-white_laba-blue-10_ayzhk_29",
|
|
33
|
+
"primary-green-700-dsb_laba-grey-06": "_primary-green-700-dsb_laba-grey-06_ayzhk_29",
|
|
34
|
+
"primary-red-700-dsb_laba-grey-06": "_primary-red-700-dsb_laba-grey-06_ayzhk_29",
|
|
35
|
+
"primary-laba-blue-10": "_primary-laba-blue-10_ayzhk_29",
|
|
36
|
+
"tertiary-fin-primary-500": "_tertiary-fin-primary-500_ayzhk_29",
|
|
37
|
+
"secondary-fin-primary-500": "_secondary-fin-primary-500_ayzhk_29",
|
|
38
|
+
"primary-fin-primary-500": "_primary-fin-primary-500_ayzhk_29",
|
|
39
|
+
"primary-bill-red-700": "_primary-bill-red-700_ayzhk_29",
|
|
40
|
+
"tertiary-bill-secondary-800": "_tertiary-bill-secondary-800_ayzhk_29",
|
|
41
|
+
"secondary-bill-secondary-800": "_secondary-bill-secondary-800_ayzhk_29",
|
|
42
|
+
"primary-bill-primary-600": "_primary-bill-primary-600_ayzhk_29",
|
|
43
|
+
"tertiary-gray-500": "_tertiary-gray-500_ayzhk_29",
|
|
44
|
+
"tertiary-red-600": "_tertiary-red-600_ayzhk_29",
|
|
45
|
+
"tertiary-red-300": "_tertiary-red-300_ayzhk_29",
|
|
46
|
+
"tertiary-blue-700": "_tertiary-blue-700_ayzhk_29",
|
|
47
|
+
"secondary-green-600": "_secondary-green-600_ayzhk_29",
|
|
48
|
+
"secondary-red-700": "_secondary-red-700_ayzhk_29",
|
|
49
|
+
"secondary-red-600": "_secondary-red-600_ayzhk_29",
|
|
50
|
+
"secondary-blue-700": "_secondary-blue-700_ayzhk_29",
|
|
51
|
+
"primary-red-700": "_primary-red-700_ayzhk_29",
|
|
52
|
+
"primary-blue-700": "_primary-blue-700_ayzhk_29",
|
|
53
|
+
"icon-loading": "_icon-loading_ayzhk_236"
|
|
54
54
|
};
|
|
55
55
|
export {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
_ as default,
|
|
57
|
+
a as loading
|
|
58
58
|
};
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const c=require("react/jsx-runtime"),r=require("react"),T=require("react-dom"),e=require("./style.module.scss.cjs"),a=require("./ModalDialog.config.cjs"),_=({as:d,children:f,id:m="modal",idModal:g="iru-modal",withOverlay:$=!0,show:t,size:M="regular",position:p="center",className:q,classNameContainer:v,onClose:i,brand:y="",...j})=>{const C=d??"div",[o,n]=r.useState(t),[R,s]=r.useState(!1);r.useEffect(()=>{if(t)n(!0),s(!1);else if(o){s(!0);const l=setTimeout(()=>{n(!1)},400);return()=>clearTimeout(l)}},[t,o]);const S=()=>{typeof i=="function"&&i()};if(!o)return null;const u=document.getElementById(g);return u?T.createPortal(c.jsx("div",{id:m,onClick:S,className:`
|
|
2
|
+
${a.configModal.brand[y]||""}
|
|
3
|
+
${$?e.default["with-overlay"]:""}
|
|
4
|
+
${R?e.default["modal-hide"]:e.default["modal-show"]}
|
|
5
|
+
${v??""}
|
|
6
|
+
`.trim(),children:c.jsx(C,{onClick:l=>l.stopPropagation(),className:`
|
|
7
|
+
${e.default["modal-content"]}
|
|
8
|
+
${a.configModal.position[p]||""}
|
|
9
|
+
${a.configModal.size[M]||""}
|
|
10
|
+
${q??""}
|
|
11
|
+
`.trim(),...j,children:f})}),u):null};exports.default=_;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./style.module.scss.cjs"),l={size:{small:t.default["modal-small"],medium:t.default["modal-medium"],regular:t.default["modal-regular"],large:t.default["modal-large"]},brand:{"":t.default["brand-general"],fin:t.default["brand-fin"]},position:{center:t.default["modal-center"],"right-top":t.default["modal-right-top"],"right-bottom":t.default["modal-right-bottom"],"left-top":t.default["modal-left-top"],"left-bottom":t.default["modal-left-bottom"]}};exports.configModal=l;
|
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
1
|
+
import o from "./style.module.scss.mjs";
|
|
2
|
+
const l = {
|
|
3
3
|
size: {
|
|
4
|
-
small:
|
|
5
|
-
medium:
|
|
6
|
-
regular:
|
|
7
|
-
large:
|
|
4
|
+
small: o["modal-small"],
|
|
5
|
+
medium: o["modal-medium"],
|
|
6
|
+
regular: o["modal-regular"],
|
|
7
|
+
large: o["modal-large"]
|
|
8
8
|
},
|
|
9
9
|
brand: {
|
|
10
|
-
"":
|
|
11
|
-
fin:
|
|
10
|
+
"": o["brand-general"],
|
|
11
|
+
fin: o["brand-fin"]
|
|
12
|
+
},
|
|
13
|
+
position: {
|
|
14
|
+
center: o["modal-center"],
|
|
15
|
+
"right-top": o["modal-right-top"],
|
|
16
|
+
"right-bottom": o["modal-right-bottom"],
|
|
17
|
+
"left-top": o["modal-left-top"],
|
|
18
|
+
"left-bottom": o["modal-left-bottom"]
|
|
12
19
|
}
|
|
13
20
|
};
|
|
14
21
|
export {
|
|
15
|
-
|
|
22
|
+
l as configModal
|
|
16
23
|
};
|
|
@@ -1,45 +1,71 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
1
|
+
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
+
import { useState as c, useEffect as I } from "react";
|
|
3
|
+
import { createPortal as M } from "react-dom";
|
|
4
|
+
import e from "./style.module.scss.mjs";
|
|
5
|
+
import { configModal as i } from "./ModalDialog.config.mjs";
|
|
6
|
+
const z = ({
|
|
7
|
+
as: d,
|
|
8
|
+
children: f,
|
|
9
|
+
id: u = "modal",
|
|
10
|
+
idModal: p = "iru-modal",
|
|
11
|
+
withOverlay: g = !0,
|
|
12
|
+
show: t,
|
|
13
|
+
size: $ = "regular",
|
|
14
|
+
position: y = "center",
|
|
15
|
+
className: C,
|
|
16
|
+
classNameContainer: h,
|
|
17
|
+
onClose: l,
|
|
18
|
+
brand: v = "",
|
|
19
|
+
...T
|
|
18
20
|
}) => {
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
+
const k = d ?? "div", [o, n] = c(t), [x, a] = c(!1);
|
|
22
|
+
I(() => {
|
|
23
|
+
if (t)
|
|
24
|
+
n(!0), a(!1);
|
|
25
|
+
else if (o) {
|
|
26
|
+
a(!0);
|
|
27
|
+
const r = setTimeout(() => {
|
|
28
|
+
n(!1);
|
|
29
|
+
}, 400);
|
|
30
|
+
return () => clearTimeout(r);
|
|
31
|
+
}
|
|
32
|
+
}, [t, o]);
|
|
33
|
+
const E = () => {
|
|
34
|
+
typeof l == "function" && l();
|
|
21
35
|
};
|
|
22
|
-
|
|
23
|
-
|
|
36
|
+
if (!o) return null;
|
|
37
|
+
const s = document.getElementById(p);
|
|
38
|
+
return s ? M(
|
|
39
|
+
/* @__PURE__ */ m(
|
|
24
40
|
"div",
|
|
25
41
|
{
|
|
26
|
-
id:
|
|
27
|
-
onClick:
|
|
28
|
-
className:
|
|
29
|
-
|
|
30
|
-
|
|
42
|
+
id: u,
|
|
43
|
+
onClick: E,
|
|
44
|
+
className: `
|
|
45
|
+
${i.brand[v] || ""}
|
|
46
|
+
${g ? e["with-overlay"] : ""}
|
|
47
|
+
${x ? e["modal-hide"] : e["modal-show"]}
|
|
48
|
+
${h ?? ""}
|
|
49
|
+
`.trim(),
|
|
50
|
+
children: /* @__PURE__ */ m(
|
|
51
|
+
k,
|
|
31
52
|
{
|
|
32
|
-
onClick: (
|
|
33
|
-
className:
|
|
34
|
-
|
|
35
|
-
|
|
53
|
+
onClick: (r) => r.stopPropagation(),
|
|
54
|
+
className: `
|
|
55
|
+
${e["modal-content"]}
|
|
56
|
+
${i.position[y] || ""}
|
|
57
|
+
${i.size[$] || ""}
|
|
58
|
+
${C ?? ""}
|
|
59
|
+
`.trim(),
|
|
60
|
+
...T,
|
|
61
|
+
children: f
|
|
36
62
|
}
|
|
37
63
|
)
|
|
38
64
|
}
|
|
39
65
|
),
|
|
40
|
-
|
|
41
|
-
)
|
|
66
|
+
s
|
|
67
|
+
) : null;
|
|
42
68
|
};
|
|
43
69
|
export {
|
|
44
|
-
|
|
70
|
+
z as default
|
|
45
71
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o={"modal-content":"_modal-content_qxu4j_77","modal-small":"_modal-small_qxu4j_77","modal-medium":"_modal-medium_qxu4j_81","modal-regular":"_modal-regular_qxu4j_85","modal-large":"_modal-large_qxu4j_89","modal-center":"_modal-center_qxu4j_93","modal-right-top":"_modal-right-top_qxu4j_99","modal-right-bottom":"_modal-right-bottom_qxu4j_104","modal-left-top":"_modal-left-top_qxu4j_109","modal-left-bottom":"_modal-left-bottom_qxu4j_114","brand-general":"_brand-general_qxu4j_120","with-overlay":"_with-overlay_qxu4j_132","modal-show":"_modal-show_qxu4j_146","modal-hide":"_modal-hide_qxu4j_164","brand-fin":"_brand-fin_qxu4j_181"};exports.default=o;
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
const
|
|
2
|
-
"
|
|
3
|
-
modal:
|
|
4
|
-
"modal-
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"modal-
|
|
8
|
-
"modal-
|
|
9
|
-
"modal-
|
|
10
|
-
"modal-
|
|
11
|
-
"modal-
|
|
1
|
+
const _ = {
|
|
2
|
+
"modal-content": "_modal-content_qxu4j_77",
|
|
3
|
+
"modal-small": "_modal-small_qxu4j_77",
|
|
4
|
+
"modal-medium": "_modal-medium_qxu4j_81",
|
|
5
|
+
"modal-regular": "_modal-regular_qxu4j_85",
|
|
6
|
+
"modal-large": "_modal-large_qxu4j_89",
|
|
7
|
+
"modal-center": "_modal-center_qxu4j_93",
|
|
8
|
+
"modal-right-top": "_modal-right-top_qxu4j_99",
|
|
9
|
+
"modal-right-bottom": "_modal-right-bottom_qxu4j_104",
|
|
10
|
+
"modal-left-top": "_modal-left-top_qxu4j_109",
|
|
11
|
+
"modal-left-bottom": "_modal-left-bottom_qxu4j_114",
|
|
12
|
+
"brand-general": "_brand-general_qxu4j_120",
|
|
13
|
+
"with-overlay": "_with-overlay_qxu4j_132",
|
|
14
|
+
"modal-show": "_modal-show_qxu4j_146",
|
|
15
|
+
"modal-hide": "_modal-hide_qxu4j_164",
|
|
16
|
+
"brand-fin": "_brand-fin_qxu4j_181"
|
|
12
17
|
};
|
|
13
18
|
export {
|
|
14
|
-
|
|
15
|
-
d as modal
|
|
19
|
+
_ as default
|
|
16
20
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react/jsx-runtime"),
|
|
2
|
-
${
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("react/jsx-runtime"),d=require("react"),o=require("./style.module.scss.cjs"),m=require("../../utils/common.cjs"),G=require("../Calendar/CalendarYear.cjs"),X=require("../Popover/Popover.cjs"),k=require("./Pagination.config.cjs"),x=(t,s)=>{const c=s-t+1;return Array.from({length:c},(r,N)=>N+t)},q={"en-US":{"Rows per page:":"Rows per page:",of:"of","Go to:":"Go to:"},"id-ID":{"Rows per page:":"Baris per halaman:",of:"dari","Go to:":"Go to:"},"zh-CN":{"Rows per page:":"每页行数:",of:"共","Go to:":"跳至:"},"nl-NL":{"Rows per page:":"Rijen per pagina:",of:"van","Go to:":"Ga naar:"}},Z=({totalData:t,totalPage:s,pageNumber:c,pageSize:r,className:N,id:u="1ru-pagination",kind:L="box",prevIcon:g,nextIcon:p,onChange:j,optionPageSize:v=[25,50,75,100],offset:I=1.5,zIndex:O,withGotoPage:A=!1,withMorePage:M=!0,withOptionPageSize:F=!1,withPageSize:T=!0,locale:$="id-ID",fonts:S="inter"})=>{const w=d.useRef(null),[i,C]=d.useState(c),[U,R]=d.useState(c.toString()),f=1,Y=(i-1)*r+1,V=r*i,H=t?`${m.formatNumber(Y,"decimal")}-${V>=t?m.formatNumber(t,"decimal"):m.formatNumber(V,"decimal")}`:0,J=d.useMemo(()=>{const e=Math.ceil(t/r);if(f+5>=e)return x(1,e);const l=Math.max(i-f,1),_=Math.min(i+f,e),y=l>2,P=_<e-2,B=1,W=e;if(!y&&P){const b=3+2*f;return[...x(1,b),"mr",e]}if(y&&!P){const b=3+2*f,E=x(e-b+1,e);return[B,"ml",...E]}if(y&&P){const b=x(l,_);return[B,"ml",...b,"mr",W]}},[t,r,f,i]),h=e=>{typeof j=="function"&&(j(e),C(e.pageNumber),R(e.pageNumber.toString()))},K=e=>{if(typeof j=="function"&&M){if(e==="ml"){const l=i-5;C(l<1?1:i-5)}else if(e==="mr"){const l=i+5;C(l>s?s:i+5)}}},Q=e=>{R(e);const a=Number(e);a>0&&a<=s&&h({pageSize:r,totalData:t,totalPage:s,pageNumber:a})};return n.jsxs(n.Fragment,{children:[n.jsxs("div",{id:u,className:`${k.configPagination.kind[L]} ${k.configPagination.fonts[S].value} ${N}`,children:[n.jsxs("div",{className:o.default["pagination-size"],children:[n.jsx("span",{children:q[$]["Rows per page:"]}),F&&n.jsxs("button",{id:`${u}-option-size`,className:o.default["button-option"],onClick:e=>w.current?.handlerShow(e),children:[m.formatNumber(r,"decimal"),n.jsx(G.ChevronDownIcon,{className:"!iru-text-gray-500 !iru-w-[14px] !iru-h-[14px] iru-mx-0.5"})]}),T&&n.jsxs("span",{children:[H," ",q[$].of," ",m.formatNumber(t,"decimal")]})]}),n.jsxs("div",{className:o.default["navigation-container"],children:[n.jsx("button",{id:`${u}-button-prev`,className:`${o.default["button-prev"]}`,disabled:i===1,onClick:()=>h({pageSize:r,totalData:t,totalPage:s,pageNumber:c-1}),children:typeof g=="function"||d.isValidElement(g)?d.isValidElement(g)?g:g():n.jsx(G.ChevronDownIcon,{className:"iru-rotate-90 !iru-text-gray-500 !iru-w-[14px] !iru-h-[14px]"})}),(J??[]).map((e,a)=>{if(typeof e!="number"){const l=["ml","mr"].includes(e);return n.jsx("button",{className:o.default["button-container"],disabled:!M,onClick:()=>K(e),children:l?"...":e},a)}return n.jsx("button",{id:`${u}-button-${e}`,className:`${e===c?o.default["pagination-active"]:""} ${o.default["button-container"]}
|
|
2
|
+
${k.configPagination.fonts[S].typographyButtonLabel}`,disabled:e===c,onClick:()=>h({pageSize:r,totalData:t,totalPage:s,pageNumber:e}),children:m.formatNumber(e,"decimal")},a)}),n.jsx("button",{id:`${u}-button-next`,className:`${o.default["button-next"]}`,disabled:i===s||!s,onClick:()=>h({pageSize:r,totalData:t,totalPage:s,pageNumber:c+1}),children:typeof p=="function"||d.isValidElement(p)?d.isValidElement(p)?p:p():n.jsx(G.ChevronDownIcon,{className:"-iru-rotate-90 !iru-text-gray-500 !iru-w-[14px] !iru-h-[14px]"})}),A&&n.jsxs("div",{className:o.default["goto-page"],children:[n.jsx("span",{children:q[$]["Go to:"]}),n.jsx("input",{id:`${u}-goto-page`,type:"number",className:o.default["goto-page-input"],value:U,onChange:e=>Q(e.target.value),onBlur:()=>R(i.toString())})]})]})]}),n.jsx(X.default,{floatingOptions:{placement:"bottom-end"},ref:w,className:o.default["options-size"],offset:I,zIndex:O,id:`${u}-popover-options-size`,children:v.map((e,a)=>n.jsx("p",{id:`${u}-option-size-${e}`,className:`${o.default.option} ${e===r?o.default.active:""}`,onClick:()=>{h({totalData:t,totalPage:s,pageSize:e,pageNumber:1}),w.current?.setShow(!1)},children:m.formatNumber(e,"decimal")},a))})]})};exports.default=Z;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../config/components/font.cjs"),a=require("./style.module.scss.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../config/components/font.cjs"),a=require("./style.module.scss.cjs"),n={kind:{box:a.default["pagination-box"],nude:a.default["pagination-nude"],"box-fin":a.default["pagination-box-fin"]},fonts:{inter:{value:t.configFont.inter,typographyButtonLabel:"iru-text-payhere-body-sr"},lato:{value:t.configFont.lato,typographyButtonLabel:"iru-text-payhere-body-sr"},pJakartaSans:{value:t.configFont.pJakartaSans,typographyButtonLabel:"iru-text-bill-label-r"}}};exports.configPagination=n;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { configFont as t } from "../../config/components/font.mjs";
|
|
2
2
|
import a from "./style.module.scss.mjs";
|
|
3
|
-
const
|
|
3
|
+
const i = {
|
|
4
4
|
kind: {
|
|
5
5
|
box: a["pagination-box"],
|
|
6
|
-
nude: a["pagination-nude"]
|
|
6
|
+
nude: a["pagination-nude"],
|
|
7
|
+
"box-fin": a["pagination-box-fin"]
|
|
7
8
|
},
|
|
8
9
|
fonts: {
|
|
9
10
|
inter: {
|
|
@@ -21,5 +22,5 @@ const e = {
|
|
|
21
22
|
}
|
|
22
23
|
};
|
|
23
24
|
export {
|
|
24
|
-
|
|
25
|
+
i as configPagination
|
|
25
26
|
};
|