This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| const { | |
| Component, | |
| get, | |
| computed, | |
| } = Ember; | |
| let UiImg = Component.extend({ | |
| classNames: ['ui-img'], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| classNames: [ | |
| 'bd(1)', | |
| 'bd-c(gray-l1)', | |
| 'p(2)', | |
| 'bs(1)', | |
| 'pos(relative)' | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { expect } from 'chai'; | |
| import { describe, it, beforeEach } from 'mocha'; | |
| import { setupComponentTest } from 'ember-mocha'; | |
| import hbs from 'htmlbars-inline-precompile'; | |
| describe('Integration | Component | ui form group', function() { | |
| const LABEL = '[test-id="txtLabel"]'; | |
| const DESCRIPTION = '[test-id="txtDescription"]'; | |
| setupComponentTest('ui-form-group', { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| import hbs from 'htmlbars-inline-precompile'; | |
| const { | |
| Component | |
| } = Ember; | |
| export default Component.extend({ | |
| classNames: ['alert-container'], | |
| attributeBindings: [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| export default Ember.Component.extend({ | |
| model: null | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| const { | |
| get, | |
| set, | |
| isPresent | |
| } = Ember; | |
| export default Ember.Controller.extend({ | |
| appName: 'Dragon', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| // This would live on some non-application route | |
| export default Ember.Controller.extend({ | |
| queryParams: ['inquiryType', 'inquiryId'], | |
| inquiryType: null, | |
| inquiryId: null, | |
| isTransactionInquiry: Ember.computed.equal('inquiryType', 'transaction'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| const { | |
| get, | |
| computed | |
| } = Ember; | |
| export default Ember.Component.extend({ | |
| id: null, | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Em from 'ember'; | |
| const { | |
| computed | |
| } = Em; | |
| export default. Em.Component.extend({ | |
| datum: null, | |
| pfmData: computed.readOnly('datum.pfmData'), | |
| actions: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| const { | |
| Mixin, | |
| get, | |
| computed | |
| } = Ember; | |
| export default Mixin.create({ | |
| classNameBindings: ['idClass'], |