zek 16.1.13 → 16.1.15
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/esm2022/lib/modules/index.mjs +3 -1
- package/esm2022/lib/modules/numeric/index.mjs +2 -0
- package/esm2022/lib/modules/numeric/numeric.directive.mjs +92 -0
- package/esm2022/lib/modules/select2-multiple/index.mjs +1 -2
- package/esm2022/lib/modules/select2-multiple/select2-multiple.mjs +5 -3
- package/esm2022/lib/modules/tooltip/index.mjs +2 -0
- package/esm2022/lib/modules/tooltip/tooltip.mjs +27 -0
- package/fesm2022/zek.mjs +117 -27
- package/fesm2022/zek.mjs.map +1 -1
- package/lib/modules/index.d.ts +2 -0
- package/lib/modules/numeric/index.d.ts +1 -0
- package/lib/modules/numeric/numeric.directive.d.ts +20 -0
- package/lib/modules/select2-multiple/index.d.ts +0 -1
- package/lib/modules/select2-multiple/select2-multiple.d.ts +1 -1
- package/lib/modules/tooltip/index.d.ts +1 -0
- package/lib/modules/tooltip/tooltip.d.ts +12 -0
- package/lib/utils/bootstrap.helper.d.ts +1 -1
- package/package.json +1 -1
- package/esm2022/lib/modules/select2-multiple/module.mjs +0 -28
- package/lib/modules/select2-multiple/module.d.ts +0 -9
package/lib/modules/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from './grid-toolbar';
|
|
|
14
14
|
export * from './list-toolbar';
|
|
15
15
|
export * from './loading';
|
|
16
16
|
export * from './modal';
|
|
17
|
+
export * from './numeric';
|
|
17
18
|
export * from './page-title';
|
|
18
19
|
export * from './pager';
|
|
19
20
|
export * from './password';
|
|
@@ -27,6 +28,7 @@ export * from './select2';
|
|
|
27
28
|
export * from './select2-multiple';
|
|
28
29
|
export * from './sort';
|
|
29
30
|
export * from './time';
|
|
31
|
+
export * from './tooltip';
|
|
30
32
|
export * from './validator';
|
|
31
33
|
export * from './validators';
|
|
32
34
|
export * from './wizard';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './numeric.directive';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ElementRef } from "@angular/core";
|
|
2
|
+
import { BooleanInput, NumberInput } from "../../components";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NumericDirective {
|
|
5
|
+
private el;
|
|
6
|
+
private _digits;
|
|
7
|
+
get digits(): NumberInput;
|
|
8
|
+
set digits(v: NumberInput);
|
|
9
|
+
private _negative;
|
|
10
|
+
get negative(): boolean;
|
|
11
|
+
set negative(v: BooleanInput);
|
|
12
|
+
private checkAllowNegative;
|
|
13
|
+
private check;
|
|
14
|
+
private run;
|
|
15
|
+
constructor(el: ElementRef);
|
|
16
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
17
|
+
onPaste(event: ClipboardEvent): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NumericDirective, never>;
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NumericDirective, "[numeric]", never, { "digits": { "alias": "digits"; "required": false; }; "negative": { "alias": "negative"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -26,5 +26,5 @@ export declare class ZekSelect2Multiple {
|
|
|
26
26
|
private setText;
|
|
27
27
|
selectItem(item: any): void;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ZekSelect2Multiple, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ZekSelect2Multiple, "zek-select2-multiple,[zek-select2-multiple]", never, { "data": { "alias": "data"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "selectedItemChange": "selectedItemChange"; "valueChange": "valueChange"; }, never, never,
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ZekSelect2Multiple, "zek-select2-multiple,[zek-select2-multiple]", never, { "data": { "alias": "data"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "selectedItemChange": "selectedItemChange"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
30
30
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './tooltip';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from "@angular/core";
|
|
2
|
+
import { CoreComponent } from "../../components";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ZekTooltip extends CoreComponent implements AfterViewInit {
|
|
5
|
+
private el;
|
|
6
|
+
private _tooltip;
|
|
7
|
+
constructor(el: ElementRef);
|
|
8
|
+
destroy(): Promise<void>;
|
|
9
|
+
ngAfterViewInit(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ZekTooltip, never>;
|
|
11
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ZekTooltip, "[zek-toltip]", never, {}, {}, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -16,7 +16,7 @@ export declare enum Color {
|
|
|
16
16
|
Dark = 8
|
|
17
17
|
}
|
|
18
18
|
export declare class BootstrapHelper {
|
|
19
|
-
static cssColor(color?: Color | null): "" | "bg-primary text-white" | "bg-
|
|
19
|
+
static cssColor(color?: Color | null): "" | "bg-primary text-white" | "bg-secondary text-white" | "bg-success text-white" | "bg-danger text-white" | "bg-warning text-dark" | "bg-info text-dark" | "bg-dark text-white";
|
|
20
20
|
static cssIcon(type: ComponentType): string | null;
|
|
21
21
|
static cssButton(type: ComponentType): string;
|
|
22
22
|
static cssAlert(type?: AlertType | null): string;
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { FormsModule } from '@angular/forms';
|
|
4
|
-
import { ZekSelect2Multiple } from './select2-multiple';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class ZekSelect2MultipleModule {
|
|
7
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ZekSelect2MultipleModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
8
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.7", ngImport: i0, type: ZekSelect2MultipleModule, declarations: [ZekSelect2Multiple], imports: [CommonModule,
|
|
9
|
-
FormsModule], exports: [ZekSelect2Multiple] }); }
|
|
10
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ZekSelect2MultipleModule, imports: [CommonModule,
|
|
11
|
-
FormsModule] }); }
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: ZekSelect2MultipleModule, decorators: [{
|
|
14
|
-
type: NgModule,
|
|
15
|
-
args: [{
|
|
16
|
-
imports: [
|
|
17
|
-
CommonModule,
|
|
18
|
-
FormsModule
|
|
19
|
-
],
|
|
20
|
-
declarations: [
|
|
21
|
-
ZekSelect2Multiple
|
|
22
|
-
],
|
|
23
|
-
exports: [
|
|
24
|
-
ZekSelect2Multiple
|
|
25
|
-
],
|
|
26
|
-
}]
|
|
27
|
-
}] });
|
|
28
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvemVrL3NyYy9saWIvbW9kdWxlcy9zZWxlY3QyLW11bHRpcGxlL21vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFD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FxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFpla1NlbGVjdDJNdWx0aXBsZVxyXG4gIF0sXHJcbn0pXHJcblxyXG5leHBvcnQgY2xhc3MgWmVrU2VsZWN0Mk11bHRpcGxlTW9kdWxlIHtcclxufSJdfQ==
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./select2-multiple";
|
|
3
|
-
import * as i2 from "@angular/common";
|
|
4
|
-
import * as i3 from "@angular/forms";
|
|
5
|
-
export declare class ZekSelect2MultipleModule {
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ZekSelect2MultipleModule, never>;
|
|
7
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ZekSelect2MultipleModule, [typeof i1.ZekSelect2Multiple], [typeof i2.CommonModule, typeof i3.FormsModule], [typeof i1.ZekSelect2Multiple]>;
|
|
8
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<ZekSelect2MultipleModule>;
|
|
9
|
-
}
|