@magic-xpa/angular 4.1300.0-dev4130.306 → 4.1300.0-dev4130.308
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/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
# Magic-xpa/angular
|
|
2
|
-
|
|
3
|
-
This package is part of Magic xpa Web Application Framework.
|
|
4
|
-
It is used to easily create modern business apps powered by Angular to provide a rich user experience and meet the increasingly complex enterprise business expectations for digital transformation.
|
|
5
|
-
|
|
1
|
+
# Magic-xpa/angular
|
|
2
|
+
|
|
3
|
+
This package is part of Magic xpa Web Application Framework.
|
|
4
|
+
It is used to easily create modern business apps powered by Angular to provide a rich user experience and meet the increasingly complex enterprise business expectations for digital transformation.
|
|
5
|
+
|
|
@@ -1850,7 +1850,7 @@ class MagicOverlayContainerWrapper {
|
|
|
1850
1850
|
const _c0$2 = ["button"];
|
|
1851
1851
|
function MagicConfirmationBoxComponent_For_8_Template(rf, ctx) { if (rf & 1) {
|
|
1852
1852
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
1853
|
-
i0.ɵɵelementStart(0, "button",
|
|
1853
|
+
i0.ɵɵelementStart(0, "button", 5, 0);
|
|
1854
1854
|
i0.ɵɵlistener("click", function MagicConfirmationBoxComponent_For_8_Template_button_click_0_listener() { const result_r2 = i0.ɵɵrestoreView(_r1).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.OnClose(result_r2)); });
|
|
1855
1855
|
i0.ɵɵtext(2);
|
|
1856
1856
|
i0.ɵɵelementEnd();
|
|
@@ -1888,39 +1888,41 @@ class MagicConfirmationBoxComponent extends BaseMagicConfirmComponent {
|
|
|
1888
1888
|
i0.ɵɵviewQuerySignal(ctx.buttonElements, _c0$2, 5);
|
|
1889
1889
|
} if (rf & 2) {
|
|
1890
1890
|
i0.ɵɵqueryAdvance();
|
|
1891
|
-
} }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 2, consts: [["button", ""], [1, "mg-message-mask"], [1, "mg-message-background"], [3, "cancel"], [3, "click"]], template: function MagicConfirmationBoxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1891
|
+
} }, standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 9, vars: 2, consts: [["button", ""], [1, "mg-message-mask"], [1, "mg-message-background"], [1, "mg-message-text"], [3, "cancel"], [3, "click"]], template: function MagicConfirmationBoxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1892
1892
|
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2)(2, "h2");
|
|
1893
1893
|
i0.ɵɵtext(3);
|
|
1894
1894
|
i0.ɵɵelementEnd();
|
|
1895
|
-
i0.ɵɵ
|
|
1896
|
-
i0.ɵɵ
|
|
1897
|
-
i0.ɵɵ
|
|
1898
|
-
i0.ɵɵ
|
|
1895
|
+
i0.ɵɵelementStart(4, "div", 3);
|
|
1896
|
+
i0.ɵɵtext(5);
|
|
1897
|
+
i0.ɵɵelementEnd();
|
|
1898
|
+
i0.ɵɵelementStart(6, "div");
|
|
1899
|
+
i0.ɵɵrepeaterCreate(7, MagicConfirmationBoxComponent_For_8_Template, 3, 3, "button", 4, i0.ɵɵrepeaterTrackByIdentity);
|
|
1900
|
+
i0.ɵɵelementEnd()()();
|
|
1899
1901
|
} if (rf & 2) {
|
|
1900
1902
|
i0.ɵɵadvance(3);
|
|
1901
1903
|
i0.ɵɵtextInterpolate1(" ", ctx.title);
|
|
1902
|
-
i0.ɵɵadvance();
|
|
1903
|
-
i0.ɵɵ
|
|
1904
|
-
i0.ɵɵadvance(
|
|
1904
|
+
i0.ɵɵadvance(2);
|
|
1905
|
+
i0.ɵɵtextInterpolate(ctx.message);
|
|
1906
|
+
i0.ɵɵadvance(2);
|
|
1905
1907
|
i0.ɵɵrepeater(ctx.buttonResults);
|
|
1906
|
-
} }, styles: [".mg-message-mask[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#0006}.mg-message-background[_ngcontent-%COMP%]{background-color:#f5f5f5;text-align:center;width:
|
|
1908
|
+
} }, styles: [".mg-message-mask[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#0006;display:flex;flex-direction:column;overflow:auto}.mg-message-background[_ngcontent-%COMP%]{background-color:#f5f5f5;text-align:center;box-sizing:border-box;width:450px;max-width:calc(100% - 20px);min-height:0;display:flex;flex-direction:column;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;padding:17px;border-radius:5px;margin:10% auto 20px;border:1px solid gray;overflow-wrap:anywhere}.mg-message-text[_ngcontent-%COMP%]{overflow-y:auto;margin-bottom:1em;white-space:pre-line}button[_ngcontent-%COMP%]{background-color:#8cd4f5;color:#fff;border:none;box-shadow:none;font-size:17px;font-weight:500;-webkit-border-radius:4px;border-radius:5px;padding:10px 32px;margin:26px 5px 0;cursor:pointer}button.cancel[_ngcontent-%COMP%]{background-color:#c1c1c1}"] });
|
|
1907
1909
|
}
|
|
1908
1910
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicConfirmationBoxComponent, [{
|
|
1909
1911
|
type: Component,
|
|
1910
|
-
args: [{ selector: 'sample-magic-confirmation-box', template: `<div class="mg-message-mask">
|
|
1911
|
-
<div class="mg-message-background">
|
|
1912
|
-
<h2> {{title}}</h2>
|
|
1913
|
-
{{message}}
|
|
1914
|
-
|
|
1915
|
-
<
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
</div>
|
|
1921
|
-
</div>`, standalone: false, styles: [".mg-message-mask{position:fixed;inset:0;background-color:#0006}.mg-message-background{background-color:#f5f5f5;text-align:center;width:
|
|
1912
|
+
args: [{ selector: 'sample-magic-confirmation-box', template: `<div class="mg-message-mask">
|
|
1913
|
+
<div class="mg-message-background">
|
|
1914
|
+
<h2> {{title}}</h2>
|
|
1915
|
+
<div class="mg-message-text">{{message}}</div>
|
|
1916
|
+
|
|
1917
|
+
<div>
|
|
1918
|
+
@for (result of buttonResults; track result) {
|
|
1919
|
+
<button #button [class.cancel]="result === Result.Cancel" (click)="OnClose(result)">{{buttonTexts[result]}}</button>
|
|
1920
|
+
}
|
|
1921
|
+
</div>
|
|
1922
|
+
</div>
|
|
1923
|
+
</div>`, standalone: false, styles: [".mg-message-mask{position:fixed;inset:0;background-color:#0006;display:flex;flex-direction:column;overflow:auto}.mg-message-background{background-color:#f5f5f5;text-align:center;box-sizing:border-box;width:450px;max-width:calc(100% - 20px);min-height:0;display:flex;flex-direction:column;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;padding:17px;border-radius:5px;margin:10% auto 20px;border:1px solid gray;overflow-wrap:anywhere}.mg-message-text{overflow-y:auto;margin-bottom:1em;white-space:pre-line}button{background-color:#8cd4f5;color:#fff;border:none;box-shadow:none;font-size:17px;font-weight:500;-webkit-border-radius:4px;border-radius:5px;padding:10px 32px;margin:26px 5px 0;cursor:pointer}button.cancel{background-color:#c1c1c1}\n"] }]
|
|
1922
1924
|
}], null, { buttonElements: [{ type: i0.ViewChildren, args: ['button', { isSignal: true }] }] }); })();
|
|
1923
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MagicConfirmationBoxComponent, { className: "MagicConfirmationBoxComponent", filePath: "src/ui/components/magic-confirmation-box.component.ts", lineNumber:
|
|
1925
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MagicConfirmationBoxComponent, { className: "MagicConfirmationBoxComponent", filePath: "src/ui/components/magic-confirmation-box.component.ts", lineNumber: 84 }); })();
|
|
1924
1926
|
|
|
1925
1927
|
/**
|
|
1926
1928
|
* Service managing overlay windows
|
|
@@ -6772,13 +6774,13 @@ class MagicAlertComponent extends BaseMagicAlertComponent {
|
|
|
6772
6774
|
}
|
|
6773
6775
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicAlertComponent, [{
|
|
6774
6776
|
type: Component,
|
|
6775
|
-
args: [{ selector: 'sample-magic-alert-component', template: `<div>
|
|
6776
|
-
<div class="mg-message-background">
|
|
6777
|
-
<h2> {{title}}</h2>
|
|
6778
|
-
<p>{{message}} </p>
|
|
6779
|
-
|
|
6780
|
-
<button (click)="OnClose()">OK</button>
|
|
6781
|
-
</div>
|
|
6777
|
+
args: [{ selector: 'sample-magic-alert-component', template: `<div>
|
|
6778
|
+
<div class="mg-message-background">
|
|
6779
|
+
<h2> {{title}}</h2>
|
|
6780
|
+
<p>{{message}} </p>
|
|
6781
|
+
|
|
6782
|
+
<button (click)="OnClose()">OK</button>
|
|
6783
|
+
</div>
|
|
6782
6784
|
</div>`, standalone: false, styles: [".mg-message-background{background-color:#f5f5f5;width:40%;font-family:Open Sans,Helvetica Neue,Helvetica,Arial,sans-serif;padding:17px;border-radius:5px;text-align:center;margin-top:10%;margin-left:auto;margin-right:auto;border:1px solid gray}button{background-color:#8cd4f5;color:#fff;border:none;box-shadow:none;font-size:17px;font-weight:500;-webkit-border-radius:4px;border-radius:5px;padding:10px 32px;margin:26px 5px 0;cursor:pointer}\n"] }]
|
|
6783
6785
|
}], null, null); })();
|
|
6784
6786
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MagicAlertComponent, { className: "MagicAlertComponent", filePath: "src/ui/components/magic-alert.component.ts", lineNumber: 49 }); })();
|