@memberjunction/ng-generic-dialog 3.4.0 → 4.0.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.component.d.ts","sourceRoot":"","sources":["../../src/lib/dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,YAAY,EAAS,iBAAiB,EAAE,UAAU,EAAgB,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEtI;;;;;;;;;;;;;;;GAeG;AACH,
|
|
1
|
+
{"version":3,"file":"dialog.component.d.ts","sourceRoot":"","sources":["../../src/lib/dialog.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqB,YAAY,EAAS,iBAAiB,EAAE,UAAU,EAAgB,gBAAgB,EAAE,MAAM,eAAe,CAAC;;AAEtI;;;;;;;;;;;;;;;GAeG;AACH,qBAMa,sBAAuB,YAAW,gBAAgB;IACjD,OAAO,CAAC,GAAG;gBAAH,GAAG,EAAE,iBAAiB;IAE1C;;OAEG;IACM,WAAW,EAAE,MAAM,CAAmB;IAC/C;;OAEG;IACM,WAAW,EAAE,MAAM,CAAW;IACvC;;OAEG;IACM,YAAY,EAAE,MAAM,CAAW;IAExC;;OAEG;IACM,YAAY,EAAE,OAAO,CAAQ;IAEtC;;OAEG;IACM,YAAY,EAAE,MAAM,CAAQ;IAErC;;OAEG;IACM,gBAAgB,EAAE,MAAM,CAAY;IAE7C;;OAEG;IACM,gBAAgB,EAAE,OAAO,CAAQ;IAE1C;;;OAGG;IACH,IAAa,aAAa,IAAI,OAAO,CAEpC;IACD,IAAI,aAAa,CAAC,KAAK,EAAE,OAAO,EAO/B;IACD,OAAO,CAAC,cAAc,CAAkB;IAGxC;;OAEG;IACO,YAAY,wBAA+B;IAErD;;OAEG;IACO,WAAW,qBAA4B;IAEjD;;OAEG;IACI,iBAAiB;IAKxB;;OAEG;IACI,aAAa;IAKpB,OAAO,CAAC,iBAAiB,CAAkB;IAC3C;;OAEG;IACH,IAAW,gBAAgB,IAAI,OAAO,CAErC;IAEkD,aAAa,EAAG,UAAU,CAAC;IAE9E,kBAAkB;yCA1FP,sBAAsB;2CAAtB,sBAAsB;CA6FlC"}
|
|
@@ -38,9 +38,10 @@ function GenericDialogComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
|
38
38
|
i0.ɵɵlistener("close", function GenericDialogComponent_Conditional_0_Template_kendo_dialog_close_0_listener() { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.HandleCancelClick()); });
|
|
39
39
|
i0.ɵɵprojection(1);
|
|
40
40
|
i0.ɵɵelementStart(2, "kendo-dialog-actions");
|
|
41
|
-
i0.ɵɵ
|
|
41
|
+
i0.ɵɵconditionalCreate(3, GenericDialogComponent_Conditional_0_Conditional_3_Template, 2, 1, "button", 2);
|
|
42
|
+
i0.ɵɵconditionalCreate(4, GenericDialogComponent_Conditional_0_Conditional_4_Template, 2, 1, "button", 3);
|
|
42
43
|
i0.ɵɵprojection(5, 1);
|
|
43
|
-
i0.ɵɵ
|
|
44
|
+
i0.ɵɵconditionalCreate(6, GenericDialogComponent_Conditional_0_Conditional_6_Template, 2, 0, "span");
|
|
44
45
|
i0.ɵɵelementEnd()();
|
|
45
46
|
} if (rf & 2) {
|
|
46
47
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -156,16 +157,16 @@ export class GenericDialogComponent {
|
|
|
156
157
|
} if (rf & 2) {
|
|
157
158
|
let _t;
|
|
158
159
|
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customActions = _t.first);
|
|
159
|
-
} }, inputs: { DialogTitle: "DialogTitle", DialogWidth: "DialogWidth", DialogHeight: "DialogHeight", ShowOKButton: "ShowOKButton", OKButtonText: "OKButtonText", CancelButtonText: "CancelButtonText", ShowCancelButton: "ShowCancelButton", DialogVisible: "DialogVisible" }, outputs: { DialogClosed: "DialogClosed", RefreshData: "RefreshData" }, ngContentSelectors: _c2, decls: 1, vars: 1, consts: [[3, "width", "height", "title"], [3, "close", "width", "height", "title"], ["kendoButton", "", "themeColor", "primary"], ["kendoButton", ""], ["kendoButton", "", "themeColor", "primary", 3, "click"], ["kendoButton", "", 3, "click"]], template: function GenericDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
160
|
+
} }, inputs: { DialogTitle: "DialogTitle", DialogWidth: "DialogWidth", DialogHeight: "DialogHeight", ShowOKButton: "ShowOKButton", OKButtonText: "OKButtonText", CancelButtonText: "CancelButtonText", ShowCancelButton: "ShowCancelButton", DialogVisible: "DialogVisible" }, outputs: { DialogClosed: "DialogClosed", RefreshData: "RefreshData" }, standalone: false, ngContentSelectors: _c2, decls: 1, vars: 1, consts: [[3, "width", "height", "title"], [3, "close", "width", "height", "title"], ["kendoButton", "", "themeColor", "primary"], ["kendoButton", ""], ["kendoButton", "", "themeColor", "primary", 3, "click"], ["kendoButton", "", 3, "click"]], template: function GenericDialogComponent_Template(rf, ctx) { if (rf & 1) {
|
|
160
161
|
i0.ɵɵprojectionDef(_c1);
|
|
161
|
-
i0.ɵɵ
|
|
162
|
+
i0.ɵɵconditionalCreate(0, GenericDialogComponent_Conditional_0_Template, 7, 6, "kendo-dialog", 0);
|
|
162
163
|
} if (rf & 2) {
|
|
163
164
|
i0.ɵɵconditional(ctx.DialogVisible ? 0 : -1);
|
|
164
|
-
} }, dependencies: [i1.DialogComponent, i1.DialogActionsComponent, i2.ButtonComponent] });
|
|
165
|
+
} }, dependencies: [i1.DialogComponent, i1.DialogActionsComponent, i2.ButtonComponent], encapsulation: 2 });
|
|
165
166
|
}
|
|
166
167
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(GenericDialogComponent, [{
|
|
167
168
|
type: Component,
|
|
168
|
-
args: [{ selector: 'mj-generic-dialog', template: "@if (DialogVisible) {\n <kendo-dialog\n [width]=\"DialogWidth\"\n [height]=\"DialogHeight\"\n [title]=\"DialogTitle\" \n (close)=\"HandleCancelClick()\"\n >\n <ng-content></ng-content>\n <kendo-dialog-actions>\n @if(ShowOKButton) {\n <button kendoButton (click)=\"HandleOKClick()\" themeColor=\"primary\">{{OKButtonText}}</button>\n }\n @if(ShowCancelButton) {\n <button kendoButton (click)=\"HandleCancelClick()\">{{CancelButtonText}}</button>\n }\n\n <!-- Named slot for custom actions/buttons -->\n <ng-content select=\"[custom-actions]\"></ng-content>\n\n @if(!ShowOKButton && !ShowCancelButton && !HasCustomActions) {\n <span>No actions available - enable built-in actions or add custom actions</span>\n }\n </kendo-dialog-actions> \n </kendo-dialog> \n}" }]
|
|
169
|
+
args: [{ standalone: false, selector: 'mj-generic-dialog', template: "@if (DialogVisible) {\n <kendo-dialog\n [width]=\"DialogWidth\"\n [height]=\"DialogHeight\"\n [title]=\"DialogTitle\" \n (close)=\"HandleCancelClick()\"\n >\n <ng-content></ng-content>\n <kendo-dialog-actions>\n @if(ShowOKButton) {\n <button kendoButton (click)=\"HandleOKClick()\" themeColor=\"primary\">{{OKButtonText}}</button>\n }\n @if(ShowCancelButton) {\n <button kendoButton (click)=\"HandleCancelClick()\">{{CancelButtonText}}</button>\n }\n\n <!-- Named slot for custom actions/buttons -->\n <ng-content select=\"[custom-actions]\"></ng-content>\n\n @if(!ShowOKButton && !ShowCancelButton && !HasCustomActions) {\n <span>No actions available - enable built-in actions or add custom actions</span>\n }\n </kendo-dialog-actions> \n </kendo-dialog> \n}" }]
|
|
169
170
|
}], () => [{ type: i0.ChangeDetectorRef }], { DialogTitle: [{
|
|
170
171
|
type: Input
|
|
171
172
|
}], DialogWidth: [{
|
|
@@ -190,5 +191,5 @@ export class GenericDialogComponent {
|
|
|
190
191
|
type: ContentChild,
|
|
191
192
|
args: ['custom-actions', { static: false }]
|
|
192
193
|
}] }); })();
|
|
193
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GenericDialogComponent, { className: "GenericDialogComponent", filePath: "src/lib/dialog.component.ts", lineNumber:
|
|
194
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(GenericDialogComponent, { className: "GenericDialogComponent", filePath: "src/lib/dialog.component.ts", lineNumber: 25 }); })();
|
|
194
195
|
//# sourceMappingURL=dialog.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.component.js","sourceRoot":"","sources":["../../src/lib/dialog.component.ts","../../src/lib/dialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAiC,YAAY,EAAoB,MAAM,eAAe,CAAC;;;;;;;;;ICUtH,iCAAmE;IAA/C,yMAAS,sBAAe,KAAC;IAAsB,YAAgB;IAAA,iBAAS;;;IAAzB,cAAgB;IAAhB,yCAAgB;;;;IAGnF,iCAAkD;IAA9B,yMAAS,0BAAmB,KAAC;IAAC,YAAoB;IAAA,iBAAS;;;IAA7B,cAAoB;IAApB,6CAAoB;;;IAOtE,4BAAM;IAAA,oFAAoE;IAAA,iBAAO;;;;IAnB7F,uCAKC;IADG,gMAAS,0BAAmB,KAAC;IAE7B,kBAAyB;IACzB,4CAAsB;
|
|
1
|
+
{"version":3,"file":"dialog.component.js","sourceRoot":"","sources":["../../src/lib/dialog.component.ts","../../src/lib/dialog.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAiC,YAAY,EAAoB,MAAM,eAAe,CAAC;;;;;;;;;ICUtH,iCAAmE;IAA/C,yMAAS,sBAAe,KAAC;IAAsB,YAAgB;IAAA,iBAAS;;;IAAzB,cAAgB;IAAhB,yCAAgB;;;;IAGnF,iCAAkD;IAA9B,yMAAS,0BAAmB,KAAC;IAAC,YAAoB;IAAA,iBAAS;;;IAA7B,cAAoB;IAApB,6CAAoB;;;IAOtE,4BAAM;IAAA,oFAAoE;IAAA,i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EjD;;OAEG;IACI,iBAAiB;QACtB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAChC,CAAC;IAED;;OAEG;IACI,aAAa;QAClB,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;QAC3B,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAEO,iBAAiB,GAAY,KAAK,CAAC;IAC3C;;OAEG;IACH,IAAW,gBAAgB;QACzB,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAChC,CAAC;IAEkD,aAAa,CAAc;IAE9E,kBAAkB;QACd,IAAI,CAAC,iBAAiB,GAAG,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC;IAClD,CAAC;gHA5FU,sBAAsB;6DAAtB,sBAAsB;;;;;;;YCxBnC,iGAAqB;;YAArB,4CAwBC;;;iFDAY,sBAAsB;cANlC,SAAS;6BACI,KAAK,YACP,mBAAmB;;kBAU5B,KAAK;;kBAIL,KAAK;;kBAIL,KAAK;;kBAKL,KAAK;;kBAKL,KAAK;;kBAKL,KAAK;;kBAKL,KAAK;;kBAML,KAAK;;kBAiBL,MAAM;;kBAKN,MAAM;;kBA0BN,YAAY;mBAAC,gBAAgB,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;;kFAxFtC,sBAAsB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/ng-generic-dialog",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "MemberJunction: Angular component for a generic dialog",
|
|
5
5
|
"main": "./dist/public-api.js",
|
|
6
6
|
"typings": "./dist/public-api.d.ts",
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@angular/compiler": "
|
|
19
|
-
"@angular/compiler-cli": "
|
|
18
|
+
"@angular/compiler": "21.1.3",
|
|
19
|
+
"@angular/compiler-cli": "21.1.3"
|
|
20
20
|
},
|
|
21
21
|
"peerDependencies": {
|
|
22
|
-
"@angular/common": "
|
|
23
|
-
"@angular/core": "
|
|
24
|
-
"@progress/kendo-angular-buttons": "
|
|
25
|
-
"@progress/kendo-angular-dialog": "
|
|
22
|
+
"@angular/common": "21.1.3",
|
|
23
|
+
"@angular/core": "21.1.3",
|
|
24
|
+
"@progress/kendo-angular-buttons": "22.0.1",
|
|
25
|
+
"@progress/kendo-angular-dialog": "22.0.1"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"tslib": "^2.
|
|
28
|
+
"tslib": "^2.8.1"
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"repository": {
|