@cagatayfdn/flora-components 0.0.148 → 0.0.149
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/Input.css +1 -1
- package/dist/{prodivers.css → ReactToastify.css} +1 -1
- package/dist/RealtimeLogModal-gZOv7y-z.js +3632 -0
- package/dist/RealtimeLogModal.css +1 -0
- package/dist/ScrollContainer.css +1 -1
- package/dist/Textarea.css +1 -1
- package/dist/components/ErrorLogModal/ErrorLogModal.js +14 -12
- package/dist/components/FileUpload/FileUpload.js +1 -1
- package/dist/components/Icon/index.js +8 -8
- package/dist/components/Input/Input.js +95 -88
- package/dist/components/RealtimeLogModal/RealtimeLogModal.js +36 -0
- package/dist/components/ScrollContainer/ScrollContainer.js +9 -9
- package/dist/components/StatusTag/StatusTag.js +10 -10
- package/dist/components/Textarea/Textarea.js +15 -15
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/index.js +60 -58
- package/dist/{helper-lFjvXQpv.js → helper-1SQ9SI45.js} +5 -5
- package/dist/index.d.mts +68 -4
- package/dist/index.d.ts +68 -4
- package/dist/index.js +118 -114
- package/dist/main.css +1 -1
- package/dist/main.js +12 -10
- package/dist/prodivers.js +3 -2
- package/dist/utils/fetcher.js +44 -0
- package/dist/utils/helper.js +1 -1
- package/dist/utils/index.js +27 -24
- package/dist/utils/table.js +9 -42
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div._realTimeLogModalStyle_1f0fd_2{border-radius:10px;background-color:var(--color-dark);margin:0!important;border:solid 1px var(--color-dark-1d);overflow:hidden}div._realTimeLogModalStyle_1f0fd_2 ._customHeader_1f0fd_10{background-color:var(--color-gray-57);padding:0!important;border-bottom:1px solid var(--color-dark-47)!important;height:90px;width:100%}div._realTimeLogModalStyle_1f0fd_2 ._modalHeader_1f0fd_18{display:flex;justify-content:space-between;align-items:center;padding:0 30px 0 0;width:100%;height:100%}div._realTimeLogModalStyle_1f0fd_2>div{background-color:var(--color-dark)}div._realTimeLogModalStyle_1f0fd_2>div:last-child{min-height:150px;font-size:14px;font-weight:500;padding:31px 35px}._modalLeft_1f0fd_38{display:flex;align-items:center;gap:12px;height:100%}._modalLeft_1f0fd_38 ._buttonGroup_1f0fd_45{border-right:2px solid var(--color-dark-47);width:113px;height:100%;display:flex;align-items:center;justify-content:center;margin-right:28px;gap:8px}._modalLeft_1f0fd_38 ._buttonGroup_1f0fd_45 ._iosIcon_1f0fd_56{display:flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:100%;background-color:var(--color-ios-red);color:var(--color-dark-1d)}._modalLeft_1f0fd_38 ._buttonGroup_1f0fd_45 ._iosIcon_1f0fd_56:last-child{background-color:var(--color-ios-green)}._modalLeft_1f0fd_38 ._buttonGroup_1f0fd_45 ._iosIcon_1f0fd_56 i{font-size:8px;display:flex}._modalLeft_1f0fd_38 ._buttonGroup_1f0fd_45 div{text-align:center;cursor:pointer}._modalLeft_1f0fd_38 ._buttonGroup_1f0fd_45 div i{display:flex;font-size:13px}._modalLeft_1f0fd_38 ._modalLoader_1f0fd_86{margin-left:10px}._modalLeft_1f0fd_38 ._dash_1f0fd_90{padding-left:4px;padding-right:4px}._searchWrapper_1f0fd_95{display:flex;align-items:center;justify-content:center}._searchWrapper_1f0fd_95 ._chevronIcons_1f0fd_101{margin-left:12px;display:flex;align-items:center;justify-content:center;gap:12px}._searchWrapper_1f0fd_95 ._chevronIcons_1f0fd_101 i{cursor:pointer;color:var(--color-blue-ff);display:flex}._searchWrapper_1f0fd_95 ._chevronIcons_1f0fd_101 i:first-child{transform:rotate(-90deg)}._searchWrapper_1f0fd_95 ._chevronIcons_1f0fd_101 i:last-child{transform:rotate(90deg)}._searchWrapper_1f0fd_95 ._logInput_1f0fd_123{width:251px;height:40px;padding-right:40px!important;padding-left:115px!important}._searchWrapper_1f0fd_95 ._searchResult_1f0fd_130{display:flex;gap:12px;margin-left:30px}._searchWrapper_1f0fd_95 ._searchResult_1f0fd_130 span{color:var(--color-gray-95)}._loadingWrap_1f0fd_140{position:relative;width:auto;height:auto;margin-left:15px}._loadingWrap_1f0fd_140:before{background-color:var(--color-white)!important}._modalRight_1f0fd_151{display:flex}._modalRight_1f0fd_151 ._inputsWrapper_1f0fd_155{display:flex;gap:24px}._modalRight_1f0fd_151 ._inputsWrapper_1f0fd_155 ._search_1f0fd_95{color:var(--color-gray-95);font-size:16px}._modalRight_1f0fd_151 ._inputsWrapper_1f0fd_155 ._logInput_1f0fd_123{width:251px;height:40px;font-size:var(--text-def);color:var(--color-gray-71)}._modalRight_1f0fd_151 ._inputsWrapper_1f0fd_155 ._cliCommand_1f0fd_172{display:flex;justify-content:space-between;align-items:center;width:255px;height:44px;font-size:var(--text-def);font-weight:500;color:var(--color-gray-71);padding:11px 20px;border:solid 2px var(--color-border-dark-primary);border-radius:5px;background-color:var(--color-dark)}._modalRight_1f0fd_151 ._inputsWrapper_1f0fd_155 ._cliCommand_1f0fd_172 span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._modalRight_1f0fd_151 ._inputsWrapper_1f0fd_155 ._cliCommand_1f0fd_172 i{font-size:16px;cursor:pointer}._modalRight_1f0fd_151 ._buttonsWrapper_1f0fd_198{display:flex;margin-left:24px;gap:8px}._downloadIconBtn_1f0fd_204{height:43px;width:40px;padding:0;display:flex;align-items:center;justify-content:center}._downloadIconBtn_1f0fd_204>div{width:25px;display:flex;align-items:center;justify-content:center}._downloadIconBtn_1f0fd_204 i{color:var(--color-white);font-size:16px;display:flex;align-items:center;justify-content:center}._downloadIconBtn__disabled_1f0fd_228{pointer-events:none;background-color:var(--color-gray-95);border-color:var(--color-gray-ec)}._downloadIconBtn__disabled_1f0fd_228 i{background-color:var(--color-gray-95)}._copyIconBtn_1f0fd_238{height:43px;width:40px;padding:0;display:flex;align-items:center;justify-content:center}._copyIconBtn_1f0fd_238>div{width:25px;display:flex;align-items:center;justify-content:center}._copyIconBtn_1f0fd_238 i{color:var(--color-white);font-size:16px;display:flex;align-items:center;justify-content:center}._copyIconBtn__disabled_1f0fd_262{pointer-events:none;background-color:var(--color-gray-95);border-color:var(--color-gray-ec)}._copyIconBtn__disabled_1f0fd_262 i{background-color:var(--color-gray-95)}._iconGroup_1f0fd_272{display:flex;gap:12px}._iconGroup_1f0fd_272 i{z-index:3;cursor:pointer;color:var(--color-gray-95);background-color:none}._iconGroup_1f0fd_272 ._activeIcon_1f0fd_284{color:var(--color-blue-ff)}
|
package/dist/ScrollContainer.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */:root{--white:white;--whiteRGBA:#ffffffd9;--black:#000;--blackRGBA:#00000080;--primary:#293245;--dark:#2b344c;--dark-1e:#1e1e2d;--dark-1d:#1d2843;--dark-12:#12161e;--dark-47:#262e47;--dark-4a:#062a4a;--dark-21:#21283a;--dark-22:#222;--dark-24:#242b3f;--dark-3c:#3c4560;--gray-3b:#232b3b;--gray-61:#3d4561;--gray-68:#3b4768;--gray-57:#333b57;--gray-3e:#30363e;--gray-5c:#3f4b5c;--gray-4a:#4a4a4a;--gray-4c:#3b404c;--gray-b6:#b6c2cf;--gray-79:#495679;--gray-71:#717a8e;--gray-6e:#535a6e;--gray-62:#626262;--gray-81:#5c5e81;--gray-8c:#8ca0b3;--gray-be:#6c7ebe;--gray-90:#909090;--gray-9b:#9b9b9b;--gray-94:#948686;--gray-95:#788195;--gray-67:#676767;--gray-c2:#9ca9c2;--gray-ec:#c8daec;--gray-d8:#d8d8d8;--gray-d4:#d4d6f0;--gray-fb:#fbedbe;--gray-bc:#bcbcbc;--gray-f9:#f1f3f9;--gray-f8:#f5f6f8;--gray-df:#dfdfdf;--gray-f7:#e9f0f7;--gray-f5:#f5f5f5;--gray-fd:#fdfdfd;--gray-ee:#eee;--gray-ef:#efefef;--gray-f2:#eef0f2;--gray-e2:#e2e7f2;--blue-ff:#4482ff;--blue-f9:#037cf9;--danger:#d2282e;--success:#71d200;--info:#1890ff;--warning:#ffb822;--initializing:#ffaa49;--pending:#ffdca8;--failed:#ff5365;--queued:#9387c7;--font-xs:10px;--font-sm:12px;--font-def:14px;--font-md:16px;--font-lg:18px;--font-xl:20px;--font-2xl:24px;--font-3xl:30px;--checkbox-checked:#6c7ebe;--border-dark-primary:#262e47;--border-dark-secondary:#3b404c;--divider-primary:#d8d8d8;--dropdown-active:#1d2843;--bg-primary:#293245;--tab-active-text:white;--tab-inactive-text:#757f96;--status-success:#e3f6cc;--status-waiting1:#fce0ce;--status-waiting2:#c6f0f2;--status-waiting3:#eae7f4;--status-failed:#f6b5b5;--status-empty:#eaeff0;--spacing-xxs:4px;--spacing-xs:8px;--spacing-s:12px;--spacing-m:16px;--spacing-l:20px;--spacing-xl:24px;--spacing-xxl:28px;--spacing-column:32px;--toast-font-size:14px;--toast-font-family:"Jost",sans-serif;--toast-font-weight:600;--toast-padding:20px 30px;--toast-icon-margin-left:28px;--toast-icon-font-size:18px;--toast-warning-icon-font-size:26px}.
|
|
1
|
+
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */:root{--white:white;--whiteRGBA:#ffffffd9;--black:#000;--blackRGBA:#00000080;--primary:#293245;--dark:#2b344c;--dark-1e:#1e1e2d;--dark-1d:#1d2843;--dark-12:#12161e;--dark-47:#262e47;--dark-4a:#062a4a;--dark-21:#21283a;--dark-22:#222;--dark-24:#242b3f;--dark-3c:#3c4560;--gray-3b:#232b3b;--gray-61:#3d4561;--gray-68:#3b4768;--gray-57:#333b57;--gray-3e:#30363e;--gray-5c:#3f4b5c;--gray-4a:#4a4a4a;--gray-4c:#3b404c;--gray-b6:#b6c2cf;--gray-79:#495679;--gray-71:#717a8e;--gray-6e:#535a6e;--gray-62:#626262;--gray-81:#5c5e81;--gray-8c:#8ca0b3;--gray-be:#6c7ebe;--gray-90:#909090;--gray-9b:#9b9b9b;--gray-94:#948686;--gray-95:#788195;--gray-67:#676767;--gray-c2:#9ca9c2;--gray-ec:#c8daec;--gray-d8:#d8d8d8;--gray-d4:#d4d6f0;--gray-fb:#fbedbe;--gray-bc:#bcbcbc;--gray-f9:#f1f3f9;--gray-f8:#f5f6f8;--gray-df:#dfdfdf;--gray-f7:#e9f0f7;--gray-f5:#f5f5f5;--gray-fd:#fdfdfd;--gray-ee:#eee;--gray-ef:#efefef;--gray-f2:#eef0f2;--gray-e2:#e2e7f2;--blue-ff:#4482ff;--blue-f9:#037cf9;--danger:#d2282e;--success:#71d200;--info:#1890ff;--warning:#ffb822;--initializing:#ffaa49;--pending:#ffdca8;--failed:#ff5365;--queued:#9387c7;--font-xs:10px;--font-sm:12px;--font-def:14px;--font-md:16px;--font-lg:18px;--font-xl:20px;--font-2xl:24px;--font-3xl:30px;--checkbox-checked:#6c7ebe;--border-dark-primary:#262e47;--border-dark-secondary:#3b404c;--divider-primary:#d8d8d8;--dropdown-active:#1d2843;--bg-primary:#293245;--tab-active-text:white;--tab-inactive-text:#757f96;--status-success:#e3f6cc;--status-waiting1:#fce0ce;--status-waiting2:#c6f0f2;--status-waiting3:#eae7f4;--status-failed:#f6b5b5;--status-empty:#eaeff0;--ios-green:#7bd500;--ios-red:#ff5365;--spacing-xxs:4px;--spacing-xs:8px;--spacing-s:12px;--spacing-m:16px;--spacing-l:20px;--spacing-xl:24px;--spacing-xxl:28px;--spacing-column:32px;--toast-font-size:14px;--toast-font-family:"Jost",sans-serif;--toast-font-weight:600;--toast-padding:20px 30px;--toast-icon-margin-left:28px;--toast-icon-font-size:18px;--toast-warning-icon-font-size:26px}._container_1w7wy_2{max-height:70vh;overflow:auto!important}._container_1w7wy_2::-webkit-scrollbar{width:10px}._container_1w7wy_2::-webkit-scrollbar-track{background-color:#0000}._container_1w7wy_2::-webkit-scrollbar-thumb{background-color:var(--gray-3b);border-radius:9.5px}._container_1w7wy_2::-webkit-scrollbar-thumb:hover{background-color:var(--gray-3b)}
|
package/dist/Textarea.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}:root{--white:white;--whiteRGBA:#ffffffd9;--black:#000;--blackRGBA:#00000080;--primary:#293245;--dark:#2b344c;--dark-1e:#1e1e2d;--dark-1d:#1d2843;--dark-12:#12161e;--dark-47:#262e47;--dark-4a:#062a4a;--dark-21:#21283a;--dark-22:#222;--dark-24:#242b3f;--dark-3c:#3c4560;--gray-3b:#232b3b;--gray-61:#3d4561;--gray-68:#3b4768;--gray-57:#333b57;--gray-3e:#30363e;--gray-5c:#3f4b5c;--gray-4a:#4a4a4a;--gray-4c:#3b404c;--gray-b6:#b6c2cf;--gray-79:#495679;--gray-71:#717a8e;--gray-6e:#535a6e;--gray-62:#626262;--gray-81:#5c5e81;--gray-8c:#8ca0b3;--gray-be:#6c7ebe;--gray-90:#909090;--gray-9b:#9b9b9b;--gray-94:#948686;--gray-95:#788195;--gray-67:#676767;--gray-c2:#9ca9c2;--gray-ec:#c8daec;--gray-d8:#d8d8d8;--gray-d4:#d4d6f0;--gray-fb:#fbedbe;--gray-bc:#bcbcbc;--gray-f9:#f1f3f9;--gray-f8:#f5f6f8;--gray-df:#dfdfdf;--gray-f7:#e9f0f7;--gray-f5:#f5f5f5;--gray-fd:#fdfdfd;--gray-ee:#eee;--gray-ef:#efefef;--gray-f2:#eef0f2;--gray-e2:#e2e7f2;--blue-ff:#4482ff;--blue-f9:#037cf9;--danger:#d2282e;--success:#71d200;--info:#1890ff;--warning:#ffb822;--initializing:#ffaa49;--pending:#ffdca8;--failed:#ff5365;--queued:#9387c7;--font-xs:10px;--font-sm:12px;--font-def:14px;--font-md:16px;--font-lg:18px;--font-xl:20px;--font-2xl:24px;--font-3xl:30px;--checkbox-checked:#6c7ebe;--border-dark-primary:#262e47;--border-dark-secondary:#3b404c;--divider-primary:#d8d8d8;--dropdown-active:#1d2843;--bg-primary:#293245;--tab-active-text:white;--tab-inactive-text:#757f96;--status-success:#e3f6cc;--status-waiting1:#fce0ce;--status-waiting2:#c6f0f2;--status-waiting3:#eae7f4;--status-failed:#f6b5b5;--status-empty:#eaeff0;--spacing-xxs:4px;--spacing-xs:8px;--spacing-s:12px;--spacing-m:16px;--spacing-l:20px;--spacing-xl:24px;--spacing-xxl:28px;--spacing-column:32px;--toast-font-size:14px;--toast-font-family:"Jost",sans-serif;--toast-font-weight:600;--toast-padding:20px 30px;--toast-icon-margin-left:28px;--toast-icon-font-size:18px;--toast-warning-icon-font-size:26px}.
|
|
1
|
+
/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000}}}:root{--white:white;--whiteRGBA:#ffffffd9;--black:#000;--blackRGBA:#00000080;--primary:#293245;--dark:#2b344c;--dark-1e:#1e1e2d;--dark-1d:#1d2843;--dark-12:#12161e;--dark-47:#262e47;--dark-4a:#062a4a;--dark-21:#21283a;--dark-22:#222;--dark-24:#242b3f;--dark-3c:#3c4560;--gray-3b:#232b3b;--gray-61:#3d4561;--gray-68:#3b4768;--gray-57:#333b57;--gray-3e:#30363e;--gray-5c:#3f4b5c;--gray-4a:#4a4a4a;--gray-4c:#3b404c;--gray-b6:#b6c2cf;--gray-79:#495679;--gray-71:#717a8e;--gray-6e:#535a6e;--gray-62:#626262;--gray-81:#5c5e81;--gray-8c:#8ca0b3;--gray-be:#6c7ebe;--gray-90:#909090;--gray-9b:#9b9b9b;--gray-94:#948686;--gray-95:#788195;--gray-67:#676767;--gray-c2:#9ca9c2;--gray-ec:#c8daec;--gray-d8:#d8d8d8;--gray-d4:#d4d6f0;--gray-fb:#fbedbe;--gray-bc:#bcbcbc;--gray-f9:#f1f3f9;--gray-f8:#f5f6f8;--gray-df:#dfdfdf;--gray-f7:#e9f0f7;--gray-f5:#f5f5f5;--gray-fd:#fdfdfd;--gray-ee:#eee;--gray-ef:#efefef;--gray-f2:#eef0f2;--gray-e2:#e2e7f2;--blue-ff:#4482ff;--blue-f9:#037cf9;--danger:#d2282e;--success:#71d200;--info:#1890ff;--warning:#ffb822;--initializing:#ffaa49;--pending:#ffdca8;--failed:#ff5365;--queued:#9387c7;--font-xs:10px;--font-sm:12px;--font-def:14px;--font-md:16px;--font-lg:18px;--font-xl:20px;--font-2xl:24px;--font-3xl:30px;--checkbox-checked:#6c7ebe;--border-dark-primary:#262e47;--border-dark-secondary:#3b404c;--divider-primary:#d8d8d8;--dropdown-active:#1d2843;--bg-primary:#293245;--tab-active-text:white;--tab-inactive-text:#757f96;--status-success:#e3f6cc;--status-waiting1:#fce0ce;--status-waiting2:#c6f0f2;--status-waiting3:#eae7f4;--status-failed:#f6b5b5;--status-empty:#eaeff0;--ios-green:#7bd500;--ios-red:#ff5365;--spacing-xxs:4px;--spacing-xs:8px;--spacing-s:12px;--spacing-m:16px;--spacing-l:20px;--spacing-xl:24px;--spacing-xxl:28px;--spacing-column:32px;--toast-font-size:14px;--toast-font-family:"Jost",sans-serif;--toast-font-weight:600;--toast-padding:20px 30px;--toast-icon-margin-left:28px;--toast-icon-font-size:18px;--toast-warning-icon-font-size:26px}._counter_irev4_2{display:flex}._counter_irev4_2 span{margin-left:calc(var(--spacing,.25rem)*2);color:var(--gray-67);font-style:italic}._container_irev4_2 ._fieldWrap_irev4_2{border-style:var(--tw-border-style);--tw-border-style:solid;border-style:solid;border-width:2px;border-color:var(--border-dark-primary);background-color:var(--dark);border-radius:5px;position:relative}._container_irev4_2 ._fieldWrap_irev4_2 ._control_irev4_2{z-index:2;resize:none;--tw-border-style:none;--tw-outline-style:none;background-image:none;border-style:none;outline-style:none;width:100%;padding-block:7px;padding-inline:10px;display:block;position:relative}._container_irev4_2 ._fieldWrap_irev4_2 ._control_irev4_2:focus-visible{--tw-shadow:0 0 0 2px var(--tw-shadow-color,#4482ff33);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);--tw-outline-style:none;outline-style:none}._container_irev4_2._light_irev4_2 ._fieldWrap_irev4_2{border-style:var(--tw-border-style);--tw-border-style:solid;border-style:solid;border-width:2px;border-color:var(--gray-df);background-color:var(--white)}._container_irev4_2._light_irev4_2 ._fieldWrap_irev4_2 ._control_irev4_2{color:var(--gray-95)}._container_irev4_2._error_irev4_2 ._fieldWrap_irev4_2{border-color:var(--danger);background-color:#ff354e33}._container_irev4_2._error_irev4_2 ._fieldWrap_irev4_2:focus-visible{--tw-outline-style:none;outline-style:none}._container_irev4_2 ._disabled_irev4_2{border-radius:var(--radius-lg,.5rem);background-color:var(--divider-primary)}._container_irev4_2 textarea._size-small_irev4_2{height:73px}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { N as
|
|
2
|
+
import { N as m } from "../../index-H7XbDVmH.js";
|
|
3
3
|
import "../../index-BHf7G3IG.js";
|
|
4
4
|
import "../../hooks/useAauth.js";
|
|
5
5
|
import "../../assets/images/500_error_2x.gif";
|
|
@@ -9,19 +9,21 @@ import "../Tooltip/Tooltip.js";
|
|
|
9
9
|
import "../../react-toastify.esm-BUWNP7Nm.js";
|
|
10
10
|
import "../../utils/date.js";
|
|
11
11
|
import "../Input/Input.js";
|
|
12
|
-
import
|
|
12
|
+
import c from "../ScrollContainer/ScrollContainer.js";
|
|
13
13
|
import "../Charts/index.js";
|
|
14
14
|
import "../Checkbox/Checkbox.js";
|
|
15
15
|
import "../Confirm/Confirm.js";
|
|
16
16
|
import "../Datepicker/Datepicker.js";
|
|
17
|
-
import
|
|
17
|
+
import s from "../Divider/Divider.js";
|
|
18
18
|
import "../Drawer/Provider.js";
|
|
19
19
|
import "../FileUpload/FileUpload.js";
|
|
20
20
|
import x from "../Modal/Modal.js";
|
|
21
21
|
import e from "../Grid/Column.js";
|
|
22
22
|
import u from "../Grid/Row.js";
|
|
23
23
|
import a from "../InfoDate/InfoDate.js";
|
|
24
|
+
import "../../RealtimeLogModal-gZOv7y-z.js";
|
|
24
25
|
import "../../Select-nhp2PiJK.js";
|
|
26
|
+
import "../StatusTag/StatusTag.js";
|
|
25
27
|
import "../Switch/Switch.js";
|
|
26
28
|
import "../Textarea/Textarea.js";
|
|
27
29
|
import w from "../../hooks/useNiceModal.js";
|
|
@@ -36,17 +38,17 @@ import '../../ErrorLogModal.css';const g = "_dropdownMenu_8gwxh_2", j = "_dropdo
|
|
|
36
38
|
icon: v,
|
|
37
39
|
title: L,
|
|
38
40
|
disabled: T
|
|
39
|
-
}, y = ({ id: i, onClose: n, errors:
|
|
40
|
-
const { t: d } = h(), [,
|
|
41
|
-
|
|
41
|
+
}, y = ({ id: i, onClose: n, errors: t }) => {
|
|
42
|
+
const { t: d } = h(), [, p] = w(i), _ = () => {
|
|
43
|
+
p(), n && n();
|
|
42
44
|
};
|
|
43
45
|
return /* @__PURE__ */ o.jsx(
|
|
44
46
|
x,
|
|
45
47
|
{
|
|
46
|
-
onClose:
|
|
48
|
+
onClose: _,
|
|
47
49
|
className: l.realTimeLogModalStyle,
|
|
48
50
|
header: /* @__PURE__ */ o.jsx("div", { className: l.modalHeader, children: d("title.error_log") }),
|
|
49
|
-
children: /* @__PURE__ */ o.jsx(
|
|
51
|
+
children: /* @__PURE__ */ o.jsx(c, { children: t ? t.map((r) => /* @__PURE__ */ o.jsxs("div", { className: "container-fluid", children: [
|
|
50
52
|
/* @__PURE__ */ o.jsxs(u, { children: [
|
|
51
53
|
/* @__PURE__ */ o.jsxs(e, { children: [
|
|
52
54
|
/* @__PURE__ */ o.jsx("b", { children: `${d("label.created_date")}:` }),
|
|
@@ -57,13 +59,13 @@ import '../../ErrorLogModal.css';const g = "_dropdownMenu_8gwxh_2", j = "_dropdo
|
|
|
57
59
|
/* @__PURE__ */ o.jsx(a, { date: r == null ? void 0 : r.update_date })
|
|
58
60
|
] })
|
|
59
61
|
] }),
|
|
60
|
-
/* @__PURE__ */ o.jsx(
|
|
62
|
+
/* @__PURE__ */ o.jsx(s, { className: "mt-4 mb-4" }),
|
|
61
63
|
/* @__PURE__ */ o.jsx("p", { className: "pre-line", children: r == null ? void 0 : r.log_data }),
|
|
62
|
-
/* @__PURE__ */ o.jsx(
|
|
64
|
+
/* @__PURE__ */ o.jsx(s, { className: "mt-4 mb-4" })
|
|
63
65
|
] }, r == null ? void 0 : r.id)) : /* @__PURE__ */ o.jsx(M, { i18nKey: "text.not_found", values: { dataname: "Log" } }) })
|
|
64
66
|
}
|
|
65
67
|
);
|
|
66
|
-
},
|
|
68
|
+
}, eo = m.create(y);
|
|
67
69
|
export {
|
|
68
|
-
|
|
70
|
+
eo as default
|
|
69
71
|
};
|
|
@@ -2,7 +2,7 @@ import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
|
2
2
|
import Z, { useState as j, useEffect as ee } from "react";
|
|
3
3
|
import te from "../Icon/index.js";
|
|
4
4
|
import { Notification as se } from "../Notification/Notification.js";
|
|
5
|
-
import { c as ae } from "../../helper-
|
|
5
|
+
import { c as ae } from "../../helper-1SQ9SI45.js";
|
|
6
6
|
import { c as p } from "../../index-BHf7G3IG.js";
|
|
7
7
|
import { FloraIcons as re } from "../../assets/icons/flora-icons.js";
|
|
8
8
|
import { s as t } from "../../FileUpload.module-BxCEtOHx.js";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { j as l } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
2
|
import { c as r } from "../../index-BHf7G3IG.js";
|
|
3
3
|
const f = (s) => {
|
|
4
|
-
const { name:
|
|
5
|
-
if (
|
|
6
|
-
return
|
|
7
|
-
|
|
4
|
+
const { name: a, onClick: t, style: n, isDisabled: o, className: c } = s, i = (e) => {
|
|
5
|
+
if (o)
|
|
6
|
+
return e.preventDefault();
|
|
7
|
+
t && t(e);
|
|
8
8
|
};
|
|
9
9
|
return /* @__PURE__ */ l.jsx(
|
|
10
10
|
"i",
|
|
11
11
|
{
|
|
12
12
|
...s,
|
|
13
|
-
style:
|
|
14
|
-
"data-testid": `icon-${
|
|
13
|
+
style: n,
|
|
14
|
+
"data-testid": `icon-${a}`,
|
|
15
15
|
onClick: i,
|
|
16
|
-
className: r(`
|
|
17
|
-
disabled:
|
|
16
|
+
className: r(`flora-icons-${a}`, c, {
|
|
17
|
+
disabled: o
|
|
18
18
|
})
|
|
19
19
|
}
|
|
20
20
|
);
|
|
@@ -1,140 +1,147 @@
|
|
|
1
1
|
import { j as s } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import
|
|
2
|
+
import W, { useState as V, useEffect as q } from "react";
|
|
3
3
|
import { c as i } from "../../index-BHf7G3IG.js";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import '../../Input.css';const
|
|
7
|
-
counter:
|
|
8
|
-
container:
|
|
9
|
-
fieldWrap:
|
|
10
|
-
control:
|
|
11
|
-
light:
|
|
12
|
-
disabled:
|
|
13
|
-
more_dark:
|
|
14
|
-
radius:
|
|
15
|
-
suffix:
|
|
16
|
-
error:
|
|
17
|
-
suffixWrap:
|
|
18
|
-
prefixWrap:
|
|
19
|
-
prefix:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
4
|
+
import D from "../Label/Label.js";
|
|
5
|
+
import P from "../ValidationError/ValidationError.js";
|
|
6
|
+
import '../../Input.css';const B = "_counter_1bflr_2", H = "_container_1bflr_2", J = "_fieldWrap_1bflr_2", K = "_control_1bflr_2", M = "_light_1bflr_2", O = "_disabled_1bflr_2", Q = "_more_dark_1bflr_2", U = "_radius_1bflr_2", X = "_suffix_1bflr_2", Y = "_error_1bflr_2", Z = "_suffixWrap_1bflr_2", rr = "_prefixWrap_1bflr_2", er = "_prefix_1bflr_2", sr = "_prefixClickable_1bflr_2", ar = "_suffixClickable_1bflr_2", ir = "_inputGroup_1bflr_2", lr = "_addonAfter_1bflr_2", r = {
|
|
7
|
+
counter: B,
|
|
8
|
+
container: H,
|
|
9
|
+
fieldWrap: J,
|
|
10
|
+
control: K,
|
|
11
|
+
light: M,
|
|
12
|
+
disabled: O,
|
|
13
|
+
more_dark: Q,
|
|
14
|
+
radius: U,
|
|
15
|
+
suffix: X,
|
|
16
|
+
error: Y,
|
|
17
|
+
suffixWrap: Z,
|
|
18
|
+
prefixWrap: rr,
|
|
19
|
+
prefix: er,
|
|
20
|
+
prefixClickable: sr,
|
|
21
|
+
suffixClickable: ar,
|
|
22
|
+
inputGroup: ir,
|
|
23
|
+
addonAfter: lr
|
|
24
|
+
}, tr = W.forwardRef(
|
|
25
|
+
(N, g) => {
|
|
25
26
|
const {
|
|
26
|
-
name:
|
|
27
|
-
label:
|
|
28
|
-
id:
|
|
27
|
+
name: m,
|
|
28
|
+
label: C,
|
|
29
|
+
id: j,
|
|
29
30
|
type: a = "text",
|
|
30
|
-
prefix:
|
|
31
|
-
suffix:
|
|
32
|
-
size:
|
|
33
|
-
maxLength:
|
|
31
|
+
prefix: o,
|
|
32
|
+
suffix: f,
|
|
33
|
+
size: h,
|
|
34
|
+
maxLength: t,
|
|
34
35
|
isDisabled: c,
|
|
35
|
-
error:
|
|
36
|
-
appearance:
|
|
36
|
+
error: d,
|
|
37
|
+
appearance: p,
|
|
37
38
|
className: v,
|
|
38
39
|
wrapperClassName: y,
|
|
39
40
|
fieldWrapClassName: A,
|
|
40
41
|
addonAfter: u,
|
|
41
|
-
value:
|
|
42
|
-
onChange:
|
|
42
|
+
value: l = "",
|
|
43
|
+
onChange: k,
|
|
43
44
|
required: G,
|
|
44
45
|
isRadius: $,
|
|
45
46
|
textFillColor: F,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
47
|
+
prefixClickable: R,
|
|
48
|
+
suffixClickable: S,
|
|
49
|
+
isFormGroup: T = !0,
|
|
50
|
+
...w
|
|
51
|
+
} = N, [_, x] = V(l), b = (e) => {
|
|
52
|
+
var n;
|
|
53
|
+
return (n = e == null ? void 0 : e.toString()) == null ? void 0 : n.slice(0, t);
|
|
54
|
+
}, E = W.useCallback(
|
|
55
|
+
(e) => {
|
|
56
|
+
x(b(e.currentTarget.value)), k && k(e, b(e.currentTarget.value));
|
|
55
57
|
},
|
|
56
|
-
[
|
|
57
|
-
),
|
|
58
|
-
|
|
58
|
+
[t, x]
|
|
59
|
+
), z = (e, n) => {
|
|
60
|
+
n == "number" && e.currentTarget.blur();
|
|
59
61
|
};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
}, [
|
|
63
|
-
const
|
|
64
|
-
[
|
|
65
|
-
},
|
|
62
|
+
q(() => {
|
|
63
|
+
l != null && x(b(l));
|
|
64
|
+
}, [l]);
|
|
65
|
+
const I = {
|
|
66
|
+
[r[`type__${a}`]]: a !== "text"
|
|
67
|
+
}, L = i(
|
|
66
68
|
{
|
|
67
|
-
"form-group":
|
|
68
|
-
[
|
|
69
|
-
[
|
|
70
|
-
[
|
|
69
|
+
"form-group": T,
|
|
70
|
+
[r[`size__${h}`]]: h,
|
|
71
|
+
[r.disabled]: c,
|
|
72
|
+
[r.hidden]: a === "hidden"
|
|
71
73
|
},
|
|
72
74
|
y
|
|
73
75
|
);
|
|
74
|
-
return /* @__PURE__ */ s.jsxs("div", { className:
|
|
76
|
+
return /* @__PURE__ */ s.jsxs("div", { className: L, "data-testid": `input-container-${a}`, children: [
|
|
75
77
|
/* @__PURE__ */ s.jsxs(
|
|
76
78
|
"div",
|
|
77
79
|
{
|
|
78
|
-
className: i(
|
|
79
|
-
[
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[
|
|
83
|
-
[
|
|
84
|
-
[
|
|
85
|
-
[
|
|
80
|
+
className: i(r.container, {
|
|
81
|
+
[r[`${p}`]]: p,
|
|
82
|
+
[r.radius]: $,
|
|
83
|
+
[r.inputGroup]: u,
|
|
84
|
+
[r.error]: d,
|
|
85
|
+
[r.disabled]: c,
|
|
86
|
+
[r.suffixWrap]: f,
|
|
87
|
+
[r.prefixWrap]: o
|
|
86
88
|
}),
|
|
87
89
|
children: [
|
|
88
|
-
/* @__PURE__ */ s.jsxs("div", { className:
|
|
89
|
-
|
|
90
|
-
|
|
90
|
+
/* @__PURE__ */ s.jsxs("div", { className: r.counter, children: [
|
|
91
|
+
C && /* @__PURE__ */ s.jsxs(D, { appearance: p, name: m, children: [
|
|
92
|
+
C,
|
|
91
93
|
" ",
|
|
92
94
|
G && "*"
|
|
93
95
|
] }),
|
|
94
|
-
|
|
95
|
-
|
|
96
|
+
t && /* @__PURE__ */ s.jsxs("span", { children: [
|
|
97
|
+
_ ? _.toString().length : 0,
|
|
96
98
|
"/",
|
|
97
|
-
|
|
99
|
+
t
|
|
98
100
|
] })
|
|
99
101
|
] }),
|
|
100
|
-
/* @__PURE__ */ s.jsxs("div", { className: i(
|
|
101
|
-
|
|
102
|
+
/* @__PURE__ */ s.jsxs("div", { className: i(r.fieldWrap, A), children: [
|
|
103
|
+
o && /* @__PURE__ */ s.jsx("span", { className: i(
|
|
104
|
+
r.prefix,
|
|
105
|
+
{
|
|
106
|
+
[r.prefixClickable]: R
|
|
107
|
+
}
|
|
108
|
+
), children: o }),
|
|
102
109
|
/* @__PURE__ */ s.jsx(
|
|
103
110
|
"input",
|
|
104
111
|
{
|
|
105
112
|
type: a,
|
|
106
|
-
name:
|
|
107
|
-
id:
|
|
108
|
-
value:
|
|
113
|
+
name: m,
|
|
114
|
+
id: j,
|
|
115
|
+
value: _,
|
|
109
116
|
"data-testid": `input-${a}`,
|
|
110
|
-
className: i(
|
|
117
|
+
className: i(r.control, I, v),
|
|
111
118
|
disabled: c,
|
|
112
|
-
ref:
|
|
113
|
-
onWheel: (
|
|
114
|
-
onChange:
|
|
115
|
-
...
|
|
119
|
+
ref: g,
|
|
120
|
+
onWheel: (e) => z(e, a),
|
|
121
|
+
onChange: E,
|
|
122
|
+
...w,
|
|
116
123
|
style: { WebkitTextFillColor: F }
|
|
117
124
|
}
|
|
118
125
|
),
|
|
119
|
-
u && /* @__PURE__ */ s.jsx("span", { className:
|
|
120
|
-
|
|
126
|
+
u && /* @__PURE__ */ s.jsx("span", { className: r.addonAfter, children: u }),
|
|
127
|
+
f && /* @__PURE__ */ s.jsx(
|
|
121
128
|
"span",
|
|
122
129
|
{
|
|
123
|
-
className: i(
|
|
124
|
-
[
|
|
130
|
+
className: i(r.suffix, {
|
|
131
|
+
[r.suffixClickable]: S
|
|
125
132
|
}),
|
|
126
|
-
children:
|
|
133
|
+
children: f
|
|
127
134
|
}
|
|
128
135
|
)
|
|
129
136
|
] })
|
|
130
137
|
]
|
|
131
138
|
}
|
|
132
139
|
),
|
|
133
|
-
|
|
140
|
+
d && /* @__PURE__ */ s.jsx(P, { ...d })
|
|
134
141
|
] });
|
|
135
142
|
}
|
|
136
143
|
);
|
|
137
|
-
|
|
144
|
+
tr.displayName = "Input";
|
|
138
145
|
export {
|
|
139
|
-
|
|
146
|
+
tr as default
|
|
140
147
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
+
import "react";
|
|
3
|
+
import { R as H } from "../../RealtimeLogModal-gZOv7y-z.js";
|
|
4
|
+
import "../../helper-1SQ9SI45.js";
|
|
5
|
+
import "../../index-BHf7G3IG.js";
|
|
6
|
+
import "../../utils/date.js";
|
|
7
|
+
import "../../utils/fetcher.js";
|
|
8
|
+
import "../../locales/i18n.js";
|
|
9
|
+
import "../../utils/yup.js";
|
|
10
|
+
import "../../assets/icons/flora-icons.js";
|
|
11
|
+
import "../../hooks/useAauth.js";
|
|
12
|
+
import "../../hooks/useNiceModal.js";
|
|
13
|
+
import "../Drawer/Provider.js";
|
|
14
|
+
import "../Modal/Modal.js";
|
|
15
|
+
import "../Icon/index.js";
|
|
16
|
+
import "../../Select-nhp2PiJK.js";
|
|
17
|
+
import "../Input/Input.js";
|
|
18
|
+
import "../../enums/appearance.js";
|
|
19
|
+
import "../Button/Button.js";
|
|
20
|
+
import "../../index-H7XbDVmH.js";
|
|
21
|
+
import "../../assets/images/500_error_2x.gif";
|
|
22
|
+
import "../Tooltip/Tooltip.js";
|
|
23
|
+
import "../Notification/Notification.js";
|
|
24
|
+
import "../Charts/index.js";
|
|
25
|
+
import "../Checkbox/Checkbox.js";
|
|
26
|
+
import "../Confirm/Confirm.js";
|
|
27
|
+
import "../Datepicker/Datepicker.js";
|
|
28
|
+
import "../FileUpload/FileUpload.js";
|
|
29
|
+
import "../StatusTag/StatusTag.js";
|
|
30
|
+
import "../Switch/Switch.js";
|
|
31
|
+
import "../Textarea/Textarea.js";
|
|
32
|
+
import "../../react-toastify.esm-BUWNP7Nm.js";
|
|
33
|
+
import '../../ReactToastify.css';/* empty css */
|
|
34
|
+
export {
|
|
35
|
+
H as default
|
|
36
|
+
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { c as
|
|
3
|
-
import '../../ScrollContainer.css';const c = "
|
|
1
|
+
import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
+
import { c as r } from "../../index-BHf7G3IG.js";
|
|
3
|
+
import '../../ScrollContainer.css';const c = "_container_1w7wy_2", i = {
|
|
4
4
|
container: c
|
|
5
5
|
}, d = ({
|
|
6
|
-
children:
|
|
7
|
-
maxHeight:
|
|
6
|
+
children: t,
|
|
7
|
+
maxHeight: s,
|
|
8
8
|
height: o,
|
|
9
9
|
className: a,
|
|
10
10
|
onScroll: n
|
|
11
|
-
}) => /* @__PURE__ */
|
|
11
|
+
}) => /* @__PURE__ */ e.jsx(
|
|
12
12
|
"div",
|
|
13
13
|
{
|
|
14
14
|
onScroll: n,
|
|
15
15
|
"data-testid": "scroll-container",
|
|
16
|
-
className:
|
|
17
|
-
style: { maxHeight:
|
|
18
|
-
children:
|
|
16
|
+
className: r(a, i.container),
|
|
17
|
+
style: { maxHeight: s, height: o },
|
|
18
|
+
children: t
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
export {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { j as i } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import { c
|
|
3
|
-
import '../../StatusTag.css';const
|
|
4
|
-
tag:
|
|
2
|
+
import { c } from "../../index-BHf7G3IG.js";
|
|
3
|
+
import '../../StatusTag.css';const e = "_tag_1i9wh_2", _ = "_success_1i9wh_2", n = "_failed_1i9wh_2", o = "_empty_1i9wh_2", g = "_waiting_1i9wh_2", s = {
|
|
4
|
+
tag: e,
|
|
5
5
|
success: _,
|
|
6
6
|
failed: n,
|
|
7
7
|
empty: o,
|
|
8
|
-
waiting:
|
|
9
|
-
},
|
|
8
|
+
waiting: g
|
|
9
|
+
}, m = ({ status: t, text: a }) => /* @__PURE__ */ i.jsx(
|
|
10
10
|
"div",
|
|
11
11
|
{
|
|
12
12
|
"data-testid": "status-tag",
|
|
13
|
-
className:
|
|
14
|
-
|
|
13
|
+
className: c(
|
|
14
|
+
s.tag,
|
|
15
15
|
{
|
|
16
|
-
[t
|
|
16
|
+
[s[t]]: t
|
|
17
17
|
}
|
|
18
18
|
),
|
|
19
19
|
children: a
|
|
20
20
|
}
|
|
21
|
-
);
|
|
21
|
+
), l = m;
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
l as default
|
|
24
24
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as r } from "../../jsx-runtime-BcAkpsdy.js";
|
|
2
|
-
import
|
|
2
|
+
import f, { useState as E, useEffect as R } from "react";
|
|
3
3
|
import { c as v } from "../../index-BHf7G3IG.js";
|
|
4
4
|
import y from "../Label/Label.js";
|
|
5
5
|
import L from "../ValidationError/ValidationError.js";
|
|
6
|
-
import '../../Textarea.css';const S = "
|
|
6
|
+
import '../../Textarea.css';const S = "_counter_irev4_2", T = "_container_irev4_2", V = "_fieldWrap_irev4_2", $ = "_control_irev4_2", k = "_light_irev4_2", q = "_error_irev4_2", D = "_disabled_irev4_2", e = {
|
|
7
7
|
counter: S,
|
|
8
8
|
container: T,
|
|
9
9
|
fieldWrap: V,
|
|
@@ -11,29 +11,29 @@ import '../../Textarea.css';const S = "_counter_rvifp_2", T = "_container_rvifp_
|
|
|
11
11
|
light: k,
|
|
12
12
|
error: q,
|
|
13
13
|
disabled: D,
|
|
14
|
-
"size-small": "_size-
|
|
15
|
-
}, G =
|
|
14
|
+
"size-small": "_size-small_irev4_2"
|
|
15
|
+
}, G = f.forwardRef(
|
|
16
16
|
(x, h) => {
|
|
17
17
|
const {
|
|
18
18
|
name: d,
|
|
19
19
|
id: g,
|
|
20
|
-
label:
|
|
21
|
-
isDisabled:
|
|
20
|
+
label: _,
|
|
21
|
+
isDisabled: m,
|
|
22
22
|
className: b,
|
|
23
23
|
wrapperClassName: j,
|
|
24
24
|
maxLength: a,
|
|
25
25
|
appearance: s,
|
|
26
26
|
value: o = "",
|
|
27
|
-
size:
|
|
28
|
-
onChange:
|
|
27
|
+
size: p,
|
|
28
|
+
onChange: u,
|
|
29
29
|
error: n,
|
|
30
30
|
readOnly: N,
|
|
31
31
|
required: C,
|
|
32
32
|
rows: z = 5,
|
|
33
33
|
...W
|
|
34
|
-
} = x, [i, l] = E(o), c = (t) => t.slice(0, a), w =
|
|
34
|
+
} = x, [i, l] = E(o), c = (t) => t.slice(0, a), w = f.useCallback(
|
|
35
35
|
(t) => {
|
|
36
|
-
l(c(t)),
|
|
36
|
+
l(c(t)), u && u(c(t));
|
|
37
37
|
},
|
|
38
38
|
[a, l]
|
|
39
39
|
);
|
|
@@ -48,15 +48,15 @@ import '../../Textarea.css';const S = "_counter_rvifp_2", T = "_container_rvifp_
|
|
|
48
48
|
{
|
|
49
49
|
[e[`${s}`]]: s,
|
|
50
50
|
[e.error]: n,
|
|
51
|
-
[e.disabled]:
|
|
51
|
+
[e.disabled]: m
|
|
52
52
|
},
|
|
53
53
|
"form-group",
|
|
54
54
|
j
|
|
55
55
|
),
|
|
56
56
|
children: [
|
|
57
57
|
/* @__PURE__ */ r.jsxs("div", { className: e.counter, children: [
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
_ && /* @__PURE__ */ r.jsxs(y, { name: d, appearance: s, children: [
|
|
59
|
+
_,
|
|
60
60
|
" ",
|
|
61
61
|
C && "*"
|
|
62
62
|
] }),
|
|
@@ -72,9 +72,9 @@ import '../../Textarea.css';const S = "_counter_rvifp_2", T = "_container_rvifp_
|
|
|
72
72
|
name: d,
|
|
73
73
|
id: g,
|
|
74
74
|
className: v(e.control, b, {
|
|
75
|
-
[e[`size-${
|
|
75
|
+
[e[`size-${p}`]]: p
|
|
76
76
|
}),
|
|
77
|
-
disabled:
|
|
77
|
+
disabled: m,
|
|
78
78
|
"data-testid": "textarea-input",
|
|
79
79
|
rows: z,
|
|
80
80
|
ref: h,
|
|
@@ -2,7 +2,7 @@ import { j as vt } from "../../jsx-runtime-BcAkpsdy.js";
|
|
|
2
2
|
import H from "react";
|
|
3
3
|
import { P as p } from "../../index-CB61CB0b.js";
|
|
4
4
|
import { Notification as Ye } from "../Notification/Notification.js";
|
|
5
|
-
import { a as qe } from "../../helper-
|
|
5
|
+
import { a as qe } from "../../helper-1SQ9SI45.js";
|
|
6
6
|
import { c as ht } from "../../index-BHf7G3IG.js";
|
|
7
7
|
import { AppearanceDirection as Je, NotificationAppearanceType as Ze } from "../../enums/appearance.js";
|
|
8
8
|
import { u as Qe } from "../../useTranslation-CnCPcxVj.js";
|