@dealpos-npm/ng-dealpos-library 0.0.2 → 1.0.1

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.
Files changed (128) hide show
  1. package/components/info-page-input/index.d.ts +5 -5
  2. package/components/info-page-input/public-api.d.ts +1 -1
  3. package/components/info-page-input/src/info-page-input.component.d.ts +12 -12
  4. package/components/modal-changelog/index.d.ts +5 -5
  5. package/components/modal-changelog/public-api.d.ts +1 -1
  6. package/components/modal-changelog/src/modal-changelog.component.d.ts +20 -20
  7. package/components/radio-options/index.d.ts +5 -5
  8. package/components/radio-options/public-api.d.ts +1 -1
  9. package/components/radio-options/src/radio-options.component.d.ts +16 -16
  10. package/components/tinymce-editor/index.d.ts +5 -5
  11. package/components/tinymce-editor/public-api.d.ts +1 -1
  12. package/components/tinymce-editor/src/tinymce-editor.component.d.ts +12 -12
  13. package/constants/index.d.ts +5 -5
  14. package/constants/public-api.d.ts +1 -1
  15. package/constants/src/Constants.d.ts +133 -134
  16. package/directives/autonumeric/index.d.ts +5 -5
  17. package/directives/autonumeric/public-api.d.ts +1 -1
  18. package/directives/autonumeric/src/autonumeric.directive.d.ts +30 -30
  19. package/{esm2020 → esm2022}/components/info-page-input/dealpos-npm-ng-dealpos-library-components-info-page-input.mjs +4 -4
  20. package/{esm2020 → esm2022}/components/info-page-input/public-api.mjs +1 -1
  21. package/{esm2020 → esm2022}/components/info-page-input/src/info-page-input.component.mjs +36 -36
  22. package/{esm2020 → esm2022}/components/modal-changelog/dealpos-npm-ng-dealpos-library-components-modal-changelog.mjs +4 -4
  23. package/{esm2020 → esm2022}/components/modal-changelog/public-api.mjs +1 -1
  24. package/{esm2020 → esm2022}/components/modal-changelog/src/modal-changelog.component.mjs +26 -26
  25. package/{esm2020 → esm2022}/components/radio-options/dealpos-npm-ng-dealpos-library-components-radio-options.mjs +4 -4
  26. package/{esm2020 → esm2022}/components/radio-options/public-api.mjs +1 -1
  27. package/{esm2020 → esm2022}/components/radio-options/src/radio-options.component.mjs +60 -60
  28. package/{esm2020 → esm2022}/components/tinymce-editor/dealpos-npm-ng-dealpos-library-components-tinymce-editor.mjs +4 -4
  29. package/{esm2020 → esm2022}/components/tinymce-editor/public-api.mjs +1 -1
  30. package/{esm2020 → esm2022}/components/tinymce-editor/src/tinymce-editor.component.mjs +35 -35
  31. package/{esm2020 → esm2022}/constants/dealpos-npm-ng-dealpos-library-constants.mjs +4 -4
  32. package/{esm2020 → esm2022}/constants/public-api.mjs +1 -1
  33. package/esm2022/constants/src/Constants.mjs +325 -0
  34. package/{esm2020 → esm2022}/dealpos-npm-ng-dealpos-library.mjs +4 -4
  35. package/{esm2020 → esm2022}/directives/autonumeric/dealpos-npm-ng-dealpos-library-directives-autonumeric.mjs +4 -4
  36. package/{esm2020 → esm2022}/directives/autonumeric/public-api.mjs +1 -1
  37. package/esm2022/directives/autonumeric/src/autonumeric.directive.mjs +129 -0
  38. package/{esm2020 → esm2022}/lib/dealpos.component.mjs +12 -12
  39. package/{esm2020 → esm2022}/lib/dealpos.module.mjs +21 -21
  40. package/{esm2020 → esm2022}/lib/dealpos.service.mjs +14 -14
  41. package/{esm2020 → esm2022}/pipes/duration/dealpos-npm-ng-dealpos-library-pipes-duration.mjs +4 -4
  42. package/{esm2020 → esm2022}/pipes/duration/public-api.mjs +2 -2
  43. package/esm2022/pipes/duration/src/duration-days-hour.pipe.mjs +40 -0
  44. package/{esm2020 → esm2022}/pipes/duration/src/duration-time.pipe.mjs +24 -24
  45. package/{esm2020 → esm2022}/pipes/filter/dealpos-npm-ng-dealpos-library-pipes-filter.mjs +4 -4
  46. package/{esm2020 → esm2022}/pipes/filter/public-api.mjs +1 -1
  47. package/esm2022/pipes/filter/src/filter-by-name.pipe.mjs +20 -0
  48. package/{esm2020 → esm2022}/pipes/newlines/dealpos-npm-ng-dealpos-library-pipes-newlines.mjs +4 -4
  49. package/{esm2020 → esm2022}/pipes/newlines/public-api.mjs +1 -1
  50. package/esm2022/pipes/newlines/src/newlines.pipe.mjs +23 -0
  51. package/{esm2020 → esm2022}/public-api.mjs +6 -6
  52. package/{esm2020 → esm2022}/services/http/dealpos-npm-ng-dealpos-library-services-http.mjs +4 -4
  53. package/{esm2020 → esm2022}/services/http/public-api.mjs +1 -1
  54. package/esm2022/services/http/src/http.service.mjs +346 -0
  55. package/fesm2022/dealpos-npm-ng-dealpos-library-components-info-page-input.mjs +43 -0
  56. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-components-info-page-input.mjs.map +1 -1
  57. package/fesm2022/dealpos-npm-ng-dealpos-library-components-modal-changelog.mjs +33 -0
  58. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-components-modal-changelog.mjs.map +1 -1
  59. package/fesm2022/dealpos-npm-ng-dealpos-library-components-radio-options.mjs +67 -0
  60. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-components-radio-options.mjs.map +1 -1
  61. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-components-tinymce-editor.mjs +28 -28
  62. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-components-tinymce-editor.mjs.map +1 -1
  63. package/{fesm2015 → fesm2022}/dealpos-npm-ng-dealpos-library-constants.mjs +326 -327
  64. package/fesm2022/dealpos-npm-ng-dealpos-library-constants.mjs.map +1 -0
  65. package/{fesm2015 → fesm2022}/dealpos-npm-ng-dealpos-library-directives-autonumeric.mjs +125 -125
  66. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-directives-autonumeric.mjs.map +1 -1
  67. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-pipes-duration.mjs +57 -57
  68. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-pipes-duration.mjs.map +1 -1
  69. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-pipes-filter.mjs +18 -18
  70. package/{fesm2015 → fesm2022}/dealpos-npm-ng-dealpos-library-pipes-filter.mjs.map +1 -1
  71. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-pipes-newlines.mjs +21 -21
  72. package/{fesm2015 → fesm2022}/dealpos-npm-ng-dealpos-library-pipes-newlines.mjs.map +1 -1
  73. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-services-http.mjs +339 -339
  74. package/{fesm2020 → fesm2022}/dealpos-npm-ng-dealpos-library-services-http.mjs.map +1 -1
  75. package/fesm2022/dealpos-npm-ng-dealpos-library.mjs +60 -0
  76. package/{fesm2015 → fesm2022}/dealpos-npm-ng-dealpos-library.mjs.map +1 -1
  77. package/index.d.ts +5 -5
  78. package/lib/dealpos.component.d.ts +5 -5
  79. package/lib/dealpos.module.d.ts +7 -7
  80. package/lib/dealpos.service.d.ts +6 -6
  81. package/package.json +44 -70
  82. package/pipes/duration/index.d.ts +5 -5
  83. package/pipes/duration/public-api.d.ts +2 -2
  84. package/pipes/duration/src/duration-days-hour.pipe.d.ts +7 -7
  85. package/pipes/duration/src/duration-time.pipe.d.ts +7 -7
  86. package/pipes/filter/index.d.ts +5 -5
  87. package/pipes/filter/public-api.d.ts +1 -1
  88. package/pipes/filter/src/filter-by-name.pipe.d.ts +7 -7
  89. package/pipes/newlines/index.d.ts +5 -5
  90. package/pipes/newlines/public-api.d.ts +1 -1
  91. package/pipes/newlines/src/newlines.pipe.d.ts +7 -7
  92. package/public-api.d.ts +3 -3
  93. package/services/http/index.d.ts +5 -5
  94. package/services/http/public-api.d.ts +1 -1
  95. package/services/http/src/http.service.d.ts +55 -55
  96. package/esm2020/constants/src/Constants.mjs +0 -326
  97. package/esm2020/directives/autonumeric/src/autonumeric.directive.mjs +0 -129
  98. package/esm2020/pipes/duration/src/duration-days-hour.pipe.mjs +0 -40
  99. package/esm2020/pipes/filter/src/filter-by-name.pipe.mjs +0 -20
  100. package/esm2020/pipes/newlines/src/newlines.pipe.mjs +0 -23
  101. package/esm2020/services/http/src/http.service.mjs +0 -346
  102. package/fesm2015/dealpos-npm-ng-dealpos-library-components-info-page-input.mjs +0 -43
  103. package/fesm2015/dealpos-npm-ng-dealpos-library-components-info-page-input.mjs.map +0 -1
  104. package/fesm2015/dealpos-npm-ng-dealpos-library-components-modal-changelog.mjs +0 -35
  105. package/fesm2015/dealpos-npm-ng-dealpos-library-components-modal-changelog.mjs.map +0 -1
  106. package/fesm2015/dealpos-npm-ng-dealpos-library-components-radio-options.mjs +0 -67
  107. package/fesm2015/dealpos-npm-ng-dealpos-library-components-radio-options.mjs.map +0 -1
  108. package/fesm2015/dealpos-npm-ng-dealpos-library-components-tinymce-editor.mjs +0 -42
  109. package/fesm2015/dealpos-npm-ng-dealpos-library-components-tinymce-editor.mjs.map +0 -1
  110. package/fesm2015/dealpos-npm-ng-dealpos-library-constants.mjs.map +0 -1
  111. package/fesm2015/dealpos-npm-ng-dealpos-library-directives-autonumeric.mjs.map +0 -1
  112. package/fesm2015/dealpos-npm-ng-dealpos-library-pipes-duration.mjs +0 -69
  113. package/fesm2015/dealpos-npm-ng-dealpos-library-pipes-duration.mjs.map +0 -1
  114. package/fesm2015/dealpos-npm-ng-dealpos-library-pipes-filter.mjs +0 -27
  115. package/fesm2015/dealpos-npm-ng-dealpos-library-pipes-newlines.mjs +0 -30
  116. package/fesm2015/dealpos-npm-ng-dealpos-library-services-http.mjs +0 -353
  117. package/fesm2015/dealpos-npm-ng-dealpos-library-services-http.mjs.map +0 -1
  118. package/fesm2015/dealpos-npm-ng-dealpos-library.mjs +0 -60
  119. package/fesm2020/dealpos-npm-ng-dealpos-library-components-info-page-input.mjs +0 -43
  120. package/fesm2020/dealpos-npm-ng-dealpos-library-components-modal-changelog.mjs +0 -33
  121. package/fesm2020/dealpos-npm-ng-dealpos-library-components-radio-options.mjs +0 -67
  122. package/fesm2020/dealpos-npm-ng-dealpos-library-constants.mjs +0 -332
  123. package/fesm2020/dealpos-npm-ng-dealpos-library-constants.mjs.map +0 -1
  124. package/fesm2020/dealpos-npm-ng-dealpos-library-directives-autonumeric.mjs +0 -136
  125. package/fesm2020/dealpos-npm-ng-dealpos-library-pipes-filter.mjs.map +0 -1
  126. package/fesm2020/dealpos-npm-ng-dealpos-library-pipes-newlines.mjs.map +0 -1
  127. package/fesm2020/dealpos-npm-ng-dealpos-library.mjs +0 -60
  128. package/fesm2020/dealpos-npm-ng-dealpos-library.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@dealpos-npm/ng-dealpos-library/components/info-page-input" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@dealpos-npm/ng-dealpos-library/components/info-page-input" />
