@cagatayfdn/flora-components 0.0.71 → 0.0.73

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.
Files changed (179) hide show
  1. package/dist/Accordion.css +1 -0
  2. package/dist/ActionButton.css +1 -0
  3. package/dist/AlertCard.css +1 -0
  4. package/dist/Autocomplete.css +1 -0
  5. package/dist/Button.css +1 -0
  6. package/dist/Card.css +1 -0
  7. package/dist/Checkbox.css +1 -0
  8. package/dist/Config.css +1 -0
  9. package/dist/Confirm.css +1 -0
  10. package/dist/ContentHeader.css +1 -0
  11. package/dist/Datepicker.css +1 -0
  12. package/dist/Divider.css +1 -0
  13. package/dist/DropdownList.css +1 -0
  14. package/dist/ErrorLogModal.css +1 -0
  15. package/dist/FileUpload.css +1 -0
  16. package/dist/FileUpload.module-bCNvwTRa.js +32 -0
  17. package/dist/Heading.css +1 -0
  18. package/dist/InfoBoxList.css +1 -0
  19. package/dist/InfoBoxList.module-C6t2KDOB.js +8 -0
  20. package/dist/InfoDate.css +1 -0
  21. package/dist/InfoText.css +1 -0
  22. package/dist/Input.css +1 -0
  23. package/dist/Label.css +1 -0
  24. package/dist/Legends.css +1 -0
  25. package/dist/Loading.css +1 -0
  26. package/dist/MenuItem-BGZHvTKI.js +53 -0
  27. package/dist/MenuItem.css +1 -0
  28. package/dist/Modal.css +1 -0
  29. package/dist/NoResult.css +1 -0
  30. package/dist/PageWrap.css +1 -0
  31. package/dist/Pager.css +1 -0
  32. package/dist/Panel.css +1 -0
  33. package/dist/Radio.css +1 -0
  34. package/dist/ResultError.css +1 -0
  35. package/dist/ScrollContainer.css +1 -0
  36. package/dist/Select-DcLZCXNo.js +1831 -0
  37. package/dist/Select.css +1 -0
  38. package/dist/Select.module-BVWgPUEN.js +20 -0
  39. package/dist/StatusTypography.css +1 -0
  40. package/dist/Stepper.css +1 -0
  41. package/dist/Switch.css +1 -0
  42. package/dist/Tab.css +1 -0
  43. package/dist/TableHeader-B91BXue0.js +159 -0
  44. package/dist/TableHeader.css +1 -0
  45. package/dist/Textarea.css +1 -0
  46. package/dist/Tooltip.css +1 -0
  47. package/dist/Trans-B4ILpbwK.js +343 -0
  48. package/dist/TypographyText.css +1 -0
  49. package/dist/ValidationError.css +1 -0
  50. package/dist/_commonjsHelpers-CT_km90n.js +30 -0
  51. package/dist/_isArray-CBUZFxFA.js +6 -0
  52. package/dist/_isString-BUpNGP_8.js +6 -0
  53. package/dist/_reduce-DsUCMz4O.js +148 -0
  54. package/dist/assets/icons/icons.js +62 -0
  55. package/dist/assets/images/500_error_2x.gif +0 -0
  56. package/dist/assets/images/oms.png +0 -0
  57. package/dist/components/Accordion/Accordion.js +57 -0
  58. package/dist/components/ActionButton/ActionButton.js +54 -0
  59. package/dist/components/AlertCard/AlertCard.js +29 -0
  60. package/dist/components/AuthUserCan/Permission.js +18 -0
  61. package/dist/components/AuthUserCan/index.js +23 -0
  62. package/dist/components/Autocomplete/Autocomplete.js +87 -0
  63. package/dist/components/Button/Button.js +87 -0
  64. package/dist/components/Card/Card.js +21 -0
  65. package/dist/components/Charts/Bar.js +18 -0
  66. package/dist/components/Charts/Legends.js +21 -0
  67. package/dist/components/Charts/Line.js +18 -0
  68. package/dist/components/Charts/Pie.js +43 -0
  69. package/dist/components/Charts/index.js +31 -0
  70. package/dist/components/Charts/types.js +1 -0
  71. package/dist/components/Charts/utils.js +12 -0
  72. package/dist/components/Checkbox/Checkbox.js +119 -0
  73. package/dist/components/Config/Config.js +32 -0
  74. package/dist/components/Confirm/Confirm.js +52 -0
  75. package/dist/components/ContentHeader/ContentHeader.js +75 -0
  76. package/dist/components/ContentLoader/ContentLoader.js +16 -0
  77. package/dist/components/Countdown/Countdown.js +20 -0
  78. package/dist/components/Datepicker/Datepicker.js +1478 -0
  79. package/dist/components/Divider/Divider.js +26 -0
  80. package/dist/components/Dropdown/DropdownList.js +90 -0
  81. package/dist/components/ErrorLogModal/ErrorLogModal.js +63 -0
  82. package/dist/components/FileUpload/FileUpload.js +237 -0
  83. package/dist/components/FileUpload/ImagePreview.js +19 -0
  84. package/dist/components/FileUpload/LengthCard.js +6 -0
  85. package/dist/components/FileUpload/PreviewModal.js +53 -0
  86. package/dist/components/Grid/Column.js +29 -0
  87. package/dist/components/Grid/Row.js +6 -0
  88. package/dist/components/Heading/Heading.js +22 -0
  89. package/dist/components/Icon/index.js +24 -0
  90. package/dist/components/InfiniteScroll/InfiniteScroll.js +41 -0
  91. package/dist/components/InfoBoxList/InfoBoxList.js +30 -0
  92. package/dist/components/InfoBoxList/helper.js +83 -0
  93. package/dist/components/InfoDate/InfoDate.js +19 -0
  94. package/dist/components/InfoText/InfoText.js +13 -0
  95. package/dist/components/Input/Input.js +140 -0
  96. package/dist/components/Label/Label.js +22 -0
  97. package/dist/components/Loading/Loading.js +62 -0
  98. package/dist/components/Modal/Modal.js +57 -0
  99. package/dist/components/NavigatorCard/index.js +59 -0
  100. package/dist/components/NoResult/NoResult.js +12 -0
  101. package/dist/components/Notification/Notification.js +26 -0
  102. package/dist/components/PageWrapper/PageWrap.js +46 -0
  103. package/dist/components/Pager/Pager.js +103 -0
  104. package/dist/components/Panel/Panel.js +69 -0
  105. package/dist/components/PermaLink/PermaLink.js +34 -0
  106. package/dist/components/Radio/Radio.js +96 -0
  107. package/dist/components/ResultError/ResultError.js +20 -0
  108. package/dist/components/ScrollContainer/ScrollContainer.js +21 -0
  109. package/dist/components/Select/NoData.js +10 -0
  110. package/dist/components/Select/OptionItem.js +19 -0
  111. package/dist/components/Select/Select.js +13 -0
  112. package/dist/components/Sidebar/MenuItem.js +9 -0
  113. package/dist/components/Sidebar/index.js +137 -0
  114. package/dist/components/StatusTypography/StatusTypography.js +51 -0
  115. package/dist/components/Stepper/Stepper.js +72 -0
  116. package/dist/components/Switch/Switch.js +79 -0
  117. package/dist/components/Tab/Tab.js +28 -0
  118. package/dist/components/Table/Table.js +201 -0
  119. package/dist/components/Table/TableHeader.js +14 -0
  120. package/dist/components/Textarea/Textarea.js +95 -0
  121. package/dist/components/Tooltip/Tooltip.js +1548 -0
  122. package/dist/components/TypographyText/TypographyText.js +87 -0
  123. package/dist/components/ValidationError/ValidationError.js +7 -0
  124. package/dist/components/index.js +125 -0
  125. package/dist/defineProperty-DeKy1XT0.js +37 -0
  126. package/dist/enums/appearance.js +14 -0
  127. package/dist/enums/applicationTypeSlug.js +4 -0
  128. package/dist/enums/index.js +27 -0
  129. package/dist/enums/isActiveColor.js +4 -0
  130. package/dist/enums/size.js +4 -0
  131. package/dist/enums/status.js +9 -0
  132. package/dist/equals-PL9KqVQf.js +119 -0
  133. package/dist/flatpickr-CRz1AV0e.js +59 -0
  134. package/dist/hooks/index.js +9 -0
  135. package/dist/hooks/useAauth.js +40 -0
  136. package/dist/hooks/useDisclosure.js +14 -0
  137. package/dist/hooks/useNiceModal.js +13 -0
  138. package/dist/i18nInstance-CiCZbaCK.js +55 -0
  139. package/dist/includes-8YTFrx85.js +46 -0
  140. package/dist/index-BHf7G3IG.js +35 -0
  141. package/dist/index-BJU1K2Aw.js +8003 -0
  142. package/dist/index-C9yacAGx.js +359 -0
  143. package/dist/index-CB61CB0b.js +669 -0
  144. package/dist/index-H7XbDVmH.js +320 -0
  145. package/dist/index-a0GSBrWt.js +364 -0
  146. package/dist/index.css +1 -0
  147. package/dist/index.d.ts +2 -0
  148. package/dist/index.js +181 -0
  149. package/dist/jsx-runtime-BcAkpsdy.js +631 -0
  150. package/dist/keys-B0bo5Q7o.js +67 -0
  151. package/dist/locales/en/index.js +613 -0
  152. package/dist/locales/i18n.js +1417 -0
  153. package/dist/locales/index.js +5 -0
  154. package/dist/locales/tr/index.js +613 -0
  155. package/dist/prodivers.css +6 -0
  156. package/dist/prodivers.js +12 -0
  157. package/dist/react-content-loader.es-CswLCxkm.js +90 -0
  158. package/dist/react-toastify.esm-BUWNP7Nm.js +808 -0
  159. package/dist/types/common/date.js +1 -0
  160. package/dist/types/common/events.js +1 -0
  161. package/dist/types/common/forms.js +1 -0
  162. package/dist/types/common/option.js +1 -0
  163. package/dist/types/index.js +1 -0
  164. package/dist/useTranslation-CnCPcxVj.js +142 -0
  165. package/dist/utils/date.js +413 -0
  166. package/dist/utils/flatpickr.js +4 -0
  167. package/dist/utils/helper.js +1463 -0
  168. package/dist/utils/index.js +21 -0
  169. package/dist/utils/language.js +46 -0
  170. package/dist/utils/validation.js +27 -0
  171. package/dist/utils/yup.js +2921 -0
  172. package/package.json +8 -2
  173. package/dist/index.cjs.js +0 -295
  174. package/dist/index.cjs.js.map +0 -1
  175. package/dist/index.es.js +0 -25008
  176. package/dist/index.es.js.map +0 -1
  177. package/dist/index.umd.js +0 -295
  178. package/dist/index.umd.js.map +0 -1
  179. package/dist/style.css +0 -1
