@sd-angular/core 19.0.0-beta.4 → 19.0.0-beta.6
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/components/table/src/models/table-option.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 +361 -73
- 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 +69 -69
- 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,kBA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W,EAAA,IAAA,EAAA,EAAA,EAAA,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.6",
|
|
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",
|
|
@@ -27,21 +27,17 @@
|
|
|
27
27
|
"types": "./index.d.ts",
|
|
28
28
|
"default": "./fesm2022/sd-angular-core.mjs"
|
|
29
29
|
},
|
|
30
|
-
"./
|
|
31
|
-
"types": "./
|
|
32
|
-
"default": "./fesm2022/sd-angular-core-
|
|
30
|
+
"./configurations": {
|
|
31
|
+
"types": "./configurations/index.d.ts",
|
|
32
|
+
"default": "./fesm2022/sd-angular-core-configurations.mjs"
|
|
33
33
|
},
|
|
34
34
|
"./components": {
|
|
35
35
|
"types": "./components/index.d.ts",
|
|
36
36
|
"default": "./fesm2022/sd-angular-core-components.mjs"
|
|
37
37
|
},
|
|
38
|
-
"./
|
|
39
|
-
"types": "./
|
|
40
|
-
"default": "./fesm2022/sd-angular-core-
|
|
41
|
-
},
|
|
42
|
-
"./guards": {
|
|
43
|
-
"types": "./guards/index.d.ts",
|
|
44
|
-
"default": "./fesm2022/sd-angular-core-guards.mjs"
|
|
38
|
+
"./directives": {
|
|
39
|
+
"types": "./directives/index.d.ts",
|
|
40
|
+
"default": "./fesm2022/sd-angular-core-directives.mjs"
|
|
45
41
|
},
|
|
46
42
|
"./forms": {
|
|
47
43
|
"types": "./forms/index.d.ts",
|
|
@@ -51,6 +47,10 @@
|
|
|
51
47
|
"types": "./handlers/index.d.ts",
|
|
52
48
|
"default": "./fesm2022/sd-angular-core-handlers.mjs"
|
|
53
49
|
},
|
|
50
|
+
"./guards": {
|
|
51
|
+
"types": "./guards/index.d.ts",
|
|
52
|
+
"default": "./fesm2022/sd-angular-core-guards.mjs"
|
|
53
|
+
},
|
|
54
54
|
"./interceptors": {
|
|
55
55
|
"types": "./interceptors/index.d.ts",
|
|
56
56
|
"default": "./fesm2022/sd-angular-core-interceptors.mjs"
|
|
@@ -79,14 +79,14 @@
|
|
|
79
79
|
"types": "./components/anchor/index.d.ts",
|
|
80
80
|
"default": "./fesm2022/sd-angular-core-components-anchor.mjs"
|
|
81
81
|
},
|
|
82
|
-
"./components/anchor-v2": {
|
|
83
|
-
"types": "./components/anchor-v2/index.d.ts",
|
|
84
|
-
"default": "./fesm2022/sd-angular-core-components-anchor-v2.mjs"
|
|
85
|
-
},
|
|
86
82
|
"./components/button": {
|
|
87
83
|
"types": "./components/button/index.d.ts",
|
|
88
84
|
"default": "./fesm2022/sd-angular-core-components-button.mjs"
|
|
89
85
|
},
|
|
86
|
+
"./components/anchor-v2": {
|
|
87
|
+
"types": "./components/anchor-v2/index.d.ts",
|
|
88
|
+
"default": "./fesm2022/sd-angular-core-components-anchor-v2.mjs"
|
|
89
|
+
},
|
|
90
90
|
"./components/base": {
|
|
91
91
|
"types": "./components/base/index.d.ts",
|
|
92
92
|
"default": "./fesm2022/sd-angular-core-components-base.mjs"
|
|
@@ -95,26 +95,26 @@
|
|
|
95
95
|
"types": "./components/document-builder/index.d.ts",
|
|
96
96
|
"default": "./fesm2022/sd-angular-core-components-document-builder.mjs"
|
|
97
97
|
},
|
|
98
|
+
"./components/history": {
|
|
99
|
+
"types": "./components/history/index.d.ts",
|
|
100
|
+
"default": "./fesm2022/sd-angular-core-components-history.mjs"
|
|
101
|
+
},
|
|
98
102
|
"./components/modal": {
|
|
99
103
|
"types": "./components/modal/index.d.ts",
|
|
100
104
|
"default": "./fesm2022/sd-angular-core-components-modal.mjs"
|
|
101
105
|
},
|
|
106
|
+
"./components/query-builder": {
|
|
107
|
+
"types": "./components/query-builder/index.d.ts",
|
|
108
|
+
"default": "./fesm2022/sd-angular-core-components-query-builder.mjs"
|
|
109
|
+
},
|
|
102
110
|
"./components/import-excel": {
|
|
103
111
|
"types": "./components/import-excel/index.d.ts",
|
|
104
112
|
"default": "./fesm2022/sd-angular-core-components-import-excel.mjs"
|
|
105
113
|
},
|
|
106
|
-
"./components/history": {
|
|
107
|
-
"types": "./components/history/index.d.ts",
|
|
108
|
-
"default": "./fesm2022/sd-angular-core-components-history.mjs"
|
|
109
|
-
},
|
|
110
114
|
"./components/preview": {
|
|
111
115
|
"types": "./components/preview/index.d.ts",
|
|
112
116
|
"default": "./fesm2022/sd-angular-core-components-preview.mjs"
|
|
113
117
|
},
|
|
114
|
-
"./components/query-builder": {
|
|
115
|
-
"types": "./components/query-builder/index.d.ts",
|
|
116
|
-
"default": "./fesm2022/sd-angular-core-components-query-builder.mjs"
|
|
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"
|
|
@@ -123,10 +123,6 @@
|
|
|
123
123
|
"types": "./components/section/index.d.ts",
|
|
124
124
|
"default": "./fesm2022/sd-angular-core-components-section.mjs"
|
|
125
125
|
},
|
|
126
|
-
"./components/tab-router": {
|
|
127
|
-
"types": "./components/tab-router/index.d.ts",
|
|
128
|
-
"default": "./fesm2022/sd-angular-core-components-tab-router.mjs"
|
|
129
|
-
},
|
|
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"
|
|
@@ -135,38 +131,34 @@
|
|
|
135
131
|
"types": "./components/table/index.d.ts",
|
|
136
132
|
"default": "./fesm2022/sd-angular-core-components-table.mjs"
|
|
137
133
|
},
|
|
138
|
-
"./components/
|
|
139
|
-
"types": "./components/
|
|
140
|
-
"default": "./fesm2022/sd-angular-core-components-
|
|
134
|
+
"./components/tab-router": {
|
|
135
|
+
"types": "./components/tab-router/index.d.ts",
|
|
136
|
+
"default": "./fesm2022/sd-angular-core-components-tab-router.mjs"
|
|
141
137
|
},
|
|
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-
|
|
149
|
-
},
|
|
150
|
-
"./forms/autocomplete": {
|
|
151
|
-
"types": "./forms/autocomplete/index.d.ts",
|
|
152
|
-
"default": "./fesm2022/sd-angular-core-forms-autocomplete.mjs"
|
|
142
|
+
"./components/workflow": {
|
|
143
|
+
"types": "./components/workflow/index.d.ts",
|
|
144
|
+
"default": "./fesm2022/sd-angular-core-components-workflow.mjs"
|
|
153
145
|
},
|
|
154
|
-
"./forms/
|
|
155
|
-
"types": "./forms/
|
|
156
|
-
"default": "./fesm2022/sd-angular-core-forms-
|
|
146
|
+
"./forms/checkbox": {
|
|
147
|
+
"types": "./forms/checkbox/index.d.ts",
|
|
148
|
+
"default": "./fesm2022/sd-angular-core-forms-checkbox.mjs"
|
|
157
149
|
},
|
|
158
150
|
"./forms/date": {
|
|
159
151
|
"types": "./forms/date/index.d.ts",
|
|
160
152
|
"default": "./fesm2022/sd-angular-core-forms-date.mjs"
|
|
161
153
|
},
|
|
154
|
+
"./forms/chip": {
|
|
155
|
+
"types": "./forms/chip/index.d.ts",
|
|
156
|
+
"default": "./fesm2022/sd-angular-core-forms-chip.mjs"
|
|
157
|
+
},
|
|
162
158
|
"./forms/chip-calendar": {
|
|
163
159
|
"types": "./forms/chip-calendar/index.d.ts",
|
|
164
160
|
"default": "./fesm2022/sd-angular-core-forms-chip-calendar.mjs"
|
|
165
161
|
},
|
|
166
|
-
"./forms/checkbox": {
|
|
167
|
-
"types": "./forms/checkbox/index.d.ts",
|
|
168
|
-
"default": "./fesm2022/sd-angular-core-forms-checkbox.mjs"
|
|
169
|
-
},
|
|
170
162
|
"./forms/date-range": {
|
|
171
163
|
"types": "./forms/date-range/index.d.ts",
|
|
172
164
|
"default": "./fesm2022/sd-angular-core-forms-date-range.mjs"
|
|
@@ -175,34 +167,34 @@
|
|
|
175
167
|
"types": "./forms/datetime/index.d.ts",
|
|
176
168
|
"default": "./fesm2022/sd-angular-core-forms-datetime.mjs"
|
|
177
169
|
},
|
|
178
|
-
"./forms/input": {
|
|
179
|
-
"types": "./forms/input/index.d.ts",
|
|
180
|
-
"default": "./fesm2022/sd-angular-core-forms-input.mjs"
|
|
181
|
-
},
|
|
182
170
|
"./forms/directives": {
|
|
183
171
|
"types": "./forms/directives/index.d.ts",
|
|
184
172
|
"default": "./fesm2022/sd-angular-core-forms-directives.mjs"
|
|
185
173
|
},
|
|
174
|
+
"./forms/input": {
|
|
175
|
+
"types": "./forms/input/index.d.ts",
|
|
176
|
+
"default": "./fesm2022/sd-angular-core-forms-input.mjs"
|
|
177
|
+
},
|
|
186
178
|
"./forms/input-number": {
|
|
187
179
|
"types": "./forms/input-number/index.d.ts",
|
|
188
180
|
"default": "./fesm2022/sd-angular-core-forms-input-number.mjs"
|
|
189
181
|
},
|
|
190
|
-
"./forms/
|
|
191
|
-
"types": "./forms/
|
|
192
|
-
"default": "./fesm2022/sd-angular-core-forms-
|
|
182
|
+
"./forms/radio": {
|
|
183
|
+
"types": "./forms/radio/index.d.ts",
|
|
184
|
+
"default": "./fesm2022/sd-angular-core-forms-radio.mjs"
|
|
193
185
|
},
|
|
194
186
|
"./forms/models": {
|
|
195
187
|
"types": "./forms/models/index.d.ts",
|
|
196
188
|
"default": "./fesm2022/sd-angular-core-forms-models.mjs"
|
|
197
189
|
},
|
|
190
|
+
"./forms/label": {
|
|
191
|
+
"types": "./forms/label/index.d.ts",
|
|
192
|
+
"default": "./fesm2022/sd-angular-core-forms-label.mjs"
|
|
193
|
+
},
|
|
198
194
|
"./forms/select": {
|
|
199
195
|
"types": "./forms/select/index.d.ts",
|
|
200
196
|
"default": "./fesm2022/sd-angular-core-forms-select.mjs"
|
|
201
197
|
},
|
|
202
|
-
"./forms/radio": {
|
|
203
|
-
"types": "./forms/radio/index.d.ts",
|
|
204
|
-
"default": "./fesm2022/sd-angular-core-forms-radio.mjs"
|
|
205
|
-
},
|
|
206
198
|
"./forms/switch": {
|
|
207
199
|
"types": "./forms/switch/index.d.ts",
|
|
208
200
|
"default": "./fesm2022/sd-angular-core-forms-switch.mjs"
|
|
@@ -211,6 +203,10 @@
|
|
|
211
203
|
"types": "./forms/textarea/index.d.ts",
|
|
212
204
|
"default": "./fesm2022/sd-angular-core-forms-textarea.mjs"
|
|
213
205
|
},
|
|
206
|
+
"./guards/permission": {
|
|
207
|
+
"types": "./guards/permission/index.d.ts",
|
|
208
|
+
"default": "./fesm2022/sd-angular-core-guards-permission.mjs"
|
|
209
|
+
},
|
|
214
210
|
"./modules/auth": {
|
|
215
211
|
"types": "./modules/auth/index.d.ts",
|
|
216
212
|
"default": "./fesm2022/sd-angular-core-modules-auth.mjs"
|
|
@@ -219,29 +215,33 @@
|
|
|
219
215
|
"types": "./modules/layout/index.d.ts",
|
|
220
216
|
"default": "./fesm2022/sd-angular-core-modules-layout.mjs"
|
|
221
217
|
},
|
|
222
|
-
"./modules/permission": {
|
|
223
|
-
"types": "./modules/permission/index.d.ts",
|
|
224
|
-
"default": "./fesm2022/sd-angular-core-modules-permission.mjs"
|
|
225
|
-
},
|
|
226
218
|
"./modules/oidc": {
|
|
227
219
|
"types": "./modules/oidc/index.d.ts",
|
|
228
220
|
"default": "./fesm2022/sd-angular-core-modules-oidc.mjs"
|
|
229
221
|
},
|
|
222
|
+
"./modules/permission": {
|
|
223
|
+
"types": "./modules/permission/index.d.ts",
|
|
224
|
+
"default": "./fesm2022/sd-angular-core-modules-permission.mjs"
|
|
225
|
+
},
|
|
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/excel": {
|
|
239
|
+
"types": "./services/excel/index.d.ts",
|
|
240
|
+
"default": "./fesm2022/sd-angular-core-services-excel.mjs"
|
|
241
|
+
},
|
|
242
|
+
"./services/license": {
|
|
243
|
+
"types": "./services/license/index.d.ts",
|
|
244
|
+
"default": "./fesm2022/sd-angular-core-services-license.mjs"
|
|
245
245
|
},
|
|
246
246
|
"./services/firebase": {
|
|
247
247
|
"types": "./services/firebase/index.d.ts",
|
|
@@ -251,10 +251,6 @@
|
|
|
251
251
|
"types": "./services/loading/index.d.ts",
|
|
252
252
|
"default": "./fesm2022/sd-angular-core-services-loading.mjs"
|
|
253
253
|
},
|
|
254
|
-
"./services/license": {
|
|
255
|
-
"types": "./services/license/index.d.ts",
|
|
256
|
-
"default": "./fesm2022/sd-angular-core-services-license.mjs"
|
|
257
|
-
},
|
|
258
254
|
"./services/notify": {
|
|
259
255
|
"types": "./services/notify/index.d.ts",
|
|
260
256
|
"default": "./fesm2022/sd-angular-core-services-notify.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
|
+
"./forms/autocomplete": {
|
|
271
|
+
"types": "./forms/autocomplete/index.d.ts",
|
|
272
|
+
"default": "./fesm2022/sd-angular-core-forms-autocomplete.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
|