├── .gitignore ├── .idea ├── .gitignore ├── modules.xml ├── template-driven-forms.iml └── vcs.xml ├── README.md ├── angular.json ├── package.json ├── src ├── app │ ├── app.component.html │ ├── app.component.scss │ ├── app.component.ts │ ├── array-to-object.ts │ ├── components │ │ ├── address │ │ │ ├── address.component.html │ │ │ ├── address.component.scss │ │ │ └── address.component.ts │ │ ├── phonenumbers │ │ │ ├── phonenumbers.component.html │ │ │ ├── phonenumbers.component.scss │ │ │ └── phonenumbers.component.ts │ │ └── purchase-form │ │ │ ├── purchase-form.component.html │ │ │ ├── purchase-form.component.scss │ │ │ └── purchase-form.component.ts │ ├── luke.service.ts │ ├── models │ │ ├── address.model.ts │ │ ├── form.model.ts │ │ └── phonenumber.model.ts │ ├── product.service.ts │ ├── product.type.ts │ ├── swapi.service.ts │ ├── template-driven-forms │ │ ├── control-wrapper │ │ │ ├── control-wrapper.component.html │ │ │ ├── control-wrapper.component.scss │ │ │ └── control-wrapper.component.ts │ │ ├── deep-partial.ts │ │ ├── deep-required.ts │ │ ├── form-model-group.directive.ts │ │ ├── form-model.directive.ts │ │ ├── form.directive.ts │ │ ├── shape-validation.ts │ │ ├── template-driven.forms.ts │ │ └── utils.ts │ └── validations │ │ ├── address.validations.ts │ │ ├── phonenumber.validations.ts │ │ └── purchase.validations.ts ├── assets │ ├── .gitkeep │ ├── course.jpg │ └── simplified-logo.png ├── favicon.ico ├── global_styles.scss ├── index.html ├── karma.conf.js ├── main.ts ├── polyfills.ts ├── tsconfig.app.json └── tsconfig.spec.json └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | .angular 2 | dist 3 | node_modules 4 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/template-driven-forms.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/.idea/template-driven-forms.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/README.md -------------------------------------------------------------------------------- /angular.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/angular.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/package.json -------------------------------------------------------------------------------- /src/app/app.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/app.component.html -------------------------------------------------------------------------------- /src/app/app.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/app.component.scss -------------------------------------------------------------------------------- /src/app/app.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/app.component.ts -------------------------------------------------------------------------------- /src/app/array-to-object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/array-to-object.ts -------------------------------------------------------------------------------- /src/app/components/address/address.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/components/address/address.component.html -------------------------------------------------------------------------------- /src/app/components/address/address.component.scss: -------------------------------------------------------------------------------- 1 | sc-address { 2 | width: 100%; 3 | } 4 | -------------------------------------------------------------------------------- /src/app/components/address/address.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/components/address/address.component.ts -------------------------------------------------------------------------------- /src/app/components/phonenumbers/phonenumbers.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/components/phonenumbers/phonenumbers.component.html -------------------------------------------------------------------------------- /src/app/components/phonenumbers/phonenumbers.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/components/phonenumbers/phonenumbers.component.scss -------------------------------------------------------------------------------- /src/app/components/phonenumbers/phonenumbers.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/components/phonenumbers/phonenumbers.component.ts -------------------------------------------------------------------------------- /src/app/components/purchase-form/purchase-form.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/components/purchase-form/purchase-form.component.html -------------------------------------------------------------------------------- /src/app/components/purchase-form/purchase-form.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/components/purchase-form/purchase-form.component.scss -------------------------------------------------------------------------------- /src/app/components/purchase-form/purchase-form.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/components/purchase-form/purchase-form.component.ts -------------------------------------------------------------------------------- /src/app/luke.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/luke.service.ts -------------------------------------------------------------------------------- /src/app/models/address.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/models/address.model.ts -------------------------------------------------------------------------------- /src/app/models/form.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/models/form.model.ts -------------------------------------------------------------------------------- /src/app/models/phonenumber.model.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/models/phonenumber.model.ts -------------------------------------------------------------------------------- /src/app/product.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/product.service.ts -------------------------------------------------------------------------------- /src/app/product.type.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/product.type.ts -------------------------------------------------------------------------------- /src/app/swapi.service.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/swapi.service.ts -------------------------------------------------------------------------------- /src/app/template-driven-forms/control-wrapper/control-wrapper.component.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/control-wrapper/control-wrapper.component.html -------------------------------------------------------------------------------- /src/app/template-driven-forms/control-wrapper/control-wrapper.component.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/control-wrapper/control-wrapper.component.scss -------------------------------------------------------------------------------- /src/app/template-driven-forms/control-wrapper/control-wrapper.component.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/control-wrapper/control-wrapper.component.ts -------------------------------------------------------------------------------- /src/app/template-driven-forms/deep-partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/deep-partial.ts -------------------------------------------------------------------------------- /src/app/template-driven-forms/deep-required.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/deep-required.ts -------------------------------------------------------------------------------- /src/app/template-driven-forms/form-model-group.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/form-model-group.directive.ts -------------------------------------------------------------------------------- /src/app/template-driven-forms/form-model.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/form-model.directive.ts -------------------------------------------------------------------------------- /src/app/template-driven-forms/form.directive.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/form.directive.ts -------------------------------------------------------------------------------- /src/app/template-driven-forms/shape-validation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/shape-validation.ts -------------------------------------------------------------------------------- /src/app/template-driven-forms/template-driven.forms.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/template-driven.forms.ts -------------------------------------------------------------------------------- /src/app/template-driven-forms/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/template-driven-forms/utils.ts -------------------------------------------------------------------------------- /src/app/validations/address.validations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/validations/address.validations.ts -------------------------------------------------------------------------------- /src/app/validations/phonenumber.validations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/validations/phonenumber.validations.ts -------------------------------------------------------------------------------- /src/app/validations/purchase.validations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/app/validations/purchase.validations.ts -------------------------------------------------------------------------------- /src/assets/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/assets/course.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/assets/course.jpg -------------------------------------------------------------------------------- /src/assets/simplified-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/assets/simplified-logo.png -------------------------------------------------------------------------------- /src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/favicon.ico -------------------------------------------------------------------------------- /src/global_styles.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/global_styles.scss -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/index.html -------------------------------------------------------------------------------- /src/karma.conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/karma.conf.js -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/polyfills.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/tsconfig.app.json -------------------------------------------------------------------------------- /src/tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/src/tsconfig.spec.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simplifiedcourses/template-driven-forms/HEAD/tsconfig.json --------------------------------------------------------------------------------