@@ -0,0 +1,87 @@
1
+ import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
2
+ import { useState as b, useRef as j } from "react";
3
+ import f from "../Icon/index.js";
4
+ import { Notification as k } from "../Notification/Notification.js";
5
+ import C from "../Tooltip/Tooltip.js";
6
+ import { c as a } from "../../index-BHf7G3IG.js";
7
+ import { Icons as _ } from "../../assets/icons/icons.js";
8
+ import { NotificationAppearanceType as N, AppearanceDirection as I } from "../../enums/appearance.js";
9
+ import { u as P } from "../../useTranslation-CnCPcxVj.js";
10
+ import '../../TypographyText.css';const S = "_typography_1wwcb_1", $ = "_ellipsis_1wwcb_6", A = "_success_1wwcb_12", E = "_copy_1wwcb_17", R = "_checkCopy_1wwcb_21", v = "_code_1wwcb_25", e = {
11
+ typography: S,
12
+ ellipsis: $,
13
+ success: A,
14
+ copy: E,
15
+ checkCopy: R,
16
+ code: v
17
+ }, J = (h) => {
18
+ const {
19
+ children: t,
20
+ copyable: n,
21
+ notificationProps: w,
22
+ className: x,
23
+ ellipsis: r,
24
+ id: c,
25
+ appearance: l,
26
+ href: m,
27
+ tooltipContent: y
28
+ } = h, [s, d] = b(!1), u = j(null), { t: T } = P(), p = w || {
29
+ type: N.SUCCESS,
30
+ message: T("text.copied"),
31
+ closeTime: 3e3
32
+ }, g = (i) => {
33
+ s || (navigator.clipboard.writeText(i), d(!0), k({
34
+ type: p.type,
35
+ message: p.message,
36
+ closeTime: p.closeTime
37
+ })), setTimeout(() => d(!1), 1e3);
38
+ };
39
+ return /* @__PURE__ */ o.jsxs(
40
+ "p",
41
+ {
42
+ "data-testid": "typographytext",
43
+ ref: u,
44
+ className: a(x, e.typography, {
45
+ [e.copy]: n,
46
+ [e[`${l}`]]: l
47
+ }),
48
+ onClick: () => m && window.open(m, "_blank"),
49
+ children: [
50
+ y ? /* @__PURE__ */ o.jsx(
51
+ C,
52
+ {
53
+ id: `tooltipContent${c}`,
54
+ tooltipContent: y,
55
+ ellipsis: r,
56
+ children: t
57
+ }
58
+ ) : /* @__PURE__ */ o.jsx("span", { className: a({ [e.ellipsis]: r }), children: t }),
59
+ n && /* @__PURE__ */ o.jsx(
60
+ C,
61
+ {
62
+ id: `copyId${c}`,
63
+ className: "width90",
64
+ direction: I.TOP,
65
+ tooltipContent: s ? "Copied" : "Copy",
66
+ children: /* @__PURE__ */ o.jsx(
67
+ "span",
68
+ {
69
+ className: a(e.copy, {
70
+ [e.checkCopy]: s
71
+ }),
72
+ onClick: (i) => {
73
+ i.stopPropagation(), g(t);
74
+ },
75
+ children: s ? /* @__PURE__ */ o.jsx(f, { name: _.Check }) : /* @__PURE__ */ o.jsx(f, { name: _.Copy })
76
+ }
77
+ )
78
+ }
79
+ )
80
+ ]
81
+ },
82
+ c
83
+ );
84
+ };
85
+ export {
86
+ J as default
87
+ };
@@ -0,0 +1,7 @@
1
+ import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
2
+ import '../../ValidationError.css';const a = "_message_byr9z_1", t = {
3
+ message: a
4
+ }, o = ({ message: s }) => /* @__PURE__ */ e.jsx("span", { "data-testid": "validationerror", className: t.message, children: s });
5
+ export {
6
+ o as default
7
+ };
@@ -0,0 +1,125 @@
1
+ import { default as r } from "./Button/Button.js";
2
+ import { N as a } from "../index-H7XbDVmH.js";
3
+ import { PermFallBack as l, getAuth as d } from "./AuthUserCan/index.js";
4
+ import { Accordion as m, AccordionItem as x } from "./Accordion/Accordion.js";
5
+ import { default as u } from "./ActionButton/ActionButton.js";
6
+ import { default as n } from "./AlertCard/AlertCard.js";
7
+ import { default as C } from "./AuthUserCan/Permission.js";
8
+ import { default as T } from "./Autocomplete/Autocomplete.js";
9
+ import { default as S } from "./Card/Card.js";
10
+ import { default as P } from "./Charts/index.js";
11
+ import { default as b } from "./Checkbox/Checkbox.js";
12
+ import { default as A } from "./Config/Config.js";
13
+ import { default as v } from "./Confirm/Confirm.js";
14
+ import { default as F } from "./ContentHeader/ContentHeader.js";
15
+ import { default as R } from "./ContentLoader/ContentLoader.js";
16
+ import { default as y } from "./Countdown/Countdown.js";
17
+ import { default as U } from "./Datepicker/Datepicker.js";
18
+ import { default as E } from "./Divider/Divider.js";
19
+ import { default as W } from "./Dropdown/DropdownList.js";
20
+ import { default as q } from "./FileUpload/FileUpload.js";
21
+ import { default as G } from "./FileUpload/ImagePreview.js";
22
+ import { default as K } from "./FileUpload/LengthCard.js";
23
+ import { default as Q } from "./FileUpload/PreviewModal.js";
24
+ import { default as Y } from "./Grid/Column.js";
25
+ import { default as _ } from "./Grid/Row.js";
26
+ import { default as oo } from "./Heading/Heading.js";
27
+ import { default as ro } from "./Icon/index.js";
28
+ import { default as ao } from "./InfiniteScroll/InfiniteScroll.js";
29
+ import { default as lo } from "./InfoBoxList/InfoBoxList.js";
30
+ import { createConnectedService as mo } from "./InfoBoxList/helper.js";
31
+ import { default as so } from "./InfoDate/InfoDate.js";
32
+ import { InfoText as io } from "./InfoText/InfoText.js";
33
+ import { default as co } from "./Input/Input.js";
34
+ import { default as go } from "./Label/Label.js";
35
+ import { default as Io } from "./Loading/Loading.js";
36
+ import { default as Lo } from "./Modal/Modal.js";
37
+ import { default as ho } from "./NavigatorCard/index.js";
38
+ import { default as wo } from "./NoResult/NoResult.js";
39
+ import { Notification as No } from "./Notification/Notification.js";
40
+ import { default as Do } from "./PageWrapper/PageWrap.js";
41
+ import { default as Mo } from "./Pager/Pager.js";
42
+ import { default as ko } from "./Panel/Panel.js";
43
+ import { default as Bo } from "./PermaLink/PermaLink.js";
44
+ import { default as Ho, RadioList as Eo } from "./Radio/Radio.js";
45
+ import { default as Wo } from "./ResultError/ResultError.js";
46
+ import { default as qo } from "./ScrollContainer/ScrollContainer.js";
47
+ import { default as Go } from "./Select/NoData.js";
48
+ import { S as Ko } from "../Select-DcLZCXNo.js";
49
+ import { default as Qo } from "./Sidebar/index.js";
50
+ import { M as Yo } from "../MenuItem-BGZHvTKI.js";
51
+ import { default as _o } from "./StatusTypography/StatusTypography.js";
52
+ import { default as oe } from "./Stepper/Stepper.js";
53
+ import { default as re } from "./Switch/Switch.js";
54
+ import { default as ae } from "./Tab/Tab.js";
55
+ import { default as le } from "./Table/Table.js";
56
+ import { T as pe } from "../TableHeader-B91BXue0.js";
57
+ import { default as xe } from "./Textarea/Textarea.js";
58
+ import { default as ue } from "./Tooltip/Tooltip.js";
59
+ import { default as ne } from "./TypographyText/TypographyText.js";
60
+ import { default as Ce } from "./ValidationError/ValidationError.js";
61
+ export {
62
+ m as Accordion,
63
+ x as AccordionItem,
64
+ u as ActionButton,
65
+ n as AlertCard,
66
+ T as Autocomplete,
67
+ r as Button,
68
+ S as Card,
69
+ P as Chart,
70
+ b as Checkbox,
71
+ Y as Column,
72
+ A as Config,
73
+ v as Confirm,
74
+ F as ContentHeader,
75
+ R as ContentLoader,
76
+ y as Countdown,
77
+ U as Datepicker,
78
+ E as Divider,
79
+ W as DropdownList,
80
+ q as FileUpload,
81
+ G as FileUploadImagePreview,
82
+ K as FileUploadLengthCard,
83
+ Q as FileUploadPreviewModal,
84
+ oo as Heading,
85
+ ro as Icon,
86
+ ao as InfiniteScroll,
87
+ lo as InfoBoxList,
88
+ so as InfoDate,
89
+ io as InfoText,
90
+ co as Input,
91
+ go as Label,
92
+ Io as Loading,
93
+ Yo as MenuItem,
94
+ Lo as Modal,
95
+ ho as NavigatorCard,
96
+ a as NiceModal,
97
+ Go as NoData,
98
+ wo as NoResult,
99
+ No as Notification,
100
+ Do as PageWrapper,
101
+ Mo as Pager,
102
+ ko as Panel,
103
+ l as PermFallBack,
104
+ Bo as PermaLink,
105
+ C as Permission,
106
+ Ho as Radio,
107
+ Eo as RadioList,
108
+ Wo as ResultError,
109
+ _ as Row,
110
+ qo as ScrollContainer,
111
+ Ko as Select,
112
+ Qo as Sidebar,
113
+ _o as StatusTypography,
114
+ oe as Stepper,
115
+ re as Switch,
116
+ ae as Tab,
117
+ le as Table,
118
+ pe as TableHeader,
119
+ xe as Textarea,
120
+ ue as Tooltip,
121
+ ne as TypographyText,
122
+ Ce as ValidationError,
123
+ mo as createConnectedService,
124
+ d as getAuth
125
+ };
@@ -0,0 +1,37 @@
1
+ function o(t) {
2
+ "@babel/helpers - typeof";
3
+ return o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
4
+ return typeof r;
5
+ } : function(r) {
6
+ return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
7
+ }, o(t);
8
+ }
9
+ function i(t, r) {
10
+ if (o(t) != "object" || !t)
11
+ return t;
12
+ var e = t[Symbol.toPrimitive];
13
+ if (e !== void 0) {
14
+ var n = e.call(t, r || "default");
15
+ if (o(n) != "object")
16
+ return n;
17
+ throw new TypeError("@@toPrimitive must return a primitive value.");
18
+ }
19
+ return (r === "string" ? String : Number)(t);
20
+ }
21
+ function u(t) {
22
+ var r = i(t, "string");
23
+ return o(r) == "symbol" ? r : r + "";
24
+ }
25
+ function f(t, r, e) {
26
+ return r = u(r), r in t ? Object.defineProperty(t, r, {
27
+ value: e,
28
+ enumerable: !0,
29
+ configurable: !0,
30
+ writable: !0
31
+ }) : t[r] = e, t;
32
+ }
33
+ export {
34
+ f as _,
35
+ o as a,
36
+ u as t
37
+ };
@@ -0,0 +1,14 @@
1
+ var E = /* @__PURE__ */ ((I) => (I.DEFAULT = "default", I.SUCCESS = "success", I))(E || {}), L = /* @__PURE__ */ ((I) => (I.ADDONS_INITIALIZING = "addons_initializing", I.ADDONS_ADDONS_INITILIZATION_FAILED = "addons_initialization_failed", I.DEPLOYING = "deploying", I.FAILED = "failed", I.DEPLOYED = "deployed", I.INITIALIZING = "initializing", I.INITIALIZING_FAILED = "initialization_failed", I.QUEUEING = "queueing", I.QUEUED = "queued", I))(L || {}), N = /* @__PURE__ */ ((I) => (I.INFO = "info", I.SUCCESS = "success", I.ERROR = "error", I.WARNING = "warning", I.LOADING = "loading", I))(N || {}), D = /* @__PURE__ */ ((I) => (I.LIGHT = "light", I.DARK = "dark", I.LIGHT_FULL = "light_full", I.DARK_FULL = "darkFull", I))(D || {}), R = /* @__PURE__ */ ((I) => (I.LIGHT = "light", I.DARK = "dark", I.MORE_DARK = "more_dark", I))(R || {}), l = /* @__PURE__ */ ((I) => (I.LIGHT = "light", I.DARK = "dark", I.DARK_BLUE = "dark_blue", I))(l || {}), G = /* @__PURE__ */ ((I) => (I.LIGHT = "light", I.GREY = "grey", I))(G || {}), g = /* @__PURE__ */ ((I) => (I.LINK = "link", I.DEFAULT = "default", I.PRIMARY = "primary", I.DANGER = "danger", I.SUCCESS = "success", I.WARNING = "warning", I.DARK = "dark", I))(g || {}), _ = /* @__PURE__ */ ((I) => (I.TOP = "top", I.RIGHT = "right", I.BOTTOM = "bottom", I.LEFT = "left", I))(_ || {}), O = /* @__PURE__ */ ((I) => (I.DANGER = "danger", I.SUCCESS = "success", I.WARNING = "warning", I))(O || {}), U = /* @__PURE__ */ ((I) => (I.DANGER = "danger", I.WARNING = "warning", I))(U || {});
2
+ export {
3
+ L as AppAndServicesStatusApperenceType,
4
+ U as AppearanceAlertCard,
5
+ g as AppearanceButton,
6
+ _ as AppearanceDirection,
7
+ D as AppearanceSpinner,
8
+ O as AppearanceTag,
9
+ G as DividerAppearance,
10
+ R as FormFieldAppearance,
11
+ E as ModalAppearanceType,
12
+ N as NotificationAppearanceType,
13
+ l as ThemeAppearance
14
+ };
@@ -0,0 +1,4 @@
1
+ var N = /* @__PURE__ */ ((E) => (E.COMMERCE = "commerce", E.ZERO = "zero", E.DEMO_AKINON_ZERO = "demo-akinon-zero", E.INSTORE = "instore", E.SALES_CHANNEL = "sales-channel", E.BI_TOOL = "bi-tool", E.OMNITRON_FRONTEND = "omnitron-frontend", E.OMS = "oms", E.EXTENSION = "extension", E.SELLER_CENTER_FRONTEND = "seller_center_fe", E.SELLER_CENTER_BACKEND = "seller_center_be", E.OMNITRON = "omnitron", E))(N || {});
2
+ export {
3
+ N as ApplicationTypeSlug
4
+ };
@@ -0,0 +1,27 @@
1
+ import { AppAndServicesStatusApperenceType as a, AppearanceAlertCard as r, AppearanceButton as t, AppearanceDirection as n, AppearanceSpinner as o, AppearanceTag as A, DividerAppearance as c, FormFieldAppearance as i, ModalAppearanceType as u, NotificationAppearanceType as m, ThemeAppearance as S } from "./appearance.js";
2
+ import { ApplicationTypeSlug as s } from "./applicationTypeSlug.js";
3
+ import { isActiveColor as d } from "./isActiveColor.js";
4
+ import { Size as l } from "./size.js";
5
+ import { AppTypeEnum as E, CopyTextStatusEnum as v, PodStatusEnum as C, ReportStatus as g, StatusEnum as D, StatusType as F } from "./status.js";
6
+ export {
7
+ a as AppAndServicesStatusApperenceType,
8
+ E as AppTypeEnum,
9
+ r as AppearanceAlertCard,
10
+ t as AppearanceButton,
11
+ n as AppearanceDirection,
12
+ o as AppearanceSpinner,
13
+ A as AppearanceTag,
14
+ s as ApplicationTypeSlug,
15
+ v as CopyTextStatusEnum,
16
+ c as DividerAppearance,
17
+ i as FormFieldAppearance,
18
+ u as ModalAppearanceType,
19
+ m as NotificationAppearanceType,
20
+ C as PodStatusEnum,
21
+ g as ReportStatus,
22
+ l as Size,
23
+ D as StatusEnum,
24
+ F as StatusType,
25
+ S as ThemeAppearance,
26
+ d as isActiveColor
27
+ };
@@ -0,0 +1,4 @@
1
+ var f = /* @__PURE__ */ ((e) => (e.inActive = "#4482ff", e.active = "#3f4b5c", e))(f || {});
2
+ export {
3
+ f as isActiveColor
4
+ };
@@ -0,0 +1,4 @@
1
+ var r = /* @__PURE__ */ ((l) => (l.XS = "xsmall", l.SM = "small", l.MD = "normal", l.LG = "large", l.XL = "xlarge", l))(r || {});
2
+ export {
3
+ r as Size
4
+ };
@@ -0,0 +1,9 @@
1
+ var e = /* @__PURE__ */ ((i) => (i.IDLE = "idle", i.PENDING = "pending", i.FULFILLED = "fulfilled", i.REJECTED = "rejected", i))(e || {}), n = /* @__PURE__ */ ((i) => (i.SUCCESS = "success", i.ERROR = "error", i))(n || {}), d = /* @__PURE__ */ ((i) => (i.SERVICE = "service", i.APPLICATION = "application", i))(d || {}), r = /* @__PURE__ */ ((i) => (i.PENDING = "pending", i.FAILED = "failed", i.IN_PROGRESS = "analyzing", i.SUCCESS = "completed", i))(r || {}), l = /* @__PURE__ */ ((i) => (i.addons_initializing = "initializing", i.addons_initialization_failed = "failed", i.deploying = "warning", i.failed = "failed", i.deployed = "success", i.completed = "success", i.initializing = "initializing", i.initialization_failed = "failed", i.queueing = "warning", i.queued = "queued", i.pending = "pending", i))(l || {}), g = /* @__PURE__ */ ((i) => (i.TERMINATED = "Terminated", i.TERMINATING = "Terminating", i.FAILED = "Failed", i.PENDING = "Pending", i.RUNNING = "Running", i.SUCCEEDED = "Succeeded", i.EVICTED = "Evicted", i))(g || {});
2
+ export {
3
+ d as AppTypeEnum,
4
+ n as CopyTextStatusEnum,
5
+ g as PodStatusEnum,
6
+ r as ReportStatus,
7
+ l as StatusEnum,
8
+ e as StatusType
9
+ };
@@ -0,0 +1,119 @@
1
+ import { b as m, k as y, c as q, _ as h } from "./keys-B0bo5Q7o.js";
2
+ var p = /* @__PURE__ */ m(function(e) {
3
+ return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
4
+ });
5
+ function d(r) {
6
+ for (var e = [], n; !(n = r.next()).done; )
7
+ e.push(n.value);
8
+ return e;
9
+ }
10
+ function v(r, e, n) {
11
+ for (var t = 0, u = n.length; t < u; ) {
12
+ if (r(e, n[t]))
13
+ return !0;
14
+ t += 1;
15
+ }
16
+ return !1;
17
+ }
18
+ function A(r) {
19
+ var e = String(r).match(/^function (\w*)/);
20
+ return e == null ? "" : e[1];
21
+ }
22
+ function _(r, e) {
23
+ return r === e ? r !== 0 || 1 / r === 1 / e : r !== r && e !== e;
24
+ }
25
+ const f = typeof Object.is == "function" ? Object.is : _;
26
+ function g(r, e, n, t) {
27
+ var u = d(r), a = d(e);
28
+ function s(c, i) {
29
+ return o(c, i, n.slice(), t.slice());
30
+ }
31
+ return !v(function(c, i) {
32
+ return !v(s, i, c);
33
+ }, a, u);
34
+ }
35
+ function o(r, e, n, t) {
36
+ if (f(r, e))
37
+ return !0;
38
+ var u = p(r);
39
+ if (u !== p(e) || r == null || e == null)
40
+ return !1;
41
+ if (typeof r["fantasy-land/equals"] == "function" || typeof e["fantasy-land/equals"] == "function")
42
+ return typeof r["fantasy-land/equals"] == "function" && r["fantasy-land/equals"](e) && typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](r);
43
+ if (typeof r.equals == "function" || typeof e.equals == "function")
44
+ return typeof r.equals == "function" && r.equals(e) && typeof e.equals == "function" && e.equals(r);
45
+ switch (u) {
46
+ case "Arguments":
47
+ case "Array":
48
+ case "Object":
49
+ if (typeof r.constructor == "function" && A(r.constructor) === "Promise")
50
+ return r === e;
51
+ break;
52
+ case "Boolean":
53
+ case "Number":
54
+ case "String":
55
+ if (!(typeof r == typeof e && f(r.valueOf(), e.valueOf())))
56
+ return !1;
57
+ break;
58
+ case "Date":
59
+ if (!f(r.valueOf(), e.valueOf()))
60
+ return !1;
61
+ break;
62
+ case "Error":
63
+ return r.name === e.name && r.message === e.message;
64
+ case "RegExp":
65
+ if (!(r.source === e.source && r.global === e.global && r.ignoreCase === e.ignoreCase && r.multiline === e.multiline && r.sticky === e.sticky && r.unicode === e.unicode))
66
+ return !1;
67
+ break;
68
+ }
69
+ for (var a = n.length - 1; a >= 0; ) {
70
+ if (n[a] === r)
71
+ return t[a] === e;
72
+ a -= 1;
73
+ }
74
+ switch (u) {
75
+ case "Map":
76
+ return r.size !== e.size ? !1 : g(r.entries(), e.entries(), n.concat([r]), t.concat([e]));
77
+ case "Set":
78
+ return r.size !== e.size ? !1 : g(r.values(), e.values(), n.concat([r]), t.concat([e]));
79
+ case "Arguments":
80
+ case "Array":
81
+ case "Object":
82
+ case "Boolean":
83
+ case "Number":
84
+ case "String":
85
+ case "Date":
86
+ case "Error":
87
+ case "RegExp":
88
+ case "Int8Array":
89
+ case "Uint8Array":
90
+ case "Uint8ClampedArray":
91
+ case "Int16Array":
92
+ case "Uint16Array":
93
+ case "Int32Array":
94
+ case "Uint32Array":
95
+ case "Float32Array":
96
+ case "Float64Array":
97
+ case "ArrayBuffer":
98
+ break;
99
+ default:
100
+ return !1;
101
+ }
102
+ var s = y(r);
103
+ if (s.length !== y(e).length)
104
+ return !1;
105
+ var c = n.concat([r]), i = t.concat([e]);
106
+ for (a = s.length - 1; a >= 0; ) {
107
+ var l = s[a];
108
+ if (!(q(l, e) && o(e[l], r[l], c, i)))
109
+ return !1;
110
+ a -= 1;
111
+ }
112
+ return !0;
113
+ }
114
+ var O = /* @__PURE__ */ h(function(e, n) {
115
+ return o(e, n, [], []);
116
+ });
117
+ export {
118
+ O as e
119
+ };
@@ -0,0 +1,59 @@
1
+ const a = {
2
+ weekdays: {
3
+ shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
4
+ longhand: [
5
+ "Pazar",
6
+ "Pazartesi",
7
+ "Salı",
8
+ "Çarşamba",
9
+ "Perşembe",
10
+ "Cuma",
11
+ "Cumartesi"
12
+ ]
13
+ },
14
+ months: {
15
+ shorthand: [
16
+ "Oca",
17
+ "Şub",
18
+ "Mar",
19
+ "Nis",
20
+ "May",
21
+ "Haz",
22
+ "Tem",
23
+ "Ağu",
24
+ "Eyl",
25
+ "Eki",
26
+ "Kas",
27
+ "Ara"
28
+ ],
29
+ longhand: [
30
+ "Ocak",
31
+ "Şubat",
32
+ "Mart",
33
+ "Nisan",
34
+ "Mayıs",
35
+ "Haziran",
36
+ "Temmuz",
37
+ "Ağustos",
38
+ "Eylül",
39
+ "Ekim",
40
+ "Kasım",
41
+ "Aralık"
42
+ ]
43
+ },
44
+ firstDayOfWeek: 1,
45
+ ordinal: () => ".",
46
+ rangeSeparator: " - ",
47
+ weekAbbreviation: "Hf",
48
+ scrollTitle: "Artırmak için kaydırın",
49
+ toggleTitle: "Aç/Kapa",
50
+ amPM: ["ÖÖ", "ÖS"],
51
+ time_24hr: !0
52
+ }, e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
53
+ __proto__: null,
54
+ tr: a
55
+ }, Symbol.toStringTag, { value: "Module" }));
56
+ export {
57
+ e as D,
58
+ a as t
59
+ };
@@ -0,0 +1,9 @@
1
+ import { AuthProvider as r, useAuth as u } from "./useAauth.js";
2
+ import { default as t } from "./useDisclosure.js";
3
+ import { default as f } from "./useNiceModal.js";
4
+ export {
5
+ r as AuthProvider,
6
+ u as useAuth,
7
+ t as useDisclosure,
8
+ f as useNiceModal
9
+ };
@@ -0,0 +1,40 @@
1
+ import { j as n } from "../jsx-runtime-BcAkpsdy.js";
2
+ import { createContext as o, useReducer as i, useContext as a } from "react";
3
+ const s = {
4
+ user: null,
5
+ status: "pending",
6
+ error: null
7
+ }, r = o(null);
8
+ r.displayName = "AuthContext";
9
+ function c(e, t) {
10
+ switch (t.type) {
11
+ case "login_pending":
12
+ case "register_pending":
13
+ return { ...e, status: "pending" };
14
+ case "active_user_success":
15
+ return { ...e, user: t.payload, status: "success" };
16
+ case "login_failure":
17
+ case "register_failure":
18
+ case "active_user_failure":
19
+ return { ...e, status: "rejected", error: t.payload };
20
+ case "no_active_user":
21
+ return { ...e, status: "idle" };
22
+ case "signout":
23
+ return s;
24
+ default:
25
+ throw new Error();
26
+ }
27
+ }
28
+ const p = (e) => {
29
+ const [t, u] = i(c, s);
30
+ return /* @__PURE__ */ n.jsx(r.Provider, { value: [{ ...t }, u], ...e });
31
+ }, h = () => {
32
+ const e = a(r);
33
+ if (!e)
34
+ throw new Error("useAuth must be used within a AuthProvider");
35
+ return e;
36
+ };
37
+ export {
38
+ p as AuthProvider,
39
+ h as useAuth
40
+ };
@@ -0,0 +1,14 @@
1
+ import { useState as r, useCallback as s } from "react";
2
+ function p(o) {
3
+ const [n, e] = r(!!o), t = s(() => {
4
+ e(!0);
5
+ }, []), u = s(() => {
6
+ e(!1);
7
+ }, []), c = s(() => {
8
+ e((l) => !l);
9
+ }, []);
10
+ return { isOpen: n, setIsOpen: e, onOpen: t, onClose: u, onToggle: c };
11
+ }
12
+ export {
13
+ p as default
14
+ };
@@ -0,0 +1,13 @@
1
+ import { useId as a } from "react";
2
+ import { u as i, N as t } from "../index-H7XbDVmH.js";
3
+ function r(s) {
4
+ const e = a(), o = s || e, d = i(o);
5
+ return [() => {
6
+ d.show({ id: o });
7
+ }, () => {
8
+ t.remove(o);
9
+ }, d.id];
10
+ }
11
+ export {
12
+ r as default
13
+ };
@@ -0,0 +1,55 @@
1
+ const s = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, a = {
2
+ "&amp;": "&",
3
+ "&#38;": "&",
4
+ "&lt;": "<",
5
+ "&#60;": "<",
6
+ "&gt;": ">",
7
+ "&#62;": ">",
8
+ "&apos;": "'",
9
+ "&#39;": "'",
10
+ "&quot;": '"',
11
+ "&#34;": '"',
12
+ "&nbsp;": " ",
13
+ "&#160;": " ",
14
+ "&copy;": "©",
15
+ "&#169;": "©",
16
+ "&reg;": "®",
17
+ "&#174;": "®",
18
+ "&hellip;": "…",
19
+ "&#8230;": "…",
20
+ "&#x2F;": "/",
21
+ "&#47;": "/"
22
+ }, o = (t) => a[t], u = (t) => t.replace(s, o);
23
+ let e = {
24
+ bindI18n: "languageChanged",
25
+ bindI18nStore: "",
26
+ transEmptyNodeValue: "",
27
+ transSupportBasicHtmlNodes: !0,
28
+ transWrapTextNodes: "",
29
+ transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
30
+ useSuspense: !0,
31
+ unescape: u
32
+ };
33
+ function p() {
34
+ let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
35
+ e = {
36
+ ...e,
37
+ ...t
38
+ };
39
+ }
40
+ function r() {
41
+ return e;
42
+ }
43
+ let n;
44
+ function l(t) {
45
+ n = t;
46
+ }
47
+ function i() {
48
+ return n;
49
+ }
50
+ export {
51
+ i as a,
52
+ l as b,
53
+ r as g,
54
+ p as s
55
+ };