novo-elements
Version:
Bullhorn's NOVO Element Repository for Angular 2
1 lines • 2.93 kB
JSON
[{"__symbolic":"module","version":3,"metadata":{"ControlConfirmModal":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"control-confirm-modal","template":"\n <novo-notification type=\"warning\" [attr.data-automation-id]=\"'field-interaction-modal-' + params['key']\">\n <h1>{{ labels.confirmChangesModalMessage }}</h1>\n <h2 *ngIf=\"!params['message']\"><label>{{ params['label'] }}:</label> {{ params['oldValue'] }} <i class=\"bhi-arrow-right\"></i> {{ params['newValue'] }}</h2>\n <h2 *ngIf=\"params['message']\">{{ params['message'] }}</h2>\n <button theme=\"standard\" (click)=\"close(false)\" [attr.data-automation-id]=\"'field-interaction-modal-cancel' + params['key']\">{{ labels.cancel }}</button>\n <button theme=\"primary\" icon=\"check\" (click)=\"close(true)\" autofocus [attr.data-automation-id]=\"'field-interaction-modal-save-' + params['key']\">{{ labels.save }}</button>\n </novo-notification>\n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../modal/Modal","name":"NovoModalRef"},{"__symbolic":"reference","module":"../modal/Modal","name":"NovoModalParams"},{"__symbolic":"reference","module":"../../services/novo-label-service","name":"NovoLabelService"}]}],"close":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ControlConfirmModal":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"control-confirm-modal","template":"\n <novo-notification type=\"warning\" [attr.data-automation-id]=\"'field-interaction-modal-' + params['key']\">\n <h1>{{ labels.confirmChangesModalMessage }}</h1>\n <h2 *ngIf=\"!params['message']\"><label>{{ params['label'] }}:</label> {{ params['oldValue'] }} <i class=\"bhi-arrow-right\"></i> {{ params['newValue'] }}</h2>\n <h2 *ngIf=\"params['message']\">{{ params['message'] }}</h2>\n <button theme=\"standard\" (click)=\"close(false)\" [attr.data-automation-id]=\"'field-interaction-modal-cancel' + params['key']\">{{ labels.cancel }}</button>\n <button theme=\"primary\" icon=\"check\" (click)=\"close(true)\" autofocus [attr.data-automation-id]=\"'field-interaction-modal-save-' + params['key']\">{{ labels.save }}</button>\n </novo-notification>\n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"../modal/Modal","name":"NovoModalRef"},{"__symbolic":"reference","module":"../modal/Modal","name":"NovoModalParams"},{"__symbolic":"reference","module":"../../services/novo-label-service","name":"NovoLabelService"}]}],"close":[{"__symbolic":"method"}]}}}}]