@cagatayfdn/flora-components 0.0.136 → 0.0.138

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 (185) hide show
  1. package/package.json +1 -1
  2. package/dist/Accordion.css +0 -1
  3. package/dist/ActionButton.css +0 -1
  4. package/dist/AlertCard.css +0 -1
  5. package/dist/Autocomplete.css +0 -1
  6. package/dist/Button.css +0 -1
  7. package/dist/Card.css +0 -1
  8. package/dist/Checkbox.css +0 -1
  9. package/dist/Config.css +0 -1
  10. package/dist/Confirm.css +0 -1
  11. package/dist/ContentHeader.css +0 -1
  12. package/dist/Datepicker.css +0 -1
  13. package/dist/Divider.css +0 -1
  14. package/dist/DropdownList.css +0 -1
  15. package/dist/ErrorLogModal.css +0 -1
  16. package/dist/FileUpload.css +0 -1
  17. package/dist/FileUpload.module-BxCEtOHx.js +0 -32
  18. package/dist/Heading.css +0 -1
  19. package/dist/IconBox.css +0 -1
  20. package/dist/InfoBoxList.css +0 -1
  21. package/dist/InfoBoxList.module-BHkAHgos.js +0 -8
  22. package/dist/InfoDate.css +0 -1
  23. package/dist/InfoText.css +0 -1
  24. package/dist/Input.css +0 -1
  25. package/dist/Label.css +0 -1
  26. package/dist/Legends.css +0 -1
  27. package/dist/Loading.css +0 -1
  28. package/dist/MenuItem-Df6Zsa7E.js +0 -53
  29. package/dist/MenuItem.css +0 -1
  30. package/dist/Modal.css +0 -1
  31. package/dist/NoResult.css +0 -1
  32. package/dist/PageWrap.css +0 -1
  33. package/dist/Pager.css +0 -1
  34. package/dist/Panel.css +0 -1
  35. package/dist/Radio.css +0 -1
  36. package/dist/ResultError.css +0 -1
  37. package/dist/ScrollContainer.css +0 -1
  38. package/dist/Select-BE_y91ZN.js +0 -1831
  39. package/dist/Select.css +0 -1
  40. package/dist/Select.module-ByPQ6qr4.js +0 -21
  41. package/dist/StatusTag.css +0 -1
  42. package/dist/StatusTypography.css +0 -1
  43. package/dist/Stepper.css +0 -1
  44. package/dist/Switch.css +0 -1
  45. package/dist/Tab.css +0 -1
  46. package/dist/Table.css +0 -1
  47. package/dist/Table.module-DUqpZOLt.js +0 -29
  48. package/dist/Textarea.css +0 -1
  49. package/dist/Tooltip.css +0 -1
  50. package/dist/Trans-B4ILpbwK.js +0 -343
  51. package/dist/TypographyText.css +0 -1
  52. package/dist/ValidationError.css +0 -1
  53. package/dist/_commonjsHelpers-CT_km90n.js +0 -30
  54. package/dist/_isArray-CBUZFxFA.js +0 -6
  55. package/dist/_isString-BUpNGP_8.js +0 -6
  56. package/dist/_reduce-DsUCMz4O.js +0 -148
  57. package/dist/assets/icons/icons.js +0 -70
  58. package/dist/assets/images/500_error_2x.gif +0 -0
  59. package/dist/assets/images/oms.png +0 -0
  60. package/dist/components/Accordion/Accordion.js +0 -60
  61. package/dist/components/ActionButton/ActionButton.js +0 -54
  62. package/dist/components/AlertCard/AlertCard.js +0 -29
  63. package/dist/components/AuthUserCan/Permission.js +0 -18
  64. package/dist/components/AuthUserCan/index.js +0 -23
  65. package/dist/components/Autocomplete/Autocomplete.js +0 -87
  66. package/dist/components/Button/Button.js +0 -87
  67. package/dist/components/Card/Card.js +0 -21
  68. package/dist/components/Charts/Bar.js +0 -18
  69. package/dist/components/Charts/Legends.js +0 -21
  70. package/dist/components/Charts/Line.js +0 -18
  71. package/dist/components/Charts/Pie.js +0 -43
  72. package/dist/components/Charts/index.js +0 -31
  73. package/dist/components/Charts/types.js +0 -1
  74. package/dist/components/Charts/utils.js +0 -12
  75. package/dist/components/Checkbox/Checkbox.js +0 -68
  76. package/dist/components/Config/Config.js +0 -32
  77. package/dist/components/Confirm/Confirm.js +0 -60
  78. package/dist/components/ContentHeader/ContentHeader.js +0 -75
  79. package/dist/components/ContentLoader/ContentLoader.js +0 -16
  80. package/dist/components/Countdown/Countdown.js +0 -20
  81. package/dist/components/Datepicker/Datepicker.js +0 -1478
  82. package/dist/components/Divider/Divider.js +0 -27
  83. package/dist/components/Drawer/Provider.js +0 -24
  84. package/dist/components/Drawer/index.js +0 -55
  85. package/dist/components/Dropdown/DropdownList.js +0 -90
  86. package/dist/components/ErrorLogModal/ErrorLogModal.js +0 -69
  87. package/dist/components/FileUpload/FileUpload.js +0 -237
  88. package/dist/components/FileUpload/ImagePreview.js +0 -19
  89. package/dist/components/FileUpload/LengthCard.js +0 -6
  90. package/dist/components/FileUpload/PreviewModal.js +0 -53
  91. package/dist/components/Grid/Column.js +0 -29
  92. package/dist/components/Grid/Row.js +0 -6
  93. package/dist/components/Heading/Heading.js +0 -22
  94. package/dist/components/Icon/index.js +0 -24
  95. package/dist/components/IconBox/IconBox.js +0 -13
  96. package/dist/components/InfiniteScroll/InfiniteScroll.js +0 -41
  97. package/dist/components/InfoBoxList/InfoBoxList.js +0 -30
  98. package/dist/components/InfoBoxList/helper.js +0 -83
  99. package/dist/components/InfoDate/InfoDate.js +0 -19
  100. package/dist/components/InfoText/InfoText.js +0 -13
  101. package/dist/components/Input/Input.js +0 -140
  102. package/dist/components/Label/Label.js +0 -22
  103. package/dist/components/Loading/Loading.js +0 -62
  104. package/dist/components/Modal/Modal.js +0 -74
  105. package/dist/components/NavigatorCard/index.js +0 -59
  106. package/dist/components/NoResult/NoResult.js +0 -12
  107. package/dist/components/Notification/Notification.js +0 -26
  108. package/dist/components/PageWrapper/PageWrap.js +0 -46
  109. package/dist/components/Pager/Pager.js +0 -103
  110. package/dist/components/Panel/Panel.js +0 -71
  111. package/dist/components/PermaLink/PermaLink.js +0 -387
  112. package/dist/components/Radio/Radio.js +0 -96
  113. package/dist/components/ResultError/ResultError.js +0 -20
  114. package/dist/components/ScrollContainer/ScrollContainer.js +0 -23
  115. package/dist/components/Select/NoData.js +0 -10
  116. package/dist/components/Select/OptionItem.js +0 -19
  117. package/dist/components/Select/Select.js +0 -13
  118. package/dist/components/Sidebar/MenuItem.js +0 -9
  119. package/dist/components/Sidebar/index.js +0 -137
  120. package/dist/components/StatusTag/StatusTag.js +0 -24
  121. package/dist/components/StatusTypography/StatusTypography.js +0 -51
  122. package/dist/components/Stepper/Stepper.js +0 -75
  123. package/dist/components/Switch/Switch.js +0 -84
  124. package/dist/components/Tab/Tab.js +0 -28
  125. package/dist/components/Table/Table.js +0 -271
  126. package/dist/components/Table/TableHeader.js +0 -137
  127. package/dist/components/Table/TableSort.js +0 -25
  128. package/dist/components/Textarea/Textarea.js +0 -95
  129. package/dist/components/Tooltip/Tooltip.js +0 -1548
  130. package/dist/components/TypographyText/TypographyText.js +0 -91
  131. package/dist/components/ValidationError/ValidationError.js +0 -7
  132. package/dist/components/index.js +0 -133
  133. package/dist/defineProperty-DeKy1XT0.js +0 -37
  134. package/dist/enums/appearance.js +0 -14
  135. package/dist/enums/applicationTypeSlug.js +0 -4
  136. package/dist/enums/index.js +0 -29
  137. package/dist/enums/isActiveColor.js +0 -4
  138. package/dist/enums/size.js +0 -4
  139. package/dist/enums/status.js +0 -11
  140. package/dist/equals-PL9KqVQf.js +0 -119
  141. package/dist/flatpickr-CRz1AV0e.js +0 -59
  142. package/dist/hooks/index.js +0 -15
  143. package/dist/hooks/useAauth.js +0 -40
  144. package/dist/hooks/useDisclosure.js +0 -14
  145. package/dist/hooks/useDrawer.js +0 -9
  146. package/dist/hooks/useMediaQuery.js +0 -21
  147. package/dist/hooks/useNiceModal.js +0 -13
  148. package/dist/i18nInstance-CiCZbaCK.js +0 -55
  149. package/dist/includes-8YTFrx85.js +0 -46
  150. package/dist/index-9ZLCCecr.js +0 -364
  151. package/dist/index-BHf7G3IG.js +0 -35
  152. package/dist/index-BJU1K2Aw.js +0 -8003
  153. package/dist/index-CB61CB0b.js +0 -669
  154. package/dist/index-H7XbDVmH.js +0 -320
  155. package/dist/index-JNaMEwgt.js +0 -1413
  156. package/dist/index.css +0 -1
  157. package/dist/index.d.mts +0 -1463
  158. package/dist/index.d.ts +0 -1463
  159. package/dist/index.js +0 -200
  160. package/dist/index2.css +0 -1
  161. package/dist/jsx-runtime-BcAkpsdy.js +0 -631
  162. package/dist/keys-B0bo5Q7o.js +0 -67
  163. package/dist/locales/en/index.js +0 -613
  164. package/dist/locales/i18n.js +0 -1417
  165. package/dist/locales/index.js +0 -5
  166. package/dist/locales/tr/index.js +0 -613
  167. package/dist/main.css +0 -1
  168. package/dist/main.js +0 -56
  169. package/dist/prodivers.css +0 -6
  170. package/dist/prodivers.js +0 -13
  171. package/dist/react-content-loader.es-CswLCxkm.js +0 -90
  172. package/dist/react-toastify.esm-BUWNP7Nm.js +0 -808
  173. package/dist/types/common/date.js +0 -1
  174. package/dist/types/common/events.js +0 -1
  175. package/dist/types/common/forms.js +0 -1
  176. package/dist/types/common/option.js +0 -1
  177. package/dist/types/index.js +0 -1
  178. package/dist/useTranslation-CnCPcxVj.js +0 -142
  179. package/dist/utils/date.js +0 -413
  180. package/dist/utils/flatpickr.js +0 -4
  181. package/dist/utils/helper.js +0 -55
  182. package/dist/utils/index.js +0 -24
  183. package/dist/utils/language.js +0 -46
  184. package/dist/utils/validation.js +0 -27
  185. package/dist/utils/yup.js +0 -2921
