@sd-angular/core 19.0.0-beta.4 → 19.0.0-beta.5
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/components/document-builder/src/document-builder.component.d.ts +7 -6
- package/components/document-builder/src/document-builder.model.d.ts +1 -0
- package/components/document-builder/src/plugins/heading/heading.plugin.d.ts +4 -0
- package/components/document-builder/src/plugins/{image-upload.plugin.d.ts → image-upload/image-upload.plugin.d.ts} +0 -4
- package/components/document-builder/src/plugins/index.d.ts +6 -5
- package/components/table/src/models/table-item.model.d.ts +2 -1
- package/fesm2022/sd-angular-core-components-document-builder.mjs +240 -333
- package/fesm2022/sd-angular-core-components-document-builder.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-table.mjs +135 -69
- package/fesm2022/sd-angular-core-components-table.mjs.map +1 -1
- package/fesm2022/sd-angular-core-components-workflow.mjs +3 -3
- package/fesm2022/sd-angular-core-components-workflow.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-autocomplete.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-date.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-date.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-datetime.mjs +17 -3
- package/fesm2022/sd-angular-core-forms-datetime.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input-number.mjs +4 -3
- package/fesm2022/sd-angular-core-forms-input-number.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-input.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-input.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-radio.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-radio.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-select.mjs +4 -2
- package/fesm2022/sd-angular-core-forms-select.mjs.map +1 -1
- package/fesm2022/sd-angular-core-forms-textarea.mjs +14 -2
- package/fesm2022/sd-angular-core-forms-textarea.mjs.map +1 -1
- package/fesm2022/sd-angular-core-pipes.mjs +21 -1
- package/fesm2022/sd-angular-core-pipes.mjs.map +1 -1
- package/forms/datetime/src/datetime.component.d.ts +4 -1
- package/package.json +71 -71
- package/pipes/index.d.ts +1 -0
- package/pipes/src/empty.pipe.d.ts +7 -0
- /package/components/document-builder/src/plugins/{comment.plugin.d.ts → comment/comment.plugin.d.ts} +0 -0
- /package/components/document-builder/src/plugins/{page-orientation.plugin.d.ts → page-orientation/page-orientation.plugin.d.ts} +0 -0
- /package/components/document-builder/src/plugins/{table-fit.plugin.d.ts → table-fit/table-fit.plugin.d.ts} +0 -0
- /package/components/document-builder/src/plugins/{variable.plugin.d.ts → variable/variable.plugin.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sd-angular-core-pipes.mjs","sources":["../../../projects/sd-angular/pipes/src/format-number.pipe.ts","../../../projects/sd-angular/pipes/src/safe-html.pipe.ts","../../../projects/sd-angular/pipes/src/time-different.pipe.ts","../../../projects/sd-angular/pipes/sd-angular-core-pipes.ts"],"sourcesContent":["import { Inject, Injectable, Optional, Pipe, PipeTransform } from '@angular/core';\r\nimport { ISdCoreConfiguration, SD_CORE_CONFIGURATION } from '@sd-angular/core/configurations';\r\nimport { NumberUtilities } from '@sd-angular/core/utilities/extensions';\r\n@Pipe({\r\n name: 'sdFormatNumber',\r\n standalone: true,\r\n})\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SdFormatNumberPipe implements PipeTransform {\r\n constructor(@Inject(SD_CORE_CONFIGURATION) @Optional() private readonly coreConfiguration: ISdCoreConfiguration | undefined) {}\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n transform(value: any, digits?: number) {\r\n const fixedValue = NumberUtilities.isNumber(value) ? (+value).toFixed(digits ?? 2) : null;\r\n // Nếu format VN thì dùng định dạng VN\r\n if(this.coreConfiguration?.format?.number === '1.234.567,89') {\r\n return NumberUtilities.toVN(fixedValue);\r\n }\r\n // Ngược lại dùng định dạng ISO\r\n return NumberUtilities.toISO(fixedValue);\r\n }\r\n}\r\n","import { Injectable, Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Pipe({\r\n name: 'sdSafeHtml',\r\n standalone: true,\r\n})\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SdSafeHtmlPipe implements PipeTransform {\r\n constructor(private sanitizer: DomSanitizer) {}\r\n transform(html: string | number | undefined | null) {\r\n if (typeof html === 'number') {\r\n return html;\r\n }\r\n if (!html) {\r\n return undefined;\r\n }\r\n return this.sanitizer.bypassSecurityTrustHtml(html);\r\n }\r\n}\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Pipe, PipeTransform } from '@angular/core';\nimport { DateUtilities } from '@sd-angular/core/utilities/extensions';\nimport { interval, Observable, of } from 'rxjs';\nimport { map } from 'rxjs/operators';\n@Pipe({\n name: 'sdTimeDifferent',\n standalone: true,\n})\nexport class SdTimeDifferentPipe implements PipeTransform {\n private maxSecond = 60;\n private maxMinute = this.maxSecond * 60;\n private maxHour = this.maxMinute * 24;\n private maxDay = this.maxHour * 30;\n private maxMonth = this.maxHour * 365;\n transform(value: any, format: string, different: 'second' | 'minute' | 'hour' | 'day' | 'month'): Observable<string> {\n if (!DateUtilities.isDate(value)) {\n return of('');\n }\n if (!different) {\n return of(DateUtilities.toFormat(value, format));\n }\n if (Math.round((new Date().getTime() - new Date(value).getTime()) / 1000) < 0) {\n return of(DateUtilities.toFormat(value, format));\n }\n return interval(1000).pipe(\n map(() => {\n const timeDifferent = Math.round((new Date().getTime() - new Date(value).getTime()) / 1000);\n if (different === 'month' && timeDifferent < this.maxMonth) {\n return DateUtilities.timeDifference(value);\n }\n if (different === 'day' && timeDifferent < this.maxDay) {\n return DateUtilities.timeDifference(value);\n }\n if (different === 'hour' && timeDifferent < this.maxHour) {\n return DateUtilities.timeDifference(value);\n }\n if (different === 'minute' && timeDifferent < this.maxMinute) {\n return DateUtilities.timeDifference(value);\n }\n if (different === 'second' && timeDifferent < this.maxSecond) {\n return DateUtilities.timeDifference(value);\n }\n return DateUtilities.toFormat(value, format);\n })\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sd-angular-core-pipes.mjs","sources":["../../../projects/sd-angular/pipes/src/format-number.pipe.ts","../../../projects/sd-angular/pipes/src/safe-html.pipe.ts","../../../projects/sd-angular/pipes/src/time-different.pipe.ts","../../../projects/sd-angular/pipes/src/empty.pipe.ts","../../../projects/sd-angular/pipes/sd-angular-core-pipes.ts"],"sourcesContent":["import { Inject, Injectable, Optional, Pipe, PipeTransform } from '@angular/core';\r\nimport { ISdCoreConfiguration, SD_CORE_CONFIGURATION } from '@sd-angular/core/configurations';\r\nimport { NumberUtilities } from '@sd-angular/core/utilities/extensions';\r\n@Pipe({\r\n name: 'sdFormatNumber',\r\n standalone: true,\r\n})\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SdFormatNumberPipe implements PipeTransform {\r\n constructor(@Inject(SD_CORE_CONFIGURATION) @Optional() private readonly coreConfiguration: ISdCoreConfiguration | undefined) {}\r\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\r\n transform(value: any, digits?: number) {\r\n const fixedValue = NumberUtilities.isNumber(value) ? (+value).toFixed(digits ?? 2) : null;\r\n // Nếu format VN thì dùng định dạng VN\r\n if(this.coreConfiguration?.format?.number === '1.234.567,89') {\r\n return NumberUtilities.toVN(fixedValue);\r\n }\r\n // Ngược lại dùng định dạng ISO\r\n return NumberUtilities.toISO(fixedValue);\r\n }\r\n}\r\n","import { Injectable, Pipe, PipeTransform } from '@angular/core';\r\nimport { DomSanitizer } from '@angular/platform-browser';\r\n\r\n@Pipe({\r\n name: 'sdSafeHtml',\r\n standalone: true,\r\n})\r\n@Injectable({\r\n providedIn: 'root',\r\n})\r\nexport class SdSafeHtmlPipe implements PipeTransform {\r\n constructor(private sanitizer: DomSanitizer) {}\r\n transform(html: string | number | undefined | null) {\r\n if (typeof html === 'number') {\r\n return html;\r\n }\r\n if (!html) {\r\n return undefined;\r\n }\r\n return this.sanitizer.bypassSecurityTrustHtml(html);\r\n }\r\n}\r\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Pipe, PipeTransform } from '@angular/core';\nimport { DateUtilities } from '@sd-angular/core/utilities/extensions';\nimport { interval, Observable, of } from 'rxjs';\nimport { map } from 'rxjs/operators';\n@Pipe({\n name: 'sdTimeDifferent',\n standalone: true,\n})\nexport class SdTimeDifferentPipe implements PipeTransform {\n private maxSecond = 60;\n private maxMinute = this.maxSecond * 60;\n private maxHour = this.maxMinute * 24;\n private maxDay = this.maxHour * 30;\n private maxMonth = this.maxHour * 365;\n transform(value: any, format: string, different: 'second' | 'minute' | 'hour' | 'day' | 'month'): Observable<string> {\n if (!DateUtilities.isDate(value)) {\n return of('');\n }\n if (!different) {\n return of(DateUtilities.toFormat(value, format));\n }\n if (Math.round((new Date().getTime() - new Date(value).getTime()) / 1000) < 0) {\n return of(DateUtilities.toFormat(value, format));\n }\n return interval(1000).pipe(\n map(() => {\n const timeDifferent = Math.round((new Date().getTime() - new Date(value).getTime()) / 1000);\n if (different === 'month' && timeDifferent < this.maxMonth) {\n return DateUtilities.timeDifference(value);\n }\n if (different === 'day' && timeDifferent < this.maxDay) {\n return DateUtilities.timeDifference(value);\n }\n if (different === 'hour' && timeDifferent < this.maxHour) {\n return DateUtilities.timeDifference(value);\n }\n if (different === 'minute' && timeDifferent < this.maxMinute) {\n return DateUtilities.timeDifference(value);\n }\n if (different === 'second' && timeDifferent < this.maxSecond) {\n return DateUtilities.timeDifference(value);\n }\n return DateUtilities.toFormat(value, format);\n })\n );\n }\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { Pipe, PipeTransform } from '@angular/core';\nimport { SD_EMPTY_STR } from '@sd-angular/core/utilities/models';\n@Pipe({\n name: 'sdEmpty',\n standalone: true,\n})\nexport class SdEmptyPipe implements PipeTransform {\n transform(value: any): string {\n if (value === undefined || value === null || value === '') {\n return SD_EMPTY_STR;\n }\n return value;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAUa,kBAAkB,CAAA;AAC2C,IAAA,iBAAA;AAAxE,IAAA,WAAA,CAAwE,iBAAmD,EAAA;QAAnD,IAAA,CAAA,iBAAiB,GAAjB,iBAAiB;IAAqC;;IAE9H,SAAS,CAAC,KAAU,EAAE,MAAe,EAAA;QACnC,MAAM,UAAU,GAAG,eAAe,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,OAAO,CAAC,MAAM,IAAI,CAAC,CAAC,GAAG,IAAI;;QAEzF,IAAG,IAAI,CAAC,iBAAiB,EAAE,MAAM,EAAE,MAAM,KAAK,cAAc,EAAE;AAC5D,YAAA,OAAO,eAAe,CAAC,IAAI,CAAC,UAAU,CAAC;QACzC;;AAEE,QAAA,OAAO,eAAe,CAAC,KAAK,CAAC,UAAU,CAAC;IAC5C;AAXW,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,kBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,kBACT,qBAAqB,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAD9B,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,gBAAA,EAAA,CAAA;AAAlB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,MAAM,EAAA,CAAA;;4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MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA;sGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACJ,oBAAA,IAAI,EAAE,SAAS;AACf,oBAAA,UAAU,EAAE,IAAI;AACjB,iBAAA;;;ACND;;AAEG;;;;"}
|
|
@@ -29,6 +29,9 @@ export declare class SdDatetime implements OnDestroy, OnInit {
|
|
|
29
29
|
size?: SdSize;
|
|
30
30
|
set form(val: NgForm | FormGroup | undefined | null);
|
|
31
31
|
set disabled(val: boolean | '' | undefined | null);
|
|
32
|
+
viewed: boolean;
|
|
33
|
+
set _viewed(val: boolean | '' | undefined | null);
|
|
34
|
+
hyperlink?: string | null;
|
|
32
35
|
required: boolean;
|
|
33
36
|
set _required(val: boolean | '' | undefined | null);
|
|
34
37
|
inlineError?: string;
|
|
@@ -65,5 +68,5 @@ export declare class SdDatetime implements OnDestroy, OnInit {
|
|
|
65
68
|
onChange: (_: any) => void;
|
|
66
69
|
clear: ($event: any) => void;
|
|
67
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<SdDatetime, [null, { optional: true; }]>;
|
|
68
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SdDatetime, "sd-datetime", never, { "_autoId": { "alias": "autoId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "_hideInlineError": { "alias": "hideInlineError"; "required": false; }; "_min": { "alias": "min"; "required": false; }; "_max": { "alias": "max"; "required": false; }; "size": { "alias": "size"; "required": false; }; "form": { "alias": "form"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "_required": { "alias": "required"; "required": false; }; "_inlineError": { "alias": "inlineError"; "required": false; }; "_label": { "alias": "label"; "required": false; }; "_helperText": { "alias": "helperText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "model": { "alias": "model"; "required": false; }; }, { "sdChange": "sdChange"; "sdFocus": "sdFocus"; "modelChange": "modelChange"; }, ["sdViewDef", "sdLabelDef"], never, true, never>;
|
|
71
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SdDatetime, "sd-datetime", never, { "_autoId": { "alias": "autoId"; "required": false; }; "name": { "alias": "name"; "required": false; }; "appearance": { "alias": "appearance"; "required": false; }; "_hideInlineError": { "alias": "hideInlineError"; "required": false; }; "_min": { "alias": "min"; "required": false; }; "_max": { "alias": "max"; "required": false; }; "size": { "alias": "size"; "required": false; }; "form": { "alias": "form"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "_viewed": { "alias": "viewed"; "required": false; }; "hyperlink": { "alias": "hyperlink"; "required": false; }; "_required": { "alias": "required"; "required": false; }; "_inlineError": { "alias": "inlineError"; "required": false; }; "_label": { "alias": "label"; "required": false; }; "_helperText": { "alias": "helperText"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "model": { "alias": "model"; "required": false; }; }, { "sdChange": "sdChange"; "sdFocus": "sdFocus"; "modelChange": "modelChange"; }, ["sdViewDef", "sdLabelDef"], never, true, never>;
|
|
69
72
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sd-angular/core",
|
|
3
|
-
"version": "19.0.0-beta.
|
|
3
|
+
"version": "19.0.0-beta.5",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
6
6
|
"@angular/core": "^19.0.0 || ^20.0.0 || ^21.0.0",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"types": "./guards/index.d.ts",
|
|
44
44
|
"default": "./fesm2022/sd-angular-core-guards.mjs"
|
|
45
45
|
},
|
|
46
|
-
"./forms": {
|
|
47
|
-
"types": "./forms/index.d.ts",
|
|
48
|
-
"default": "./fesm2022/sd-angular-core-forms.mjs"
|
|
49
|
-
},
|
|
50
46
|
"./handlers": {
|
|
51
47
|
"types": "./handlers/index.d.ts",
|
|
52
48
|
"default": "./fesm2022/sd-angular-core-handlers.mjs"
|
|
53
49
|
},
|
|
50
|
+
"./forms": {
|
|
51
|
+
"types": "./forms/index.d.ts",
|
|
52
|
+
"default": "./fesm2022/sd-angular-core-forms.mjs"
|
|
53
|
+
},
|
|
54
54
|
"./interceptors": {
|
|
55
55
|
"types": "./interceptors/index.d.ts",
|
|
56
56
|
"default": "./fesm2022/sd-angular-core-interceptors.mjs"
|
|
@@ -71,10 +71,6 @@
|
|
|
71
71
|
"types": "./utilities/index.d.ts",
|
|
72
72
|
"default": "./fesm2022/sd-angular-core-utilities.mjs"
|
|
73
73
|
},
|
|
74
|
-
"./components/badge": {
|
|
75
|
-
"types": "./components/badge/index.d.ts",
|
|
76
|
-
"default": "./fesm2022/sd-angular-core-components-badge.mjs"
|
|
77
|
-
},
|
|
78
74
|
"./components/anchor": {
|
|
79
75
|
"types": "./components/anchor/index.d.ts",
|
|
80
76
|
"default": "./fesm2022/sd-angular-core-components-anchor.mjs"
|
|
@@ -83,9 +79,9 @@
|
|
|
83
79
|
"types": "./components/anchor-v2/index.d.ts",
|
|
84
80
|
"default": "./fesm2022/sd-angular-core-components-anchor-v2.mjs"
|
|
85
81
|
},
|
|
86
|
-
"./components/
|
|
87
|
-
"types": "./components/
|
|
88
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
82
|
+
"./components/badge": {
|
|
83
|
+
"types": "./components/badge/index.d.ts",
|
|
84
|
+
"default": "./fesm2022/sd-angular-core-components-badge.mjs"
|
|
89
85
|
},
|
|
90
86
|
"./components/base": {
|
|
91
87
|
"types": "./components/base/index.d.ts",
|
|
@@ -95,70 +91,62 @@
|
|
|
95
91
|
"types": "./components/document-builder/index.d.ts",
|
|
96
92
|
"default": "./fesm2022/sd-angular-core-components-document-builder.mjs"
|
|
97
93
|
},
|
|
98
|
-
"./components/
|
|
99
|
-
"types": "./components/
|
|
100
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
94
|
+
"./components/button": {
|
|
95
|
+
"types": "./components/button/index.d.ts",
|
|
96
|
+
"default": "./fesm2022/sd-angular-core-components-button.mjs"
|
|
97
|
+
},
|
|
98
|
+
"./components/history": {
|
|
99
|
+
"types": "./components/history/index.d.ts",
|
|
100
|
+
"default": "./fesm2022/sd-angular-core-components-history.mjs"
|
|
101
101
|
},
|
|
102
102
|
"./components/import-excel": {
|
|
103
103
|
"types": "./components/import-excel/index.d.ts",
|
|
104
104
|
"default": "./fesm2022/sd-angular-core-components-import-excel.mjs"
|
|
105
105
|
},
|
|
106
|
-
"./components/
|
|
107
|
-
"types": "./components/
|
|
108
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
106
|
+
"./components/modal": {
|
|
107
|
+
"types": "./components/modal/index.d.ts",
|
|
108
|
+
"default": "./fesm2022/sd-angular-core-components-modal.mjs"
|
|
109
109
|
},
|
|
110
110
|
"./components/preview": {
|
|
111
111
|
"types": "./components/preview/index.d.ts",
|
|
112
112
|
"default": "./fesm2022/sd-angular-core-components-preview.mjs"
|
|
113
113
|
},
|
|
114
|
-
"./components/
|
|
115
|
-
"types": "./components/
|
|
116
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
114
|
+
"./components/section": {
|
|
115
|
+
"types": "./components/section/index.d.ts",
|
|
116
|
+
"default": "./fesm2022/sd-angular-core-components-section.mjs"
|
|
117
117
|
},
|
|
118
118
|
"./components/quick-action": {
|
|
119
119
|
"types": "./components/quick-action/index.d.ts",
|
|
120
120
|
"default": "./fesm2022/sd-angular-core-components-quick-action.mjs"
|
|
121
121
|
},
|
|
122
|
-
"./components/
|
|
123
|
-
"types": "./components/
|
|
124
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
125
|
-
},
|
|
126
|
-
"./components/tab-router": {
|
|
127
|
-
"types": "./components/tab-router/index.d.ts",
|
|
128
|
-
"default": "./fesm2022/sd-angular-core-components-tab-router.mjs"
|
|
122
|
+
"./components/query-builder": {
|
|
123
|
+
"types": "./components/query-builder/index.d.ts",
|
|
124
|
+
"default": "./fesm2022/sd-angular-core-components-query-builder.mjs"
|
|
129
125
|
},
|
|
130
126
|
"./components/side-drawer": {
|
|
131
127
|
"types": "./components/side-drawer/index.d.ts",
|
|
132
128
|
"default": "./fesm2022/sd-angular-core-components-side-drawer.mjs"
|
|
133
129
|
},
|
|
130
|
+
"./components/tab-router": {
|
|
131
|
+
"types": "./components/tab-router/index.d.ts",
|
|
132
|
+
"default": "./fesm2022/sd-angular-core-components-tab-router.mjs"
|
|
133
|
+
},
|
|
134
134
|
"./components/table": {
|
|
135
135
|
"types": "./components/table/index.d.ts",
|
|
136
136
|
"default": "./fesm2022/sd-angular-core-components-table.mjs"
|
|
137
137
|
},
|
|
138
|
-
"./components/workflow": {
|
|
139
|
-
"types": "./components/workflow/index.d.ts",
|
|
140
|
-
"default": "./fesm2022/sd-angular-core-components-workflow.mjs"
|
|
141
|
-
},
|
|
142
138
|
"./components/upload-file": {
|
|
143
139
|
"types": "./components/upload-file/index.d.ts",
|
|
144
140
|
"default": "./fesm2022/sd-angular-core-components-upload-file.mjs"
|
|
145
141
|
},
|
|
146
|
-
"./
|
|
147
|
-
"types": "./
|
|
148
|
-
"default": "./fesm2022/sd-angular-core-
|
|
142
|
+
"./components/workflow": {
|
|
143
|
+
"types": "./components/workflow/index.d.ts",
|
|
144
|
+
"default": "./fesm2022/sd-angular-core-components-workflow.mjs"
|
|
149
145
|
},
|
|
150
146
|
"./forms/autocomplete": {
|
|
151
147
|
"types": "./forms/autocomplete/index.d.ts",
|
|
152
148
|
"default": "./fesm2022/sd-angular-core-forms-autocomplete.mjs"
|
|
153
149
|
},
|
|
154
|
-
"./forms/chip": {
|
|
155
|
-
"types": "./forms/chip/index.d.ts",
|
|
156
|
-
"default": "./fesm2022/sd-angular-core-forms-chip.mjs"
|
|
157
|
-
},
|
|
158
|
-
"./forms/date": {
|
|
159
|
-
"types": "./forms/date/index.d.ts",
|
|
160
|
-
"default": "./fesm2022/sd-angular-core-forms-date.mjs"
|
|
161
|
-
},
|
|
162
150
|
"./forms/chip-calendar": {
|
|
163
151
|
"types": "./forms/chip-calendar/index.d.ts",
|
|
164
152
|
"default": "./fesm2022/sd-angular-core-forms-chip-calendar.mjs"
|
|
@@ -167,6 +155,14 @@
|
|
|
167
155
|
"types": "./forms/checkbox/index.d.ts",
|
|
168
156
|
"default": "./fesm2022/sd-angular-core-forms-checkbox.mjs"
|
|
169
157
|
},
|
|
158
|
+
"./forms/chip": {
|
|
159
|
+
"types": "./forms/chip/index.d.ts",
|
|
160
|
+
"default": "./fesm2022/sd-angular-core-forms-chip.mjs"
|
|
161
|
+
},
|
|
162
|
+
"./forms/date": {
|
|
163
|
+
"types": "./forms/date/index.d.ts",
|
|
164
|
+
"default": "./fesm2022/sd-angular-core-forms-date.mjs"
|
|
165
|
+
},
|
|
170
166
|
"./forms/date-range": {
|
|
171
167
|
"types": "./forms/date-range/index.d.ts",
|
|
172
168
|
"default": "./fesm2022/sd-angular-core-forms-date-range.mjs"
|
|
@@ -175,17 +171,13 @@
|
|
|
175
171
|
"types": "./forms/datetime/index.d.ts",
|
|
176
172
|
"default": "./fesm2022/sd-angular-core-forms-datetime.mjs"
|
|
177
173
|
},
|
|
178
|
-
"./forms/input": {
|
|
179
|
-
"types": "./forms/input/index.d.ts",
|
|
180
|
-
"default": "./fesm2022/sd-angular-core-forms-input.mjs"
|
|
181
|
-
},
|
|
182
174
|
"./forms/directives": {
|
|
183
175
|
"types": "./forms/directives/index.d.ts",
|
|
184
176
|
"default": "./fesm2022/sd-angular-core-forms-directives.mjs"
|
|
185
177
|
},
|
|
186
|
-
"./forms/input
|
|
187
|
-
"types": "./forms/input
|
|
188
|
-
"default": "./fesm2022/sd-angular-core-forms-input
|
|
178
|
+
"./forms/input": {
|
|
179
|
+
"types": "./forms/input/index.d.ts",
|
|
180
|
+
"default": "./fesm2022/sd-angular-core-forms-input.mjs"
|
|
189
181
|
},
|
|
190
182
|
"./forms/label": {
|
|
191
183
|
"types": "./forms/label/index.d.ts",
|
|
@@ -195,6 +187,10 @@
|
|
|
195
187
|
"types": "./forms/models/index.d.ts",
|
|
196
188
|
"default": "./fesm2022/sd-angular-core-forms-models.mjs"
|
|
197
189
|
},
|
|
190
|
+
"./forms/input-number": {
|
|
191
|
+
"types": "./forms/input-number/index.d.ts",
|
|
192
|
+
"default": "./fesm2022/sd-angular-core-forms-input-number.mjs"
|
|
193
|
+
},
|
|
198
194
|
"./forms/select": {
|
|
199
195
|
"types": "./forms/select/index.d.ts",
|
|
200
196
|
"default": "./fesm2022/sd-angular-core-forms-select.mjs"
|
|
@@ -203,18 +199,22 @@
|
|
|
203
199
|
"types": "./forms/radio/index.d.ts",
|
|
204
200
|
"default": "./fesm2022/sd-angular-core-forms-radio.mjs"
|
|
205
201
|
},
|
|
206
|
-
"./forms/switch": {
|
|
207
|
-
"types": "./forms/switch/index.d.ts",
|
|
208
|
-
"default": "./fesm2022/sd-angular-core-forms-switch.mjs"
|
|
209
|
-
},
|
|
210
202
|
"./forms/textarea": {
|
|
211
203
|
"types": "./forms/textarea/index.d.ts",
|
|
212
204
|
"default": "./fesm2022/sd-angular-core-forms-textarea.mjs"
|
|
213
205
|
},
|
|
206
|
+
"./forms/switch": {
|
|
207
|
+
"types": "./forms/switch/index.d.ts",
|
|
208
|
+
"default": "./fesm2022/sd-angular-core-forms-switch.mjs"
|
|
209
|
+
},
|
|
214
210
|
"./modules/auth": {
|
|
215
211
|
"types": "./modules/auth/index.d.ts",
|
|
216
212
|
"default": "./fesm2022/sd-angular-core-modules-auth.mjs"
|
|
217
213
|
},
|
|
214
|
+
"./modules/oidc": {
|
|
215
|
+
"types": "./modules/oidc/index.d.ts",
|
|
216
|
+
"default": "./fesm2022/sd-angular-core-modules-oidc.mjs"
|
|
217
|
+
},
|
|
218
218
|
"./modules/layout": {
|
|
219
219
|
"types": "./modules/layout/index.d.ts",
|
|
220
220
|
"default": "./fesm2022/sd-angular-core-modules-layout.mjs"
|
|
@@ -223,25 +223,25 @@
|
|
|
223
223
|
"types": "./modules/permission/index.d.ts",
|
|
224
224
|
"default": "./fesm2022/sd-angular-core-modules-permission.mjs"
|
|
225
225
|
},
|
|
226
|
-
"./modules/oidc": {
|
|
227
|
-
"types": "./modules/oidc/index.d.ts",
|
|
228
|
-
"default": "./fesm2022/sd-angular-core-modules-oidc.mjs"
|
|
229
|
-
},
|
|
230
226
|
"./services/api": {
|
|
231
227
|
"types": "./services/api/index.d.ts",
|
|
232
228
|
"default": "./fesm2022/sd-angular-core-services-api.mjs"
|
|
233
229
|
},
|
|
234
|
-
"./services/
|
|
235
|
-
"types": "./services/
|
|
236
|
-
"default": "./fesm2022/sd-angular-core-services-
|
|
230
|
+
"./services/cache": {
|
|
231
|
+
"types": "./services/cache/index.d.ts",
|
|
232
|
+
"default": "./fesm2022/sd-angular-core-services-cache.mjs"
|
|
237
233
|
},
|
|
238
234
|
"./services/confirm": {
|
|
239
235
|
"types": "./services/confirm/index.d.ts",
|
|
240
236
|
"default": "./fesm2022/sd-angular-core-services-confirm.mjs"
|
|
241
237
|
},
|
|
242
|
-
"./services/
|
|
243
|
-
"types": "./services/
|
|
244
|
-
"default": "./fesm2022/sd-angular-core-services-
|
|
238
|
+
"./services/license": {
|
|
239
|
+
"types": "./services/license/index.d.ts",
|
|
240
|
+
"default": "./fesm2022/sd-angular-core-services-license.mjs"
|
|
241
|
+
},
|
|
242
|
+
"./services/excel": {
|
|
243
|
+
"types": "./services/excel/index.d.ts",
|
|
244
|
+
"default": "./fesm2022/sd-angular-core-services-excel.mjs"
|
|
245
245
|
},
|
|
246
246
|
"./services/firebase": {
|
|
247
247
|
"types": "./services/firebase/index.d.ts",
|
|
@@ -251,18 +251,14 @@
|
|
|
251
251
|
"types": "./services/loading/index.d.ts",
|
|
252
252
|
"default": "./fesm2022/sd-angular-core-services-loading.mjs"
|
|
253
253
|
},
|
|
254
|
-
"./services/
|
|
255
|
-
"types": "./services/
|
|
256
|
-
"default": "./fesm2022/sd-angular-core-services-
|
|
254
|
+
"./services/storage": {
|
|
255
|
+
"types": "./services/storage/index.d.ts",
|
|
256
|
+
"default": "./fesm2022/sd-angular-core-services-storage.mjs"
|
|
257
257
|
},
|
|
258
258
|
"./services/notify": {
|
|
259
259
|
"types": "./services/notify/index.d.ts",
|
|
260
260
|
"default": "./fesm2022/sd-angular-core-services-notify.mjs"
|
|
261
261
|
},
|
|
262
|
-
"./services/storage": {
|
|
263
|
-
"types": "./services/storage/index.d.ts",
|
|
264
|
-
"default": "./fesm2022/sd-angular-core-services-storage.mjs"
|
|
265
|
-
},
|
|
266
262
|
"./utilities/extensions": {
|
|
267
263
|
"types": "./utilities/extensions/index.d.ts",
|
|
268
264
|
"default": "./fesm2022/sd-angular-core-utilities-extensions.mjs"
|
|
@@ -270,6 +266,10 @@
|
|
|
270
266
|
"./utilities/models": {
|
|
271
267
|
"types": "./utilities/models/index.d.ts",
|
|
272
268
|
"default": "./fesm2022/sd-angular-core-utilities-models.mjs"
|
|
269
|
+
},
|
|
270
|
+
"./guards/permission": {
|
|
271
|
+
"types": "./guards/permission/index.d.ts",
|
|
272
|
+
"default": "./fesm2022/sd-angular-core-guards-permission.mjs"
|
|
273
273
|
}
|
|
274
274
|
}
|
|
275
275
|
}
|
package/pipes/index.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SdEmptyPipe implements PipeTransform {
|
|
4
|
+
transform(value: any): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SdEmptyPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<SdEmptyPipe, "sdEmpty", true>;
|
|
7
|
+
}
|
/package/components/document-builder/src/plugins/{comment.plugin.d.ts → comment/comment.plugin.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|