@nar-bus/ui-kit 1.6.0 → 1.7.0
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/atoms/ScrollArea.d.ts +19 -0
- package/dist/atoms/ScrollArea.d.ts.map +1 -0
- package/dist/atoms/index.d.ts +1 -0
- package/dist/atoms/index.d.ts.map +1 -1
- package/dist/i18n/en.json.d.ts +2 -1
- package/dist/i18n/resources.d.ts +2 -0
- package/dist/i18n/resources.d.ts.map +1 -1
- package/dist/i18n/resources.js +1 -1
- package/dist/i18n/tr.json.d.ts +2 -1
- package/dist/index.d.ts +6 -6
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2472 -2059
- package/dist/molecules/AvatarCell.d.ts +22 -0
- package/dist/molecules/AvatarCell.d.ts.map +1 -0
- package/dist/molecules/ColorPicker.d.ts +29 -0
- package/dist/molecules/ColorPicker.d.ts.map +1 -0
- package/dist/molecules/DateTimeInput.d.ts +33 -0
- package/dist/molecules/DateTimeInput.d.ts.map +1 -0
- package/dist/molecules/MonitoringCard.d.ts +30 -0
- package/dist/molecules/MonitoringCard.d.ts.map +1 -0
- package/dist/molecules/StateBlock.d.ts +50 -0
- package/dist/molecules/StateBlock.d.ts.map +1 -0
- package/dist/molecules/index.d.ts +5 -0
- package/dist/molecules/index.d.ts.map +1 -1
- package/dist/organisms/GlassTableShell.d.ts +23 -0
- package/dist/organisms/GlassTableShell.d.ts.map +1 -0
- package/dist/organisms/Stepper.d.ts +45 -0
- package/dist/organisms/Stepper.d.ts.map +1 -0
- package/dist/organisms/index.d.ts +2 -0
- package/dist/organisms/index.d.ts.map +1 -1
- package/dist/resources-BLEM3J7E.js +44 -0
- package/dist/theme.css +1 -1
- package/dist/ui-kit.css +1 -1
- package/package.json +1 -1
- package/dist/resources-mZGgfLey.js +0 -44
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface AvatarCellProps {
|
|
2
|
+
/** Primary label (display name). Seeds Avatar initials when no image. */
|
|
3
|
+
name: string | null | undefined;
|
|
4
|
+
/** Avatar image URL; falls back to initials derived from `name`. */
|
|
5
|
+
src?: string;
|
|
6
|
+
/** Secondary line under the name (email / id / role). Populating this = the "entity-cell" shape. */
|
|
7
|
+
subtitle?: string | null;
|
|
8
|
+
/** Avatar diameter. Default "sm" for table density. */
|
|
9
|
+
size?: "sm" | "md" | "lg";
|
|
10
|
+
/** Explicit initials override; otherwise derived from `name`. */
|
|
11
|
+
fallback?: string;
|
|
12
|
+
/** Truncate name/subtitle with a title tooltip. */
|
|
13
|
+
truncate?: boolean;
|
|
14
|
+
className?: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Avatar + name (+ optional subtitle) cell for table columns — the sibling of
|
|
18
|
+
* `TextCell`/`BadgeCell`. Reuses the `Avatar` atom (initials derived from `name`),
|
|
19
|
+
* so consumers drop their hand-rolled avatar circles. Null/empty name → "—".
|
|
20
|
+
*/
|
|
21
|
+
export declare function AvatarCell({ name, src, subtitle, size, fallback, truncate, className }: AvatarCellProps): import("react").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=AvatarCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AvatarCell.d.ts","sourceRoot":"","sources":["../../src/molecules/AvatarCell.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,eAAe;IAC9B,yEAAyE;IACzE,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAChC,oEAAoE;IACpE,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,oGAAoG;IACpG,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,uDAAuD;IACvD,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAW,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,eAAe,+BA4B9G"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export interface ColorPreset {
|
|
3
|
+
/** Emitted value, `"#RRGGBB"`. */
|
|
4
|
+
hex: string;
|
|
5
|
+
/** Swatch title / accessible name. */
|
|
6
|
+
label?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ColorPickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
|
|
9
|
+
/** Current colour, `"#RRGGBB"`. */
|
|
10
|
+
value: string;
|
|
11
|
+
/** Fires only when the value is a valid 6-digit hex. */
|
|
12
|
+
onChange: (color: string) => void;
|
|
13
|
+
/** Swatch grid. Defaults to the built-in 8-colour set. */
|
|
14
|
+
presets?: ColorPreset[];
|
|
15
|
+
/** Show the custom-hex row. Default `true`. */
|
|
16
|
+
allowCustom?: boolean;
|
|
17
|
+
/** Optional live preview pill; omit → no pill. */
|
|
18
|
+
previewLabel?: string;
|
|
19
|
+
id?: string;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* ColorPicker — inline preset swatch grid + custom hex field. No colour wheel,
|
|
25
|
+
* no popover (both real consumers render inline inside a form). Controlled via
|
|
26
|
+
* `value`/`onChange`; place inside a `FormField` for label/error wiring.
|
|
27
|
+
*/
|
|
28
|
+
export declare const ColorPicker: import('react').ForwardRefExoticComponent<ColorPickerProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
29
|
+
//# sourceMappingURL=ColorPicker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ColorPicker.d.ts","sourceRoot":"","sources":["../../src/molecules/ColorPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmC,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAK7E,MAAM,WAAW,WAAW;IAC1B,kCAAkC;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACxF,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,0DAA0D;IAC1D,OAAO,CAAC,EAAE,WAAW,EAAE,CAAC;IACxB,+CAA+C;IAC/C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,kDAAkD;IAClD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiBD;;;;GAIG;AACH,eAAO,MAAM,WAAW,6GAmHvB,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export interface DateTimeInputProps {
|
|
2
|
+
value?: Date | null;
|
|
3
|
+
/** Fires with a `Date` carrying both the picked day and `HH:mm`. */
|
|
4
|
+
onChange?: (value: Date | null) => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
/** Lower bound. The day is enforced on the calendar; on the boundary day the
|
|
7
|
+
* time input also gets a `min="HH:mm"` so a same-day earlier time is rejected. */
|
|
8
|
+
min?: Date;
|
|
9
|
+
/** Upper bound. Day enforced on the calendar; same-day time bounded via the
|
|
10
|
+
* time input's `max="HH:mm"`. */
|
|
11
|
+
max?: Date;
|
|
12
|
+
/** Native `<input type="time">` step, in minutes. Default `1`. */
|
|
13
|
+
minuteStep?: number;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
error?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* DateTimeInput — the time-aware sibling of `DatePicker`. Composes `DatePicker`
|
|
20
|
+
* (branded calendar, tr/en format) + a native `<Input type="time">`, exactly as
|
|
21
|
+
* `DateRangePicker` composes two `DatePicker`s. Value stays `Date | null` (a
|
|
22
|
+
* superset of `DatePickerProps`) so consumers' existing Date↔string bridges keep
|
|
23
|
+
* working. Changing the date preserves the current time (else 00:00); changing
|
|
24
|
+
* the time preserves the current date (else today); seconds are always zeroed.
|
|
25
|
+
*
|
|
26
|
+
* `min`/`max` are full datetime bounds: the calendar restricts day selection at
|
|
27
|
+
* day granularity (boundary days stay selectable), the emitted value is clamped
|
|
28
|
+
* into `[min, max]`, and on a boundary day the time input also shows an `HH:mm`
|
|
29
|
+
* bound. So picking the max day keeps a within-day time but snaps a later one to
|
|
30
|
+
* `max` rather than emitting an out-of-range datetime.
|
|
31
|
+
*/
|
|
32
|
+
export declare function DateTimeInput({ value, onChange, placeholder, min, max, minuteStep, disabled, error, className, }: DateTimeInputProps): import("react").JSX.Element;
|
|
33
|
+
//# sourceMappingURL=DateTimeInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateTimeInput.d.ts","sourceRoot":"","sources":["../../src/molecules/DateTimeInput.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;uFACmF;IACnF,GAAG,CAAC,EAAE,IAAI,CAAC;IACX;sCACkC;IAClC,GAAG,CAAC,EAAE,IAAI,CAAC;IACX,kEAAkE;IAClE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,EAC5B,KAAK,EACL,QAAQ,EACR,WAAW,EACX,GAAG,EACH,GAAG,EACH,UAAc,EACd,QAAQ,EACR,KAAK,EACL,SAAS,GACV,EAAE,kBAAkB,+BA4DpB"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface MonitoringCardProps extends Omit<HTMLAttributes<HTMLDivElement>, "title"> {
|
|
3
|
+
/** Header title — display font, uppercase, tracked. Required (16/16 HES panels have it). */
|
|
4
|
+
title: ReactNode;
|
|
5
|
+
/** Optional caption rendered below the title. */
|
|
6
|
+
subtitle?: ReactNode;
|
|
7
|
+
/** Optional icon rendered inline to the left of the title. */
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
/** Optional right-aligned header slot (e.g. a segmented selector / menu). */
|
|
10
|
+
actions?: ReactNode;
|
|
11
|
+
/** Card body. */
|
|
12
|
+
children?: ReactNode;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* MonitoringCard — the official `.mon-glass` shell that HES's 16 monitoring
|
|
17
|
+
* panels each hand-roll as a local `CardShell` (LUG-04 / hes-gaps#HG-13). It
|
|
18
|
+
* applies the `.mon-glass` recipe (already in the ui-kit theme) plus the shared
|
|
19
|
+
* uppercase display-font header, with slots for `icon` / `subtitle` / `actions`.
|
|
20
|
+
*
|
|
21
|
+
* Standalone, NOT built on the `Card` family — `Card` paints its own opaque
|
|
22
|
+
* surface which would double up with `.mon-glass`, and its title style differs.
|
|
23
|
+
*
|
|
24
|
+
* Generic surface only: the domain page context (`data-mon-page` / `data-glass`)
|
|
25
|
+
* is NOT a typed prop — the `.mon-glass` glass is page-scoped in the theme, so the
|
|
26
|
+
* consumer's page root owns that attribute (pass via the spread `...rest` escape
|
|
27
|
+
* hatch if needed). No `accent` prop: none of the 16 panels vary it (§13).
|
|
28
|
+
*/
|
|
29
|
+
export declare function MonitoringCard({ title, subtitle, icon, actions, children, className, ...rest }: MonitoringCardProps): import("react").JSX.Element;
|
|
30
|
+
//# sourceMappingURL=MonitoringCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MonitoringCard.d.ts","sourceRoot":"","sources":["../../src/molecules/MonitoringCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IACxF,4FAA4F;IAC5F,KAAK,EAAE,SAAS,CAAC;IACjB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,8DAA8D;IAC9D,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,6EAA6E;IAC7E,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,iBAAiB;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACR,EAAE,mBAAmB,+BAiCrB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { LucideIcon } from 'lucide-react';
|
|
3
|
+
export type StateBlockState = "loading" | "error" | "empty" | "success";
|
|
4
|
+
export interface StateBlockProps {
|
|
5
|
+
/** Precedence: loading > error > empty > success. */
|
|
6
|
+
isLoading?: boolean;
|
|
7
|
+
isError?: boolean;
|
|
8
|
+
/** True when the query resolved but has no rows (e.g. `data.length === 0`). */
|
|
9
|
+
isEmpty?: boolean;
|
|
10
|
+
/** Explicit override; when set, wins over the boolean flags. */
|
|
11
|
+
status?: StateBlockState;
|
|
12
|
+
/** "skeleton" (default) renders `skeletonRows` lines; "spinner" centers a Spinner. */
|
|
13
|
+
loadingVariant?: "skeleton" | "spinner";
|
|
14
|
+
/** Skeleton line count. Default 4. */
|
|
15
|
+
skeletonRows?: number;
|
|
16
|
+
/** Fully custom loading node — overrides `loadingVariant`. */
|
|
17
|
+
loadingFallback?: ReactNode;
|
|
18
|
+
error?: string | Error | null;
|
|
19
|
+
/**
|
|
20
|
+
* Retry action for the error state. `label` is caller-supplied (visible text
|
|
21
|
+
* AND accessible name) — mirrors `emptyAction` / `EmptyState.action`. Omit for
|
|
22
|
+
* no retry button. StateBlock stays i18n-free; the consumer localizes `label`.
|
|
23
|
+
*/
|
|
24
|
+
retryAction?: {
|
|
25
|
+
label: ReactNode;
|
|
26
|
+
onClick: () => void;
|
|
27
|
+
};
|
|
28
|
+
/** "block" (default, centered icon+text+retry) | "alert" (Alert bar). */
|
|
29
|
+
errorVariant?: "block" | "alert";
|
|
30
|
+
/** Icon for the "block" error variant. Default AlertCircle. */
|
|
31
|
+
errorIcon?: LucideIcon;
|
|
32
|
+
emptyIcon?: LucideIcon;
|
|
33
|
+
emptyTitle?: string;
|
|
34
|
+
emptyDescription?: string;
|
|
35
|
+
emptyAction?: {
|
|
36
|
+
label: string;
|
|
37
|
+
onClick: () => void;
|
|
38
|
+
};
|
|
39
|
+
emptySize?: "default" | "compact";
|
|
40
|
+
children?: ReactNode;
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Presentational loading / error / empty / success switch — composes the
|
|
45
|
+
* existing `Skeleton`/`Spinner`/`EmptyState`/`Alert` parts. Prop-driven (booleans
|
|
46
|
+
* in), no data fetching or i18n baked in, matching the ui-kit molecule tier.
|
|
47
|
+
* Precedence: loading > error > empty > success.
|
|
48
|
+
*/
|
|
49
|
+
export declare function StateBlock({ loadingVariant, skeletonRows, loadingFallback, error, retryAction, errorVariant, errorIcon: ErrorIcon, emptyIcon, emptyTitle, emptyDescription, emptyAction, emptySize, children, className, ...flags }: StateBlockProps): import("react").JSX.Element;
|
|
50
|
+
//# sourceMappingURL=StateBlock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StateBlock.d.ts","sourceRoot":"","sources":["../../src/molecules/StateBlock.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,KAAK,UAAU,EAA0B,MAAM,cAAc,CAAC;AAQvE,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,SAAS,CAAC;AAExE,MAAM,WAAW,eAAe;IAC9B,qDAAqD;IACrD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,+EAA+E;IAC/E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gEAAgE;IAChE,MAAM,CAAC,EAAE,eAAe,CAAC;IAGzB,sFAAsF;IACtF,cAAc,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACxC,sCAAsC;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,8DAA8D;IAC9D,eAAe,CAAC,EAAE,SAAS,CAAC;IAG5B,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,WAAW,CAAC,EAAE;QAAE,KAAK,EAAE,SAAS,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IACxD,yEAAyE;IACzE,YAAY,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACjC,+DAA+D;IAC/D,SAAS,CAAC,EAAE,UAAU,CAAC;IAGvB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,WAAW,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IACrD,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAGlC,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAUD;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,EACzB,cAA2B,EAC3B,YAAgB,EAChB,eAAe,EACf,KAAK,EACL,WAAW,EACX,YAAsB,EACtB,SAAS,EAAE,SAAuB,EAClC,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,+BAoEjB"}
|
|
@@ -12,8 +12,13 @@ export { ConfirmDialog, type ConfirmDialogProps } from './ConfirmDialog';
|
|
|
12
12
|
export { EntityConfirmDialog, type EntityConfirmDialogProps } from './EntityConfirmDialog';
|
|
13
13
|
export { DatePicker, type DatePickerProps } from './DatePicker';
|
|
14
14
|
export { DateRangePicker, type DateRangePickerProps, type DateRange } from './DateRangePicker';
|
|
15
|
+
export { DateTimeInput, type DateTimeInputProps } from './DateTimeInput';
|
|
16
|
+
export { ColorPicker, type ColorPickerProps, type ColorPreset } from './ColorPicker';
|
|
15
17
|
export { Combobox, type ComboboxProps, type ComboboxOption } from './Combobox';
|
|
16
18
|
export { MetricTile, type MetricTileProps, type MetricTileTone, type MetricTileStatus, type MetricTileTrend } from './MetricTile';
|
|
17
19
|
export { SectionCard, type SectionCardProps } from './SectionCard';
|
|
18
20
|
export { Dropzone, type DropzoneProps, type FileRejection } from './Dropzone';
|
|
21
|
+
export { AvatarCell, type AvatarCellProps } from './AvatarCell';
|
|
22
|
+
export { StateBlock, type StateBlockProps, type StateBlockState } from './StateBlock';
|
|
23
|
+
export { MonitoringCard, type MonitoringCardProps } from './MonitoringCard';
|
|
19
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/molecules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,WAAW,EAAE,yBAAyB,EAAE,KAAK,gBAAgB,EAAE,KAAK,WAAW,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAC3F,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,mBA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EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,KAAK,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAC3F,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC/F,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,KAAK,WAAW,EAAE,MAAM,eAAe,CAAC;AACrF,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,cAAc,EAAE,MAAM,YAAY,CAAC;AAC/E,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAClI,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface GlassTableShellProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/** Table content — expected to be a `<DataTable>` (or a `Table*` composite). */
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
/** Merged onto the `.mon-glass-table` wrapper (caller override wins). */
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* GlassTableShell — the thin, visual-only wrapper that flattens a `DataTable`'s
|
|
10
|
+
* own glass so it reads as a single surface inside a `.mon-glass` monitoring card
|
|
11
|
+
* (instead of glass-on-glass). It is a faithful 1:1 of the `<div className=
|
|
12
|
+
* "mon-glass-table">…</div>` idiom HES repeats around every monitoring table
|
|
13
|
+
* (LUG-06 / hes-gaps#HG-16) — the `.mon-glass-table` recipe already lives in the
|
|
14
|
+
* ui-kit theme (theme/dark.css + light.css), so this component only applies the
|
|
15
|
+
* class; it ships no markup, header, toolbar, scroll or state of its own (those
|
|
16
|
+
* belong to `DataTable` and the parent card).
|
|
17
|
+
*
|
|
18
|
+
* NOTE: the outer `.mon-glass` only paints under a `[data-mon-page="…"]` ancestor
|
|
19
|
+
* (page-scoped in the theme); the flatten itself works anywhere, but its glass
|
|
20
|
+
* only reads against a monitoring page context. Wrap Storybook/usage accordingly.
|
|
21
|
+
*/
|
|
22
|
+
export declare function GlassTableShell({ children, className, ...rest }: GlassTableShellProps): import("react").JSX.Element;
|
|
23
|
+
//# sourceMappingURL=GlassTableShell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GlassTableShell.d.ts","sourceRoot":"","sources":["../../src/organisms/GlassTableShell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvD,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC1E,gFAAgF;IAChF,QAAQ,EAAE,SAAS,CAAC;IACpB,yEAAyE;IACzE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,oBAAoB,+BAMrF"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type StepperStatus = "pending" | "active" | "completed" | "error";
|
|
3
|
+
export interface StepperStep {
|
|
4
|
+
/** Stable key — mirrors TabItem.key / UnifiedTabItem.key. */
|
|
5
|
+
id: string;
|
|
6
|
+
/** i18n label, passed in by the consumer (never translated internally). */
|
|
7
|
+
label: ReactNode;
|
|
8
|
+
/** Optional icon element shown inside the dot. */
|
|
9
|
+
icon?: ReactNode;
|
|
10
|
+
/** Explicit status override. When omitted, derived from `activeStep` by index. */
|
|
11
|
+
status?: StepperStatus;
|
|
12
|
+
/** Marks a non-blocking step. The hint text is supplied via `Stepper.optionalLabel` (no baked-in copy). */
|
|
13
|
+
optional?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface StepperProps {
|
|
16
|
+
steps: StepperStep[];
|
|
17
|
+
/**
|
|
18
|
+
* Controlled active step. A `number` is a ZERO-BASED index (`steps[activeStep]`) —
|
|
19
|
+
* 1-based stores must pass `currentStep - 1`. A `string` matches `step.id`.
|
|
20
|
+
*/
|
|
21
|
+
activeStep: number | string;
|
|
22
|
+
/** When provided, completed/active steps become clickable (go-back). */
|
|
23
|
+
onStepChange?: (id: string, index: number) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Hint rendered next to a step whose `optional` is true. Locale is the caller's
|
|
26
|
+
* concern — pass your own node (e.g. `t("common.optional")`); omit for no hint.
|
|
27
|
+
*/
|
|
28
|
+
optionalLabel?: ReactNode;
|
|
29
|
+
/**
|
|
30
|
+
* Label position relative to the dot — applies to `orientation="horizontal"`.
|
|
31
|
+
* Vertical orientation always renders labels inline (to the right of the dot).
|
|
32
|
+
* Default "below".
|
|
33
|
+
*/
|
|
34
|
+
labelPlacement?: "below" | "inline";
|
|
35
|
+
/** Layout axis. Default "horizontal". */
|
|
36
|
+
orientation?: "horizontal" | "vertical";
|
|
37
|
+
className?: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Controlled, stateless step-indicator (progress rail). Owns no wizard state,
|
|
41
|
+
* navigation buttons, or step content — the consumer keeps those (both MDM's
|
|
42
|
+
* bulk-entry store and HES's ImportWizard reducer drive `activeStep` externally).
|
|
43
|
+
*/
|
|
44
|
+
export declare function Stepper({ steps, activeStep, onStepChange, optionalLabel, labelPlacement, orientation, className, }: StepperProps): import("react").JSX.Element;
|
|
45
|
+
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../src/organisms/Stepper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC;AAEzE,MAAM,WAAW,WAAW;IAC1B,6DAA6D;IAC7D,EAAE,EAAE,MAAM,CAAC;IACX,2EAA2E;IAC3E,KAAK,EAAE,SAAS,CAAC;IACjB,kDAAkD;IAClD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,kFAAkF;IAClF,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,2GAA2G;IAC3G,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB;;;OAGG;IACH,UAAU,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,wEAAwE;IACxE,YAAY,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnD;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;IACpC,yCAAyC;IACzC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA0BD;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,EACtB,KAAK,EACL,UAAU,EACV,YAAY,EACZ,aAAa,EACb,cAAwB,EACxB,WAA0B,EAC1B,SAAS,GACV,EAAE,YAAY,+BAqGd"}
|
|
@@ -12,4 +12,6 @@ export { FilterPanel, type FilterPanelProps, type FilterField, type FilterValue,
|
|
|
12
12
|
export { JsonEditor, type JsonEditorProps } from './JsonEditor';
|
|
13
13
|
export { JsonViewer, type JsonViewerProps } from './JsonViewer';
|
|
14
14
|
export { PageHeader, type PageHeaderProps } from './PageHeader';
|
|
15
|
+
export { Stepper, type StepperProps, type StepperStep, type StepperStatus } from './Stepper';
|
|
16
|
+
export { GlassTableShell, type GlassTableShellProps } from './GlassTableShell';
|
|
15
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/organisms/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,KAAK,OAAO,EAAE,MAAM,QAAQ,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAE,KAAK,oBAAoB,EAAE,MAAM,eAAe,CAAC;AACpI,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,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
@@ -0,0 +1,44 @@
|
|
|
1
|
+
const o = { ara: "Ara...", filtre: "Filtre", kaydet: "Kaydet", iptal: "İptal", sil: "Sil", duzenle: "Düzenle", ekle: "Ekle", kapat: "Kapat", daha_fazla: "Daha fazla", temizle: "Temizle", tamam: "Tamam", geri: "Geri", ileri: "İleri", devam: "Devam", calistir: "Çalıştır", onayla: "Onayla", gonder: "Gönder", yukle: "Yükle", indir: "İndir", kopyala: "Kopyala", kopyalandi: "Kopyalandı", yapistir: "Yapıştır", sec: "Seç", vazgec: "Vazgeç", detay: "Detay", detaya_git: "Detaya Git", yenile: "Yenile", disa_aktar: "Dışa Aktar", evet: "Evet", hayir: "Hayır", tumu: "Tümü", yok: "Yok", olustur: '"{{value}}" oluştur' }, s = { sayfa: "Sayfa", toplam: "Toplam", secili: "Seçili", kayit_bulunamadi: "Kayıt bulunamadı", siralama: "Sıralama", filtrele: "Filtrele", tumunu_sec: "Tümünü Seç", secimi_kaldir: "Seçimi Kaldır", satirlar: "satır", sayfa_basina: "sayfa başına", eylemler: "Eylemler" }, y = { zorunlu_alan: "Bu alan zorunludur", gecersiz_deger: "Geçersiz değer", min_karakter: "En az {{min}} karakter olmalıdır", max_karakter: "En fazla {{max}} karakter olmalıdır", email_gecersiz: "Geçerli bir e-posta adresi giriniz", sayi_gecersiz: "Geçerli bir sayı giriniz" }, u = { emin_misiniz: "Emin misiniz?", bu_islem_geri_alinamaz: "Bu işlem geri alınamaz.", onay: "Onayla", vazgec: "Vazgeç", silme_onay: "Bu kaydı silmek istediğinize emin misiniz?", silme_baslik: "Kaydı Sil", entity_silme_onay: "kalıcı olarak silinecek. Bu işlem geri alınamaz." }, d = { karanlik_mod: "Karanlık Mod", aydinlik_mod: "Aydınlık Mod", tema_degistir: "Tema Değiştir" }, _ = { bugun: "Bugün", dun: "Dün", bu_hafta: "Bu Hafta", bu_ay: "Bu Ay", gecen_ay: "Geçen Ay", son_7_gun: "Son 7 Gün", son_30_gun: "Son 30 Gün", baslangic: "Başlangıç", bitis: "Bitiş", tarih_sec: "Tarih Seçiniz", saat: "Saat" }, m = { onceki_sayfa: "Önceki Sayfa", sonraki_sayfa: "Sonraki Sayfa", previous_page: "Önceki sayfa", next_page: "Sonraki sayfa", sayfa_x_y: "Sayfa {{current}} / {{total}}", kayit_gosteriliyor: "{{from}}-{{to}} / {{total}} kayıt gösteriliyor", ilk_sayfa: "İlk Sayfa", son_sayfa: "Son Sayfa" }, c = { kayit_bulunamadi: "Kayıt bulunamadı", henuz_veri_yok: "Henüz veri yok", sonuc_bulunamadi: "Aradığınız kriterlere uygun sonuç bulunamadı" }, k = { basarili: "Başarılı", hata: "Hata", uyari: "Uyarı", bilgi: "Bilgi", yukleniyor: "Yükleniyor...", kaydediliyor: "Kaydediliyor...", siliniyor: "Siliniyor..." }, g = { filtre_uygula: "Filtreyi Uygula", filtreleri_temizle: "Filtreleri Temizle", aktif_filtre: "{{count}} aktif filtre", op_contains: "İçerir", op_equals: "Eşittir", op_not_equals: "Eşit Değil", op_starts_with: "Başlar", op_ends_with: "Biter", op_greater: "Büyüktür", op_less: "Küçüktür", op_greater_eq: "Büyük Eşit", op_less_eq: "Küçük Eşit", operator_sec: "Operatör seçin", secili: "Seçili" }, f = { ham_json: "Ham JSON", form_gorunumu: "Form Görünümü", formatla: "Formatla", gecersiz_json: "Geçersiz JSON formatı", kopyalandi: "Kopyalandı!", kopyala: "Kopyala", icerik: "JSON içeriği", duzenle: "Düzenle", goruntule: "Görüntüle" }, p = { sifreyi_goster: "Şifreyi göster", sifreyi_gizle: "Şifreyi gizle", onceki_ay: "Önceki ay", sonraki_ay: "Sonraki ay", filtreyi_kaldir: "{{name}} filtresini kaldır", kopyala: "Kopyala", panel: "Panel", iletisim_kutusu: "İletişim kutusu", kaldir: "{{label}} seçimini kaldır", filtrele: "Seçenekleri filtrele", filtreler: "Filtreler", breadcrumb: "Yol haritası", pagination: "Sayfalama", detay_sayfasi: "Detay sayfası", filtreler_kenar: "Filtre kenar çubuğu", giris: "Giriş", rapor_kriterleri: "Rapor kriterleri" }, S = { lifecycle: { ACTIVE: "Aktif", INACTIVE: "Pasif", MAINTENANCE: "Bakımda", FAULTY: "Arızalı" }, power: { ON: "Enerjili", OFF: "Enerji Yok", UNKNOWN: "Bilinmiyor" }, disconnection: { ON: "Enerji Var", OFF: "Enerji Yok", UNKNOWN: "Bilinmiyor", OPENING: "Açılıyor", CLOSING: "Kapanıyor" } }, h = { hero: { live: "CANLI", fleetOnline: "AKTİF SAYAÇLAR", online: "aktif", vs1h: "vs 1s", fleet: { online: "AKTİF", offline: "PASİF", unknown: "ENERJİSİZ" }, readingSla24h: "OKUMA SLA · 24S", target: "hedef", activeOutages: "AKTİF KESİNTİLER", affectedMeters: "etkilenen sayaç", alarm: { crit: "KRİTİK", warn: "UYARI", viewDetails: "{{slug}} detaylarını görüntüle" }, tape: { ariaLabel: "Son sistem olayları" } } }, r = {
|
|
2
|
+
common: o,
|
|
3
|
+
table: s,
|
|
4
|
+
form: y,
|
|
5
|
+
dialog: u,
|
|
6
|
+
theme: d,
|
|
7
|
+
date: _,
|
|
8
|
+
pagination: m,
|
|
9
|
+
empty: c,
|
|
10
|
+
status: k,
|
|
11
|
+
filter: g,
|
|
12
|
+
json_editor: f,
|
|
13
|
+
aria: p,
|
|
14
|
+
detail_status: S,
|
|
15
|
+
dashboard: h
|
|
16
|
+
}, N = { ara: "Search...", filtre: "Filter", kaydet: "Save", iptal: "Cancel", sil: "Delete", duzenle: "Edit", ekle: "Add", kapat: "Close", daha_fazla: "More", temizle: "Clear", tamam: "OK", geri: "Back", ileri: "Next", devam: "Continue", calistir: "Execute", onayla: "Confirm", gonder: "Send", yukle: "Upload", indir: "Download", kopyala: "Copy", kopyalandi: "Copied", yapistir: "Paste", sec: "Select", vazgec: "Cancel", detay: "Detail", detaya_git: "Go to Detail", yenile: "Refresh", disa_aktar: "Export", evet: "Yes", hayir: "No", tumu: "All", yok: "None", olustur: 'Create "{{value}}"' }, z = { sayfa: "Page", toplam: "Total", secili: "Selected", kayit_bulunamadi: "No records found", siralama: "Sort", filtrele: "Filter", tumunu_sec: "Select All", secimi_kaldir: "Deselect All", satirlar: "rows", sayfa_basina: "per page", eylemler: "Actions" }, b = { zorunlu_alan: "This field is required", gecersiz_deger: "Invalid value", min_karakter: "Must be at least {{min}} characters", max_karakter: "Must be at most {{max}} characters", email_gecersiz: "Please enter a valid email address", sayi_gecersiz: "Please enter a valid number" }, E = { emin_misiniz: "Are you sure?", bu_islem_geri_alinamaz: "This action cannot be undone.", onay: "Confirm", vazgec: "Cancel", silme_onay: "Are you sure you want to delete this record?", silme_baslik: "Delete Record", entity_silme_onay: "will be permanently deleted. This action cannot be undone." }, v = { karanlik_mod: "Dark Mode", aydinlik_mod: "Light Mode", tema_degistir: "Toggle Theme" }, A = { bugun: "Today", dun: "Yesterday", bu_hafta: "This Week", bu_ay: "This Month", gecen_ay: "Last Month", son_7_gun: "Last 7 Days", son_30_gun: "Last 30 Days", baslangic: "Start", bitis: "End", tarih_sec: "Select Date", saat: "Time" }, O = { onceki_sayfa: "Previous Page", sonraki_sayfa: "Next Page", previous_page: "Previous page", next_page: "Next page", sayfa_x_y: "Page {{current}} / {{total}}", kayit_gosteriliyor: "Showing {{from}}-{{to}} of {{total}} records", ilk_sayfa: "First Page", son_sayfa: "Last Page" }, T = { kayit_bulunamadi: "No records found", henuz_veri_yok: "No data yet", sonuc_bulunamadi: "No results matching your criteria" }, F = { basarili: "Success", hata: "Error", uyari: "Warning", bilgi: "Info", yukleniyor: "Loading...", kaydediliyor: "Saving...", siliniyor: "Deleting..." }, K = { filtre_uygula: "Apply Filter", filtreleri_temizle: "Clear Filters", aktif_filtre: "{{count}} active filter(s)", op_contains: "Contains", op_equals: "Equals", op_not_equals: "Not Equals", op_starts_with: "Starts With", op_ends_with: "Ends With", op_greater: "Greater Than", op_less: "Less Than", op_greater_eq: "Greater or Equal", op_less_eq: "Less or Equal", operator_sec: "Select operator", secili: "Selected" }, w = { ham_json: "Raw JSON", form_gorunumu: "Form View", formatla: "Format", gecersiz_json: "Invalid JSON format", kopyalandi: "Copied!", kopyala: "Copy", icerik: "JSON content", duzenle: "Edit", goruntule: "View" }, C = { sifreyi_goster: "Show password", sifreyi_gizle: "Hide password", onceki_ay: "Previous month", sonraki_ay: "Next month", filtreyi_kaldir: "Remove {{name}} filter", kopyala: "Copy", panel: "Panel", iletisim_kutusu: "Dialog", kaldir: "Remove {{label}}", filtrele: "Filter options", filtreler: "Filters", breadcrumb: "Breadcrumb", pagination: "Pagination", detay_sayfasi: "Detail page", filtreler_kenar: "Filter sidebar", giris: "Sign in", rapor_kriterleri: "Report criteria" }, D = { lifecycle: { ACTIVE: "Active", INACTIVE: "Inactive", MAINTENANCE: "Maintenance", FAULTY: "Faulty" }, power: { ON: "Energized", OFF: "No Energy", UNKNOWN: "Unknown" }, disconnection: { ON: "Power OK", OFF: "No Power", UNKNOWN: "Unknown", OPENING: "Opening", CLOSING: "Closing" } }, I = { hero: { live: "LIVE", fleetOnline: "FLEET ONLINE", online: "online", vs1h: "vs 1h", fleet: { online: "ONLINE", offline: "OFF", unknown: "UNK" }, readingSla24h: "READING SLA · 24h", target: "target", activeOutages: "ACTIVE OUTAGES", affectedMeters: "meters affected", alarm: { crit: "CRIT", warn: "WARN", viewDetails: "View {{slug}} details" }, tape: { ariaLabel: "Recent system events" } } }, l = {
|
|
17
|
+
common: N,
|
|
18
|
+
table: z,
|
|
19
|
+
form: b,
|
|
20
|
+
dialog: E,
|
|
21
|
+
theme: v,
|
|
22
|
+
date: A,
|
|
23
|
+
pagination: O,
|
|
24
|
+
empty: T,
|
|
25
|
+
status: F,
|
|
26
|
+
filter: K,
|
|
27
|
+
json_editor: w,
|
|
28
|
+
aria: C,
|
|
29
|
+
detail_status: D,
|
|
30
|
+
dashboard: I
|
|
31
|
+
}, L = {
|
|
32
|
+
tr: { common: r },
|
|
33
|
+
en: { common: l }
|
|
34
|
+
};
|
|
35
|
+
function B(e, n = {}) {
|
|
36
|
+
const { namespace: a = "common", overwrite: i = !1, deep: t = !0 } = n;
|
|
37
|
+
return e.addResourceBundle("tr", a, r, t, i), e.addResourceBundle("en", a, l, t, i), e;
|
|
38
|
+
}
|
|
39
|
+
export {
|
|
40
|
+
l as e,
|
|
41
|
+
B as r,
|
|
42
|
+
r as t,
|
|
43
|
+
L as u
|
|
44
|
+
};
|