@@ -1,91 +0,0 @@
1
- import { j as o } from "../../jsx-runtime-BcAkpsdy.js";
2
- import { useState as k, useRef as N } from "react";
3
- import f from "../Icon/index.js";
4
- import { Notification as z } 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 I, AppearanceDirection as b } from "../../enums/appearance.js";
9
- import { u as w } from "../../useTranslation-CnCPcxVj.js";
10
- import '../../TypographyText.css';const P = "_typography_1a64z_2", S = "_ellipsis_1a64z_2", $ = "_success_1a64z_2", A = "_copy_1a64z_2", E = "_checkCopy_1a64z_2", R = "_code_1a64z_2", e = {
11
- typography: P,
12
- ellipsis: S,
13
- success: $,
14
- copy: A,
15
- checkCopy: E,
16
- code: R
17
- }, J = (h) => {
18
- const {
19
- children: t,
20
- copyable: n,
21
- notificationProps: x,
22
- className: u,
23
- ellipsis: r,
24
- id: p,
25
- appearance: l,
26
- href: m,
27
- tooltipContent: y
28
- } = h, [s, d] = k(!1), T = N(null), { t: g } = w(), c = x || {
29
- type: I.SUCCESS,
30
- message: g("text.copied"),
31
- closeTime: 3e3
32
- }, j = (i) => {
33
- s || (navigator.clipboard.writeText(i), d(!0), z({
34
- type: c.type,
35
- message: c.message,
36
- closeTime: c.closeTime
37
- })), setTimeout(() => d(!1), 1e3);
38
- };
39
- return /* @__PURE__ */ o.jsxs(
40
- "p",
41
- {
42
- "data-testid": "typographytext",
43
- ref: T,
44
- className: a(u, 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${p}`,
54
- tooltipContent: y,
55
- ellipsis: r,
56
- children: t
57
- }
58
- ) : /* @__PURE__ */ o.jsx("span", { className: a(
59
- {
60
- [e.ellipsis]: r
61
- }
62
- ), children: t }),
63
- n && /* @__PURE__ */ o.jsx(
64
- C,
65
- {
66
- id: `copyId${p}`,
67
- className: "width90",
68
- direction: b.TOP,
69
- tooltipContent: s ? "Copied" : "Copy",
70
- children: /* @__PURE__ */ o.jsx(
71
- "span",
72
- {
73
- className: a(e.copy, {
74
- [e.checkCopy]: s
75
- }),
76
- onClick: (i) => {
77
- i.stopPropagation(), j(t);
78
- },
79
- children: s ? /* @__PURE__ */ o.jsx(f, { name: _.Check }) : /* @__PURE__ */ o.jsx(f, { name: _.Copy })
80
- }
81
- )
82
- }
83
- )
84
- ]
85
- },
86
- p
87
- );
88
- };
89
- export {
90
- J as default
91
- };
@@ -1,7 +0,0 @@
1
- import { j as e } from "../../jsx-runtime-BcAkpsdy.js";
2
- import '../../ValidationError.css';const a = "_message_1tml6_2", 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
- };
@@ -1,133 +0,0 @@
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 S } from "./Autocomplete/Autocomplete.js";
9
- import { default as I } from "./Card/Card.js";
10
- import { default as P } from "./Charts/index.js";
11
- import { default as h } from "./Checkbox/Checkbox.js";
12
- import { default as A } from "./Config/Config.js";
13
- import { default as N } from "./Confirm/Confirm.js";
14
- import { default as B } from "./ContentHeader/ContentHeader.js";
15
- import { default as M } from "./ContentLoader/ContentLoader.js";
16
- import { default as k } 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 "./Drawer/index.js";
20
- import { default as q } from "./Dropdown/DropdownList.js";
21
- import { default as G } from "./FileUpload/FileUpload.js";
22
- import { default as K } from "./FileUpload/ImagePreview.js";
23
- import { default as Q } from "./FileUpload/LengthCard.js";
24
- import { default as Y } from "./FileUpload/PreviewModal.js";
25
- import { default as _ } from "./Grid/Column.js";
26
- import { default as oo } from "./Grid/Row.js";
27
- import { default as ro } from "./Heading/Heading.js";
28
- import { default as ao } from "./Icon/index.js";
29
- import { default as lo } from "./IconBox/IconBox.js";
30
- import { default as mo } from "./InfiniteScroll/InfiniteScroll.js";
31
- import { default as so } from "./InfoBoxList/InfoBoxList.js";
32
- import { createConnectedService as io } from "./InfoBoxList/helper.js";
33
- import { default as co } from "./InfoDate/InfoDate.js";
34
- import { InfoText as go } from "./InfoText/InfoText.js";
35
- import { default as To } from "./Input/Input.js";
36
- import { default as Lo } from "./Label/Label.js";
37
- import { default as bo } from "./Loading/Loading.js";
38
- import { default as wo } from "./Modal/Modal.js";
39
- import { default as Do } from "./NavigatorCard/index.js";
40
- import { default as vo } from "./NoResult/NoResult.js";
41
- import { Notification as Fo } from "./Notification/Notification.js";
42
- import { default as Ro } from "./PageWrapper/PageWrap.js";
43
- import { default as yo } from "./Pager/Pager.js";
44
- import { default as Ho } from "./Panel/Panel.js";
45
- import { default as Vo } from "./PermaLink/PermaLink.js";
46
- import { default as jo, RadioList as qo } from "./Radio/Radio.js";
47
- import { default as Go } from "./ResultError/ResultError.js";
48
- import { default as Ko } from "./ScrollContainer/ScrollContainer.js";
49
- import { default as Qo } from "./Select/NoData.js";
50
- import { S as Yo } from "../Select-BE_y91ZN.js";
51
- import { default as _o } from "./Sidebar/index.js";
52
- import { M as oe } from "../MenuItem-Df6Zsa7E.js";
53
- import { default as re } from "./StatusTag/StatusTag.js";
54
- import { default as ae } from "./StatusTypography/StatusTypography.js";
55
- import { default as le } from "./Stepper/Stepper.js";
56
- import { default as pe } from "./Switch/Switch.js";
57
- import { default as xe } from "./Tab/Tab.js";
58
- import { default as ue } from "./Table/Table.js";
59
- import { default as ne } from "./Table/TableHeader.js";
60
- import { default as Ce } from "./Table/TableSort.js";
61
- import { default as Se } from "./Textarea/Textarea.js";
62
- import { default as Ie } from "./Tooltip/Tooltip.js";
63
- import { default as Pe } from "./TypographyText/TypographyText.js";
64
- import { default as he } from "./ValidationError/ValidationError.js";
65
- export {
66
- m as Accordion,
67
- x as AccordionItem,
68
- u as ActionButton,
69
- n as AlertCard,
70
- S as Autocomplete,
71
- r as Button,
72
- I as Card,
73
- P as Chart,
74
- h as Checkbox,
75
- _ as Column,
76
- A as Config,
77
- N as Confirm,
78
- B as ContentHeader,
79
- M as ContentLoader,
80
- k as Countdown,
81
- U as Datepicker,
82
- E as Divider,
83
- W as Drawer,
84
- q as DropdownList,
85
- G as FileUpload,
86
- K as FileUploadImagePreview,
87
- Q as FileUploadLengthCard,
88
- Y as FileUploadPreviewModal,
89
- ro as Heading,
90
- ao as Icon,
91
- lo as IconBox,
92
- mo as InfiniteScroll,
93
- so as InfoBoxList,
94
- co as InfoDate,
95
- go as InfoText,
96
- To as Input,
97
- Lo as Label,
98
- bo as Loading,
99
- oe as MenuItem,
100
- wo as Modal,
101
- Do as NavigatorCard,
102
- a as NiceModal,
103
- Qo as NoData,
104
- vo as NoResult,
105
- Fo as Notification,
106
- Ro as PageWrapper,
107
- yo as Pager,
108
- Ho as Panel,
109
- l as PermFallBack,
110
- Vo as PermaLink,
111
- C as Permission,
112
- jo as Radio,
113
- qo as RadioList,
114
- Go as ResultError,
115
- oo as Row,
116
- Ko as ScrollContainer,
117
- Yo as Select,
118
- _o as Sidebar,
119
- re as StatusTag,
120
- ae as StatusTypography,
121
- le as Stepper,
122
- pe as Switch,
123
- xe as Tab,
124
- ue as Table,
125
- ne as TableHeader,
126
- Ce as TableSort,
127
- Se as Textarea,
128
- Ie as Tooltip,
129
- Pe as TypographyText,
130
- he as ValidationError,
131
- io as createConnectedService,
132
- d as getAuth
133
- };
@@ -1,37 +0,0 @@
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
- };
@@ -1,14 +0,0 @@
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 || {}), R = /* @__PURE__ */ ((I) => (I.INFO = "info", I.SUCCESS = "success", I.ERROR = "error", I.WARNING = "warning", I.LOADING = "loading", I))(R || {}), N = /* @__PURE__ */ ((I) => (I.LIGHT = "light", I.DARK = "dark", I.LIGHT_FULL = "light_full", I.DARK_FULL = "darkFull", I))(N || {}), D = /* @__PURE__ */ ((I) => (I.LIGHT = "light", I.DARK = "dark", I.MORE_DARK = "more_dark", I))(D || {}), G = /* @__PURE__ */ ((I) => (I.LIGHT = "light", I.DARK = "dark", I.DARK_BLUE = "dark_blue", I))(G || {}), l = /* @__PURE__ */ ((I) => (I.LIGHT = "light", I.GREY = "grey", I.DARK_GREY = "dark_grey", I))(l || {}), 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
- N as AppearanceSpinner,
8
- O as AppearanceTag,
9
- l as DividerAppearance,
10
- D as FormFieldAppearance,
11
- E as ModalAppearanceType,
12
- R as NotificationAppearanceType,
13
- G as ThemeAppearance
14
- };
@@ -1,4 +0,0 @@
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
- };
@@ -1,29 +0,0 @@
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 g, PodStatusEnum as v, ReportStatus as C, SortEnum as D, StatusEnum as F, StatusType as h, TagStatus as z } 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
- g as CopyTextStatusEnum,
16
- c as DividerAppearance,
17
- i as FormFieldAppearance,
18
- u as ModalAppearanceType,
19
- m as NotificationAppearanceType,
20
- v as PodStatusEnum,
21
- C as ReportStatus,
22
- l as Size,
23
- D as SortEnum,
24
- F as StatusEnum,
25
- h as StatusType,
26
- z as TagStatus,
27
- S as ThemeAppearance,
28
- d as isActiveColor
29
- };
@@ -1,4 +0,0 @@
1
- var f = /* @__PURE__ */ ((e) => (e.inActive = "#4482ff", e.active = "#3f4b5c", e))(f || {});
2
- export {
3
- f as isActiveColor
4
- };
@@ -1,4 +0,0 @@
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
- };
@@ -1,11 +0,0 @@
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 || {}), r = /* @__PURE__ */ ((i) => (i.SERVICE = "service", i.APPLICATION = "application", i))(r || {}), d = /* @__PURE__ */ ((i) => (i.PENDING = "pending", i.FAILED = "failed", i.IN_PROGRESS = "analyzing", i.SUCCESS = "completed", i))(d || {}), 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 || {}), c = /* @__PURE__ */ ((i) => (i.TERMINATED = "Terminated", i.TERMINATING = "Terminating", i.FAILED = "Failed", i.PENDING = "Pending", i.RUNNING = "Running", i.SUCCEEDED = "Succeeded", i.EVICTED = "Evicted", i))(c || {}), I = /* @__PURE__ */ ((i) => (i.success = "success", i.failed = "failed", i.waiting = "waiting", i.empty = "empty", i))(I || {}), g = /* @__PURE__ */ ((i) => (i.ASC = "asc", i.DESC = "desc", i))(g || {});
2
- export {
3
- r as AppTypeEnum,
4
- n as CopyTextStatusEnum,
5
- c as PodStatusEnum,
6
- d as ReportStatus,
7
- g as SortEnum,
8
- l as StatusEnum,
9
- e as StatusType,
10
- I as TagStatus
11
- };
@@ -1,119 +0,0 @@
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
- };
@@ -1,59 +0,0 @@
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
- };
@@ -1,15 +0,0 @@
1
- import { AuthProvider as o, useAuth as t } from "./useAauth.js";
2
- import { default as a } from "./useDisclosure.js";
3
- import { default as f } from "./useNiceModal.js";
4
- import { default as x } from "./useMediaQuery.js";
5
- import { useDrawerContext as m } from "../components/Drawer/Provider.js";
6
- import { default as i } from "./useDrawer.js";
7
- export {
8
- o as AuthProvider,
9
- t as useAuth,
10
- a as useDisclosure,
11
- i as useDrawer,
12
- m as useDrawerContext,
13
- x as useMediaQuery,
14
- f as useNiceModal
15
- };
@@ -1,40 +0,0 @@
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
- };
@@ -1,14 +0,0 @@
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
- };
@@ -1,9 +0,0 @@
1
- import { useDrawerContext as t } from "../components/Drawer/Provider.js";
2
- import { useId as a } from "react";
3
- function u() {
4
- const r = a(), { openDrawer: e, closeDrawer: o } = t();
5
- return [e, o, r];
6
- }
7
- export {
8
- u as default
9
- };
@@ -1,21 +0,0 @@
1
- import { useState as h, useEffect as m } from "react";
2
- const f = ({ query: s, onMatch: n, onUnmatch: c }) => {
3
- const i = window.matchMedia(s), [r, d] = h(i.matches), t = (e) => {
4
- e ? n && n() : c && c(), d(e);
5
- };
6
- return m(() => {
7
- const e = window.matchMedia(s);
8
- return t(e.matches), e.addEventListener && e.addEventListener(
9
- "change",
10
- (a) => t(a.matches)
11
- ), () => {
12
- e.removeEventListener && e.removeEventListener(
13
- "change",
14
- (a) => t(a.matches)
15
- );
16
- };
17
- }, []), r;
18
- };
19
- export {
20
- f as default
21
- };
@@ -1,13 +0,0 @@
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
- };