@brggroup/share-lib 0.1.26 → 0.1.27
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/fesm2022/brggroup-share-lib.mjs +64 -22
- package/fesm2022/brggroup-share-lib.mjs.map +1 -1
- package/lib/components/extend-date-picker/extend-date-picker.d.ts +2 -1
- package/lib/components/extend-date-picker/extend-date-picker.d.ts.map +1 -1
- package/lib/directive/date-input-parser.directive.d.ts +3 -3
- package/lib/directive/date-input-parser.directive.d.ts.map +1 -1
- package/lib/helper/date.helper.d.ts +1 -1
- package/lib/helper/date.helper.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ export declare class ExtendDatePicker {
|
|
|
9
9
|
placeHolder: string;
|
|
10
10
|
labelAlign: 'left' | 'right';
|
|
11
11
|
floatingLabel: boolean;
|
|
12
|
+
showTime: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* default = 8
|
|
14
15
|
*/
|
|
@@ -53,6 +54,6 @@ export declare class ExtendDatePicker {
|
|
|
53
54
|
[key: string]: string;
|
|
54
55
|
};
|
|
55
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<ExtendDatePicker, never>;
|
|
56
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExtendDatePicker, "extend-date-picker", never, { "dateFormat": { "alias": "dateFormat"; "required": false; }; "layOutType": { "alias": "layOutType"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "labelAlign": { "alias": "labelAlign"; "required": false; }; "floatingLabel": { "alias": "floatingLabel"; "required": false; }; "labelSpan": { "alias": "labelSpan"; "required": false; }; "labelFlex": { "alias": "labelFlex"; "required": false; }; "inputFlex": { "alias": "inputFlex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "isSubmited": { "alias": "isSubmited"; "required": false; }; "noBottom": { "alias": "noBottom"; "required": false; }; "selectModeType": { "alias": "selectModeType"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "borderBottomOnly": { "alias": "borderBottomOnly"; "required": false; }; "displayInline": { "alias": "displayInline"; "required": false; }; "size": { "alias": "size"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "lstItem": { "alias": "lstItem"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "formData": { "alias": "formData"; "required": false; }; "controlName": { "alias": "controlName"; "required": false; }; "_ngModel": { "alias": "_ngModel"; "required": false; }; "isTouched": { "alias": "isTouched"; "required": false; }; "inputErrorMessage": { "alias": "inputErrorMessage"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; }, { "_ngModelChange": "_ngModelChange"; }, never, never, true, never>;
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExtendDatePicker, "extend-date-picker", never, { "dateFormat": { "alias": "dateFormat"; "required": false; }; "layOutType": { "alias": "layOutType"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeHolder": { "alias": "placeHolder"; "required": false; }; "labelAlign": { "alias": "labelAlign"; "required": false; }; "floatingLabel": { "alias": "floatingLabel"; "required": false; }; "showTime": { "alias": "showTime"; "required": false; }; "labelSpan": { "alias": "labelSpan"; "required": false; }; "labelFlex": { "alias": "labelFlex"; "required": false; }; "inputFlex": { "alias": "inputFlex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "isSubmited": { "alias": "isSubmited"; "required": false; }; "noBottom": { "alias": "noBottom"; "required": false; }; "selectModeType": { "alias": "selectModeType"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "inputHeight": { "alias": "inputHeight"; "required": false; }; "borderBottomOnly": { "alias": "borderBottomOnly"; "required": false; }; "displayInline": { "alias": "displayInline"; "required": false; }; "size": { "alias": "size"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "lstItem": { "alias": "lstItem"; "required": false; }; "displayField": { "alias": "displayField"; "required": false; }; "valueField": { "alias": "valueField"; "required": false; }; "formData": { "alias": "formData"; "required": false; }; "controlName": { "alias": "controlName"; "required": false; }; "_ngModel": { "alias": "_ngModel"; "required": false; }; "isTouched": { "alias": "isTouched"; "required": false; }; "inputErrorMessage": { "alias": "inputErrorMessage"; "required": false; }; "errorMessages": { "alias": "errorMessages"; "required": false; }; }, { "_ngModelChange": "_ngModelChange"; }, never, never, true, never>;
|
|
57
58
|
}
|
|
58
59
|
//# sourceMappingURL=extend-date-picker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extend-date-picker.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/components/extend-date-picker/extend-date-picker.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAI7E,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;;AAG1E,qBAca,gBAAgB;IAClB,UAAU,SAAgB;IAC1B,UAAU,EAAE,YAAY,GAAG,UAAU,CAAgB;IACrD,KAAK,SAAM;IACX,WAAW,SAAM;IACjB,UAAU,EAAE,MAAM,GAAG,OAAO,CAAU;IACtC,aAAa,UAAS;
|
|
1
|
+
{"version":3,"file":"extend-date-picker.d.ts","sourceRoot":"","sources":["../../../../../projects/share/src/lib/components/extend-date-picker/extend-date-picker.ts"],"names":[],"mappings":"AACA,OAAO,EAAa,YAAY,EAAiB,MAAM,eAAe,CAAC;AACvE,OAAO,EAAE,SAAS,EAAoC,MAAM,gBAAgB,CAAC;AAI7E,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;;AAG1E,qBAca,gBAAgB;IAClB,UAAU,SAAg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BlB,MAAM;IAIG,SAAS,EAAE,OAAO,CAAS;IAC3B,iBAAiB,EAAE,MAAM,CAAM;IAExC,IAAI,oBAAoB,IAAI,MAAM,CAMjC;IAEQ,aAAa,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAG/C;yCA5IS,gBAAgB;2CAAhB,gBAAgB;CA6I5B"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
1
|
+
import { AfterViewInit, OnDestroy, ElementRef } from '@angular/core';
|
|
2
2
|
import { NgControl } from '@angular/forms';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/**
|
|
5
5
|
* Dùng cho nz-date-picker
|
|
6
6
|
*/
|
|
7
|
-
export declare class DateInputParserDirective implements AfterViewInit {
|
|
7
|
+
export declare class DateInputParserDirective implements AfterViewInit, OnDestroy {
|
|
8
8
|
private el;
|
|
9
9
|
private ngControl;
|
|
10
10
|
format: string;
|
|
@@ -16,6 +16,6 @@ export declare class DateInputParserDirective implements AfterViewInit {
|
|
|
16
16
|
onEnter(): void;
|
|
17
17
|
private tryParseAndSet;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputParserDirective, [null, { optional: true; self: true; }]>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateInputParserDirective, "nz-date-picker", never, { "format": { "alias": "
|
|
19
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DateInputParserDirective, "nz-date-picker", never, { "format": { "alias": "nzFormat"; "required": false; }; }, {}, never, never, true, never>;
|
|
20
20
|
}
|
|
21
21
|
//# sourceMappingURL=date-input-parser.directive.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date-input-parser.directive.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/directive/date-input-parser.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,aAAa,EAAE,UAAU,EAAkB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"date-input-parser.directive.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/directive/date-input-parser.directive.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,aAAa,EAAE,SAAS,EAAE,UAAU,EAAkB,MAAM,eAAe,CAAC;AACrH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;;AAI3C;;GAEG;AACH,qBAGa,wBAAyB,YAAW,aAAa,EAAE,SAAS;IAOrE,OAAO,CAAC,EAAE;IACU,OAAO,CAAC,SAAS;IAPpB,MAAM,SAAgB;IAEzC,OAAO,CAAC,YAAY,CAAiC;IACrD,OAAO,CAAC,WAAW,CAAkC;gBAG3C,EAAE,EAAE,UAAU,CAAC,WAAW,CAAC,EACP,SAAS,EAAE,SAAS;IAGlD,eAAe;IAOf,WAAW;IAOX,OAAO;IAKP,OAAO,CAAC,cAAc;yCA9BX,wBAAwB;2CAAxB,wBAAwB;CAmDpC"}
|
|
@@ -37,7 +37,7 @@ export declare class DateTimeHelper {
|
|
|
37
37
|
* @return {string} The sum of the two numbers.
|
|
38
38
|
*/
|
|
39
39
|
private static pad;
|
|
40
|
-
static parser(dateStr: string):
|
|
40
|
+
static parser(dateStr: string): Date | "";
|
|
41
41
|
private static formatNumberToDate;
|
|
42
42
|
static firstDayOfMonth(date?: Date): Date;
|
|
43
43
|
static lastDayOfMonth(date?: Date): Date;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"date.helper.d.ts","sourceRoot":"","sources":["../../../../projects/share/src/lib/helper/date.helper.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IACzB,MAAM,CAAC,MAAM,WAA+C;IAC5D,MAAM,CAAC,QAAQ,WAA+C;IAE9D,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAiC;IACxD,OAAO,CAAC,MAAM,CAAC,MAAM,CAA4B;IACjD,MAAM,CAAC,OAAO,WAGZ;IAEF;;;OAGG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