@flexem/fc-gui 3.0.0-alpha.183 → 3.0.0-alpha.185
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/bundles/@flexem/fc-gui.umd.js +12 -12
- package/bundles/@flexem/fc-gui.umd.js.map +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js +1 -1
- package/bundles/@flexem/fc-gui.umd.min.js.map +1 -1
- package/elements/character-display/character-display-element.js +2 -2
- package/elements/numerical-display/numerical-display-element.js +2 -2
- package/elements/switch-indicator-light/switch-indicator-light-element.js +2 -2
- package/elements/view-operation/view-operation.element.js +2 -2
- package/localization/localization.service.js +1 -1
- package/localization/localization.service.metadata.json +1 -1
- package/modal/alert/alert-modal.component.js +1 -1
- package/modal/alert/alert-modal.component.less +13 -5
- package/modal/alert/alert-modal.component.metadata.json +1 -1
- package/modal/confirm-operation/confirm-operation-modal.component.html +2 -2
- package/modal/confirm-operation/confirm-operation-modal.component.js +2 -2
- package/modal/confirm-operation/confirm-operation-modal.component.less +10 -7
- package/modal/confirm-operation/confirm-operation-modal.component.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -32535,7 +32535,7 @@ const DefaultLocalization = {
|
|
|
32535
32535
|
canNotBeNegative: 'Can not be negative',
|
|
32536
32536
|
valueOutOfRange: 'Numerical value is out of range',
|
|
32537
32537
|
timeout: 'timeout',
|
|
32538
|
-
confirmOperationPrompt: '
|
|
32538
|
+
confirmOperationPrompt: 'Confirm action?',
|
|
32539
32539
|
confirm: 'Yes',
|
|
32540
32540
|
cancel: 'Cancel',
|
|
32541
32541
|
characterInputRequired: 'Character input can\'t be empty',
|
|
@@ -32705,8 +32705,8 @@ let ConfirmOperationModalComponent = class ConfirmOperationModalComponent {
|
|
|
32705
32705
|
ConfirmOperationModalComponent = __decorate([
|
|
32706
32706
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
32707
32707
|
selector: 'confirmOperationModal',
|
|
32708
|
-
template: "<form novalidate (ngSubmit)=\"confirm()\" bs-modal-drag> <div class=\"modal-body\"> <div style=\"text-align:center
|
|
32709
|
-
styles: [".modal-body { padding: 17px; position: relative; text-align: center; } .modal-footer { padding: 10px 5px; text-align: center; border-color: transparent; } .confirm-modal { max-width: 478px; } .confirm-modal>.modal-content { padding: 17px; } h3.confirm-h3 { font-size: 20px; font-weight: bold; } .confirm-btn-group { padding: 0; margin-bottom: 28px; margin-right:
|
|
32708
|
+
template: "<form novalidate (ngSubmit)=\"confirm()\" bs-modal-drag class=\"confirm-modal\"> <div class=\"modal-body\"> <div style=\"text-align:center;\"> <div class=\"alertIcon\"></div> <h3 class=\"confirm-h3\">{{localization.confirmOperationPrompt}}</h3> </div> </div> <div class=\"modal-footer form-group confirm-btn-group\"> <button type=\"button\" class=\"sweet-alert-btn\" (click)=\"close()\"> {{localization.cancel}} </button> <button type=\"submit\" class=\"sweet-alert-btn\"> {{localization.confirm}} </button> </div> </form> ",
|
|
32709
|
+
styles: [".modal-body { padding: 17px; position: relative; text-align: center; } .modal-footer { padding: 10px 5px; text-align: center; border-color: transparent; } .confirm-modal { max-width: 478px; } .confirm-modal>.modal-content { padding: 17px; } h3.confirm-h3 { font-size: 20px; font-weight: bold; margin-top: 10px; } .confirm-modal .confirm-btn-group { padding: 0 !important; margin-bottom: 28px; justify-content: center; margin-right: 0; } .confirm-btn-group button { display: inline-block; } .confirm-btn-group button:last-child { background-color: rgb(221, 107, 85); box-shadow: rgba(221, 107, 85, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; } .alertIcon { background: url(assets/img/alert.svg); width: 44px; height: 44px; display: inline-block; } .sweet-alert-btn { color: #fff; border: none; background: #ddd; font-size: 17px; font-weight: 500; border-radius: 5px; padding: 10px 0; width: 100px; margin: 0 5px 0; cursor: pointer } "]
|
|
32710
32710
|
}),
|
|
32711
32711
|
__param(0, Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"])(_localization_localization_service__WEBPACK_IMPORTED_MODULE_2__[/* LOCALIZATION */ "b"]))
|
|
32712
32712
|
], ConfirmOperationModalComponent);
|
|
@@ -32753,7 +32753,7 @@ AlertModalComponent = __decorate([
|
|
|
32753
32753
|
Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"])({
|
|
32754
32754
|
selector: 'alertModal',
|
|
32755
32755
|
template: "<div class=\"modal-body\"> <div style=\"text-align:center\"> <div class=\"alertIcon\"></div> <h3 class=\"alert-h3\">{{alermMessage}}</h3> </div> </div> <div class=\"modal-footer form-group confirm-btn\"> <button type=\"button\" class=\"sweet-alert-btn\" (click)=\"close()\"> {{localization.confirm}} </button> </div> ",
|
|
32756
|
-
styles: [".modal-header { padding: 17px; border-color: transparent; } .modal-body { padding: 17px; position: relative; text-align: center; } .modal-footer { padding: 10px 5px; text-align: center; border-color: transparent; } .alert-modal { max-width: 478px; } .alert-modal>.modal-content { padding: 17px; } h3.alert-h3 { font-size: 20px; font-weight: bold; } .alert-btn { padding: 0; margin-bottom: 0; } .alert-btn button { display: inline-block; } .alertIcon { background: url(assets/img/alert.svg); width:
|
|
32756
|
+
styles: [".modal-header { padding: 17px; border-color: transparent; } .modal-body { padding: 17px; position: relative; text-align: center; } .modal-footer { padding: 10px 5px; text-align: center; border-color: transparent; } .alert-modal { max-width: 478px; } .alert-modal>.modal-content { padding: 17px; } h3.alert-h3 { font-size: 20px; font-weight: bold; margin-top: 10px; } .alert-btn { padding: 0; margin-bottom: 0; } .alert-btn button { display: inline-block; } .alertIcon { background: url(assets/img/alert.svg); width: 44px; height: 44px; display: inline-block; } .sweet-alert-btn { color: #fff; border: none; background: #ddd; font-size: 17px; font-weight: 500; border-radius: 5px; padding: 10px 0; width: 100px; margin: 0 5px 0; cursor: pointer; background-color: rgb(221, 107, 85); box-shadow: rgba(221, 107, 85, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.05) 0px 0px 0px 1px; } .form-group { padding: 0 !important; justify-content: center; margin-bottom: 28px; } "]
|
|
32757
32757
|
}),
|
|
32758
32758
|
__param(0, Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["Inject"])(_localization_localization_service__WEBPACK_IMPORTED_MODULE_1__[/* LOCALIZATION */ "b"]))
|
|
32759
32759
|
], AlertModalComponent);
|
|
@@ -36157,7 +36157,7 @@ class character_display_element_CharacterDisplayElement extends readable_element
|
|
|
36157
36157
|
}
|
|
36158
36158
|
if (!this.isEnable) {
|
|
36159
36159
|
const message = !this.isGrantedPermission ? this.localization.permissiontip : this.localization.conditionIsNotMetTip;
|
|
36160
|
-
const modalRef = this.modalService.show(alert_modal_component["a" /* AlertModalComponent */], { initialState: { alermMessage: message }, backdrop: 'static', class: 'gui-modal-dialog-position', animated: false });
|
|
36160
|
+
const modalRef = this.modalService.show(alert_modal_component["a" /* AlertModalComponent */], { initialState: { alermMessage: message }, backdrop: 'static', class: 'gui-modal-dialog-position gui-modal-dialog-tip', animated: false });
|
|
36161
36161
|
const onClosedSub = modalRef.content.onClosed.subscribe(() => {
|
|
36162
36162
|
modalRef.hide();
|
|
36163
36163
|
onClosedSub.unsubscribe();
|
|
@@ -36166,7 +36166,7 @@ class character_display_element_CharacterDisplayElement extends readable_element
|
|
|
36166
36166
|
}
|
|
36167
36167
|
if (this.model.useSecurity) {
|
|
36168
36168
|
const modalRef = this.modalService.show(confirm_operation_modal_component["a" /* ConfirmOperationModalComponent */], {
|
|
36169
|
-
backdrop: 'static', class: 'gui-modal-dialog-position', animated: false
|
|
36169
|
+
backdrop: 'static', class: 'gui-modal-dialog-position gui-modal-dialog-tip', animated: false
|
|
36170
36170
|
});
|
|
36171
36171
|
const onClosedSub = modalRef.content.onClosed.subscribe(result => {
|
|
36172
36172
|
modalRef.hide();
|
|
@@ -38547,7 +38547,7 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
|
|
|
38547
38547
|
}
|
|
38548
38548
|
if (!this.isEnable) {
|
|
38549
38549
|
const message = !this.isGrantedPermission ? this.localization.permissiontip : this.localization.conditionIsNotMetTip;
|
|
38550
|
-
const modalRef = this.modalService.show(alert_modal_component["a" /* AlertModalComponent */], { initialState: { alermMessage: message }, backdrop: 'static', class: 'gui-modal-dialog-position', animated: false });
|
|
38550
|
+
const modalRef = this.modalService.show(alert_modal_component["a" /* AlertModalComponent */], { initialState: { alermMessage: message }, backdrop: 'static', class: 'gui-modal-dialog-position gui-modal-dialog-tip', animated: false });
|
|
38551
38551
|
const onClosedSub = modalRef.content.onClosed.subscribe(() => {
|
|
38552
38552
|
modalRef.hide();
|
|
38553
38553
|
onClosedSub.unsubscribe();
|
|
@@ -38556,7 +38556,7 @@ class numerical_display_element_NumericalDisplayElement extends readable_element
|
|
|
38556
38556
|
}
|
|
38557
38557
|
if (this.model.useSecurity) {
|
|
38558
38558
|
const modalRef = this.modalService.show(confirm_operation_modal_component["a" /* ConfirmOperationModalComponent */], {
|
|
38559
|
-
backdrop: 'static', class: 'gui-modal-dialog-position', animated: false
|
|
38559
|
+
backdrop: 'static', class: 'gui-modal-dialog-position gui-modal-dialog-tip', animated: false
|
|
38560
38560
|
});
|
|
38561
38561
|
const onClosedSub = modalRef.content.onClosed.subscribe(result => {
|
|
38562
38562
|
modalRef.hide();
|
|
@@ -40520,7 +40520,7 @@ class switch_indicator_light_element_SwitchIndicatorLightElement extends conditi
|
|
|
40520
40520
|
}
|
|
40521
40521
|
if (!this.isEnable) {
|
|
40522
40522
|
const message = !this.isGrantedPermission ? this.localization.permissiontip : this.localization.conditionIsNotMetTip;
|
|
40523
|
-
const modalRef = this.modalService.show(alert_modal_component["a" /* AlertModalComponent */], { initialState: { alermMessage: message }, backdrop: 'static', class: 'gui-modal-dialog-position', animated: false });
|
|
40523
|
+
const modalRef = this.modalService.show(alert_modal_component["a" /* AlertModalComponent */], { initialState: { alermMessage: message }, backdrop: 'static', class: 'gui-modal-dialog-position gui-modal-dialog-tip', animated: false });
|
|
40524
40524
|
const onClosedSub = modalRef.content.onClosed.subscribe(() => {
|
|
40525
40525
|
modalRef.hide();
|
|
40526
40526
|
onClosedSub.unsubscribe();
|
|
@@ -40530,7 +40530,7 @@ class switch_indicator_light_element_SwitchIndicatorLightElement extends conditi
|
|
|
40530
40530
|
if (this.switchOperator.canExecute()) {
|
|
40531
40531
|
if (!this.isBitRestoration || !this.isVerifiedForRestoration) {
|
|
40532
40532
|
if (this.model.useSecurity) {
|
|
40533
|
-
const modalRef = this.modalService.show(confirm_operation_modal_component["a" /* ConfirmOperationModalComponent */], { backdrop: 'static', class: 'gui-modal-dialog-position', animated: false });
|
|
40533
|
+
const modalRef = this.modalService.show(confirm_operation_modal_component["a" /* ConfirmOperationModalComponent */], { backdrop: 'static', class: 'gui-modal-dialog-position gui-modal-dialog-tip', animated: false });
|
|
40534
40534
|
const onClosedSub = modalRef.content.onClosed.subscribe(result => {
|
|
40535
40535
|
modalRef.hide();
|
|
40536
40536
|
onClosedSub.unsubscribe();
|
|
@@ -41214,7 +41214,7 @@ class view_operation_element_ViewOperationElement extends conditional_enable_ele
|
|
|
41214
41214
|
on_event.preventDefault();
|
|
41215
41215
|
if (!this.isEnable) {
|
|
41216
41216
|
const message = !this.isGrantedPermission ? this.localization.permissiontip : this.localization.conditionIsNotMetTip;
|
|
41217
|
-
const modalRef = this.modalService.show(alert_modal_component["a" /* AlertModalComponent */], { initialState: { alermMessage: message }, backdrop: 'static', class: 'gui-modal-dialog-position', animated: false });
|
|
41217
|
+
const modalRef = this.modalService.show(alert_modal_component["a" /* AlertModalComponent */], { initialState: { alermMessage: message }, backdrop: 'static', class: 'gui-modal-dialog-position gui-modal-dialog-tip', animated: false });
|
|
41218
41218
|
const onClosedSub = modalRef.content.onClosed.subscribe(() => {
|
|
41219
41219
|
modalRef.hide();
|
|
41220
41220
|
onClosedSub.unsubscribe();
|
|
@@ -41230,7 +41230,7 @@ class view_operation_element_ViewOperationElement extends conditional_enable_ele
|
|
|
41230
41230
|
}
|
|
41231
41231
|
if (this.model.useSecurity) {
|
|
41232
41232
|
const modalRef = this.modalService.show(confirm_operation_modal_component["a" /* ConfirmOperationModalComponent */], {
|
|
41233
|
-
backdrop: 'static', class: 'gui-modal-dialog-position', animated: false
|
|
41233
|
+
backdrop: 'static', class: 'gui-modal-dialog-position gui-modal-dialog-tip', animated: false
|
|
41234
41234
|
});
|
|
41235
41235
|
const onClosedSub = modalRef.content.onClosed.subscribe(result => {
|
|
41236
41236
|
modalRef.hide();
|