@ensi-platform/admin-ui 0.12.0 → 0.13.1
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/{Component-eoUrqznD.js → Component-B6OSgrmp.js} +3 -3
- package/dist/Component-B6OSgrmp.js.map +1 -0
- package/dist/{Component-CDURmZCP.js → Component-BBzbDcdq.js} +2 -2
- package/dist/{Component-CDURmZCP.js.map → Component-BBzbDcdq.js.map} +1 -1
- package/dist/Component-BJc8tKRD.js +169 -0
- package/dist/Component-BJc8tKRD.js.map +1 -0
- package/dist/Component-BhZC1r4b.js +134 -0
- package/dist/Component-BhZC1r4b.js.map +1 -0
- package/dist/{Component-dmSX0Khf.js → Component-BoAQ166N.js} +3 -3
- package/dist/{Component-dmSX0Khf.js.map → Component-BoAQ166N.js.map} +1 -1
- package/dist/{Component-jzDbWkuj.js → Component-CMdJyqc-.js} +2 -2
- package/dist/{Component-jzDbWkuj.js.map → Component-CMdJyqc-.js.map} +1 -1
- package/dist/{Component-DWp04UBh.js → Component-CS-9-L8S.js} +3 -3
- package/dist/Component-CS-9-L8S.js.map +1 -0
- package/dist/{Component-D_c3xBcb.js → Component-CiwX3wP8.js} +2 -2
- package/dist/{Component-D_c3xBcb.js.map → Component-CiwX3wP8.js.map} +1 -1
- package/dist/{Component-DhE4a93B.js → Component-DV6H96-0.js} +37 -35
- package/dist/Component-DV6H96-0.js.map +1 -0
- package/dist/{Component-CBnhxD86.js → Component-DmKmX7so.js} +3 -4
- package/dist/{Component-CBnhxD86.js.map → Component-DmKmX7so.js.map} +1 -1
- package/dist/Component-kqMyROjC.js +162 -0
- package/dist/Component-kqMyROjC.js.map +1 -0
- package/dist/EyeOff-gqqijMR1.js +57 -0
- package/dist/EyeOff-gqqijMR1.js.map +1 -0
- package/dist/action-popup/index.js +2 -2
- package/dist/active-filters/index.js +2 -2
- package/dist/arrangement-settings/index.js +3 -3
- package/dist/assets/Component13.css +1 -1
- package/dist/assets/Component16.css +1 -1
- package/dist/assets/Component5.css +1 -1
- package/dist/assets/Component9.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -0
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/theme2.css +1 -1
- package/dist/autocomplete/index.js +2 -2
- package/dist/autocomplete/types.d.ts +1 -1
- package/dist/autocomplete/types.d.ts.map +1 -1
- package/dist/autocomplete/utils.d.ts +1 -3
- package/dist/autocomplete/utils.d.ts.map +1 -1
- package/dist/autocomplete-async/Component.d.ts +1 -1
- package/dist/autocomplete-async/Component.d.ts.map +1 -1
- package/dist/autocomplete-async/index.js +95 -82
- package/dist/autocomplete-async/index.js.map +1 -1
- package/dist/avatar/index.js +1 -1
- package/dist/badge/index.js +1 -1
- package/dist/bottom-sheet/index.js +2 -2
- package/dist/cascade-menu/index.d.ts +0 -3
- package/dist/cascade-menu/index.d.ts.map +1 -1
- package/dist/cascade-menu/index.js +255 -283
- package/dist/cascade-menu/index.js.map +1 -1
- package/dist/checkbox/index.js +1 -1
- package/dist/checkbox-group/index.js +2 -2
- package/dist/color-field/Component.d.ts +1 -1
- package/dist/color-field/Component.d.ts.map +1 -1
- package/dist/color-field/index.js +60 -59
- package/dist/color-field/index.js.map +1 -1
- package/dist/color-field/types.d.ts +2 -4
- package/dist/color-field/types.d.ts.map +1 -1
- package/dist/color-picker/Component.d.ts +1 -1
- package/dist/color-picker/Component.d.ts.map +1 -1
- package/dist/color-picker/index.js +1 -1
- package/dist/color-picker/types.d.ts +2 -4
- package/dist/color-picker/types.d.ts.map +1 -1
- package/dist/combobox/index.d.ts +0 -2
- package/dist/combobox/index.d.ts.map +1 -1
- package/dist/combobox/index.js +15 -17
- package/dist/copy-button/index.js +1 -1
- package/dist/data-table/index.js +3 -3
- package/dist/date-picker/index.js +4 -4
- package/dist/date-picker/types.d.ts +1 -6
- package/dist/date-picker/types.d.ts.map +1 -1
- package/dist/date-range-picker/index.js +4 -4
- package/dist/date-range-picker/types.d.ts +1 -6
- package/dist/date-range-picker/types.d.ts.map +1 -1
- package/dist/drawer/index.js +1 -1
- package/dist/dropzone/index.js +3 -3
- package/dist/field/components/Hint/index.d.ts.map +1 -1
- package/dist/field/components/Hint/theme.d.ts +0 -1
- package/dist/field/components/Hint/theme.d.ts.map +1 -1
- package/dist/field/components/Label/index.d.ts.map +1 -1
- package/dist/field/components/Label/theme.d.ts +0 -1
- package/dist/field/components/Label/theme.d.ts.map +1 -1
- package/dist/field/index.js +1 -1
- package/dist/filters/index.js +1 -1
- package/dist/flex-layout/Component.d.ts +1 -1
- package/dist/flex-layout/Component.d.ts.map +1 -1
- package/dist/flex-layout/index.js +41 -43
- package/dist/flex-layout/index.js.map +1 -1
- package/dist/flex-layout/types.d.ts +0 -2
- package/dist/flex-layout/types.d.ts.map +1 -1
- package/dist/grid-layout/Component.d.ts +1 -1
- package/dist/grid-layout/Component.d.ts.map +1 -1
- package/dist/grid-layout/index.js +34 -36
- package/dist/grid-layout/index.js.map +1 -1
- package/dist/grid-layout/types.d.ts +0 -2
- package/dist/grid-layout/types.d.ts.map +1 -1
- package/dist/{hooks-CekMiYbX.js → hooks-Di5rgHTG.js} +6 -4
- package/dist/hooks-Di5rgHTG.js.map +1 -0
- package/dist/icons/Eye.d.ts +8 -0
- package/dist/icons/Eye.d.ts.map +1 -0
- package/dist/icons/EyeOff.d.ts +8 -0
- package/dist/icons/EyeOff.d.ts.map +1 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.d.ts.map +1 -1
- package/dist/icons/index.js +26 -23
- package/dist/icons/index.js.map +1 -1
- package/dist/{index-BccXGF9t.js → index-BAFoUNz-.js} +2 -2
- package/dist/{index-BccXGF9t.js.map → index-BAFoUNz-.js.map} +1 -1
- package/dist/{index-C_oo7Xm5.js → index-BHUJOcwj.js} +3 -3
- package/dist/{index-C_oo7Xm5.js.map → index-BHUJOcwj.js.map} +1 -1
- package/dist/{index-DxsuVBkE.js → index-Co6mzXrw.js} +5 -7
- package/dist/{index-DxsuVBkE.js.map → index-Co6mzXrw.js.map} +1 -1
- package/dist/index-DvSNcGG6.js +45 -0
- package/dist/index-DvSNcGG6.js.map +1 -0
- package/dist/input/Component.d.ts +8 -1
- package/dist/input/Component.d.ts.map +1 -1
- package/dist/input/components/Addon/index.d.ts +17 -0
- package/dist/input/components/Addon/index.d.ts.map +1 -0
- package/dist/input/index.js +2 -2
- package/dist/input/types.d.ts +10 -3
- package/dist/input/types.d.ts.map +1 -1
- package/dist/loader/index.js +2 -2
- package/dist/mask/index.js +2 -2
- package/dist/menu-list/index.js +1 -1
- package/dist/{metrics-Cv_jrA15.js → metrics-CaN_sENu.js} +2 -2
- package/dist/{metrics-Cv_jrA15.js.map → metrics-CaN_sENu.js.map} +1 -1
- package/dist/modal/index.js +1 -1
- package/dist/modal-hub/{ModalHub.d.ts → Component.d.ts} +1 -1
- package/dist/modal-hub/Component.d.ts.map +1 -0
- package/dist/modal-hub/index.d.ts +1 -1
- package/dist/modal-hub/index.d.ts.map +1 -1
- package/dist/modal-hub/index.js.map +1 -1
- package/dist/multi-autocomplete/index.js +2 -2
- package/dist/multi-autocomplete/types.d.ts +1 -1
- package/dist/multi-autocomplete/types.d.ts.map +1 -1
- package/dist/multi-autocomplete-async/index.js +2 -2
- package/dist/multi-select/index.js +4 -4
- package/dist/multi-select/index.js.map +1 -1
- package/dist/multi-select/types.d.ts +8 -4
- package/dist/multi-select/types.d.ts.map +1 -1
- package/dist/multi-select/utils.d.ts +1 -5
- package/dist/multi-select/utils.d.ts.map +1 -1
- package/dist/number-input/Component.d.ts +8 -1
- package/dist/number-input/Component.d.ts.map +1 -1
- package/dist/number-input/index.js +2 -2
- package/dist/number-input/types.d.ts +4 -9
- package/dist/number-input/types.d.ts.map +1 -1
- package/dist/number-range/index.js +3 -3
- package/dist/password/Component.d.ts +5 -0
- package/dist/password/Component.d.ts.map +1 -0
- package/dist/password/FormPassword.d.ts +6 -0
- package/dist/password/FormPassword.d.ts.map +1 -0
- package/dist/password/index.d.ts +4 -0
- package/dist/password/index.d.ts.map +1 -0
- package/dist/password/index.js +95 -0
- package/dist/password/index.js.map +1 -0
- package/dist/password/types.d.ts +11 -0
- package/dist/password/types.d.ts.map +1 -0
- package/dist/provider/context.d.ts.map +1 -1
- package/dist/provider/index.js +3 -3
- package/dist/provider/types.d.ts +4 -0
- package/dist/provider/types.d.ts.map +1 -1
- package/dist/select/index.js +2 -2
- package/dist/select/types.d.ts +7 -3
- package/dist/select/types.d.ts.map +1 -1
- package/dist/select/utils.d.ts +0 -2
- package/dist/select/utils.d.ts.map +1 -1
- package/dist/slider/index.js +2 -2
- package/dist/suggest-checklist/index.js +4 -4
- package/dist/switch/index.js +2 -2
- package/dist/table/index.d.ts +0 -1
- package/dist/table/index.d.ts.map +1 -1
- package/dist/table/index.js +24 -25
- package/dist/tabs/index.js +1 -1
- package/dist/tag/index.js +1 -1
- package/dist/textarea/Component.d.ts +8 -1
- package/dist/textarea/Component.d.ts.map +1 -1
- package/dist/textarea/index.js +111 -106
- package/dist/textarea/index.js.map +1 -1
- package/dist/textarea/types.d.ts +3 -2
- package/dist/textarea/types.d.ts.map +1 -1
- package/dist/time-field/index.js +3 -3
- package/dist/time-field/types.d.ts +1 -6
- package/dist/time-field/types.d.ts.map +1 -1
- package/dist/toast/index.js +2 -2
- package/dist/typography/index.js +1 -1
- package/dist/{utils-DrTtzDsS.js → utils-qHAuIhao.js} +3 -3
- package/dist/{utils-DrTtzDsS.js.map → utils-qHAuIhao.js.map} +1 -1
- package/dist/vertical-tabs/index.js +1 -1
- package/package.json +5 -1
- package/src/autocomplete/types.ts +1 -1
- package/src/autocomplete-async/docs/Description.md +2 -0
- package/src/cascade-menu/docs/Example.md +1 -1
- package/src/cascade-menu/docs/cssVariables.ts +5 -0
- package/src/color-field/types.ts +3 -4
- package/src/color-picker/docs/Description.md +1 -0
- package/src/color-picker/types.ts +6 -4
- package/src/combobox/docs/Description.md +10 -10
- package/src/data-table/docs/cssVariables.ts +9 -0
- package/src/date-picker/types.ts +1 -6
- package/src/date-range-picker/types.ts +1 -6
- package/src/dropzone/docs/cssVariables.ts +1 -0
- package/src/ds/typography/docs/Description.md +0 -7
- package/src/ds/typography/docs/Example.md +6 -0
- package/src/field/docs/cssVariables.ts +14 -1
- package/src/flex-layout/docs/Description.md +8 -9
- package/src/flex-layout/types.ts +0 -2
- package/src/grid-layout/docs/Description.md +0 -1
- package/src/grid-layout/types.ts +0 -2
- package/src/input/docs/Description.md +12 -10
- package/src/input/docs/cssVariables.ts +1 -0
- package/src/input/types.ts +11 -3
- package/src/multi-autocomplete/types.ts +1 -1
- package/src/multi-select/types.ts +10 -4
- package/src/number-input/docs/Description.md +2 -2
- package/src/number-input/types.ts +4 -9
- package/src/password/docs/Description.md +39 -0
- package/src/password/docs/Example.md +10 -0
- package/src/password/types.ts +11 -0
- package/src/provider/types.ts +4 -0
- package/src/select/types.ts +9 -3
- package/src/suggest-checklist/docs/cssVariables.ts +4 -0
- package/src/table/docs/cssVariables.ts +3 -0
- package/src/textarea/docs/Description.md +11 -9
- package/src/textarea/docs/cssVariables.ts +1 -0
- package/src/textarea/types.ts +3 -2
- package/src/time-field/types.ts +1 -6
- package/src/toast/docs/Description.md +1 -1
- package/src/toast/docs/Example.md +1 -1
- package/src/toast/docs/cssVariables.ts +1 -0
- package/dist/Component-BPAXqDXt.js +0 -155
- package/dist/Component-BPAXqDXt.js.map +0 -1
- package/dist/Component-BPN5FgKq.js +0 -179
- package/dist/Component-BPN5FgKq.js.map +0 -1
- package/dist/Component-BuFsNZAH.js +0 -128
- package/dist/Component-BuFsNZAH.js.map +0 -1
- package/dist/Component-DWp04UBh.js.map +0 -1
- package/dist/Component-DhE4a93B.js.map +0 -1
- package/dist/Component-eoUrqznD.js.map +0 -1
- package/dist/hooks-CekMiYbX.js.map +0 -1
- package/dist/modal-hub/ModalHub.d.ts.map +0 -1
|
@@ -14,17 +14,12 @@ export interface IDatePickerThemeProps {
|
|
|
14
14
|
size?: TDatePickerSize;
|
|
15
15
|
/** Visual variant. */
|
|
16
16
|
variant?: TDatePickerVariant;
|
|
17
|
-
/**
|
|
18
|
-
* Stretch to container width.
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
block?: boolean;
|
|
22
17
|
}
|
|
23
18
|
/** Own / chrome props (not from RAC). */
|
|
24
19
|
export interface IDatePickerOwnProps extends IDataTestIdProps {
|
|
25
20
|
/** Clear button for the current value. */
|
|
26
21
|
clear?: boolean;
|
|
27
|
-
/** Class name
|
|
22
|
+
/** Class name string. RAC `className` may be a function, which `cn` cannot join. */
|
|
28
23
|
className?: string;
|
|
29
24
|
/** Ref to the group element (React 19 prop). */
|
|
30
25
|
ref?: Ref<HTMLDivElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/date-picker/types.ts"],"names":[],"mappings":"AAAA,O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qB,EAAE,SAAS,CAAC,EAAE,uBAAuB;CAAG"}
|
|
@@ -4,15 +4,15 @@ import z from "classnames";
|
|
|
4
4
|
import { DateRangePickerStateContext as be, useSlottedContext as ge, RangeCalendarContext as _e, DateRangePicker as ye, Group as he, DateInput as ne, DateSegment as re, Button as te, Popover as De, Dialog as Ce } from "react-aria-components";
|
|
5
5
|
import { s as se } from "../index-h8z54aFR.js";
|
|
6
6
|
import { CalendarDate as le } from "@internationalized/date";
|
|
7
|
-
import { u as Re, t as M, a as ke, M as Ee, b as Ne, c as ve, D as Fe } from "../index-
|
|
7
|
+
import { u as Re, t as M, a as ke, M as Ee, b as Ne, c as ve, D as Fe } from "../index-BAFoUNz-.js";
|
|
8
8
|
import { C as Pe } from "../Calendar-CMg4K4oF.js";
|
|
9
9
|
import { C as Ve } from "../Clear-DcxADxz6.js";
|
|
10
|
-
import { u as Se } from "../hooks-
|
|
10
|
+
import { u as Se } from "../hooks-Di5rgHTG.js";
|
|
11
11
|
import { cva as Be } from "class-variance-authority";
|
|
12
12
|
import { typographyStyles as J } from "../typography/index.js";
|
|
13
|
-
import { F as w, u as Me } from "../Component-
|
|
13
|
+
import { F as w, u as Me } from "../Component-BJc8tKRD.js";
|
|
14
14
|
import { u as Ae, g as Le } from "../useFieldHook-o47pjrRg.js";
|
|
15
|
-
import '../assets/
|
|
15
|
+
import '../assets/index22.css';const ce = ({ scrollToDate: e, className: r, autoFocusDay: c = !1 }) => {
|
|
16
16
|
const { months: d, viewportRef: s, setMonthEl: p, scrollToMonth: b } = Re(e), l = fe(be), i = ge(_e), [u, C] = L(null), [P, R] = L(null), k = l?.value ?? i?.value ?? null, _ = M(k?.start ?? null), E = M(k?.end ?? null), y = M(i?.minValue ?? null), U = M(i?.maxValue ?? null), K = !!i?.isDisabled, I = i?.isDateUnavailable ? (t) => !!i.isDateUnavailable?.(t) : void 0, T = (t) => {
|
|
17
17
|
if (!u) {
|
|
18
18
|
C(t);
|
|
@@ -14,17 +14,12 @@ export interface IDateRangePickerThemeProps {
|
|
|
14
14
|
size?: TDateRangePickerSize;
|
|
15
15
|
/** Visual variant. */
|
|
16
16
|
variant?: TDateRangePickerVariant;
|
|
17
|
-
/**
|
|
18
|
-
* Stretch to container width.
|
|
19
|
-
* @default true
|
|
20
|
-
*/
|
|
21
|
-
block?: boolean;
|
|
22
17
|
}
|
|
23
18
|
/** Own / chrome props (not from RAC). */
|
|
24
19
|
export interface IDateRangePickerOwnProps extends IDataTestIdProps {
|
|
25
20
|
/** Clear button for the current value. */
|
|
26
21
|
clear?: boolean;
|
|
27
|
-
/** Class name
|
|
22
|
+
/** Class name string. RAC `className` may be a function, which `cn` cannot join. */
|
|
28
23
|
className?: string;
|
|
29
24
|
/** Ref to the group element (React 19 prop). */
|
|
30
25
|
ref?: Ref<HTMLDivElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/date-range-picker/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,KAAK,oBAAoB,IAAI,uBAAuB,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAE7G,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,KAAK,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D,4BAA4B;AAC5B,MAAM,MAAM,oBAAoB,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEtD,sBAAsB;AACtB,MAAM,MAAM,uBAAuB,GAAG,SAAS,CAAC;AAEhD,oBAAoB;AACpB,MAAM,WAAW,0BAA0B;IACvC,sEAAsE;IACtE,IAAI,CAAC,EAAE,oBAAoB,CAAC;IAC5B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GAAG,UAAU,CAAC;AAEnG,MAAM,WAAW,qBACb,SACI,yBAAyB,EACzB,IAAI,CAAC,uBAAuB,CAAC,SAAS,CAAC,EAAE,MAAM,yBAAyB,GAAG,uBAAuB,CAAC;IACvG,KAAK,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IACzB,YAAY,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI,KAAK,IAAI,CAAC;CAChD;AAED,6CAA6C;AAC7C,MAAM,MAAM,2BAA2B,GACjC,uBAAuB,GACvB,MAAM,yBAAyB,GAC/B,OAAO,GACP,cAAc,GACd,UAAU,GACV,QAAQ,GACR,MAAM,GACN,WAAW,CAAC;AAElB,MAAM,WAAW,4BAA6B,SAAQ,IAAI,CACtD,uBAAuB,CAAC,SAAS,CAAC,EAClC,2BAA2B,CAC9B;IACG,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,yBACb,SAAQ,qBAAqB,EAAE,IAAI,CAAC,0BAA0B,EAAE,SAAS,CAAC,EAAE,4BAA4B;CAAG"}
|
package/dist/drawer/index.js
CHANGED
package/dist/dropzone/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { s as at } from "../index-h8z54aFR.js";
|
|
|
5
5
|
import { typographyStyles as he } from "../typography/index.js";
|
|
6
6
|
import { B as Ke } from "../Component-DlBYWjUa.js";
|
|
7
7
|
import { T as lt, I as wt, F as St, U as Nt, L as Dt } from "../Upload-Bi4Xl-j5.js";
|
|
8
|
-
import { u as Oe } from "../hooks-
|
|
8
|
+
import { u as Oe } from "../hooks-Di5rgHTG.js";
|
|
9
9
|
import { useDropzone as Rt } from "react-dropzone";
|
|
10
10
|
import { Button as Lt, GridListItem as It, DropIndicator as Ft, useDragAndDrop as Pt, GridList as Et } from "react-aria-components";
|
|
11
11
|
import { G as $t } from "../GripVertical-MvZ-qpV9.js";
|
|
@@ -13,9 +13,9 @@ import { C as Ct } from "../Check-deng4Zns.js";
|
|
|
13
13
|
import "react-aria";
|
|
14
14
|
import { cva as At } from "class-variance-authority";
|
|
15
15
|
import { useFormContext as Mt } from "react-hook-form";
|
|
16
|
-
import { F as xe, u as Bt } from "../Component-
|
|
16
|
+
import { F as xe, u as Bt } from "../Component-BJc8tKRD.js";
|
|
17
17
|
import { u as xt, g as jt } from "../useFieldHook-o47pjrRg.js";
|
|
18
|
-
import '../assets/
|
|
18
|
+
import '../assets/index33.css';const Tt = "aub_styles-module_action_0905b", Ut = "aub_styles-module_text_c6aa5", Ot = "aub_styles-module_actionIcon_35d84", qt = "aub_styles-module_actionLabel_1de4c", je = {
|
|
19
19
|
action: Tt,
|
|
20
20
|
text: Ut,
|
|
21
21
|
actionIcon: Ot,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/components/Hint/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,SAAS;wCAAuC,eAAe;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/components/Hint/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C,eAAO,MAAM,SAAS;wCAAuC,eAAe;;CAc3E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/field/components/Hint/theme.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/field/components/Hint/theme.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,iBAAiB;;8EAW5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/components/Label/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,UAAU;wCAAuC,gBAAgB;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/field/components/Label/index.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,eAAO,MAAM,UAAU;wCAAuC,gBAAgB;;CAc7E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/field/components/Label/theme.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../src/field/components/Label/theme.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,kBAAkB;;8EAW7B,CAAC"}
|
package/dist/field/index.js
CHANGED
package/dist/filters/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import l from "classnames";
|
|
3
3
|
import { s as d } from "../index-h8z54aFR.js";
|
|
4
|
-
import '../assets/
|
|
4
|
+
import '../assets/index23.css';const n = "aub_styles-module_root_ddbd4", y = {
|
|
5
5
|
root: n
|
|
6
6
|
}, i = d(({ ref: o, children: t, className: s, dataTestId: e, ...r }) => /* @__PURE__ */ a("div", { ...r, ref: o, className: l(y.root, s), "data-test-id": e, children: t }));
|
|
7
7
|
i.displayName = "Filters.Body";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IFlexLayoutProps } from './types';
|
|
2
|
-
export declare const FlexLayout: (({ ref, children, direction, gap, align, justify, wrap,
|
|
2
|
+
export declare const FlexLayout: (({ ref, children, direction, gap, align, justify, wrap, className, dataTestId, ...props }: IFlexLayoutProps) => import("react").JSX.Element) & {
|
|
3
3
|
displayName?: string;
|
|
4
4
|
} & {
|
|
5
5
|
Item: (({ ref, children, grow, className, dataTestId, ...props }: import('./types').IFlexLayoutItemProps) => import("react").JSX.Element) & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../src/flex-layout/Component.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,gBAAgB,EAAuE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../src/flex-layout/Component.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,gBAAgB,EAAuE,MAAM,SAAS,CAAC;AAkErH,eAAO,MAAM,UAAU,8FAtBhB,gBAAgB;;;;;;CAsB0D,CAAC"}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
2
|
import p from "classnames";
|
|
3
3
|
import { s as c } from "../index-h8z54aFR.js";
|
|
4
|
-
import '../assets/
|
|
5
|
-
root:
|
|
6
|
-
grow:
|
|
4
|
+
import '../assets/index12.css';const f = "aub_styles-module_root_6fb94", i = "aub_styles-module_grow_f3b2d", _ = {
|
|
5
|
+
root: f,
|
|
6
|
+
grow: i
|
|
7
7
|
}, g = c(
|
|
8
|
-
({ ref: s, children: a, grow: e = !1, className: o, dataTestId:
|
|
8
|
+
({ ref: s, children: a, grow: e = !1, className: o, dataTestId: u, ...l }) => /* @__PURE__ */ n("div", { ...l, ref: s, className: p(_.root, e && _.grow, o), "data-test-id": u, children: a })
|
|
9
9
|
);
|
|
10
10
|
g.displayName = "FlexLayout.Item";
|
|
11
|
-
const
|
|
12
|
-
root:
|
|
13
|
-
column:
|
|
14
|
-
wrap:
|
|
15
|
-
gap0:
|
|
16
|
-
gap4:
|
|
17
|
-
gap8:
|
|
18
|
-
gap12:
|
|
19
|
-
gap16:
|
|
20
|
-
gap20:
|
|
21
|
-
gap24:
|
|
22
|
-
gap32:
|
|
23
|
-
gap40:
|
|
24
|
-
gap48:
|
|
25
|
-
gap64:
|
|
26
|
-
start:
|
|
27
|
-
center:
|
|
28
|
-
end:
|
|
29
|
-
justifyStart:
|
|
30
|
-
justifyCenter:
|
|
31
|
-
justifyEnd:
|
|
32
|
-
between:
|
|
33
|
-
},
|
|
11
|
+
const j = "aub_styles-module_root_208b0", w = "aub_styles-module_column_7b48c", x = "aub_styles-module_wrap_3e487", C = "aub_styles-module_gap0_511ba", F = "aub_styles-module_gap4_a11b2", L = "aub_styles-module_gap8_0001f", N = "aub_styles-module_gap12_2faaf", E = "aub_styles-module_gap16_1a9d4", I = "aub_styles-module_gap20_ca7b9", S = "aub_styles-module_gap24_20da2", h = "aub_styles-module_gap32_0aae1", v = "aub_styles-module_gap40_0b0a3", R = "aub_styles-module_gap48_28ea1", $ = "aub_styles-module_gap64_e05eb", O = "aub_styles-module_start_59232", k = "aub_styles-module_center_a8723", q = "aub_styles-module_end_40e0b", z = "aub_styles-module_justify-start_94083", A = "aub_styles-module_justify-center_eadc0", B = "aub_styles-module_justify-end_b6925", D = "aub_styles-module_between_6ce09", t = {
|
|
12
|
+
root: j,
|
|
13
|
+
column: w,
|
|
14
|
+
wrap: x,
|
|
15
|
+
gap0: C,
|
|
16
|
+
gap4: F,
|
|
17
|
+
gap8: L,
|
|
18
|
+
gap12: N,
|
|
19
|
+
gap16: E,
|
|
20
|
+
gap20: I,
|
|
21
|
+
gap24: S,
|
|
22
|
+
gap32: h,
|
|
23
|
+
gap40: v,
|
|
24
|
+
gap48: R,
|
|
25
|
+
gap64: $,
|
|
26
|
+
start: O,
|
|
27
|
+
center: k,
|
|
28
|
+
end: q,
|
|
29
|
+
justifyStart: z,
|
|
30
|
+
justifyCenter: A,
|
|
31
|
+
justifyEnd: B,
|
|
32
|
+
between: D
|
|
33
|
+
}, G = {
|
|
34
34
|
0: t.gap0,
|
|
35
35
|
4: t.gap4,
|
|
36
36
|
8: t.gap8,
|
|
@@ -42,12 +42,12 @@ const w = "aub_styles-module_root_208b0", x = "aub_styles-module_column_7b48c",
|
|
|
42
42
|
40: t.gap40,
|
|
43
43
|
48: t.gap48,
|
|
44
44
|
64: t.gap64
|
|
45
|
-
},
|
|
45
|
+
}, H = {
|
|
46
46
|
start: t.start,
|
|
47
47
|
center: t.center,
|
|
48
48
|
end: t.end,
|
|
49
49
|
stretch: null
|
|
50
|
-
},
|
|
50
|
+
}, J = {
|
|
51
51
|
start: t.justifyStart,
|
|
52
52
|
center: t.justifyCenter,
|
|
53
53
|
end: t.justifyEnd,
|
|
@@ -58,36 +58,34 @@ const w = "aub_styles-module_root_208b0", x = "aub_styles-module_column_7b48c",
|
|
|
58
58
|
children: a,
|
|
59
59
|
direction: e = "row",
|
|
60
60
|
gap: o = 16,
|
|
61
|
-
align:
|
|
62
|
-
justify:
|
|
61
|
+
align: u = "stretch",
|
|
62
|
+
justify: l = "start",
|
|
63
63
|
wrap: d = !1,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
...f
|
|
64
|
+
className: y,
|
|
65
|
+
dataTestId: m,
|
|
66
|
+
...b
|
|
68
67
|
}) => /* @__PURE__ */ n(
|
|
69
68
|
"div",
|
|
70
69
|
{
|
|
71
|
-
...
|
|
70
|
+
...b,
|
|
72
71
|
ref: s,
|
|
73
|
-
hidden: y,
|
|
74
72
|
className: p(
|
|
75
73
|
t.root,
|
|
76
74
|
e === "column" && t.column,
|
|
77
75
|
d && t.wrap,
|
|
78
|
-
|
|
76
|
+
G[o],
|
|
77
|
+
H[u],
|
|
79
78
|
J[l],
|
|
80
|
-
|
|
81
|
-
m
|
|
79
|
+
y
|
|
82
80
|
),
|
|
83
|
-
"data-test-id":
|
|
81
|
+
"data-test-id": m,
|
|
84
82
|
children: a
|
|
85
83
|
}
|
|
86
84
|
)
|
|
87
85
|
);
|
|
88
86
|
r.displayName = "FlexLayout";
|
|
89
|
-
const
|
|
87
|
+
const Q = Object.assign(r, { Item: g });
|
|
90
88
|
export {
|
|
91
|
-
|
|
89
|
+
Q as FlexLayout
|
|
92
90
|
};
|
|
93
91
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/flex-layout/components/Item/index.tsx","../../src/flex-layout/Component.tsx"],"sourcesContent":["import cn from 'classnames';\n\nimport { supportRef } from '@ds/common/support-ref';\n\nimport { type IFlexLayoutItemProps } from '../../types';\n\nimport styles from './styles.module.css';\n\nexport const FlexLayoutItem = supportRef(\n ({ ref, children, grow = false, className, dataTestId, ...props }: IFlexLayoutItemProps) => (\n <div {...props} ref={ref} className={cn(styles.root, grow && styles.grow, className)} data-test-id={dataTestId}>\n {children}\n </div>\n )\n);\n\nFlexLayoutItem.displayName = 'FlexLayout.Item';\n","import cn from 'classnames';\n\nimport { supportRef } from '@ds/common/support-ref';\n\nimport { FlexLayoutItem } from './components/Item';\nimport { type IFlexLayoutProps, type TFlexLayoutAlign, type TFlexLayoutGap, type TFlexLayoutJustify } from './types';\n\nimport styles from './styles.module.css';\n\nconst gapClass: Record<TFlexLayoutGap, string> = {\n 0: styles.gap0,\n 4: styles.gap4,\n 8: styles.gap8,\n 12: styles.gap12,\n 16: styles.gap16,\n 20: styles.gap20,\n 24: styles.gap24,\n 32: styles.gap32,\n 40: styles.gap40,\n 48: styles.gap48,\n 64: styles.gap64,\n};\n\nconst alignClass: Record<TFlexLayoutAlign, string | null> = {\n start: styles.start,\n center: styles.center,\n end: styles.end,\n stretch: null,\n};\n\nconst justifyClass: Record<TFlexLayoutJustify, string> = {\n start: styles.justifyStart,\n center: styles.justifyCenter,\n end: styles.justifyEnd,\n between: styles.between,\n};\n\nconst FlexLayoutRoot = supportRef(\n ({\n ref,\n children,\n direction = 'row',\n gap = 16,\n align = 'stretch',\n justify = 'start',\n wrap = false,\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/flex-layout/components/Item/index.tsx","../../src/flex-layout/Component.tsx"],"sourcesContent":["import cn from 'classnames';\n\nimport { supportRef } from '@ds/common/support-ref';\n\nimport { type IFlexLayoutItemProps } from '../../types';\n\nimport styles from './styles.module.css';\n\nexport const FlexLayoutItem = supportRef(\n ({ ref, children, grow = false, className, dataTestId, ...props }: IFlexLayoutItemProps) => (\n <div {...props} ref={ref} className={cn(styles.root, grow && styles.grow, className)} data-test-id={dataTestId}>\n {children}\n </div>\n )\n);\n\nFlexLayoutItem.displayName = 'FlexLayout.Item';\n","import cn from 'classnames';\n\nimport { supportRef } from '@ds/common/support-ref';\n\nimport { FlexLayoutItem } from './components/Item';\nimport { type IFlexLayoutProps, type TFlexLayoutAlign, type TFlexLayoutGap, type TFlexLayoutJustify } from './types';\n\nimport styles from './styles.module.css';\n\nconst gapClass: Record<TFlexLayoutGap, string> = {\n 0: styles.gap0,\n 4: styles.gap4,\n 8: styles.gap8,\n 12: styles.gap12,\n 16: styles.gap16,\n 20: styles.gap20,\n 24: styles.gap24,\n 32: styles.gap32,\n 40: styles.gap40,\n 48: styles.gap48,\n 64: styles.gap64,\n};\n\nconst alignClass: Record<TFlexLayoutAlign, string | null> = {\n start: styles.start,\n center: styles.center,\n end: styles.end,\n stretch: null,\n};\n\nconst justifyClass: Record<TFlexLayoutJustify, string> = {\n start: styles.justifyStart,\n center: styles.justifyCenter,\n end: styles.justifyEnd,\n between: styles.between,\n};\n\nconst FlexLayoutRoot = supportRef(\n ({\n ref,\n children,\n direction = 'row',\n gap = 16,\n align = 'stretch',\n justify = 'start',\n wrap = false,\n className,\n dataTestId,\n ...props\n }: IFlexLayoutProps) => (\n <div\n {...props}\n ref={ref}\n className={cn(\n styles.root,\n direction === 'column' && styles.column,\n wrap && styles.wrap,\n gapClass[gap],\n alignClass[align],\n justifyClass[justify],\n className\n )}\n data-test-id={dataTestId}\n >\n {children}\n </div>\n )\n);\n\nFlexLayoutRoot.displayName = 'FlexLayout';\n\nexport const FlexLayout = Object.assign(FlexLayoutRoot, { Item: FlexLayoutItem });\n"],"names":["FlexLayoutItem","supportRef","ref","children","grow","className","dataTestId","props","jsx","cn","styles","gapClass","alignClass","justifyClass","FlexLayoutRoot","direction","gap","align","justify","wrap","FlexLayout"],"mappings":";;;;;;GAQaA,IAAiBC;AAAA,EAC1B,CAAC,EAAE,KAAAC,GAAK,UAAAC,GAAU,MAAAC,IAAO,IAAO,WAAAC,GAAW,YAAAC,GAAY,GAAGC,EAAA,MACtD,gBAAAC,EAAC,OAAA,EAAK,GAAGD,GAAO,KAAAL,GAAU,WAAWO,EAAGC,EAAO,MAAMN,KAAQM,EAAO,MAAML,CAAS,GAAG,gBAAcC,GAC/F,UAAAH,EAAA,CACL;AAER;AAEAH,EAAe,cAAc;;;;;;;;;;;;;;;;;;;;;;;GCPvBW,IAA2C;AAAA,EAC7C,GAAGD,EAAO;AAAA,EACV,GAAGA,EAAO;AAAA,EACV,GAAGA,EAAO;AAAA,EACV,IAAIA,EAAO;AAAA,EACX,IAAIA,EAAO;AAAA,EACX,IAAIA,EAAO;AAAA,EACX,IAAIA,EAAO;AAAA,EACX,IAAIA,EAAO;AAAA,EACX,IAAIA,EAAO;AAAA,EACX,IAAIA,EAAO;AAAA,EACX,IAAIA,EAAO;AACf,GAEME,IAAsD;AAAA,EACxD,OAAOF,EAAO;AAAA,EACd,QAAQA,EAAO;AAAA,EACf,KAAKA,EAAO;AAAA,EACZ,SAAS;AACb,GAEMG,IAAmD;AAAA,EACrD,OAAOH,EAAO;AAAA,EACd,QAAQA,EAAO;AAAA,EACf,KAAKA,EAAO;AAAA,EACZ,SAASA,EAAO;AACpB,GAEMI,IAAiBb;AAAA,EACnB,CAAC;AAAA,IACG,KAAAC;AAAA,IACA,UAAAC;AAAA,IACA,WAAAY,IAAY;AAAA,IACZ,KAAAC,IAAM;AAAA,IACN,OAAAC,IAAQ;AAAA,IACR,SAAAC,IAAU;AAAA,IACV,MAAAC,IAAO;AAAA,IACP,WAAAd;AAAA,IACA,YAAAC;AAAA,IACA,GAAGC;AAAA,EAAA,MAEH,gBAAAC;AAAA,IAAC;AAAA,IAAA;AAAA,MACI,GAAGD;AAAA,MACJ,KAAAL;AAAA,MACA,WAAWO;AAAA,QACPC,EAAO;AAAA,QACPK,MAAc,YAAYL,EAAO;AAAA,QACjCS,KAAQT,EAAO;AAAA,QACfC,EAASK,CAAG;AAAA,QACZJ,EAAWK,CAAK;AAAA,QAChBJ,EAAaK,CAAO;AAAA,QACpBb;AAAA,MAAA;AAAA,MAEJ,gBAAcC;AAAA,MAEb,UAAAH;AAAA,IAAA;AAAA,EAAA;AAGb;AAEAW,EAAe,cAAc;AAEtB,MAAMM,IAAa,OAAO,OAAON,GAAgB,EAAE,MAAMd,GAAgB;"}
|
|
@@ -21,8 +21,6 @@ export interface IFlexLayoutOwnProps extends IDataTestIdProps {
|
|
|
21
21
|
justify?: TFlexLayoutJustify;
|
|
22
22
|
/** Wrap items onto the next line. */
|
|
23
23
|
wrap?: boolean;
|
|
24
|
-
/** Removes the layout from the page. */
|
|
25
|
-
hidden?: boolean;
|
|
26
24
|
/** Ref to the layout (React 19 prop). */
|
|
27
25
|
ref?: Ref<HTMLDivElement>;
|
|
28
26
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/flex-layout/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAE7E,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,2CAA2C;AAC3C,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE/E,iBAAiB;AACjB,MAAM,MAAM,oBAAoB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAEpD,4BAA4B;AAC5B,MAAM,MAAM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AW,mBAAoB,SAAQ,gBAAgB;IACzD,QAAQ,EAAE,SAAS,CAAC;IACpB,qBAAqB;IACrB,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,yBAAyB;IACzB,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,4BAA4B;IAC5B,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,8BAA8B;IAC9B,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,qCAAqC;IACrC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,yCAAyC;IACzC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC7B;AAED,MAAM,WAAW,gBACb,SAAQ,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,MAAM,mBAAmB,GAAG,UAAU,CAAC,EAAE,mBAAmB;CAAG;AAE9G,qCAAqC;AACrC,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB;IAC7D,QAAQ,EAAE,SAAS,CAAC;IACpB,4CAA4C;IAC5C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,uCAAuC;IACvC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC7B;AAED,MAAM,WAAW,oBACb,SAAQ,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,MAAM,uBAAuB,GAAG,UAAU,CAAC,EAAE,uBAAuB;CAAG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IGridLayoutProps } from './types';
|
|
2
|
-
export declare const GridLayout: (({ ref, children, cols, gap, col, align,
|
|
2
|
+
export declare const GridLayout: (({ ref, children, cols, gap, col, align, className, dataTestId, style, ...props }: IGridLayoutProps) => import("react").JSX.Element) & {
|
|
3
3
|
displayName?: string;
|
|
4
4
|
} & {
|
|
5
5
|
Item: (({ ref, children, col, className, dataTestId, style, ...props }: import('./types').IGridLayoutItemProps) => import("react").JSX.Element) & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../src/grid-layout/Component.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,gBAAgB,EAA8C,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../src/grid-layout/Component.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,gBAAgB,EAA8C,MAAM,SAAS,CAAC;AA6D5F,eAAO,MAAM,UAAU,sFAvBhB,gBAAgB;;;;;;CAuB0D,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import g from "classnames";
|
|
3
3
|
import { s as _ } from "../index-h8z54aFR.js";
|
|
4
|
-
import '../assets/
|
|
5
|
-
root:
|
|
4
|
+
import '../assets/index18.css';const f = (a) => typeof a == "number" ? `repeat(${a}, minmax(0, 1fr))` : a.map((e) => typeof e == "number" ? `${e}fr` : e).join(" "), d = (a) => a === "full" ? "1 / -1" : typeof a == "number" ? `span ${a}` : "auto", G = "aub_styles-module_root_d8095", L = {
|
|
5
|
+
root: G
|
|
6
6
|
}, m = _(
|
|
7
7
|
({ ref: a, children: e, col: s, className: o, dataTestId: p, style: u, ...r }) => {
|
|
8
8
|
const n = {
|
|
@@ -14,7 +14,7 @@ import '../assets/index17.css';const G = (a) => typeof a == "number" ? `repeat($
|
|
|
14
14
|
{
|
|
15
15
|
...r,
|
|
16
16
|
ref: a,
|
|
17
|
-
className: g(
|
|
17
|
+
className: g(L.root, o),
|
|
18
18
|
style: n,
|
|
19
19
|
"data-test-id": p,
|
|
20
20
|
children: e
|
|
@@ -23,23 +23,23 @@ import '../assets/index17.css';const G = (a) => typeof a == "number" ? `repeat($
|
|
|
23
23
|
}
|
|
24
24
|
);
|
|
25
25
|
m.displayName = "GridLayout.Item";
|
|
26
|
-
const
|
|
27
|
-
root:
|
|
28
|
-
gap0:
|
|
29
|
-
gap4:
|
|
30
|
-
gap8:
|
|
31
|
-
gap12:
|
|
32
|
-
gap16:
|
|
33
|
-
gap20:
|
|
34
|
-
gap24:
|
|
35
|
-
gap32:
|
|
36
|
-
gap40:
|
|
37
|
-
gap48:
|
|
38
|
-
gap64:
|
|
39
|
-
start:
|
|
40
|
-
center:
|
|
41
|
-
end:
|
|
42
|
-
},
|
|
26
|
+
const $ = "aub_styles-module_root_5a7d4", N = "aub_styles-module_gap0_5a7ed", j = "aub_styles-module_gap4_201c5", x = "aub_styles-module_gap8_aeb1b", C = "aub_styles-module_gap12_2f1c5", I = "aub_styles-module_gap16_1d6bd", h = "aub_styles-module_gap20_2755c", v = "aub_styles-module_gap24_77b33", R = "aub_styles-module_gap32_af5e0", S = "aub_styles-module_gap40_05ba5", O = "aub_styles-module_gap48_5a222", T = "aub_styles-module_gap64_f11d8", q = "aub_styles-module_start_902b5", w = "aub_styles-module_center_08d51", z = "aub_styles-module_end_b5c44", t = {
|
|
27
|
+
root: $,
|
|
28
|
+
gap0: N,
|
|
29
|
+
gap4: j,
|
|
30
|
+
gap8: x,
|
|
31
|
+
gap12: C,
|
|
32
|
+
gap16: I,
|
|
33
|
+
gap20: h,
|
|
34
|
+
gap24: v,
|
|
35
|
+
gap32: R,
|
|
36
|
+
gap40: S,
|
|
37
|
+
gap48: O,
|
|
38
|
+
gap64: T,
|
|
39
|
+
start: q,
|
|
40
|
+
center: w,
|
|
41
|
+
end: z
|
|
42
|
+
}, A = {
|
|
43
43
|
0: t.gap0,
|
|
44
44
|
4: t.gap4,
|
|
45
45
|
8: t.gap8,
|
|
@@ -51,7 +51,7 @@ const N = "aub_styles-module_root_5a7d4", j = "aub_styles-module_gap0_5a7ed", x
|
|
|
51
51
|
40: t.gap40,
|
|
52
52
|
48: t.gap48,
|
|
53
53
|
64: t.gap64
|
|
54
|
-
},
|
|
54
|
+
}, B = {
|
|
55
55
|
start: t.start,
|
|
56
56
|
center: t.center,
|
|
57
57
|
end: t.end,
|
|
@@ -64,34 +64,32 @@ const N = "aub_styles-module_root_5a7d4", j = "aub_styles-module_gap0_5a7ed", x
|
|
|
64
64
|
gap: o = 16,
|
|
65
65
|
col: p,
|
|
66
66
|
align: u = "stretch",
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
...b
|
|
67
|
+
className: r,
|
|
68
|
+
dataTestId: n,
|
|
69
|
+
style: y,
|
|
70
|
+
...i
|
|
72
71
|
}) => {
|
|
73
|
-
const
|
|
74
|
-
...
|
|
75
|
-
"--aui-grid-layout-template":
|
|
72
|
+
const b = {
|
|
73
|
+
...y,
|
|
74
|
+
"--aui-grid-layout-template": f(s),
|
|
76
75
|
"--aui-grid-layout-col": d(p)
|
|
77
76
|
};
|
|
78
77
|
return /* @__PURE__ */ l(
|
|
79
78
|
"div",
|
|
80
79
|
{
|
|
81
|
-
...
|
|
80
|
+
...i,
|
|
82
81
|
ref: a,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"data-test-id": y,
|
|
82
|
+
className: g(t.root, A[o], B[u], r),
|
|
83
|
+
style: b,
|
|
84
|
+
"data-test-id": n,
|
|
87
85
|
children: e
|
|
88
86
|
}
|
|
89
87
|
);
|
|
90
88
|
}
|
|
91
89
|
);
|
|
92
90
|
c.displayName = "GridLayout";
|
|
93
|
-
const
|
|
91
|
+
const H = Object.assign(c, { Item: m });
|
|
94
92
|
export {
|
|
95
|
-
|
|
93
|
+
H as GridLayout
|
|
96
94
|
};
|
|
97
95
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../src/grid-layout/utils.ts","../../src/grid-layout/components/Item/index.tsx","../../src/grid-layout/Component.tsx"],"sourcesContent":["import { type TGridLayoutCol, type TGridLayoutTrack } from './types';\n\n/** Equal tracks, or an explicit list (`2` → two `1fr`, `2` inside a list → `2fr`). */\nexport const toGridLayoutTemplate = (cols: number | TGridLayoutTrack[]): string => {\n if (typeof cols === 'number') {\n return `repeat(${cols}, minmax(0, 1fr))`;\n }\n\n return cols.map(track => (typeof track === 'number' ? `${track}fr` : track)).join(' ');\n};\n\n/** Item span. `full` crosses every column. */\nexport const toGridLayoutColumn = (col?: TGridLayoutCol): string => {\n if (col === 'full') {\n return '1 / -1';\n }\n\n if (typeof col === 'number') {\n return `span ${col}`;\n }\n\n return 'auto';\n};\n","import cn from 'classnames';\n\nimport { supportRef } from '@ds/common/support-ref';\n\nimport { type IGridLayoutItemProps, type IGridLayoutStyle } from '../../types';\nimport { toGridLayoutColumn } from '../../utils';\n\nimport styles from './styles.module.css';\n\nexport const GridLayoutItem = supportRef(\n ({ ref, children, col, className, dataTestId, style, ...props }: IGridLayoutItemProps) => {\n const itemStyle: IGridLayoutStyle = {\n ...style,\n '--aui-grid-layout-col': toGridLayoutColumn(col),\n };\n\n return (\n <div\n {...props}\n ref={ref}\n className={cn(styles.root, className)}\n style={itemStyle}\n data-test-id={dataTestId}\n >\n {children}\n </div>\n );\n }\n);\n\nGridLayoutItem.displayName = 'GridLayout.Item';\n","import cn from 'classnames';\n\nimport { supportRef } from '@ds/common/support-ref';\n\nimport { GridLayoutItem } from './components/Item';\nimport { type IGridLayoutProps, type IGridLayoutStyle, type TGridLayoutGap } from './types';\nimport { toGridLayoutColumn, toGridLayoutTemplate } from './utils';\n\nimport styles from './styles.module.css';\n\nconst gapClass: Record<TGridLayoutGap, string> = {\n 0: styles.gap0,\n 4: styles.gap4,\n 8: styles.gap8,\n 12: styles.gap12,\n 16: styles.gap16,\n 20: styles.gap20,\n 24: styles.gap24,\n 32: styles.gap32,\n 40: styles.gap40,\n 48: styles.gap48,\n 64: styles.gap64,\n};\n\nconst alignClass = {\n start: styles.start,\n center: styles.center,\n end: styles.end,\n stretch: null,\n} as const;\n\nconst GridLayoutRoot = supportRef(\n ({\n ref,\n children,\n cols,\n gap = 16,\n col,\n align = 'stretch',\n
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../src/grid-layout/utils.ts","../../src/grid-layout/components/Item/index.tsx","../../src/grid-layout/Component.tsx"],"sourcesContent":["import { type TGridLayoutCol, type TGridLayoutTrack } from './types';\n\n/** Equal tracks, or an explicit list (`2` → two `1fr`, `2` inside a list → `2fr`). */\nexport const toGridLayoutTemplate = (cols: number | TGridLayoutTrack[]): string => {\n if (typeof cols === 'number') {\n return `repeat(${cols}, minmax(0, 1fr))`;\n }\n\n return cols.map(track => (typeof track === 'number' ? `${track}fr` : track)).join(' ');\n};\n\n/** Item span. `full` crosses every column. */\nexport const toGridLayoutColumn = (col?: TGridLayoutCol): string => {\n if (col === 'full') {\n return '1 / -1';\n }\n\n if (typeof col === 'number') {\n return `span ${col}`;\n }\n\n return 'auto';\n};\n","import cn from 'classnames';\n\nimport { supportRef } from '@ds/common/support-ref';\n\nimport { type IGridLayoutItemProps, type IGridLayoutStyle } from '../../types';\nimport { toGridLayoutColumn } from '../../utils';\n\nimport styles from './styles.module.css';\n\nexport const GridLayoutItem = supportRef(\n ({ ref, children, col, className, dataTestId, style, ...props }: IGridLayoutItemProps) => {\n const itemStyle: IGridLayoutStyle = {\n ...style,\n '--aui-grid-layout-col': toGridLayoutColumn(col),\n };\n\n return (\n <div\n {...props}\n ref={ref}\n className={cn(styles.root, className)}\n style={itemStyle}\n data-test-id={dataTestId}\n >\n {children}\n </div>\n );\n }\n);\n\nGridLayoutItem.displayName = 'GridLayout.Item';\n","import cn from 'classnames';\n\nimport { supportRef } from '@ds/common/support-ref';\n\nimport { GridLayoutItem } from './components/Item';\nimport { type IGridLayoutProps, type IGridLayoutStyle, type TGridLayoutGap } from './types';\nimport { toGridLayoutColumn, toGridLayoutTemplate } from './utils';\n\nimport styles from './styles.module.css';\n\nconst gapClass: Record<TGridLayoutGap, string> = {\n 0: styles.gap0,\n 4: styles.gap4,\n 8: styles.gap8,\n 12: styles.gap12,\n 16: styles.gap16,\n 20: styles.gap20,\n 24: styles.gap24,\n 32: styles.gap32,\n 40: styles.gap40,\n 48: styles.gap48,\n 64: styles.gap64,\n};\n\nconst alignClass = {\n start: styles.start,\n center: styles.center,\n end: styles.end,\n stretch: null,\n} as const;\n\nconst GridLayoutRoot = supportRef(\n ({\n ref,\n children,\n cols,\n gap = 16,\n col,\n align = 'stretch',\n className,\n dataTestId,\n style,\n ...props\n }: IGridLayoutProps) => {\n const gridStyle: IGridLayoutStyle = {\n ...style,\n '--aui-grid-layout-template': toGridLayoutTemplate(cols),\n '--aui-grid-layout-col': toGridLayoutColumn(col),\n };\n\n return (\n <div\n {...props}\n ref={ref}\n className={cn(styles.root, gapClass[gap], alignClass[align], className)}\n style={gridStyle}\n data-test-id={dataTestId}\n >\n {children}\n </div>\n );\n }\n);\n\nGridLayoutRoot.displayName = 'GridLayout';\n\nexport const GridLayout = Object.assign(GridLayoutRoot, { Item: GridLayoutItem });\n"],"names":["toGridLayoutTemplate","cols","track","toGridLayoutColumn","col","GridLayoutItem","supportRef","ref","children","className","dataTestId","style","props","itemStyle","jsx","cn","styles","gapClass","alignClass","GridLayoutRoot","gap","align","gridStyle","GridLayout"],"mappings":";;;AAGO,MAAMA,IAAuB,CAACC,MAC7B,OAAOA,KAAS,WACT,UAAUA,CAAI,sBAGlBA,EAAK,IAAI,CAAAC,MAAU,OAAOA,KAAU,WAAW,GAAGA,CAAK,OAAOA,CAAM,EAAE,KAAK,GAAG,GAI5EC,IAAqB,CAACC,MAC3BA,MAAQ,SACD,WAGP,OAAOA,KAAQ,WACR,QAAQA,CAAG,KAGf;;GCZEC,IAAiBC;AAAA,EAC1B,CAAC,EAAE,KAAAC,GAAK,UAAAC,GAAU,KAAAJ,GAAK,WAAAK,GAAW,YAAAC,GAAY,OAAAC,GAAO,GAAGC,QAAkC;AACtF,UAAMC,IAA8B;AAAA,MAChC,GAAGF;AAAA,MACH,yBAAyBR,EAAmBC,CAAG;AAAA,IAAA;AAGnD,WACI,gBAAAU;AAAA,MAAC;AAAA,MAAA;AAAA,QACI,GAAGF;AAAA,QACJ,KAAAL;AAAA,QACA,WAAWQ,EAAG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IAAa,OAAO,OAAOJ,GAAgB,EAAE,MAAMd,GAAgB;"}
|
|
@@ -19,8 +19,6 @@ export interface IGridLayoutOwnProps extends IDataTestIdProps {
|
|
|
19
19
|
col?: TGridLayoutCol;
|
|
20
20
|
/** Cross-axis alignment. */
|
|
21
21
|
align?: TGridLayoutAlign;
|
|
22
|
-
/** Removes the grid from the layout. */
|
|
23
|
-
hidden?: boolean;
|
|
24
22
|
/** Ref to the grid (React 19 prop). */
|
|
25
23
|
ref?: Ref<HTMLDivElement>;
|
|
26
24
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/grid-layout/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjG,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEnD,2CAA2C;AAC3C,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAE/E,iEAAiE;AACjE,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,MAAM,CAAC;AAE/C,sCAAsC;AACtC,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC;AAE7C,qCAAqC;AACrC,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;AAEtE,gCAAgC;AAChC,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IACzD,QAAQ,EAAE,SAAS,CAAC;IACpB,gDAAgD;IAChD,IAAI,EAAE,MAAM,GAAG,gBAAgB,EAAE,CAAC;IAClC,yBAAyB;IACzB,GAAG,CAAC,EAAE,cAAc,CAAC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AC,EAAE,MAAM,mBAAmB,GAAG,UAAU,CAAC,EAAE,mBAAmB;CAAG;AAE9G,qCAAqC;AACrC,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB;IAC7D,QAAQ,EAAE,SAAS,CAAC;IACpB,kDAAkD;IAClD,GAAG,CAAC,EAAE,cAAc,CAAC;IACrB,uCAAuC;IACvC,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAC7B;AAED,MAAM,WAAW,oBACb,SAAQ,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE,MAAM,uBAAuB,GAAG,UAAU,CAAC,EAAE,uBAAuB;CAAG;AAEtH,6CAA6C;AAC7C,MAAM,WAAW,gBAAiB,SAAQ,aAAa;IACnD,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,uBAAuB,CAAC,EAAE,MAAM,CAAC;CACpC"}
|
|
@@ -17,6 +17,8 @@ const i = {
|
|
|
17
17
|
colorHue: "Оттенок",
|
|
18
18
|
colorPalette: "Палитра цветов",
|
|
19
19
|
colorPresets: "Готовые цвета",
|
|
20
|
+
showPassword: "Показать пароль",
|
|
21
|
+
hidePassword: "Скрыть пароль",
|
|
20
22
|
pageSize: "Строк на странице",
|
|
21
23
|
paginationPrev: "Назад",
|
|
22
24
|
paginationNext: "Далее",
|
|
@@ -79,13 +81,13 @@ const i = {
|
|
|
79
81
|
if (!o)
|
|
80
82
|
throw new Error("AdminUiProvider is required. Wrap the app with <AdminUiProvider>.");
|
|
81
83
|
return o;
|
|
82
|
-
}, d = () => e().labels, p = () => e().locale,
|
|
84
|
+
}, d = () => e().labels, p = () => e().locale, s = () => e().direction, l = () => e().linkComponent ?? "a";
|
|
83
85
|
export {
|
|
84
86
|
r as A,
|
|
85
|
-
|
|
86
|
-
|
|
87
|
+
s as a,
|
|
88
|
+
l as b,
|
|
87
89
|
p as c,
|
|
88
90
|
i as d,
|
|
89
91
|
d as u
|
|
90
92
|
};
|
|
91
|
-
//# sourceMappingURL=hooks-
|
|
93
|
+
//# sourceMappingURL=hooks-Di5rgHTG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks-Di5rgHTG.js","sources":["../src/provider/context.ts","../src/provider/hooks.ts"],"sourcesContent":["import { createContext } from 'react';\n\nimport { type IAuiContextValue, type IAuiLabels } from './types';\n\nexport const defaultLabels: IAuiLabels = {\n close: 'Закрыть',\n clear: 'Очистить',\n confirm: 'Подтвердить',\n cancel: 'Отмена',\n delete: 'Удалить',\n notDelete: 'Не удалять',\n loading: 'Загрузка',\n loadingSuggestions: 'Загрузка подсказок',\n noSuggestions: 'Ничего не найдено',\n suggestionsError: 'Не удалось загрузить подсказки',\n moreSelected: 'ещё выбрано',\n openCalendar: 'Открыть календарь',\n openPalette: 'Открыть палитру',\n colorCode: 'Код цвета',\n colorHue: 'Оттенок',\n colorPalette: 'Палитра цветов',\n colorPresets: 'Готовые цвета',\n showPassword: 'Показать пароль',\n hidePassword: 'Скрыть пароль',\n pageSize: 'Строк на странице',\n paginationPrev: 'Назад',\n paginationNext: 'Далее',\n paginationPage: 'Страница {page}',\n paginationRange: '{from}–{to} из {total}',\n collapseSidebar: 'Свернуть меню',\n expandSidebar: 'Развернуть меню',\n resizeSidebar: 'Изменить ширину меню',\n pinMenuItem: 'Закрепить',\n unpinMenuItem: 'Открепить',\n pinnedSection: 'Закреплённые',\n pinnedSectionHint: 'ПКМ по пункту меню, чтобы закрепить',\n searchMenu: 'Поиск по меню',\n searchMenuEmpty: 'Ничего не найдено',\n openInNewTab: 'Открыть в новой вкладке',\n sortAscending: 'По возрастанию',\n sortDescending: 'По убыванию',\n moreActions: 'Ещё действия',\n save: 'Сохранить',\n arrangementList: 'Элементы',\n clearFilters: 'Очистить',\n copy: 'Копировать',\n copied: 'Скопировано: {value}',\n copyFailed: 'Не удалось скопировать',\n dropzonePrompt: 'Нажмите, чтобы загрузить, или перетащите файл',\n dropzoneAdd: 'Добавить файл',\n dropzoneRemove: 'Удалить файл',\n dropzoneList: 'Файлы',\n dropzoneReorder: 'Изменить порядок',\n dropzoneTooBig: 'Файл больше {size}',\n dropzoneByte: '{size} Б',\n dropzoneKilobyte: '{size} КБ',\n dropzoneMegabyte: '{size} МБ',\n dropzoneBadType: 'Недопустимый тип файла',\n dropzoneTooMany: 'Можно добавить не больше {count} файлов',\n dropzoneNameLength: 'Имя длиннее {count} символов',\n dropzoneDuplicate: 'Файл с таким именем уже добавлен',\n dropzoneRejected: 'Файл не добавлен',\n dropzoneUploadFailed: 'Не удалось загрузить файл',\n dropzoneRetry: 'Повторить',\n dropzoneSelectHint: 'Нажмите на файл, чтобы выделить',\n dropzoneSelected: 'Выбрано {count} из {total}',\n dropzoneSelectAll: 'Выбрать все',\n dropzoneDeleteSelected: 'Удалить выбранные',\n dropzoneDeleted: 'Удалено {count}',\n dropzoneReplace: 'Перетащите файл, чтобы заменить',\n dropzoneReplaceDrop: 'Отпустите, чтобы заменить «{name}»',\n dropzoneReplacing: 'заменяется',\n dropzoneWillReplace: 'будет заменён',\n dropzoneNotReplaced: 'Файл не заменён: {reason}',\n dropzoneCancel: 'Отменить',\n dropzoneQuotaCount: '{count} из {max}',\n dropzoneQuotaBytes: '{size} из {max}',\n dropzonePerFile: 'до {size} на файл',\n dropzoneTotalTooBig: '{name}: не хватило места, осталось {size}',\n dropzoneLimitReached: 'Достигнут лимит: {count} из {max}',\n dropzoneUploading: 'Дождитесь окончания загрузки',\n};\n\nexport const AuiContext = createContext<IAuiContextValue | null>(null);\n","import { useContext } from 'react';\n\nimport { AuiContext } from './context';\nimport { type IAuiContextValue, type IAuiLabels, type TAuiLinkComponent, type TTextDirection } from './types';\n\nconst useAuiContext = (): IAuiContextValue => {\n const context = useContext(AuiContext);\n\n if (!context) {\n throw new Error('AdminUiProvider is required. Wrap the app with <AdminUiProvider>.');\n }\n\n return context;\n};\n\nexport const useAuiLabels = (): IAuiLabels => useAuiContext().labels;\n\nexport const useAuiLocale = (): string => useAuiContext().locale;\n\nexport const useAuiDirection = (): TTextDirection => useAuiContext().direction;\n\n/** Host router link from AdminUiProvider. Defaults to `a`. */\nexport const useAuiLink = (): TAuiLinkComponent => useAuiContext().linkComponent ?? 'a';\n"],"names":["defaultLabels","AuiContext","createContext","useAuiContext","context","useContext","useAuiLabels","useAuiLocale","useAuiDirection","useAuiLink"],"mappings":";AAIO,MAAMA,IAA4B;AAAA,EACrC,OAAO;AAAA,EACP,OAAO;AAAA,EACP,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,SAAS;AAAA,EACT,oBAAoB;AAAA,EACpB,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,cAAc;AAAA,EACd,cAAc;AAAA,EACd,aAAa;AAAA,EACb,WAAW;AAAA,EACX,UAAU;AAAA,EACV,cAAc;AAAA,EACd,cAAc;AAAA,EACd,cAAc;AAAA,EACd,cAAc;AAAA,EACd,UAAU;AAAA,EACV,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,eAAe;AAAA,EACf,aAAa;AAAA,EACb,eAAe;AAAA,EACf,eAAe;AAAA,EACf,mBAAmB;AAAA,EACnB,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,EACnB,kBAAkB;AAAA,EAClB,sBAAsB;AAAA,EACtB,eAAe;AAAA,EACf,oBAAoB;AAAA,EACpB,kBAAkB;AAAA,EAClB,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,iBAAiB;AAAA,EACjB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,gBAAgB;AAAA,EAChB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,sBAAsB;AAAA,EACtB,mBAAmB;AACvB,GAEaC,IAAaC,EAAuC,IAAI,GC9E/DC,IAAgB,MAAwB;AAC1C,QAAMC,IAAUC,EAAWJ,CAAU;AAErC,MAAI,CAACG;AACD,UAAM,IAAI,MAAM,mEAAmE;AAGvF,SAAOA;AACX,GAEaE,IAAe,MAAkBH,IAAgB,QAEjDI,IAAe,MAAcJ,IAAgB,QAE7CK,IAAkB,MAAsBL,IAAgB,WAGxDM,IAAa,MAAyBN,EAAA,EAAgB,iBAAiB;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
/** Open eye (Phosphor regular). */
|
|
3
|
+
export declare const Eye: (({ title, ...props }: SVGProps<SVGSVGElement> & {
|
|
4
|
+
title?: string;
|
|
5
|
+
}) => import("react").JSX.Element) & {
|
|
6
|
+
displayName?: string;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=Eye.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Eye.d.ts","sourceRoot":"","sources":["../../../src/icons/Eye.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAItC,mCAAmC;AACnC,eAAO,MAAM,GAAG,yBAAoC,QAAQ,CAAC,aAAa,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE;;CAc9F,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
/** Eye with a slash. */
|
|
3
|
+
export declare const EyeOff: (({ title, ...props }: SVGProps<SVGSVGElement> & {
|
|
4
|
+
title?: string;
|
|
5
|
+
}) => import("react").JSX.Element) & {
|
|
6
|
+
displayName?: string;
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=EyeOff.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EyeOff.d.ts","sourceRoot":"","sources":["../../../src/icons/EyeOff.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAItC,wBAAwB;AACxB,eAAO,MAAM,MAAM,yBAAoC,QAAQ,CAAC,aAAa,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE;;CAkBjG,CAAC"}
|