@cuby-ui/cdk 0.0.487 → 0.0.488
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/constants/empty.d.ts +10 -0
- package/constants/handlers.d.ts +8 -0
- package/constants/index.d.ts +4 -0
- package/constants/svg-node-filter.d.ts +1 -0
- package/constants/units.d.ts +17 -0
- package/date-time/index.d.ts +1 -0
- package/date-time/time.d.ts +14 -0
- package/directives/active-zone/active-zone.directive.d.ts +22 -0
- package/directives/active-zone/index.d.ts +1 -0
- package/directives/auto-resizing.directive.d.ts +18 -0
- package/directives/click-outside.directive.d.ts +9 -0
- package/directives/content-editable-value-accessor.directive.d.ts +17 -0
- package/directives/dimensions-observer.directive.d.ts +13 -0
- package/directives/drag-drop/drag-drop.directive.d.ts +42 -0
- package/directives/drag-drop/drag-drop.options.d.ts +11 -0
- package/directives/drag-drop/drag-list.directive.d.ts +10 -0
- package/directives/drag-drop/drag-pointer.directive.d.ts +8 -0
- package/directives/drag-drop/index.d.ts +4 -0
- package/directives/element.directive.d.ts +8 -0
- package/directives/focus-trap.directive.d.ts +14 -0
- package/directives/handle-scroll.directive.d.ts +23 -0
- package/directives/hovered/hovered.directive.d.ts +7 -0
- package/directives/hovered/hovered.service.d.ts +12 -0
- package/directives/hovered/index.d.ts +2 -0
- package/directives/index.d.ts +17 -0
- package/directives/item.directive.d.ts +5 -0
- package/directives/ladder-list.directive.d.ts +13 -0
- package/directives/let.context.d.ts +9 -0
- package/directives/let.directive.d.ts +9 -0
- package/directives/target.directive.d.ts +14 -0
- package/directives/typed-template.directive.d.ts +13 -0
- package/directives/typed-template.options.d.ts +3 -0
- package/esm2022/constants/empty.mjs +24 -0
- package/esm2022/constants/handlers.mjs +11 -0
- package/esm2022/constants/index.mjs +5 -0
- package/esm2022/constants/svg-node-filter.mjs +6 -0
- package/esm2022/constants/units.mjs +64 -0
- package/esm2022/cuby-ui-cdk.mjs +5 -0
- package/esm2022/date-time/index.mjs +2 -0
- package/esm2022/date-time/time.mjs +72 -0
- package/esm2022/directives/active-zone/active-zone.directive.mjs +75 -0
- package/esm2022/directives/active-zone/index.mjs +2 -0
- package/esm2022/directives/auto-resizing.directive.mjs +64 -0
- package/esm2022/directives/click-outside.directive.mjs +29 -0
- package/esm2022/directives/content-editable-value-accessor.directive.mjs +44 -0
- package/esm2022/directives/dimensions-observer.directive.mjs +32 -0
- package/esm2022/directives/drag-drop/drag-drop.directive.mjs +184 -0
- package/esm2022/directives/drag-drop/drag-drop.options.mjs +2 -0
- package/esm2022/directives/drag-drop/drag-list.directive.mjs +22 -0
- package/esm2022/directives/drag-drop/drag-pointer.directive.mjs +20 -0
- package/esm2022/directives/drag-drop/index.mjs +4 -0
- package/esm2022/directives/element.directive.mjs +19 -0
- package/esm2022/directives/focus-trap.directive.mjs +50 -0
- package/esm2022/directives/handle-scroll.directive.mjs +81 -0
- package/esm2022/directives/hovered/hovered.directive.mjs +21 -0
- package/esm2022/directives/hovered/hovered.service.mjs +32 -0
- package/esm2022/directives/hovered/index.mjs +3 -0
- package/esm2022/directives/index.mjs +18 -0
- package/esm2022/directives/item.directive.mjs +14 -0
- package/esm2022/directives/ladder-list.directive.mjs +42 -0
- package/esm2022/directives/let.context.mjs +12 -0
- package/esm2022/directives/let.directive.mjs +23 -0
- package/esm2022/directives/target.directive.mjs +36 -0
- package/esm2022/directives/typed-template.directive.mjs +27 -0
- package/esm2022/directives/typed-template.options.mjs +2 -0
- package/esm2022/index.mjs +12 -0
- package/esm2022/interfaces/dimensions.mjs +2 -0
- package/esm2022/interfaces/index.mjs +4 -0
- package/esm2022/interfaces/on-change.mjs +2 -0
- package/esm2022/interfaces/on-touched.mjs +2 -0
- package/esm2022/models/consumption-units.mjs +2 -0
- package/esm2022/models/index.mjs +2 -0
- package/esm2022/observables/if-map.mjs +5 -0
- package/esm2022/observables/index.mjs +5 -0
- package/esm2022/observables/typed-from-event.mjs +9 -0
- package/esm2022/observables/watch.mjs +6 -0
- package/esm2022/observables/zone.mjs +34 -0
- package/esm2022/pipes/filter.pipe.mjs +17 -0
- package/esm2022/pipes/index.mjs +2 -0
- package/esm2022/services/consumption-units.service.mjs +67 -0
- package/esm2022/services/destroy.service.mjs +15 -0
- package/esm2022/services/id.service.mjs +21 -0
- package/esm2022/services/index.mjs +5 -0
- package/esm2022/services/popover.service.mjs +41 -0
- package/esm2022/tokens/active-element.mjs +52 -0
- package/esm2022/tokens/animation-frame.mjs +21 -0
- package/esm2022/tokens/environment.mjs +47 -0
- package/esm2022/tokens/history.mjs +5 -0
- package/esm2022/tokens/index.mjs +11 -0
- package/esm2022/tokens/local-storage.mjs +5 -0
- package/esm2022/tokens/navigator.mjs +6 -0
- package/esm2022/tokens/removed-element.mjs +19 -0
- package/esm2022/tokens/session-storage.mjs +5 -0
- package/esm2022/tokens/user-agent.mjs +6 -0
- package/esm2022/tokens/window.mjs +11 -0
- package/esm2022/types/context.mjs +2 -0
- package/esm2022/types/date-time.mjs +2 -0
- package/esm2022/types/handler.mjs +2 -0
- package/esm2022/types/index.mjs +9 -0
- package/esm2022/types/input-type.mjs +2 -0
- package/esm2022/types/mapper.mjs +2 -0
- package/esm2022/types/matcher.mjs +2 -0
- package/esm2022/types/nullable.mjs +2 -0
- package/esm2022/types/value-of.mjs +2 -0
- package/esm2022/utils/dom/contains-or-after.mjs +9 -0
- package/esm2022/utils/dom/element-checks.mjs +20 -0
- package/esm2022/utils/dom/get-actual-target.mjs +7 -0
- package/esm2022/utils/dom/get-document-or-shadow-root.mjs +6 -0
- package/esm2022/utils/dom/get-element-obscurers.mjs +42 -0
- package/esm2022/utils/dom/index.mjs +8 -0
- package/esm2022/utils/dom/inject-element.mjs +5 -0
- package/esm2022/utils/dom/point-to-client-rect.mjs +17 -0
- package/esm2022/utils/files/files.uploader.mjs +19 -0
- package/esm2022/utils/files/index.mjs +3 -0
- package/esm2022/utils/files/take-capture-from-video.mjs +25 -0
- package/esm2022/utils/focus/blur-native-focused.mjs +9 -0
- package/esm2022/utils/focus/get-closest-focusable.mjs +22 -0
- package/esm2022/utils/focus/get-native-focused.mjs +11 -0
- package/esm2022/utils/focus/index.mjs +7 -0
- package/esm2022/utils/focus/is-native-focused.mjs +13 -0
- package/esm2022/utils/focus/is-native-keyboard-focusable.mjs +26 -0
- package/esm2022/utils/focus/is-native-mouse-focusable.mjs +6 -0
- package/esm2022/utils/index.mjs +8 -0
- package/esm2022/utils/math/clamp.mjs +11 -0
- package/esm2022/utils/math/index.mjs +2 -0
- package/esm2022/utils/miscellaneous/array-remove.mjs +4 -0
- package/esm2022/utils/miscellaneous/index.mjs +6 -0
- package/esm2022/utils/miscellaneous/is-present.mjs +4 -0
- package/esm2022/utils/miscellaneous/move-item-in-array.mjs +10 -0
- package/esm2022/utils/miscellaneous/pure.mjs +81 -0
- package/esm2022/utils/miscellaneous/px.mjs +7 -0
- package/esm2022/utils/platform/index.mjs +2 -0
- package/esm2022/utils/platform/is-ios.mjs +6 -0
- package/esm2022/utils/token/create-token.mjs +8 -0
- package/esm2022/utils/token/index.mjs +3 -0
- package/esm2022/utils/token/provide.mjs +4 -0
- package/fesm2022/cuby-ui-cdk.mjs +1644 -0
- package/fesm2022/cuby-ui-cdk.mjs.map +1 -0
- package/index.d.ts +11 -0
- package/interfaces/dimensions.d.ts +4 -0
- package/interfaces/index.d.ts +3 -0
- package/interfaces/on-change.d.ts +3 -0
- package/interfaces/on-touched.d.ts +3 -0
- package/models/consumption-units.d.ts +14 -0
- package/models/index.d.ts +1 -0
- package/observables/if-map.d.ts +3 -0
- package/observables/index.d.ts +4 -0
- package/observables/typed-from-event.d.ts +16 -0
- package/observables/watch.d.ts +3 -0
- package/observables/zone.d.ts +7 -0
- package/package.json +1 -4
- package/pipes/filter.pipe.d.ts +8 -0
- package/pipes/index.d.ts +1 -0
- package/services/consumption-units.service.d.ts +13 -0
- package/services/destroy.service.d.ts +8 -0
- package/services/id.service.d.ts +8 -0
- package/services/index.d.ts +4 -0
- package/services/popover.service.d.ts +23 -0
- package/tokens/active-element.d.ts +5 -0
- package/tokens/animation-frame.d.ts +3 -0
- package/tokens/environment.d.ts +19 -0
- package/tokens/history.d.ts +1 -0
- package/tokens/index.d.ts +10 -0
- package/tokens/local-storage.d.ts +1 -0
- package/tokens/navigator.d.ts +2 -0
- package/tokens/removed-element.d.ts +4 -0
- package/tokens/session-storage.d.ts +1 -0
- package/tokens/user-agent.d.ts +2 -0
- package/tokens/window.d.ts +1 -0
- package/types/context.d.ts +3 -0
- package/types/date-time.d.ts +1 -0
- package/types/handler.d.ts +4 -0
- package/types/index.d.ts +8 -0
- package/types/input-type.d.ts +1 -0
- package/types/mapper.d.ts +1 -0
- package/types/matcher.d.ts +2 -0
- package/types/nullable.d.ts +1 -0
- package/types/value-of.d.ts +1 -0
- package/utils/dom/contains-or-after.d.ts +1 -0
- package/utils/dom/element-checks.d.ts +6 -0
- package/utils/dom/get-actual-target.d.ts +4 -0
- package/utils/dom/get-document-or-shadow-root.d.ts +1 -0
- package/utils/dom/get-element-obscurers.d.ts +9 -0
- package/utils/dom/index.d.ts +7 -0
- package/utils/dom/inject-element.d.ts +1 -0
- package/utils/dom/point-to-client-rect.d.ts +1 -0
- package/utils/files/files.uploader.d.ts +5 -0
- package/utils/files/index.d.ts +2 -0
- package/utils/files/take-capture-from-video.d.ts +1 -0
- package/utils/focus/blur-native-focused.d.ts +1 -0
- package/utils/focus/get-closest-focusable.d.ts +7 -0
- package/utils/focus/get-native-focused.d.ts +1 -0
- package/utils/focus/index.d.ts +6 -0
- package/utils/focus/is-native-focused.d.ts +9 -0
- package/utils/focus/is-native-keyboard-focusable.d.ts +1 -0
- package/utils/focus/is-native-mouse-focusable.d.ts +1 -0
- package/utils/index.d.ts +7 -0
- package/utils/math/clamp.d.ts +8 -0
- package/utils/math/index.d.ts +1 -0
- package/utils/miscellaneous/array-remove.d.ts +1 -0
- package/utils/miscellaneous/index.d.ts +5 -0
- package/utils/miscellaneous/is-present.d.ts +1 -0
- package/utils/miscellaneous/move-item-in-array.d.ts +1 -0
- package/utils/miscellaneous/pure.d.ts +21 -0
- package/utils/miscellaneous/px.d.ts +4 -0
- package/utils/platform/index.d.ts +1 -0
- package/utils/platform/is-ios.d.ts +3 -0
- package/utils/token/create-token.d.ts +3 -0
- package/utils/token/index.d.ts +2 -0
- package/utils/token/provide.d.ts +3 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QueryList } from '@angular/core';
|
|
2
|
+
/**
|
|
3
|
+
* For type safety when using @ContentChildren and @ViewChildren
|
|
4
|
+
*
|
|
5
|
+
* NOTE: Be careful subscribing to 'changes'
|
|
6
|
+
*/
|
|
7
|
+
export declare const EMPTY_QUERY: QueryList<any>;
|
|
8
|
+
export declare const EMPTY_ARRAY: [];
|
|
9
|
+
export declare const EMPTY_FUNCTION: (...args: any[]) => void;
|
|
10
|
+
export declare const EMPTY_CLIENT_RECT: DOMRect;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const svgNodeFilter: Exclude<NodeFilter, (node: Node) => number>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Consumption, Unit } from '../models';
|
|
2
|
+
export declare const UnitsMetricWeight: Unit[];
|
|
3
|
+
export declare const UnitsImperialWeight: Unit[];
|
|
4
|
+
export declare const UnitsMetricLength: Unit[];
|
|
5
|
+
export declare const UnitsImperialLength: Unit[];
|
|
6
|
+
export declare const UnitsMetricVolume: Unit[];
|
|
7
|
+
export declare const UnitsImperialVolume: Unit[];
|
|
8
|
+
export declare const UnitsMetricSquare: Unit[];
|
|
9
|
+
export declare const UnitsImperialSquare: Unit[];
|
|
10
|
+
export declare const UnitsAmount: Unit[];
|
|
11
|
+
export declare const UnitsMetric: Partial<Record<Consumption, Unit[]>>;
|
|
12
|
+
export declare const UnitsImperial: Partial<Record<Consumption, Unit[]>>;
|
|
13
|
+
export declare const enum UnitsSystem {
|
|
14
|
+
Metric = "METRIC",
|
|
15
|
+
Imperial = "IMPERIAL"
|
|
16
|
+
}
|
|
17
|
+
export declare const SystemUnits: Record<UnitsSystem, Partial<Record<Consumption, Unit[]>>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './time';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { CuiTimeMode } from '../types';
|
|
2
|
+
export declare class CuiTime {
|
|
3
|
+
readonly hours: number;
|
|
4
|
+
readonly minutes: number;
|
|
5
|
+
readonly seconds: number;
|
|
6
|
+
readonly ms: number;
|
|
7
|
+
constructor(hours: number, minutes: number, seconds?: number, ms?: number);
|
|
8
|
+
static fromString(time: string): CuiTime;
|
|
9
|
+
static fromPT(time: string): CuiTime;
|
|
10
|
+
private static parseHours;
|
|
11
|
+
toString(mode?: CuiTimeMode): string;
|
|
12
|
+
toPT(mode?: CuiTimeMode): string;
|
|
13
|
+
private formatTime;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { OnDestroy } from '@angular/core';
|
|
2
|
+
import type { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiActiveZone implements OnDestroy {
|
|
5
|
+
private readonly control;
|
|
6
|
+
private readonly active$;
|
|
7
|
+
private readonly zone;
|
|
8
|
+
private readonly el;
|
|
9
|
+
private cuiActiveZoneParent;
|
|
10
|
+
private subActiveZones;
|
|
11
|
+
private readonly directParentActiveZone;
|
|
12
|
+
readonly cuiActiveZoneChange: Observable<boolean>;
|
|
13
|
+
constructor();
|
|
14
|
+
set cuiActiveZoneParentSetter(zone: CuiActiveZone | null);
|
|
15
|
+
ngOnDestroy(): void;
|
|
16
|
+
contains(node: Node): boolean;
|
|
17
|
+
private setZone;
|
|
18
|
+
private addSubActiveZone;
|
|
19
|
+
private removeSubActiveZone;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiActiveZone, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiActiveZone, "[cuiActiveZone]:not(ng-container), [cuiActiveZoneChange]:not(ng-container), [cuiActiveZoneParent]:not(ng-container)", ["cuiActiveZone"], { "cuiActiveZoneParentSetter": { "alias": "cuiActiveZoneParent"; "required": false; }; }, { "cuiActiveZoneChange": "cuiActiveZoneChange"; }, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './active-zone.directive';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { AfterViewChecked, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiAutoResizingDirective implements OnInit, AfterViewChecked {
|
|
4
|
+
private readonly window;
|
|
5
|
+
private readonly element;
|
|
6
|
+
private readonly ngControl;
|
|
7
|
+
private readonly ngModel;
|
|
8
|
+
private readonly destroy$;
|
|
9
|
+
private readonly elementStyles;
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
ngAfterViewChecked(): void;
|
|
12
|
+
protected onInput(): void;
|
|
13
|
+
private initNgControlValueChangeSubscription;
|
|
14
|
+
private initNgModelValueChangeSubscription;
|
|
15
|
+
private resize;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiAutoResizingDirective, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiAutoResizingDirective, "textarea[cuiAutoResizing]", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiClickOutsideDirective {
|
|
4
|
+
private readonly element;
|
|
5
|
+
cuiClickOutside: EventEmitter<HTMLElement>;
|
|
6
|
+
protected onClickOutside(target: HTMLElement): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiClickOutsideDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiClickOutsideDirective, "(cuiClickOutside)", never, {}, { "cuiClickOutside": "cuiClickOutside"; }, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import type { CuiNullable } from '../types';
|
|
3
|
+
import type { CuiOnChange, CuiOnTouched } from '../interfaces';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CuiContentEditableValueAccessorDirective implements ControlValueAccessor {
|
|
6
|
+
private readonly element;
|
|
7
|
+
protected onChange: CuiOnChange<string>;
|
|
8
|
+
protected onTouched: CuiOnTouched;
|
|
9
|
+
writeValue(value: CuiNullable<string>): void;
|
|
10
|
+
registerOnChange(fn: CuiOnChange<string>): void;
|
|
11
|
+
registerOnTouched(fn: CuiOnTouched): void;
|
|
12
|
+
setDisabledState(isDisabled: boolean): void;
|
|
13
|
+
protected onInput(): void;
|
|
14
|
+
protected onBlur(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiContentEditableValueAccessorDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiContentEditableValueAccessorDirective, "[contenteditable][formControlName], [contenteditable][formControl], [contenteditable][ngModel]", never, {}, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import type { CuiDimensions } from '../interfaces';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CuiDimensionsObserverDirective implements OnInit, OnDestroy {
|
|
6
|
+
private readonly element;
|
|
7
|
+
private readonly observer;
|
|
8
|
+
cuiResizeObserver: EventEmitter<CuiDimensions>;
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiDimensionsObserverDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiDimensionsObserverDirective, "[cuiResizeObserver]", never, {}, { "cuiResizeObserver": "cuiResizeObserver"; }, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import type { OnDestroy } from '@angular/core';
|
|
2
|
+
import type { CuiNullable } from '../../types';
|
|
3
|
+
import type { CuiDragData, CuiDragDropData } from './drag-drop.options';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class CuiDragDropDirective implements OnDestroy {
|
|
6
|
+
private readonly zone;
|
|
7
|
+
private readonly document;
|
|
8
|
+
private readonly renderer;
|
|
9
|
+
private readonly element;
|
|
10
|
+
private readonly dragListDirective;
|
|
11
|
+
private readonly PLACEHOLDER_CLASS;
|
|
12
|
+
private readonly listId;
|
|
13
|
+
private readonly itemAttribute;
|
|
14
|
+
private index;
|
|
15
|
+
private prevIndex;
|
|
16
|
+
private abortController;
|
|
17
|
+
private hostAbortController;
|
|
18
|
+
protected readonly draggingElement: import("@angular/core").WritableSignal<CuiNullable<HTMLElement>>;
|
|
19
|
+
protected readonly placeholderElement: import("@angular/core").WritableSignal<CuiNullable<HTMLElement>>;
|
|
20
|
+
protected readonly dragData: import("@angular/core").WritableSignal<CuiDragData>;
|
|
21
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
22
|
+
readonly elementDragged: import("@angular/core").OutputEmitterRef<CuiDragDropData>;
|
|
23
|
+
constructor();
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
changePointerEvents(element: HTMLElement): void;
|
|
26
|
+
private onDrag;
|
|
27
|
+
private onDragStart;
|
|
28
|
+
private onDragEnd;
|
|
29
|
+
private initDragItem;
|
|
30
|
+
private initPointerEvents;
|
|
31
|
+
private destroyEvents;
|
|
32
|
+
private prepareMoving;
|
|
33
|
+
private configurateDragData;
|
|
34
|
+
private createDragElement;
|
|
35
|
+
private createPlaceholderElement;
|
|
36
|
+
private removeDragElement;
|
|
37
|
+
private removePlaceholder;
|
|
38
|
+
private calculateIndex;
|
|
39
|
+
private calculatePreviousIndex;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiDragDropDirective, never>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiDragDropDirective, "[cuiDragDrop]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, { "elementDragged": "elementDragged"; }, never, never, true, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface CuiDragDropData {
|
|
2
|
+
readonly index: number;
|
|
3
|
+
readonly prevIndex: number;
|
|
4
|
+
readonly pointer: CuiDropPointer;
|
|
5
|
+
readonly targetElement: HTMLElement;
|
|
6
|
+
}
|
|
7
|
+
export interface CuiDragData {
|
|
8
|
+
readonly pointer?: CuiDropPointer;
|
|
9
|
+
readonly targetElement?: HTMLElement;
|
|
10
|
+
}
|
|
11
|
+
export type CuiDropPointer = 'BEFORE' | 'AFTER';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CuiDragListDirective {
|
|
3
|
+
private readonly renderer;
|
|
4
|
+
private readonly element;
|
|
5
|
+
readonly id: string;
|
|
6
|
+
readonly listId: string;
|
|
7
|
+
constructor();
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiDragListDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiDragListDirective, "[cuiDragList]", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CuiDragPointerDirective {
|
|
3
|
+
private readonly dragDropDirective;
|
|
4
|
+
private readonly element;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiDragPointerDirective, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiDragPointerDirective, "[cuiDragPointer]", never, {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { CuiDragDropData, CuiDragData, CuiDropPointer } from './drag-drop.options';
|
|
2
|
+
export { CuiDragDropDirective } from './drag-drop.directive';
|
|
3
|
+
export { CuiDragListDirective } from './drag-list.directive';
|
|
4
|
+
export { CuiDragPointerDirective } from './drag-pointer.directive';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiElementDirective<T extends Element = HTMLElement> implements ElementRef<T> {
|
|
4
|
+
nativeElement: any;
|
|
5
|
+
constructor();
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiElementDirective<any>, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiElementDirective<any>, "[cuiElement]", ["elementRef"], {}, {}, never, never, true, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { OnDestroy } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiFocusTrapDirective implements OnDestroy {
|
|
4
|
+
private readonly document;
|
|
5
|
+
private readonly element;
|
|
6
|
+
private readonly activeElement;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnDestroy(): void;
|
|
9
|
+
protected readonly tabIndex = 0;
|
|
10
|
+
protected onFocusIn(node: Node): void;
|
|
11
|
+
private initElementFocus;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiFocusTrapDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiFocusTrapDirective, "[cuiFocusTrap]", never, {}, {}, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { OnDestroy } from '@angular/core';
|
|
2
|
+
import type { CuiNullable } from '../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiHandleScrollDirective implements OnDestroy {
|
|
5
|
+
private readonly window;
|
|
6
|
+
private readonly document;
|
|
7
|
+
private readonly renderer;
|
|
8
|
+
private readonly zone;
|
|
9
|
+
private abortController;
|
|
10
|
+
private scrollSubscription?;
|
|
11
|
+
protected readonly SCROLL_AREA_HEIGHT = 100;
|
|
12
|
+
protected readonly scrollGapElements: import("@angular/core").WritableSignal<CuiNullable<HTMLDivElement[]>>;
|
|
13
|
+
readonly scrollSpeed: import("@angular/core").InputSignal<number>;
|
|
14
|
+
ngOnDestroy(): void;
|
|
15
|
+
onTargetMove(): void;
|
|
16
|
+
private initScrollEvent;
|
|
17
|
+
private handleScroll;
|
|
18
|
+
private setScrollGapElements;
|
|
19
|
+
private startScrolling;
|
|
20
|
+
private removeSubscription;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiHandleScrollDirective, never>;
|
|
22
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiHandleScrollDirective, "[cuiHandleScroll]", never, { "scrollSpeed": { "alias": "scrollSpeed"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CuiHoveredService } from './hovered.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiHovered {
|
|
4
|
+
readonly cuiHoveredChange: CuiHoveredService;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiHovered, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiHovered, "[cuiHoveredChange]", never, {}, { "cuiHoveredChange": "cuiHoveredChange"; }, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Signal } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiHoveredService extends Observable<boolean> {
|
|
5
|
+
private readonly el;
|
|
6
|
+
private readonly zone;
|
|
7
|
+
private readonly stream$;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiHoveredService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<CuiHoveredService>;
|
|
11
|
+
}
|
|
12
|
+
export declare function cuiHovered(): Signal<boolean>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export * from './active-zone';
|
|
2
|
+
export * from './hovered';
|
|
3
|
+
export * from './drag-drop';
|
|
4
|
+
export * from './auto-resizing.directive';
|
|
5
|
+
export * from './handle-scroll.directive';
|
|
6
|
+
export * from './click-outside.directive';
|
|
7
|
+
export * from './dimensions-observer.directive';
|
|
8
|
+
export * from './content-editable-value-accessor.directive';
|
|
9
|
+
export * from './element.directive';
|
|
10
|
+
export * from './focus-trap.directive';
|
|
11
|
+
export * from './item.directive';
|
|
12
|
+
export * from './let.context';
|
|
13
|
+
export * from './let.directive';
|
|
14
|
+
export * from './target.directive';
|
|
15
|
+
export * from './ladder-list.directive';
|
|
16
|
+
export * from './typed-template.directive';
|
|
17
|
+
export * from './typed-template.options';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class CuiLadderListDirective {
|
|
3
|
+
private readonly zone;
|
|
4
|
+
private readonly element;
|
|
5
|
+
private readonly LIST_ITEM_MARGIN_LEFT;
|
|
6
|
+
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
constructor();
|
|
8
|
+
private initElementsEffect;
|
|
9
|
+
private initObserver;
|
|
10
|
+
private calculateListItemsMargin;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiLadderListDirective, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiLadderListDirective, "[cuiLadderList]", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface CuiLetDirectiveImpl<T> {
|
|
2
|
+
readonly cuiLet: T;
|
|
3
|
+
}
|
|
4
|
+
export declare class CuiLetContext<T> {
|
|
5
|
+
private readonly internalDirectiveInstance;
|
|
6
|
+
constructor(internalDirectiveInstance: CuiLetDirectiveImpl<T>);
|
|
7
|
+
get $implicit(): T;
|
|
8
|
+
get cuiLet(): T;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CuiLetContext, CuiLetDirectiveImpl } from './let.context';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class CuiLetDirective<T> {
|
|
4
|
+
cuiLet: T;
|
|
5
|
+
constructor();
|
|
6
|
+
static ngTemplateContextGuard<T>(_dir: CuiLetDirectiveImpl<T>, _ctx: unknown): _ctx is CuiLetContext<T>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiLetDirective<any>, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiLetDirective<any>, "[cuiLet]", never, { "cuiLet": { "alias": "cuiLet"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { OnInit, OnDestroy } from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiTargetDirective implements OnInit, OnDestroy {
|
|
5
|
+
private readonly clickListener;
|
|
6
|
+
ccTarget: HTMLElement;
|
|
7
|
+
clicked: EventEmitter<MouseEvent>;
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
private initClickListener;
|
|
11
|
+
private destroyClickListener;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTargetDirective, never>;
|
|
13
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTargetDirective, "[ccTarget]", never, { "ccTarget": { "alias": "ccTarget"; "required": false; }; }, { "clicked": "clicked"; }, never, never, true, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ElementRef, EmbeddedViewRef } from '@angular/core';
|
|
2
|
+
import { TemplateRef } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class CuiTypedTemplateDirective<T> extends TemplateRef<T> {
|
|
5
|
+
readonly templateRef: TemplateRef<T>;
|
|
6
|
+
elementRef: ElementRef<unknown>;
|
|
7
|
+
readonly type: import("@angular/core").InputSignal<T>;
|
|
8
|
+
constructor();
|
|
9
|
+
createEmbeddedView(context: T): EmbeddedViewRef<T>;
|
|
10
|
+
static ngTemplateContextGuard<T>(_: CuiTypedTemplateDirective<T>, ctx: unknown): ctx is T;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CuiTypedTemplateDirective<any>, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CuiTypedTemplateDirective<any>, "ng-template[cuiTypedTemplate]", ["cuiTypedTemplate"], { "type": { "alias": "cuiTypedTemplate"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { QueryList } from '@angular/core';
|
|
2
|
+
const rect = {
|
|
3
|
+
bottom: 0,
|
|
4
|
+
height: 0,
|
|
5
|
+
left: 0,
|
|
6
|
+
right: 0,
|
|
7
|
+
top: 0,
|
|
8
|
+
width: 0,
|
|
9
|
+
x: 0,
|
|
10
|
+
y: 0
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* For type safety when using @ContentChildren and @ViewChildren
|
|
14
|
+
*
|
|
15
|
+
* NOTE: Be careful subscribing to 'changes'
|
|
16
|
+
*/
|
|
17
|
+
export const EMPTY_QUERY = new QueryList();
|
|
18
|
+
export const EMPTY_ARRAY = [];
|
|
19
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xuY29uc3QgcmVjdCA9IHtcbiAgICBib3R0b206IDAsXG4gICAgaGVpZ2h0OiAwLFxuICAgIGxlZnQ6IDAsXG4gICAgcmlnaHQ6IDAsXG4gICAgdG9wOiAwLFxuICAgIHdpZHRoOiAwLFxuICAgIHg6IDAsXG4gICAgeTogMFxufSBhcyBjb25zdDtcblxuLyoqXG4gKiBGb3IgdHlwZSBzYWZldHkgd2hlbiB1c2luZyBAQ29udGVudENoaWxkcmVuIGFuZCBAVmlld0NoaWxkcmVuXG4gKlxuICogTk9URTogQmUgY2FyZWZ1bCBzdWJzY3JpYmluZyB0byAnY2hhbmdlcydcbiAqL1xuZXhwb3J0IGNvbnN0IEVNUFRZX1FVRVJZID0gbmV3IFF1ZXJ5TGlzdDxhbnk+KCk7XG5leHBvcnQgY29uc3QgRU1QVFlfQVJSQVk6IFtdID0gW107XG5leHBvcnQgY29uc3QgRU1QVFlfRlVOQ1RJT046ICguLi5hcmdzOiBhbnlbXSkgPT4gdm9pZCA9ICgpID0+IHt9O1xuZXhwb3J0IGNvbnN0IEVNUFRZX0NMSUVOVF9SRUNUOiBET01SZWN0ID0ge1xuICAgIC4uLnJlY3QsXG4gICAgdG9KU09OOiAoKSA9PiByZWN0XG59O1xuIl19
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handler that always returns `false`.
|
|
3
|
+
*/
|
|
4
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
5
|
+
export const CUI_FALSE_HANDLER = () => false;
|
|
6
|
+
/**
|
|
7
|
+
* Handler that always returns `true`.
|
|
8
|
+
*/
|
|
9
|
+
// eslint-disable-next-line no-restricted-syntax
|
|
10
|
+
export const CUI_TRUE_HANDLER = () => true;
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGFuZGxlcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvY29uc3RhbnRzL2hhbmRsZXJzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsZ0RBQWdEO0FBQ2hELE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFHLEdBQVUsRUFBRSxDQUFDLEtBQUssQ0FBQztBQUVwRDs7R0FFRztBQUNILGdEQUFnRDtBQUNoRCxNQUFNLENBQUMsTUFBTSxnQkFBZ0IsR0FBRyxHQUFTLEVBQUUsQ0FBQyxJQUFJLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEhhbmRsZXIgdGhhdCBhbHdheXMgcmV0dXJucyBgZmFsc2VgLlxuICovXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tcmVzdHJpY3RlZC1zeW50YXhcbmV4cG9ydCBjb25zdCBDVUlfRkFMU0VfSEFORExFUiA9ICgpOiBmYWxzZSA9PiBmYWxzZTtcblxuLyoqXG4gKiBIYW5kbGVyIHRoYXQgYWx3YXlzIHJldHVybnMgYHRydWVgLlxuICovXG4vLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgbm8tcmVzdHJpY3RlZC1zeW50YXhcbmV4cG9ydCBjb25zdCBDVUlfVFJVRV9IQU5ETEVSID0gKCk6IHRydWUgPT4gdHJ1ZTtcbiJdfQ==
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './empty';
|
|
2
|
+
export * from './handlers';
|
|
3
|
+
export * from './units';
|
|
4
|
+
export * from './svg-node-filter';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvY29uc3RhbnRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsbUJBQW1CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VtcHR5JztcbmV4cG9ydCAqIGZyb20gJy4vaGFuZGxlcnMnO1xuZXhwb3J0ICogZnJvbSAnLi91bml0cyc7XG5leHBvcnQgKiBmcm9tICcuL3N2Zy1ub2RlLWZpbHRlcic7XG4iXX0=
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export const svgNodeFilter = {
|
|
2
|
+
acceptNode(node) {
|
|
3
|
+
return 'ownerSVGElement' in node ? NodeFilter.FILTER_REJECT : NodeFilter.FILTER_ACCEPT;
|
|
4
|
+
}
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3ZnLW5vZGUtZmlsdGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvY2RrL2NvbnN0YW50cy9zdmctbm9kZS1maWx0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFDLE1BQU0sYUFBYSxHQUFnRDtJQUN0RSxVQUFVLENBQUMsSUFBVTtRQUNqQixPQUFPLGlCQUFpQixJQUFJLElBQUksQ0FBQyxDQUFDLENBQUMsVUFBVSxDQUFDLGFBQWEsQ0FBQyxDQUFDLENBQUMsVUFBVSxDQUFDLGFBQWEsQ0FBQztJQUMzRixDQUFDO0NBQ0osQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjb25zdCBzdmdOb2RlRmlsdGVyOiBFeGNsdWRlPE5vZGVGaWx0ZXIsIChub2RlOiBOb2RlKSA9PiBudW1iZXI+ID0ge1xuICAgIGFjY2VwdE5vZGUobm9kZTogTm9kZSk6IG51bWJlciB7XG4gICAgICAgIHJldHVybiAnb3duZXJTVkdFbGVtZW50JyBpbiBub2RlID8gTm9kZUZpbHRlci5GSUxURVJfUkVKRUNUIDogTm9kZUZpbHRlci5GSUxURVJfQUNDRVBUO1xuICAgIH1cbn07XG4iXX0=
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export const UnitsMetricWeight = [
|
|
2
|
+
{ label: 'kilogram (kg)', abbreviation: 'kg', value: 'KILOGRAM' },
|
|
3
|
+
{ label: 'gram', abbreviation: 'g', value: 'G' },
|
|
4
|
+
{ label: 'ton', abbreviation: 'tn', value: 'TONNE' }
|
|
5
|
+
];
|
|
6
|
+
export const UnitsImperialWeight = [
|
|
7
|
+
{ label: 'ounce', abbreviation: 'oz', value: 'OZ' },
|
|
8
|
+
{ label: 'pound', abbreviation: 'lb', value: 'POUND' },
|
|
9
|
+
{ label: 'ton', abbreviation: 'tn', value: 'TON_US' }
|
|
10
|
+
];
|
|
11
|
+
export const UnitsMetricLength = [
|
|
12
|
+
{ label: 'meter', abbreviation: 'm', value: 'METER' },
|
|
13
|
+
{ label: 'millimeter', abbreviation: 'mm', value: 'MILLI_METER' },
|
|
14
|
+
{ label: 'centimeter', abbreviation: 'cm', value: 'CENTI_METER' }
|
|
15
|
+
// { label: 'kilometer', abbreviation: 'km', value: 'KILO_METER' },
|
|
16
|
+
];
|
|
17
|
+
export const UnitsImperialLength = [
|
|
18
|
+
{ label: 'foot', abbreviation: 'ft', value: 'FOOT' },
|
|
19
|
+
{ label: 'inch', abbreviation: 'i', value: 'INCH' },
|
|
20
|
+
{ label: 'yard', abbreviation: 'yd', value: 'YARD' }
|
|
21
|
+
// { label: 'mile', abbreviation: 'm', value: 'MILE' },
|
|
22
|
+
];
|
|
23
|
+
export const UnitsMetricVolume = [
|
|
24
|
+
{ label: 'litre', abbreviation: 'l', value: 'LITRE' },
|
|
25
|
+
{ label: 'millilitre', abbreviation: 'ml', value: 'MILLI_LITRE' },
|
|
26
|
+
{ label: 'cubic metre', abbreviation: 'm³', value: 'CUBIC_METRE' }
|
|
27
|
+
];
|
|
28
|
+
export const UnitsImperialVolume = [
|
|
29
|
+
{ label: 'gallon liquid', abbreviation: 'gl', value: 'GALLON_LIQUID' },
|
|
30
|
+
{ label: 'gallon dry', abbreviation: 'gd', value: 'GALLON_DRY' },
|
|
31
|
+
{ label: 'fluid ounce', abbreviation: 'fo', value: 'FLUID_OUNCE' },
|
|
32
|
+
{ label: 'barrel', abbreviation: 'b', value: 'BARREL' },
|
|
33
|
+
{ label: 'pint', abbreviation: 'p', value: 'PINT' }
|
|
34
|
+
];
|
|
35
|
+
export const UnitsMetricSquare = [
|
|
36
|
+
{ label: 'sq. meter', abbreviation: 'm²', value: 'SQUARE_METRE', initial: 'METER' },
|
|
37
|
+
{ label: 'sq. millimeter', abbreviation: 'mm²', value: 'SQUARE_MILLI', initial: 'MILLI_METER' },
|
|
38
|
+
{ label: 'sq. centimeter', abbreviation: 'cm²', value: 'SQUARE_CENTI', initial: 'CENTI_METER' }
|
|
39
|
+
];
|
|
40
|
+
export const UnitsImperialSquare = [
|
|
41
|
+
{ label: 'sq. foot', abbreviation: 'ft²', value: 'SQUARE_FOOT', initial: 'FOOT' },
|
|
42
|
+
{ label: 'sq. inch', abbreviation: 'inch²', value: 'SQUARE_INCH', initial: 'INCH' },
|
|
43
|
+
{ label: 'sq. yard', abbreviation: 'yard²', value: 'SQUARE_YARD', initial: 'YARD' }
|
|
44
|
+
];
|
|
45
|
+
export const UnitsAmount = [{ label: 'pieces', value: 'PIECES', abbreviation: 'pcs' }];
|
|
46
|
+
export const UnitsMetric = {
|
|
47
|
+
["LENGTH" /* Consumption.Length */]: UnitsMetricLength,
|
|
48
|
+
["SQUARE" /* Consumption.Square */]: UnitsMetricSquare,
|
|
49
|
+
["VOLUME" /* Consumption.Volume */]: UnitsMetricVolume,
|
|
50
|
+
["WEIGHT" /* Consumption.Weight */]: UnitsMetricWeight,
|
|
51
|
+
["AMOUNT" /* Consumption.Amount */]: UnitsAmount
|
|
52
|
+
};
|
|
53
|
+
export const UnitsImperial = {
|
|
54
|
+
["LENGTH" /* Consumption.Length */]: UnitsImperialLength,
|
|
55
|
+
["SQUARE" /* Consumption.Square */]: UnitsImperialSquare,
|
|
56
|
+
["VOLUME" /* Consumption.Volume */]: UnitsImperialVolume,
|
|
57
|
+
["WEIGHT" /* Consumption.Weight */]: UnitsImperialWeight,
|
|
58
|
+
["AMOUNT" /* Consumption.Amount */]: UnitsAmount
|
|
59
|
+
};
|
|
60
|
+
export const SystemUnits = {
|
|
61
|
+
["METRIC" /* UnitsSystem.Metric */]: UnitsMetric,
|
|
62
|
+
["IMPERIAL" /* UnitsSystem.Imperial */]: UnitsImperial
|
|
63
|
+
};
|
|
64
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidW5pdHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvY29uc3RhbnRzL3VuaXRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sQ0FBQyxNQUFNLGlCQUFpQixHQUFXO0lBQ3JDLEVBQUUsS0FBSyxFQUFFLGVBQWUsRUFBRSxZQUFZLEVBQUUsSUFBSSxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUU7SUFDakUsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFlBQVksRUFBRSxHQUFHLEVBQUUsS0FBSyxFQUFFLEdBQUcsRUFBRTtJQUNoRCxFQUFFLEtBQUssRUFBRSxLQUFLLEVBQUUsWUFBWSxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsT0FBTyxFQUFFO0NBQ3ZELENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxtQkFBbUIsR0FBVztJQUN2QyxFQUFFLEtBQUssRUFBRSxPQUFPLEVBQUUsWUFBWSxFQUFFLElBQUksRUFBRSxLQUFLLEVBQUUsSUFBSSxFQ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ZvbHVtZV06IFVuaXRzSW1wZXJpYWxWb2x1bWUsXG4gICAgW0NvbnN1bXB0aW9uLldlaWdodF06IFVuaXRzSW1wZXJpYWxXZWlnaHQsXG4gICAgW0NvbnN1bXB0aW9uLkFtb3VudF06IFVuaXRzQW1vdW50XG59O1xuXG5leHBvcnQgY29uc3QgZW51bSBVbml0c1N5c3RlbSB7XG4gICAgTWV0cmljID0gJ01FVFJJQycsXG4gICAgSW1wZXJpYWwgPSAnSU1QRVJJQUwnXG59XG5cbmV4cG9ydCBjb25zdCBTeXN0ZW1Vbml0czogUmVjb3JkPFVuaXRzU3lzdGVtLCBQYXJ0aWFsPFJlY29yZDxDb25zdW1wdGlvbiwgVW5pdFtdPj4+ID0ge1xuICAgIFtVbml0c1N5c3RlbS5NZXRyaWNdOiBVbml0c01ldHJpYyxcbiAgICBbVW5pdHNTeXN0ZW0uSW1wZXJpYWxdOiBVbml0c0ltcGVyaWFsXG59O1xuIl19
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VieS11aS1jZGsuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9wcm9qZWN0cy9jZGsvY3VieS11aS1jZGsudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7O0dBRUc7QUFFSCxjQUFjLFNBQVMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogR2VuZXJhdGVkIGJ1bmRsZSBpbmRleC4gRG8gbm90IGVkaXQuXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9pbmRleCc7XG4iXX0=
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export * from './time';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9jZGsvZGF0ZS10aW1lL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsUUFBUSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi90aW1lJztcbiJdfQ==
|