5
+ export * from './public-api';
@@ -1 +1 @@
1
- export * from "./src/info-page-input.component";
1
+ export * from "./src/info-page-input.component";
@@ -1,12 +1,12 @@
1
- import * as i0 from "@angular/core";
2
- export declare class InfoPageInputComponent {
3
- inputValue: string | number;
4
- labelValue: string;
5
- inputType: 'input' | 'textarea';
6
- labelVisible: boolean;
7
- disabled: boolean;
8
- isInputFilled: boolean;
9
- ngOnInit(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<InfoPageInputComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<InfoPageInputComponent, "lib-info-page-input", never, { "inputValue": "inputValue"; "labelValue": "labelValue"; "inputType": "inputType"; "labelVisible": "labelVisible"; "disabled": "disabled"; }, {}, never, never, true, never>;
12
- }
1
+ import * as i0 from "@angular/core";
2
+ export declare class InfoPageInputComponent {
3
+ inputValue: string | number;
4
+ labelValue: string;
5
+ inputType: 'input' | 'textarea';
6
+ labelVisible: boolean;
7
+ disabled: boolean;
8
+ isInputFilled: boolean;
9
+ ngOnInit(): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<InfoPageInputComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<InfoPageInputComponent, "lib-info-page-input", never, { "inputValue": { "alias": "inputValue"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "inputType": { "alias": "inputType"; "required": false; }; "labelVisible": { "alias": "labelVisible"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@dealpos-npm/ng-dealpos-library/components/modal-changelog" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@dealpos-npm/ng-dealpos-library/components/modal-changelog" />
5
+ export * from './public-api';
@@ -1 +1 @@
1
- export * from "./src/modal-changelog.component";
1
+ export * from "./src/modal-changelog.component";
@@ -1,20 +1,20 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class ModalChangelogComponent {
4
- private dialogRef;
5
- changelogs: {
6
- Href: string;
7
- ImageSource: string;
8
- Title: string;
9
- Description: string;
10
- }[];
11
- constructor(data: {
12
- Href: string;
13
- ImageSource: string;
14
- Title: string;
15
- Description: string;
16
- }[], dialogRef: MatDialogRef<ModalChangelogComponent>);
17
- close(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<ModalChangelogComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<ModalChangelogComponent, "lib-modal-changelog", never, {}, {}, never, never, true, never>;
20
- }
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ModalChangelogComponent {
4
+ private dialogRef;
5
+ changelogs: {
6
+ Href: string;
7
+ ImageSource: string;
8
+ Title: string;
9
+ Description: string;
10
+ }[];
11
+ constructor(data: {
12
+ Href: string;
13
+ ImageSource: string;
14
+ Title: string;
15
+ Description: string;
16
+ }[], dialogRef: MatDialogRef<ModalChangelogComponent>);
17
+ close(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalChangelogComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalChangelogComponent, "lib-modal-changelog", never, {}, {}, never, never, true, never>;
20
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@dealpos-npm/ng-dealpos-library/components/radio-options" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@dealpos-npm/ng-dealpos-library/components/radio-options" />
5
+ export * from './public-api';
@@ -1 +1 @@
1
- export * from "./src/radio-options.component";
1
+ export * from "./src/radio-options.component";
@@ -1,16 +1,16 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class RadioOptionsComponent {
4
- model: number | string;
5
- disabled: boolean;
6
- modelChange: EventEmitter<boolean>;
7
- options: Array<any>;
8
- border: boolean;
9
- name: string;
10
- title: any[];
11
- exception: string;
12
- activeBold: string;
13
- change(event: boolean): void;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<RadioOptionsComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<RadioOptionsComponent, "lib-radio-options", never, { "model": "model"; "disabled": "disabled"; "options": "options"; "border": "border"; "name": "name"; "title": "title"; "exception": "exception"; "activeBold": "activeBold"; }, { "modelChange": "modelChange"; }, never, never, true, never>;
16
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RadioOptionsComponent {
4
+ model: number | string;
5
+ disabled: boolean;
6
+ modelChange: EventEmitter<boolean>;
7
+ options: Array<any>;
8
+ border: boolean;
9
+ name: string;
10
+ title: any[];
11
+ exception: string;
12
+ activeBold: string;
13
+ change(event: boolean): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<RadioOptionsComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<RadioOptionsComponent, "lib-radio-options", never, { "model": { "alias": "model"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "options": { "alias": "options"; "required": false; }; "border": { "alias": "border"; "required": false; }; "name": { "alias": "name"; "required": false; }; "title": { "alias": "title"; "required": false; }; "exception": { "alias": "exception"; "required": false; }; "activeBold": { "alias": "activeBold"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, true, never>;
16
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@dealpos-npm/ng-dealpos-library/components/tinymce-editor" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@dealpos-npm/ng-dealpos-library/components/tinymce-editor" />
5
+ export * from './public-api';
@@ -1 +1 @@
1
- export * from "./src/tinymce-editor.component";
1
+ export * from "./src/tinymce-editor.component";
@@ -1,12 +1,12 @@
1
- import { EventEmitter } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TinymceEditorComponent {
4
- KEY: string;
5
- placeholder: string;
6
- height: string;
7
- value: string;
8
- valueChange: EventEmitter<string>;
9
- onChangeValue(str: string): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TinymceEditorComponent, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<TinymceEditorComponent, "lib-tinymce-editor", never, { "placeholder": "placeholder"; "height": "height"; "value": "value"; }, { "valueChange": "valueChange"; }, never, never, true, never>;
12
- }
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TinymceEditorComponent {
4
+ KEY: string;
5
+ placeholder: string;
6
+ height: string;
7
+ value: string;
8
+ valueChange: EventEmitter<string>;
9
+ onChangeValue(str: string): void;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<TinymceEditorComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<TinymceEditorComponent, "lib-tinymce-editor", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "height": { "alias": "height"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
12
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@dealpos-npm/ng-dealpos-library/constants" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@dealpos-npm/ng-dealpos-library/constants" />
5
+ export * from './public-api';
@@ -1 +1 @@
1
- export * from "./src/Constants";
1
+ export * from "./src/Constants";
@@ -1,134 +1,133 @@
1
- export declare class Constants {
2
- static GuidEmpty: string;
3
- static DecimalMinValue: string;
4
- static InputLockTimeSpan: number;
5
- static MinDate: string;
6
- static MinTime: string;
7
- static tinyMceApiKey: string;
8
- static StringFormat(msg: string, ...args: string[]): string;
9
- static IsNotEmpty(value: any): boolean;
10
- static IsEmpty(value: any): boolean;
11
- static containsOnlySpaces(str: string): boolean;
12
- static FilterByID(array: any[], id: any): any;
13
- static Months: {
14
- ID: number;
15
- Label: string;
16
- }[];
17
- static GenerateYears(currYear: any, length: any, IsPrevious: any): any[];
18
- /**
19
- * Refactor function
20
- * @param date
21
- */
22
- static DateOnly(date?: Date): Date;
23
- /**
24
- * javascript difference between two dates in days
25
- * @param startDate
26
- * @param endDate
27
- * @returns
28
- */
29
- static differentInDays(startDate: Date, endDate: Date): number;
30
- /**
31
- * javascript difference between two dates in minutes
32
- * @param dt1
33
- * @param dt2
34
- * @returns
35
- */
36
- static minutesDiff(dt1: Date, dt2: Date): number;
37
- /**
38
- * Calculate the difference between two dates in hours javascript
39
- * @param dt1
40
- * @param dt2
41
- * @returns
42
- */
43
- static hoursDiff(dt1: Date, dt2: Date): number;
44
- /**
45
- * Create Unique Identifier in the Client Side equivalent to C# NewGuid()
46
- * @returns
47
- */
48
- static Guid_NewGuid(): string;
49
- static parseJwt(token: string): any;
50
- static numberOnly(event: KeyboardEvent): boolean;
51
- /**
52
- * format number to unit
53
- * @param total
54
- * @returns
55
- */
56
- static formatNumber(total: number): string;
57
- static isToDay(date: Date): boolean;
58
- static compare(a: number | string, b: number | string, isAsc: boolean): number;
59
- /**
60
- * generate serial as note with format ['serial'*Quantity]
61
- * ex: [00AS32*6, 0089A]
62
- * @param serials
63
- * @returns
64
- */
65
- static generateSerialasNote(serials?: any[]): string;
66
- static getDatesInRange(startDate: Date, endDate: Date): Date[];
67
- /**
68
- * @param date
69
- * @param daysBefore
70
- * @returns
71
- */
72
- static getDaysBefore(date: Date, daysBefore: number): Date;
73
- /**
74
- * get first and last day by month and year
75
- * @param month
76
- * @param year
77
- * @returns
78
- */
79
- static getRangeDate(month: number, year: number): {
80
- firstDay: Date;
81
- lastDay: Date;
82
- };
83
- static setDateTime(time: string, date: Date): Date;
84
- }
85
- export declare function getImageInfo(src: string): Promise<unknown>;
86
- export declare class LocalDataKey {
87
- static OfflineQueryMode: string;
88
- static POSStorage: string;
89
- static Products: string;
90
- static Customers: string;
91
- static OutletPrices: string;
92
- static Outlet: string;
93
- static Parks: string;
94
- static Orders: string;
95
- static FailedOrders: string;
96
- static CompletedOrders: string;
97
- static NewCustomers: string;
98
- static GetRewardByPromotionID: string;
99
- static GetListPromotion: string;
100
- static GenerateGopayQrCode: string;
101
- static GenerateEmpatKaliQrCode: string;
102
- static VerifyPayment: string;
103
- static PayWithOvo: string;
104
- static InvoiceA4: string;
105
- static UploadCsv: string;
106
- static UploadCsvBuy: string;
107
- static GenerateCommission: string;
108
- static InvoiceInfo: string;
109
- static GenerateLink: string;
110
- static LoadFormBuy: string;
111
- static BuyGetOutletInfo: string;
112
- static BuyGenerateNumber: string;
113
- static BuyGetDataByID: string;
114
- static GetQuickKey: string;
115
- static GetPrintTemplateID: string;
116
- static GetVariantStockByID: string;
117
- static GetSupplierInvoice: string;
118
- static GetSupplierDTO: string;
119
- static LoadFormDelivery: string;
120
- static DeliveryGenerateNumber: string;
121
- static UpdateCourierList: string;
122
- static SubmitOutletDelivery: string;
123
- static ClearOutlet: string;
124
- static PaymentListSorting: string;
125
- static TaxListSorting: string;
126
- static LoadFormEstimate: string;
127
- static EstimateGenerateNumber: string;
128
- static SubmitEstimate: string;
129
- static LoadFormAdjustment: string;
130
- static AdjustmentGenerateNumber: string;
131
- static SubmitAdjustment: string;
132
- static ForecastData: string;
133
- static ForecastLoader: string;
134
- }
1
+ export declare class Constants {
2
+ static GuidEmpty: string;
3
+ static DecimalMinValue: string;
4
+ static InputLockTimeSpan: number;
5
+ static MinDate: string;
6
+ static MinTime: string;
7
+ static StringFormat(msg: string, ...args: string[]): string;
8
+ static IsNotEmpty(value: any): boolean;
9
+ static IsEmpty(value: any): boolean;
10
+ static containsOnlySpaces(str: string): boolean;
11
+ static FilterByID(array: any[], id: any): any;
12
+ static Months: {
13
+ ID: number;
14
+ Label: string;
15
+ }[];
16
+ static GenerateYears(currYear: any, length: any, IsPrevious: any): any[];
17
+ /**
18
+ * Refactor function
19
+ * @param date
20
+ */
21
+ static DateOnly(date?: Date): Date;
22
+ /**
23
+ * javascript difference between two dates in days
24
+ * @param startDate
25
+ * @param endDate
26
+ * @returns
27
+ */
28
+ static differentInDays(startDate: Date, endDate: Date): number;
29
+ /**
30
+ * javascript difference between two dates in minutes
31
+ * @param dt1
32
+ * @param dt2
33
+ * @returns
34
+ */
35
+ static minutesDiff(dt1: Date, dt2: Date): number;
36
+ /**
37
+ * Calculate the difference between two dates in hours javascript
38
+ * @param dt1
39
+ * @param dt2
40
+ * @returns
41
+ */
42
+ static hoursDiff(dt1: Date, dt2: Date): number;
43
+ /**
44
+ * Create Unique Identifier in the Client Side equivalent to C# NewGuid()
45
+ * @returns
46
+ */
47
+ static Guid_NewGuid(): string;
48
+ static parseJwt(token: string): any;
49
+ static numberOnly(event: KeyboardEvent): boolean;
50
+ /**
51
+ * format number to unit
52
+ * @param total
53
+ * @returns
54
+ */
55
+ static formatNumber(total: number): string;
56
+ static isToDay(date: Date): boolean;
57
+ static compare(a: number | string, b: number | string, isAsc: boolean): number;
58
+ /**
59
+ * generate serial as note with format ['serial'*Quantity]
60
+ * ex: [00AS32*6, 0089A]
61
+ * @param serials
62
+ * @returns
63
+ */
64
+ static generateSerialasNote(serials?: any[]): string;
65
+ static getDatesInRange(startDate: Date, endDate: Date): Date[];
66
+ /**
67
+ * @param date
68
+ * @param daysBefore
69
+ * @returns
70
+ */
71
+ static getDaysBefore(date: Date, daysBefore: number): Date;
72
+ /**
73
+ * get first and last day by month and year
74
+ * @param month
75
+ * @param year
76
+ * @returns
77
+ */
78
+ static getRangeDate(month: number, year: number): {
79
+ firstDay: Date;
80
+ lastDay: Date;
81
+ };
82
+ static setDateTime(time: string, date: Date): Date;
83
+ }
84
+ export declare function getImageInfo(src: string): Promise<unknown>;
85
+ export declare class LocalDataKey {
86
+ static OfflineQueryMode: string;
87
+ static POSStorage: string;
88
+ static Products: string;
89
+ static Customers: string;
90
+ static OutletPrices: string;
91
+ static Outlet: string;
92
+ static Parks: string;
93
+ static Orders: string;
94
+ static FailedOrders: string;
95
+ static CompletedOrders: string;
96
+ static NewCustomers: string;
97
+ static GetRewardByPromotionID: string;
98
+ static GetListPromotion: string;
99
+ static GenerateGopayQrCode: string;
100
+ static GenerateEmpatKaliQrCode: string;
101
+ static VerifyPayment: string;
102
+ static PayWithOvo: string;
103
+ static InvoiceA4: string;
104
+ static UploadCsv: string;
105
+ static UploadCsvBuy: string;
106
+ static GenerateCommission: string;
107
+ static InvoiceInfo: string;
108
+ static GenerateLink: string;
109
+ static LoadFormBuy: string;
110
+ static BuyGetOutletInfo: string;
111
+ static BuyGenerateNumber: string;
112
+ static BuyGetDataByID: string;
113
+ static GetQuickKey: string;
114
+ static GetPrintTemplateID: string;
115
+ static GetVariantStockByID: string;
116
+ static GetSupplierInvoice: string;
117
+ static GetSupplierDTO: string;
118
+ static LoadFormDelivery: string;
119
+ static DeliveryGenerateNumber: string;
120
+ static UpdateCourierList: string;
121
+ static SubmitOutletDelivery: string;
122
+ static ClearOutlet: string;
123
+ static PaymentListSorting: string;
124
+ static TaxListSorting: string;
125
+ static LoadFormEstimate: string;
126
+ static EstimateGenerateNumber: string;
127
+ static SubmitEstimate: string;
128
+ static LoadFormAdjustment: string;
129
+ static AdjustmentGenerateNumber: string;
130
+ static SubmitAdjustment: string;
131
+ static ForecastData: string;
132
+ static ForecastLoader: string;
133
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@dealpos-npm/ng-dealpos-library/directives/autonumeric" />
5
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ /// <amd-module name="@dealpos-npm/ng-dealpos-library/directives/autonumeric" />
5
+ export * from './public-api';
@@ -1 +1 @@
1
- export * from "./src/autonumeric.directive";
1
+ export * from "./src/autonumeric.directive";
@@ -1,30 +1,30 @@
1
- import { ElementRef } from '@angular/core';
2
- import { ControlValueAccessor } from '@angular/forms';
3
- import AutoNumeric from 'autonumeric';
4
- import * as i0 from "@angular/core";
5
- export declare class AutonumericDirective implements ControlValueAccessor {
6
- private elementRef;
7
- percentage: string;
8
- preventNegative: boolean;
9
- decimalPlaces: number;
10
- modifyValueOnWheel: boolean;
11
- disabled: boolean;
12
- private emptyInputBehavior;
13
- set _emptyInputBehavior(value: 'focus' | 'press' | 'always' | 'zero' | 'min' | 'max' | 'null');
14
- private max;
15
- set _max(value: string);
16
- private min;
17
- set _min(value: string);
18
- numericElement: AutoNumeric;
19
- constructor(elementRef: ElementRef);
20
- ngOnInit(): void;
21
- private updateNumericSettings;
22
- onKeyUp(): void;
23
- isElementDisabled(): boolean;
24
- propagateChange: Function;
25
- writeValue(newValue: number): void;
26
- registerOnChange(fn: Function): void;
27
- registerOnTouched(): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<AutonumericDirective, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<AutonumericDirective, "[autoNum]", never, { "percentage": "percentage"; "preventNegative": "preventNegative"; "decimalPlaces": "decimalPlaces"; "modifyValueOnWheel": "modifyValueOnWheel"; "disabled": "disabled"; "_emptyInputBehavior": "emptyInputBehavior"; "_max": "max"; "_min": "min"; }, {}, never, never, true, never>;
30
- }
1
+ import { ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import AutoNumeric from 'autonumeric';
4
+ import * as i0 from "@angular/core";
5
+ export declare class AutonumericDirective implements ControlValueAccessor {
6
+ private elementRef;
7
+ percentage: string;
8
+ preventNegative: boolean;
9
+ decimalPlaces: number;
10
+ modifyValueOnWheel: boolean;
11
+ disabled: boolean;
12
+ private emptyInputBehavior;
13
+ set _emptyInputBehavior(value: 'focus' | 'press' | 'always' | 'zero' | 'min' | 'max' | 'null');
14
+ private max;
15
+ set _max(value: string);
16
+ private min;
17
+ set _min(value: string);
18
+ numericElement: AutoNumeric;
19
+ constructor(elementRef: ElementRef);
20
+ ngOnInit(): void;
21
+ private updateNumericSettings;
22
+ onKeyUp(): void;
23
+ isElementDisabled(): boolean;
24
+ propagateChange: Function;
25
+ writeValue(newValue: number): void;
26
+ registerOnChange(fn: Function): void;
27
+ registerOnTouched(): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<AutonumericDirective, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AutonumericDirective, "[autoNum]", never, { "percentage": { "alias": "percentage"; "required": false; }; "preventNegative": { "alias": "preventNegative"; "required": false; }; "decimalPlaces": { "alias": "decimalPlaces"; "required": false; }; "modifyValueOnWheel": { "alias": "modifyValueOnWheel"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "_emptyInputBehavior": { "alias": "emptyInputBehavior"; "required": false; }; "_max": { "alias": "max"; "required": false; }; "_min": { "alias": "min"; "required": false; }; }, {}, never, never, true, never>;
30
+ }
@@ -1,5 +1,5 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- export * from './public-api';
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
5
5
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVhbHBvcy1ucG0tbmctZGVhbHBvcy1saWJyYXJ5LWNvbXBvbmVudHMtaW5mby1wYWdlLWlucHV0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGVhbHBvcy1ucG0vbmctZGVhbHBvcy1saWJyYXJ5L2NvbXBvbmVudHMvaW5mby1wYWdlLWlucHV0L2RlYWxwb3MtbnBtLW5nLWRlYWxwb3MtbGlicmFyeS1jb21wb25lbnRzLWluZm8tcGFnZS1pbnB1dC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
@@ -1,2 +1,2 @@
1
- export * from "./src/info-page-input.component";
1
+ export * from "./src/info-page-input.component";
2
2
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2RlYWxwb3MtbnBtL25nLWRlYWxwb3MtbGlicmFyeS9jb21wb25lbnRzL2luZm8tcGFnZS1pbnB1dC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsaUNBQWlDLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9zcmMvaW5mby1wYWdlLWlucHV0LmNvbXBvbmVudFwiIl19