@cagatayfdn/flora-components 0.0.138 → 0.0.140
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/Accordion.css +1 -0
- package/dist/ActionButton.css +1 -0
- package/dist/AlertCard.css +1 -0
- package/dist/Autocomplete.css +1 -0
- package/dist/Button.css +1 -0
- package/dist/Card.css +1 -0
- package/dist/Checkbox.css +1 -0
- package/dist/Config.css +1 -0
- package/dist/Confirm.css +1 -0
- package/dist/ContentHeader.css +1 -0
- package/dist/Datepicker.css +1 -0
- package/dist/Divider.css +1 -0
- package/dist/DropdownList.css +1 -0
- package/dist/ErrorLogModal.css +1 -0
- package/dist/FileUpload.css +1 -0
- package/dist/FileUpload.module-BxCEtOHx.js +32 -0
- package/dist/Heading.css +1 -0
- package/dist/IconBox.css +1 -0
- package/dist/InfoBoxList.css +1 -0
- package/dist/InfoBoxList.module-BHkAHgos.js +8 -0
- package/dist/InfoDate.css +1 -0
- package/dist/InfoText.css +1 -0
- package/dist/Input.css +1 -0
- package/dist/Label.css +1 -0
- package/dist/Legends.css +1 -0
- package/dist/Loading.css +1 -0
- package/dist/MenuItem-Df6Zsa7E.js +53 -0
- package/dist/MenuItem.css +1 -0
- package/dist/Modal.css +1 -0
- package/dist/NoResult.css +1 -0
- package/dist/PageWrap.css +1 -0
- package/dist/Pager.css +1 -0
- package/dist/Panel.css +1 -0
- package/dist/Radio.css +1 -0
- package/dist/ResultError.css +1 -0
- package/dist/ScrollContainer.css +1 -0
- package/dist/Select-BE_y91ZN.js +1831 -0
- package/dist/Select.css +1 -0
- package/dist/Select.module-ByPQ6qr4.js +21 -0
- package/dist/StatusTag.css +1 -0
- package/dist/StatusTypography.css +1 -0
- package/dist/Stepper.css +1 -0
- package/dist/Switch.css +1 -0
- package/dist/Tab.css +1 -0
- package/dist/Table.css +1 -0
- package/dist/Table.module-DUqpZOLt.js +29 -0
- package/dist/Textarea.css +1 -0
- package/dist/Tooltip.css +1 -0
- package/dist/Trans-B4ILpbwK.js +343 -0
- package/dist/TypographyText.css +1 -0
- package/dist/ValidationError.css +1 -0
- package/dist/_commonjsHelpers-CT_km90n.js +30 -0
- package/dist/_isArray-CBUZFxFA.js +6 -0
- package/dist/_isString-BUpNGP_8.js +6 -0
- package/dist/_reduce-DsUCMz4O.js +148 -0
- package/dist/assets/icons/icons.js +70 -0
- package/dist/assets/images/500_error_2x.gif +0 -0
- package/dist/assets/images/oms.png +0 -0
- package/dist/components/Accordion/Accordion.js +60 -0
- package/dist/components/ActionButton/ActionButton.js +54 -0
- package/dist/components/AlertCard/AlertCard.js +29 -0
- package/dist/components/AuthUserCan/Permission.js +18 -0
- package/dist/components/AuthUserCan/index.js +23 -0
- package/dist/components/Autocomplete/Autocomplete.js +87 -0
- package/dist/components/Button/Button.js +87 -0
- package/dist/components/Card/Card.js +21 -0
- package/dist/components/Charts/Bar.js +18 -0
- package/dist/components/Charts/Legends.js +21 -0
- package/dist/components/Charts/Line.js +18 -0
- package/dist/components/Charts/Pie.js +43 -0
- package/dist/components/Charts/index.js +31 -0
- package/dist/components/Charts/types.js +1 -0
- package/dist/components/Charts/utils.js +12 -0
- package/dist/components/Checkbox/Checkbox.js +68 -0
- package/dist/components/Config/Config.js +32 -0
- package/dist/components/Confirm/Confirm.js +60 -0
- package/dist/components/ContentHeader/ContentHeader.js +75 -0
- package/dist/components/ContentLoader/ContentLoader.js +16 -0
- package/dist/components/Countdown/Countdown.js +20 -0
- package/dist/components/Datepicker/Datepicker.js +1478 -0
- package/dist/components/Divider/Divider.js +27 -0
- package/dist/components/Drawer/Provider.js +24 -0
- package/dist/components/Drawer/index.js +55 -0
- package/dist/components/Dropdown/DropdownList.js +90 -0
- package/dist/components/ErrorLogModal/ErrorLogModal.js +69 -0
- package/dist/components/FileUpload/FileUpload.js +237 -0
- package/dist/components/FileUpload/ImagePreview.js +19 -0
- package/dist/components/FileUpload/LengthCard.js +6 -0
- package/dist/components/FileUpload/PreviewModal.js +53 -0
- package/dist/components/Grid/Column.js +29 -0
- package/dist/components/Grid/Row.js +6 -0
- package/dist/components/Heading/Heading.js +22 -0
- package/dist/components/Icon/index.js +24 -0
- package/dist/components/IconBox/IconBox.js +13 -0
- package/dist/components/InfiniteScroll/InfiniteScroll.js +41 -0
- package/dist/components/InfoBoxList/InfoBoxList.js +30 -0
- package/dist/components/InfoBoxList/helper.js +83 -0
- package/dist/components/InfoDate/InfoDate.js +19 -0
- package/dist/components/InfoText/InfoText.js +13 -0
- package/dist/components/Input/Input.js +140 -0
- package/dist/components/Label/Label.js +22 -0
- package/dist/components/Loading/Loading.js +62 -0
- package/dist/components/Modal/Modal.js +74 -0
- package/dist/components/NavigatorCard/index.js +59 -0
- package/dist/components/NoResult/NoResult.js +12 -0
- package/dist/components/Notification/Notification.js +26 -0
- package/dist/components/PageWrapper/PageWrap.js +46 -0
- package/dist/components/Pager/Pager.js +103 -0
- package/dist/components/Panel/Panel.js +71 -0
- package/dist/components/PermaLink/PermaLink.js +387 -0
- package/dist/components/Radio/Radio.js +96 -0
- package/dist/components/ResultError/ResultError.js +20 -0
- package/dist/components/ScrollContainer/ScrollContainer.js +23 -0
- package/dist/components/Select/NoData.js +10 -0
- package/dist/components/Select/OptionItem.js +19 -0
- package/dist/components/Select/Select.js +13 -0
- package/dist/components/Sidebar/MenuItem.js +9 -0
- package/dist/components/Sidebar/index.js +137 -0
- package/dist/components/StatusTag/StatusTag.js +24 -0
- package/dist/components/StatusTypography/StatusTypography.js +51 -0
- package/dist/components/Stepper/Stepper.js +75 -0
- package/dist/components/Switch/Switch.js +84 -0
- package/dist/components/Tab/Tab.js +28 -0
- package/dist/components/Table/Table.js +271 -0
- package/dist/components/Table/TableHeader.js +137 -0
- package/dist/components/Table/TableSort.js +25 -0
- package/dist/components/Textarea/Textarea.js +95 -0
- package/dist/components/Tooltip/Tooltip.js +1548 -0
- package/dist/components/TypographyText/TypographyText.js +91 -0
- package/dist/components/ValidationError/ValidationError.js +7 -0
- package/dist/components/index.js +133 -0
- package/dist/defineProperty-DeKy1XT0.js +37 -0
- package/dist/enums/appearance.js +14 -0
- package/dist/enums/applicationTypeSlug.js +4 -0
- package/dist/enums/index.js +29 -0
- package/dist/enums/isActiveColor.js +4 -0
- package/dist/enums/size.js +4 -0
- package/dist/enums/status.js +11 -0
- package/dist/equals-PL9KqVQf.js +119 -0
- package/dist/flatpickr-CRz1AV0e.js +59 -0
- package/dist/helper-lFjvXQpv.js +1465 -0
- package/dist/hooks/index.js +15 -0
- package/dist/hooks/useAauth.js +40 -0
- package/dist/hooks/useDisclosure.js +14 -0
- package/dist/hooks/useDrawer.js +9 -0
- package/dist/hooks/useMediaQuery.js +21 -0
- package/dist/hooks/useNiceModal.js +13 -0
- package/dist/i18nInstance-CiCZbaCK.js +55 -0
- package/dist/includes-8YTFrx85.js +46 -0
- package/dist/index-9ZLCCecr.js +364 -0
- package/dist/index-BHf7G3IG.js +35 -0
- package/dist/index-BJU1K2Aw.js +8003 -0
- package/dist/index-CB61CB0b.js +669 -0
- package/dist/index-H7XbDVmH.js +320 -0
- package/dist/index.css +1 -0
- package/dist/index.d.mts +1478 -0
- package/dist/index.d.ts +1478 -0
- package/dist/index.js +203 -0
- package/dist/index2.css +1 -0
- package/dist/jsx-runtime-BcAkpsdy.js +631 -0
- package/dist/keys-B0bo5Q7o.js +67 -0
- package/dist/locales/en/index.js +615 -0
- package/dist/locales/i18n.js +1417 -0
- package/dist/locales/index.js +5 -0
- package/dist/locales/tr/index.js +615 -0
- package/dist/main.css +1 -0
- package/dist/main.js +57 -0
- package/dist/prodivers.css +6 -0
- package/dist/prodivers.js +13 -0
- package/dist/react-content-loader.es-CswLCxkm.js +90 -0
- package/dist/react-toastify.esm-BUWNP7Nm.js +808 -0
- package/dist/types/common/date.js +1 -0
- package/dist/types/common/events.js +1 -0
- package/dist/types/common/forms.js +1 -0
- package/dist/types/common/option.js +1 -0
- package/dist/types/index.js +1 -0
- package/dist/useTranslation-CnCPcxVj.js +142 -0
- package/dist/utils/date.js +413 -0
- package/dist/utils/flatpickr.js +4 -0
- package/dist/utils/helper.js +18 -0
- package/dist/utils/index.js +27 -0
- package/dist/utils/language.js +46 -0
- package/dist/utils/table.js +62 -0
- package/dist/utils/validation.js +27 -0
- package/dist/utils/yup.js +2921 -0
- package/package.json +1 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { createElement as t } from "react";
|
|
2
|
+
/*! *****************************************************************************
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
5
|
+
this file except in compliance with the License. You may obtain a copy of the
|
|
6
|
+
License at http://www.apache.org/licenses/LICENSE-2.0
|
|
7
|
+
|
|
8
|
+
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
9
|
+
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
|
|
10
|
+
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
|
|
11
|
+
MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
12
|
+
|
|
13
|
+
See the Apache Version 2.0 License for specific language governing permissions
|
|
14
|
+
and limitations under the License.
|
|
15
|
+
***************************************************************************** */
|
|
16
|
+
var a = function() {
|
|
17
|
+
return a = Object.assign || function(n) {
|
|
18
|
+
for (var i, r = 1, o = arguments.length; r < o; r++) {
|
|
19
|
+
i = arguments[r];
|
|
20
|
+
for (var d in i)
|
|
21
|
+
Object.prototype.hasOwnProperty.call(i, d) && (n[d] = i[d]);
|
|
22
|
+
}
|
|
23
|
+
return n;
|
|
24
|
+
}, a.apply(this, arguments);
|
|
25
|
+
};
|
|
26
|
+
function R(e, n) {
|
|
27
|
+
var i = {};
|
|
28
|
+
for (var r in e)
|
|
29
|
+
Object.prototype.hasOwnProperty.call(e, r) && n.indexOf(r) < 0 && (i[r] = e[r]);
|
|
30
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
31
|
+
for (var o = 0, r = Object.getOwnPropertySymbols(e); o < r.length; o++)
|
|
32
|
+
n.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (i[r[o]] = e[r[o]]);
|
|
33
|
+
return i;
|
|
34
|
+
}
|
|
35
|
+
var S = function() {
|
|
36
|
+
return Math.random().toString(36).substring(6);
|
|
37
|
+
}, h = function(e) {
|
|
38
|
+
var n = e.animate, i = e.backgroundColor, r = e.backgroundOpacity, o = e.baseUrl, d = e.children, m = e.foregroundColor, v = e.foregroundOpacity, l = e.gradientRatio, O = e.uniqueKey, C = e.interval, x = e.rtl, k = e.speed, w = e.style, s = e.title, P = R(e, ["animate", "backgroundColor", "backgroundOpacity", "baseUrl", "children", "foregroundColor", "foregroundOpacity", "gradientRatio", "uniqueKey", "interval", "rtl", "speed", "style", "title"]), u = O || S(), y = u + "-diff", p = u + "-animated-diff", g = u + "-aria", j = x ? { transform: "scaleX(-1)" } : null, c = "0; " + C + "; 1", f = k + "s";
|
|
39
|
+
return t(
|
|
40
|
+
"svg",
|
|
41
|
+
a({ "aria-labelledby": g, role: "img", style: a(a({}, w), j) }, P),
|
|
42
|
+
s ? t("title", { id: g }, s) : null,
|
|
43
|
+
t("rect", { role: "presentation", x: "0", y: "0", width: "100%", height: "100%", clipPath: "url(" + o + "#" + y + ")", style: { fill: "url(" + o + "#" + p + ")" } }),
|
|
44
|
+
t(
|
|
45
|
+
"defs",
|
|
46
|
+
{ role: "presentation" },
|
|
47
|
+
t("clipPath", { id: y }, d),
|
|
48
|
+
t(
|
|
49
|
+
"linearGradient",
|
|
50
|
+
{ id: p },
|
|
51
|
+
t("stop", { offset: "0%", stopColor: i, stopOpacity: r }, n && t("animate", { attributeName: "offset", values: -l + "; " + -l + "; 1", keyTimes: c, dur: f, repeatCount: "indefinite" })),
|
|
52
|
+
t("stop", { offset: "50%", stopColor: m, stopOpacity: v }, n && t("animate", { attributeName: "offset", values: -l / 2 + "; " + -l / 2 + "; " + (1 + l / 2), keyTimes: c, dur: f, repeatCount: "indefinite" })),
|
|
53
|
+
t("stop", { offset: "100%", stopColor: i, stopOpacity: r }, n && t("animate", { attributeName: "offset", values: "0; 0; " + (1 + l), keyTimes: c, dur: f, repeatCount: "indefinite" }))
|
|
54
|
+
)
|
|
55
|
+
)
|
|
56
|
+
);
|
|
57
|
+
};
|
|
58
|
+
h.defaultProps = {
|
|
59
|
+
animate: !0,
|
|
60
|
+
backgroundColor: "#f5f6f7",
|
|
61
|
+
backgroundOpacity: 1,
|
|
62
|
+
baseUrl: "",
|
|
63
|
+
foregroundColor: "#eee",
|
|
64
|
+
foregroundOpacity: 1,
|
|
65
|
+
gradientRatio: 2,
|
|
66
|
+
id: null,
|
|
67
|
+
interval: 0.25,
|
|
68
|
+
rtl: !1,
|
|
69
|
+
speed: 1.2,
|
|
70
|
+
style: {},
|
|
71
|
+
title: "Loading..."
|
|
72
|
+
};
|
|
73
|
+
var b = function(e) {
|
|
74
|
+
return e.children ? t(h, a({}, e)) : t(L, a({}, e));
|
|
75
|
+
}, L = function(e) {
|
|
76
|
+
return t(
|
|
77
|
+
b,
|
|
78
|
+
a({ viewBox: "0 0 476 124" }, e),
|
|
79
|
+
t("rect", { x: "48", y: "8", width: "88", height: "6", rx: "3" }),
|
|
80
|
+
t("rect", { x: "48", y: "26", width: "52", height: "6", rx: "3" }),
|
|
81
|
+
t("rect", { x: "0", y: "56", width: "410", height: "6", rx: "3" }),
|
|
82
|
+
t("rect", { x: "0", y: "72", width: "380", height: "6", rx: "3" }),
|
|
83
|
+
t("rect", { x: "0", y: "88", width: "178", height: "6", rx: "3" }),
|
|
84
|
+
t("circle", { cx: "20", cy: "20", r: "20" })
|
|
85
|
+
);
|
|
86
|
+
};
|
|
87
|
+
const U = b;
|
|
88
|
+
export {
|
|
89
|
+
U as C
|
|
90
|
+
};
|