@latitude-ui/widgets 0.0.13 → 0.0.14
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/cdk/latitude-ui-widgets-cdk.d.ts +5 -0
- package/cdk/public-api.d.ts +12 -0
- package/cdk/src/collection/collection.d.ts +20 -0
- package/cdk/src/expression/expression.d.ts +12 -0
- package/cdk/src/expression/filter/filter-criteria-descriptor.d.ts +6 -0
- package/cdk/src/expression/filter/filter-descriptor.d.ts +7 -0
- package/cdk/src/expression/filter/filter-logic.d.ts +1 -0
- package/cdk/src/expression/linq.d.ts +38 -0
- package/cdk/src/expression/sort/sort-descriptor.d.ts +7 -0
- package/cdk/src/expression/sort/sort-logic.d.ts +1 -0
- package/cdk/src/queryable/http-transport/http-transport.d.ts +15 -0
- package/cdk/src/queryable/query.d.ts +16 -0
- package/cdk/src/queryable/queryable.d.ts +18 -0
- package/cdk/src/queryable/transport.d.ts +19 -0
- package/checkbox/src/checkbox.component.d.ts +1 -1
- package/core/src/listeners.d.ts +1 -1
- package/esm2022/button/src/button.component.js +1 -1
- package/esm2022/cdk/latitude-ui-widgets-cdk.js +5 -0
- package/esm2022/cdk/public-api.js +13 -0
- package/esm2022/cdk/src/collection/collection.js +51 -0
- package/esm2022/cdk/src/expression/expression.js +21 -0
- package/esm2022/cdk/src/expression/filter/filter-criteria-descriptor.js +9 -0
- package/esm2022/cdk/src/expression/filter/filter-descriptor.js +9 -0
- package/esm2022/cdk/src/expression/filter/filter-logic.js +1 -0
- package/esm2022/cdk/src/expression/linq.js +55 -0
- package/esm2022/cdk/src/expression/sort/sort-descriptor.js +9 -0
- package/esm2022/cdk/src/expression/sort/sort-logic.js +1 -0
- package/esm2022/cdk/src/queryable/http-transport/http-transport.js +24 -0
- package/esm2022/cdk/src/queryable/query.js +22 -0
- package/esm2022/cdk/src/queryable/queryable.js +20 -0
- package/esm2022/cdk/src/queryable/transport.js +1 -0
- package/esm2022/checkbox/src/checkbox.component.js +4 -4
- package/esm2022/core/src/listeners.js +1 -1
- package/esm2022/input/src/input-error/input-error.component.js +1 -1
- package/esm2022/input/src/input-label/input-label.component.js +1 -1
- package/esm2022/input/src/input.component.js +1 -1
- package/esm2022/input/src/input.directive.js +9 -11
- package/esm2022/listbox/src/listbox-option.component.js +5 -26
- package/esm2022/listview/latitude-ui-widgets-listview.js +5 -0
- package/esm2022/listview/public-api.js +2 -0
- package/esm2022/listview/src/listview.component.js +16 -0
- package/esm2022/listview/src/listview.tokens.js +3 -0
- package/esm2022/select/src/select/select.directive.js +2 -1
- package/esm2022/select/src/select-dropdown/select-dropdown.component.js +2 -2
- package/esm2022/select/src/select-multiple.component.js +1 -1
- package/esm2022/select/src/select-option/select-option.component.js +3 -3
- package/esm2022/select/src/select-option/select-option.directive.js +1 -1
- package/esm2022/select/src/select-trigger/select-trigger.component.js +1 -1
- package/esm2022/select/src/select-value/select-value.component.js +1 -1
- package/esm2022/select/src/select-values/select-values.component.js +1 -1
- package/esm2022/switch/src/switch.component.js +4 -4
- package/esm2022/textbox/src/textbox.component.js +21 -5
- package/esm2022/textbox/src/textbox.directive.js +1 -8
- package/esm2022/textbox-number/src/spinners.component.js +2 -2
- package/esm2022/textbox-number/src/textbox-number.component.js +40 -33
- package/esm2022/textbox-search/src/textbox-search.component.js +17 -14
- package/input/src/input.directive.d.ts +11 -13
- package/listbox/src/listbox-option.component.d.ts +2 -5
- package/listview/latitude-ui-widgets-listview.d.ts +5 -0
- package/listview/public-api.d.ts +1 -0
- package/listview/src/listview.component.d.ts +6 -0
- package/listview/src/listview.tokens.d.ts +3 -0
- package/package.json +12 -8
- package/select/src/select/select.directive.d.ts +1 -0
- package/styles/forms/_index.scss +11 -9
- package/switch/src/switch.component.d.ts +1 -1
- package/textbox/src/textbox.component.d.ts +7 -1
- package/textbox/src/textbox.directive.d.ts +0 -2
- package/textbox-number/src/textbox-number.component.d.ts +17 -10
- package/textbox-search/src/textbox-search.component.d.ts +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@latitude-ui/widgets",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.14",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "UI Widgets",
|
|
6
6
|
"keywords": [
|
|
@@ -28,14 +28,18 @@
|
|
|
28
28
|
"types": "./button/latitude-ui-widgets-button.d.ts",
|
|
29
29
|
"default": "./esm2022/button/latitude-ui-widgets-button.js"
|
|
30
30
|
},
|
|
31
|
-
"./
|
|
32
|
-
"types": "./
|
|
33
|
-
"default": "./esm2022/
|
|
31
|
+
"./cdk": {
|
|
32
|
+
"types": "./cdk/latitude-ui-widgets-cdk.d.ts",
|
|
33
|
+
"default": "./esm2022/cdk/latitude-ui-widgets-cdk.js"
|
|
34
34
|
},
|
|
35
35
|
"./checkbox": {
|
|
36
36
|
"types": "./checkbox/latitude-ui-widgets-checkbox.d.ts",
|
|
37
37
|
"default": "./esm2022/checkbox/latitude-ui-widgets-checkbox.js"
|
|
38
38
|
},
|
|
39
|
+
"./combobox": {
|
|
40
|
+
"types": "./combobox/latitude-ui-widgets-combobox.d.ts",
|
|
41
|
+
"default": "./esm2022/combobox/latitude-ui-widgets-combobox.js"
|
|
42
|
+
},
|
|
39
43
|
"./core": {
|
|
40
44
|
"types": "./core/latitude-ui-widgets-core.d.ts",
|
|
41
45
|
"default": "./esm2022/core/latitude-ui-widgets-core.js"
|
|
@@ -52,6 +56,10 @@
|
|
|
52
56
|
"types": "./listbox/latitude-ui-widgets-listbox.d.ts",
|
|
53
57
|
"default": "./esm2022/listbox/latitude-ui-widgets-listbox.js"
|
|
54
58
|
},
|
|
59
|
+
"./listview": {
|
|
60
|
+
"types": "./listview/latitude-ui-widgets-listview.d.ts",
|
|
61
|
+
"default": "./esm2022/listview/latitude-ui-widgets-listview.js"
|
|
62
|
+
},
|
|
55
63
|
"./lookup": {
|
|
56
64
|
"types": "./lookup/latitude-ui-widgets-lookup.d.ts",
|
|
57
65
|
"default": "./esm2022/lookup/latitude-ui-widgets-lookup.js"
|
|
@@ -60,10 +68,6 @@
|
|
|
60
68
|
"types": "./select/latitude-ui-widgets-select.d.ts",
|
|
61
69
|
"default": "./esm2022/select/latitude-ui-widgets-select.js"
|
|
62
70
|
},
|
|
63
|
-
"./textarea": {
|
|
64
|
-
"types": "./textarea/latitude-ui-widgets-textarea.d.ts",
|
|
65
|
-
"default": "./esm2022/textarea/latitude-ui-widgets-textarea.js"
|
|
66
|
-
},
|
|
67
71
|
"./switch": {
|
|
68
72
|
"types": "./switch/latitude-ui-widgets-switch.d.ts",
|
|
69
73
|
"default": "./esm2022/switch/latitude-ui-widgets-switch.js"
|
|
@@ -15,6 +15,7 @@ export declare abstract class SelectDirective<T, TValue> extends BuildInInputVal
|
|
|
15
15
|
hide(): undefined;
|
|
16
16
|
open(): undefined;
|
|
17
17
|
toggle(): void;
|
|
18
|
+
/** @internal */
|
|
18
19
|
_updateOverlayPositionSide({ connectionPair }: ConnectedOverlayPositionChange): void;
|
|
19
20
|
/** ABSTRACT SECTION */
|
|
20
21
|
abstract selected: Signal<T[]>;
|
package/styles/forms/_index.scss
CHANGED
|
@@ -320,7 +320,7 @@ lat-textbox, lat-textarea, lat-select {
|
|
|
320
320
|
--lat-textbox-background-color: #ffffff;
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
lat-textbox
|
|
323
|
+
lat-textbox {
|
|
324
324
|
position: relative;
|
|
325
325
|
box-sizing: border-box;
|
|
326
326
|
|
|
@@ -429,6 +429,16 @@ lat-textbox, lat-textarea {
|
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
431
|
|
|
432
|
+
&[data-rows] {
|
|
433
|
+
height: auto;
|
|
434
|
+
box-sizing: content-box;
|
|
435
|
+
|
|
436
|
+
textarea {
|
|
437
|
+
height: auto;
|
|
438
|
+
overflow: auto;
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
432
442
|
@include textbox-size(
|
|
433
443
|
"sm",
|
|
434
444
|
1.5rem,
|
|
@@ -457,14 +467,6 @@ lat-textbox, lat-textarea {
|
|
|
457
467
|
);
|
|
458
468
|
}
|
|
459
469
|
|
|
460
|
-
lat-textarea {
|
|
461
|
-
height: auto;
|
|
462
|
-
box-sizing: content-box;
|
|
463
|
-
|
|
464
|
-
textarea {
|
|
465
|
-
overflow: auto;
|
|
466
|
-
}
|
|
467
|
-
}
|
|
468
470
|
|
|
469
471
|
lat-select {
|
|
470
472
|
position: relative;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BuildInInputValueAccessor } from '@latitude-ui/widgets/input';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class SwitchComponent extends BuildInInputValueAccessor<boolean> {
|
|
4
|
-
|
|
4
|
+
toggle(): void;
|
|
5
5
|
static ɵfac: i0.ɵɵFactoryDeclaration<SwitchComponent, never>;
|
|
6
6
|
static ɵcmp: i0.ɵɵComponentDeclaration<SwitchComponent, "lat-switch", ["latSwitch"], {}, {}, never, ["*"], true, never>;
|
|
7
7
|
}
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
import { TextBoxDirective } from './textbox.directive';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class TextBoxComponent extends TextBoxDirective<string> {
|
|
4
|
+
readonly rows: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
4
5
|
readonly maxlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
5
6
|
readonly minlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
7
|
+
readonly textarea: import("@angular/core").Signal<boolean>;
|
|
8
|
+
/** @internal */
|
|
9
|
+
_handleBlurEvent(): void;
|
|
10
|
+
/** @internal */
|
|
11
|
+
_handleValueChanged(): void;
|
|
6
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "lat-textbox:not([type]), lat-textbox[type=\"text\"]", ["latTextBox"], { "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "minlength": { "alias": "minlength"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "lat-textbox:not([type]), lat-textbox[type=\"text\"]", ["latTextBox"], { "rows": { "alias": "rows"; "required": false; "isSignal": true; }; "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "minlength": { "alias": "minlength"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
14
|
}
|
|
@@ -5,8 +5,6 @@ export declare class TextBoxDirective<T> extends BuildInInputValueAccessor<T> {
|
|
|
5
5
|
readonly input: import("@angular/core").Signal<ElementRef<any>>;
|
|
6
6
|
blur(): void;
|
|
7
7
|
focus(): void;
|
|
8
|
-
protected handleBlurEvent(): void;
|
|
9
|
-
protected handleInputEvent(): void;
|
|
10
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxDirective<any>, never>;
|
|
11
9
|
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxDirective<any>, never, never, {}, {}, never, never, true, never>;
|
|
12
10
|
}
|
|
@@ -10,9 +10,9 @@ export declare class TextBoxNumberComponent extends TextBoxDirective<number> {
|
|
|
10
10
|
readonly decimalSeparator: import("@angular/core").InputSignal<"," | ".">;
|
|
11
11
|
readonly thousandSeparator: import("@angular/core").InputSignal<string>;
|
|
12
12
|
readonly inputElementRef: import("@angular/core").Signal<ElementRef<any>>;
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
13
|
+
readonly maxvalue: import("@angular/core").Signal<number>;
|
|
14
|
+
readonly minvalue: import("@angular/core").Signal<number>;
|
|
15
|
+
readonly nowvalue: import("@angular/core").Signal<number>;
|
|
16
16
|
readonly maxlength: import("@angular/core").Signal<number>;
|
|
17
17
|
readonly maskitoNumberParams: import("@angular/core").Signal<{
|
|
18
18
|
max: number;
|
|
@@ -24,13 +24,20 @@ export declare class TextBoxNumberComponent extends TextBoxDirective<number> {
|
|
|
24
24
|
thousandSeparator: string;
|
|
25
25
|
}>;
|
|
26
26
|
constructor();
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
/** @internal */
|
|
28
|
+
_handleValueChanged(): void;
|
|
29
|
+
/** @internal */
|
|
30
|
+
_valueStringify(valueAsString: unknown): string;
|
|
31
|
+
/** @internal */
|
|
32
|
+
_valueSimplify(value: string): string;
|
|
33
|
+
/** @internal */
|
|
34
|
+
_valueUnsettled(value: string): boolean;
|
|
35
|
+
/** @internal */
|
|
36
|
+
_parseNumber(value: unknown): number | null;
|
|
37
|
+
/** @internal */
|
|
38
|
+
_handleFocusEvent(): void;
|
|
39
|
+
/** @internal */
|
|
40
|
+
_handleBlurEvent(): void;
|
|
34
41
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxNumberComponent, never>;
|
|
35
42
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxNumberComponent, "lat-textbox[type=\"number\"]", ["latTextBox"], { "max": { "alias": "max"; "required": false; "isSignal": true; }; "min": { "alias": "min"; "required": false; "isSignal": true; }; "step": { "alias": "step"; "required": false; "isSignal": true; }; "decimals": { "alias": "decimals"; "required": false; "isSignal": true; }; "decimalMode": { "alias": "decimalMode"; "required": false; "isSignal": true; }; "decimalSeparator": { "alias": "decimalSeparator"; "required": false; "isSignal": true; }; "thousandSeparator": { "alias": "thousandSeparator"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
36
43
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BuildInInputValueAccessor } from '@latitude-ui/widgets/input';
|
|
1
|
+
import { TextBoxDirective } from '@latitude-ui/widgets/textbox';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TextBoxSearchComponent extends
|
|
3
|
+
export declare class TextBoxSearchComponent extends TextBoxDirective<string> {
|
|
5
4
|
readonly maxlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
6
5
|
readonly minlength: import("@angular/core").InputSignalWithTransform<number | undefined, unknown>;
|
|
7
6
|
readonly debounceTime: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
/** @internal */
|
|
8
|
+
_timeoutRef: number | undefined;
|
|
10
9
|
constructor();
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
/** @internal */
|
|
11
|
+
_handleBlurEvent(): void;
|
|
12
|
+
/** @internal */
|
|
13
|
+
_handleValueChanged(): void;
|
|
13
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxSearchComponent, never>;
|
|
14
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxSearchComponent, "lat-textbox[type=\"search\"]", ["latTextBox"], { "maxlength": { "alias": "maxlength"; "required": false; "isSignal": true; }; "minlength": { "alias": "minlength"; "required": false; "isSignal": true; }; "debounceTime": { "alias": "debounceTime"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
15
16
|
}
|