@brggroup/share-lib 0.1.26 → 0.1.28
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 +135 -84
- 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/components/layout/layout-user/layout-user.d.ts +3 -0
- package/lib/components/layout/layout-user/layout-user.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,EAA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AAO,CAUrC;IAEF,IAAI,YAAY,IAAI,MAAM,CAwBzB;IAED,OAAO,CAAC,UAAU;IAgBlB,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"}
|
|
@@ -6,15 +6,18 @@ import { SessionManagerService } from '../../../auth/session-manager.service';
|
|
|
6
6
|
import { CommonService } from '../../../services/api-service/common.service';
|
|
7
7
|
import { TokenStorage } from '../../../auth/token.storage';
|
|
8
8
|
import { App_Org } from '../../../model';
|
|
9
|
+
import { SettingService } from '../../../services/setting.service';
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class LayoutUser extends BaseComponent implements OnInit {
|
|
11
12
|
cms: CommonService;
|
|
12
13
|
authService: AuthService;
|
|
13
14
|
sessionManager: SessionManagerService;
|
|
14
15
|
breakpointObserver: BreakpointObserver;
|
|
16
|
+
settingService: SettingService;
|
|
15
17
|
TokenStorage: typeof TokenStorage;
|
|
16
18
|
isXSmall: boolean;
|
|
17
19
|
lstOrg: App_Org[];
|
|
20
|
+
isOneUserMultiOrgs: boolean;
|
|
18
21
|
ngOnInit(): void;
|
|
19
22
|
getLstOrg(): void;
|
|
20
23
|
changeOrg(org: App_Org): Promise<void>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout-user.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/components/layout/layout-user/layout-user.ts"],"names":[],"mappings":"AACA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAc1D,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AAItE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;;
|
|
1
|
+
{"version":3,"file":"layout-user.d.ts","sourceRoot":"","sources":["../../../../../../projects/share/src/lib/components/layout/layout-user/layout-user.ts"],"names":[],"mappings":"AACA,OAAO,EAAqB,MAAM,EAAE,MAAM,eAAe,CAAC;AAc1D,OAAO,EAAE,kBAAkB,EAAe,MAAM,qBAAqB,CAAC;AAItE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,8CAA8C,CAAC;AAC7E,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;;AAEnE,qBAuBa,UAAW,SAAQ,aAAc,YAAW,MAAM;IAC7D,GAAG,gBAAyB;IAC5B,WAAW,cAAuB;IAClC,cAAc,wBAAiC;IAC/C,kBAAkB,qBAA8B;IAChD,cAAc,iBAA0B;IAExC,YAAY,sBAAgB;IAE5B,QAAQ,UAAS;IAEjB,MAAM,EAAE,OAAO,EAAE,CAAM;IACvB,kBAAkB,UAAS;IAE3B,QAAQ,IAAI,IAAI;IAkBhB,SAAS;IAWH,SAAS,CAAC,GAAG,EAAE,OAAO;IAc5B,WAAW;IAIX,MAAM;yCA7DK,UAAU;2CAAV,UAAU;CAgEtB"}
|
|
@@ -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;IACH,MAAM,CAAC,GAAG,IAAI,MAAM;IAKpB;;;OAGG;IACH,MAAM,CAAC,KAAK,IAAI,MAAM;IAKtB;;;;;;;OAOG;IACH,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,UAAU,GAAE,OAAe,GAAG,MAAM,GAAG,IAAI;IAWvG;;;;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