@syncfusion/ej2-angular-inputs 22.2.7-ngcc → 22.2.7
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/esm2020/public_api.mjs +3 -0
- package/esm2020/src/color-picker/colorpicker-all.module.mjs +23 -0
- package/esm2020/src/color-picker/colorpicker.component.mjs +83 -0
- package/esm2020/src/color-picker/colorpicker.module.mjs +25 -0
- package/esm2020/src/form-validator/form-validator.mjs +193 -0
- package/esm2020/src/index.mjs +28 -0
- package/esm2020/src/maskedtextbox/maskedtextbox-all.module.mjs +23 -0
- package/esm2020/src/maskedtextbox/maskedtextbox.component.mjs +84 -0
- package/esm2020/src/maskedtextbox/maskedtextbox.module.mjs +25 -0
- package/esm2020/src/numerictextbox/numerictextbox-all.module.mjs +23 -0
- package/esm2020/src/numerictextbox/numerictextbox.component.mjs +84 -0
- package/esm2020/src/numerictextbox/numerictextbox.module.mjs +25 -0
- package/esm2020/src/rating/rating-all.module.mjs +23 -0
- package/esm2020/src/rating/rating.component.mjs +108 -0
- package/esm2020/src/rating/rating.module.mjs +25 -0
- package/esm2020/src/signature/signature-all.module.mjs +23 -0
- package/esm2020/src/signature/signature.component.mjs +83 -0
- package/esm2020/src/signature/signature.module.mjs +25 -0
- package/esm2020/src/slider/slider-all.module.mjs +23 -0
- package/esm2020/src/slider/slider.component.mjs +83 -0
- package/esm2020/src/slider/slider.module.mjs +25 -0
- package/esm2020/src/textbox/textbox-all.module.mjs +23 -0
- package/esm2020/src/textbox/textbox.component.mjs +84 -0
- package/esm2020/src/textbox/textbox.module.mjs +25 -0
- package/esm2020/src/uploader/files.directive.mjs +58 -0
- package/esm2020/src/uploader/uploader-all.module.mjs +23 -0
- package/esm2020/src/uploader/uploader.component.mjs +95 -0
- package/esm2020/src/uploader/uploader.module.mjs +34 -0
- package/esm2020/syncfusion-ej2-angular-inputs.mjs +5 -0
- package/fesm2015/syncfusion-ej2-angular-inputs.mjs +1237 -0
- package/fesm2015/syncfusion-ej2-angular-inputs.mjs.map +1 -0
- package/fesm2020/syncfusion-ej2-angular-inputs.mjs +1237 -0
- package/fesm2020/syncfusion-ej2-angular-inputs.mjs.map +1 -0
- package/package.json +27 -13
- package/schematics/utils/lib-details.d.ts +2 -2
- package/src/color-picker/colorpicker-all.module.d.ts +6 -0
- package/src/color-picker/colorpicker.component.d.ts +3 -0
- package/src/color-picker/colorpicker.module.d.ts +6 -0
- package/src/maskedtextbox/maskedtextbox-all.module.d.ts +6 -0
- package/src/maskedtextbox/maskedtextbox.component.d.ts +3 -0
- package/src/maskedtextbox/maskedtextbox.module.d.ts +6 -0
- package/src/numerictextbox/numerictextbox-all.module.d.ts +6 -0
- package/src/numerictextbox/numerictextbox.component.d.ts +3 -0
- package/src/numerictextbox/numerictextbox.module.d.ts +6 -0
- package/src/rating/rating-all.module.d.ts +6 -0
- package/src/rating/rating.component.d.ts +3 -0
- package/src/rating/rating.module.d.ts +6 -0
- package/src/signature/signature-all.module.d.ts +6 -0
- package/src/signature/signature.component.d.ts +3 -0
- package/src/signature/signature.module.d.ts +6 -0
- package/src/slider/slider-all.module.d.ts +6 -0
- package/src/slider/slider.component.d.ts +3 -0
- package/src/slider/slider.module.d.ts +6 -0
- package/src/textbox/textbox-all.module.d.ts +6 -0
- package/src/textbox/textbox.component.d.ts +3 -0
- package/src/textbox/textbox.module.d.ts +6 -0
- package/src/uploader/files.directive.d.ts +5 -0
- package/src/uploader/uploader-all.module.d.ts +6 -0
- package/src/uploader/uploader.component.d.ts +3 -0
- package/src/uploader/uploader.module.d.ts +7 -0
- package/styles/color-picker/_all.scss +2 -0
- package/styles/color-picker/_bootstrap-dark-definition.scss +131 -0
- package/styles/color-picker/_bootstrap-definition.scss +128 -0
- package/styles/color-picker/_bootstrap4-definition.scss +127 -0
- package/styles/color-picker/_bootstrap5-dark-definition.scss +1 -0
- package/styles/color-picker/_bootstrap5-definition.scss +133 -0
- package/styles/color-picker/_fabric-dark-definition.scss +131 -0
- package/styles/color-picker/_fabric-definition.scss +127 -0
- package/styles/color-picker/_fluent-dark-definition.scss +1 -0
- package/styles/color-picker/_fluent-definition.scss +133 -0
- package/styles/color-picker/_fusionnew-definition.scss +133 -0
- package/styles/color-picker/_highcontrast-definition.scss +127 -0
- package/styles/color-picker/_highcontrast-light-definition.scss +130 -0
- package/styles/color-picker/_layout.scss +1304 -0
- package/styles/color-picker/_material-dark-definition.scss +135 -0
- package/styles/color-picker/_material-definition.scss +130 -0
- package/styles/color-picker/_material3-dark-definition.scss +1 -0
- package/styles/color-picker/_material3-definition.scss +141 -0
- package/styles/color-picker/_tailwind-dark-definition.scss +1 -0
- package/styles/color-picker/_tailwind-definition.scss +132 -0
- package/styles/color-picker/_theme.scss +191 -0
- package/styles/color-picker/bootstrap-dark.scss +11 -1
- package/styles/color-picker/bootstrap.scss +11 -1
- package/styles/color-picker/bootstrap4.scss +11 -1
- package/styles/color-picker/bootstrap5-dark.scss +11 -1
- package/styles/color-picker/bootstrap5.scss +11 -1
- package/styles/color-picker/fabric-dark.scss +11 -1
- package/styles/color-picker/fabric.scss +11 -1
- package/styles/color-picker/fluent-dark.scss +11 -1
- package/styles/color-picker/fluent.scss +11 -1
- package/styles/color-picker/highcontrast-light.scss +11 -1
- package/styles/color-picker/highcontrast.scss +11 -1
- package/styles/color-picker/icons/_bootstrap-dark.scss +9 -0
- package/styles/color-picker/icons/_bootstrap.scss +9 -0
- package/styles/color-picker/icons/_bootstrap4.scss +9 -0
- package/styles/color-picker/icons/_bootstrap5-dark.scss +1 -0
- package/styles/color-picker/icons/_bootstrap5.scss +9 -0
- package/styles/color-picker/icons/_fabric-dark.scss +9 -0
- package/styles/color-picker/icons/_fabric.scss +9 -0
- package/styles/color-picker/icons/_fluent-dark.scss +1 -0
- package/styles/color-picker/icons/_fluent.scss +9 -0
- package/styles/color-picker/icons/_fusionnew.scss +9 -0
- package/styles/color-picker/icons/_highcontrast-light.scss +9 -0
- package/styles/color-picker/icons/_highcontrast.scss +9 -0
- package/styles/color-picker/icons/_material-dark.scss +9 -0
- package/styles/color-picker/icons/_material.scss +9 -0
- package/styles/color-picker/icons/_material3-dark.scss +1 -0
- package/styles/color-picker/icons/_material3.scss +9 -0
- package/styles/color-picker/icons/_tailwind-dark.scss +9 -0
- package/styles/color-picker/icons/_tailwind.scss +9 -0
- package/styles/color-picker/material-dark.scss +11 -1
- package/styles/color-picker/material.scss +11 -1
- package/styles/color-picker/material3-dark.scss +11 -1
- package/styles/color-picker/material3.scss +11 -1
- package/styles/color-picker/tailwind-dark.scss +11 -1
- package/styles/color-picker/tailwind.scss +11 -1
- package/styles/input/_all.scss +3 -0
- package/styles/input/_bootstrap-dark-definition.scss +329 -0
- package/styles/input/_bootstrap-definition.scss +320 -0
- package/styles/input/_bootstrap4-definition.scss +325 -0
- package/styles/input/_bootstrap5-dark-definition.scss +1 -0
- package/styles/input/_bootstrap5-definition.scss +336 -0
- package/styles/input/_definition.scss +232 -0
- package/styles/input/_fabric-dark-definition.scss +319 -0
- package/styles/input/_fabric-definition.scss +311 -0
- package/styles/input/_fluent-dark-definition.scss +1 -0
- package/styles/input/_fluent-definition.scss +338 -0
- package/styles/input/_fusionnew-definition.scss +336 -0
- package/styles/input/_highcontrast-definition.scss +312 -0
- package/styles/input/_highcontrast-light-definition.scss +320 -0
- package/styles/input/_layout.scss +11285 -0
- package/styles/input/_material-dark-definition.scss +573 -0
- package/styles/input/_material-definition.scss +573 -0
- package/styles/input/_material3-dark-definition.scss +1 -0
- package/styles/input/_material3-definition.scss +548 -0
- package/styles/input/_responsive.scss +1 -0
- package/styles/input/_tailwind-dark-definition.scss +1 -0
- package/styles/input/_tailwind-definition.scss +335 -0
- package/styles/input/_theme.scss +4284 -0
- package/styles/input/bootstrap-dark.scss +4 -1
- package/styles/input/bootstrap.scss +4 -1
- package/styles/input/bootstrap4.scss +4 -1
- package/styles/input/bootstrap5-dark.scss +4 -1
- package/styles/input/bootstrap5.scss +4 -1
- package/styles/input/fabric-dark.scss +4 -1
- package/styles/input/fabric.scss +4 -1
- package/styles/input/fluent-dark.scss +4 -1
- package/styles/input/fluent.scss +4 -1
- package/styles/input/highcontrast-light.scss +4 -1
- package/styles/input/highcontrast.scss +4 -1
- package/styles/input/icons/_bootstrap-dark.scss +17 -0
- package/styles/input/icons/_bootstrap.scss +17 -0
- package/styles/input/icons/_bootstrap4.scss +17 -0
- package/styles/input/icons/_bootstrap5-dark.scss +1 -0
- package/styles/input/icons/_bootstrap5.scss +17 -0
- package/styles/input/icons/_fabric-dark.scss +17 -0
- package/styles/input/icons/_fabric.scss +17 -0
- package/styles/input/icons/_fluent-dark.scss +1 -0
- package/styles/input/icons/_fluent.scss +17 -0
- package/styles/input/icons/_fusionnew.scss +17 -0
- package/styles/input/icons/_highcontrast-light.scss +17 -0
- package/styles/input/icons/_highcontrast.scss +17 -0
- package/styles/input/icons/_material-dark.scss +49 -0
- package/styles/input/icons/_material.scss +49 -0
- package/styles/input/icons/_material3-dark.scss +1 -0
- package/styles/input/icons/_material3.scss +17 -0
- package/styles/input/icons/_tailwind-dark.scss +1 -0
- package/styles/input/icons/_tailwind.scss +17 -0
- package/styles/input/material-dark.scss +4 -1
- package/styles/input/material.scss +4 -1
- package/styles/input/material3-dark.scss +4 -1
- package/styles/input/material3.scss +4 -1
- package/styles/input/tailwind-dark.scss +4 -1
- package/styles/input/tailwind.scss +4 -1
- package/styles/maskedtextbox/_all.scss +2 -0
- package/styles/maskedtextbox/_bootstrap-dark-definition.scss +7 -0
- package/styles/maskedtextbox/_bootstrap-definition.scss +4 -0
- package/styles/maskedtextbox/_bootstrap4-definition.scss +4 -0
- package/styles/maskedtextbox/_bootstrap5-dark-definition.scss +1 -0
- package/styles/maskedtextbox/_bootstrap5-definition.scss +7 -0
- package/styles/maskedtextbox/_fabric-dark-definition.scss +7 -0
- package/styles/maskedtextbox/_fabric-definition.scss +4 -0
- package/styles/maskedtextbox/_fluent-dark-definition.scss +1 -0
- package/styles/maskedtextbox/_fluent-definition.scss +7 -0
- package/styles/maskedtextbox/_fusionnew-definition.scss +7 -0
- package/styles/maskedtextbox/_highcontrast-definition.scss +4 -0
- package/styles/maskedtextbox/_highcontrast-light-definition.scss +7 -0
- package/styles/maskedtextbox/_layout.scss +33 -0
- package/styles/maskedtextbox/_material-dark-definition.scss +7 -0
- package/styles/maskedtextbox/_material-definition.scss +4 -0
- package/styles/maskedtextbox/_material3-dark-definition.scss +1 -0
- package/styles/maskedtextbox/_material3-definition.scss +4 -0
- package/styles/maskedtextbox/_tailwind-dark-definition.scss +1 -0
- package/styles/maskedtextbox/_tailwind-definition.scss +7 -0
- package/styles/maskedtextbox/_theme.scss +15 -0
- package/styles/maskedtextbox/bootstrap-dark.scss +4 -1
- package/styles/maskedtextbox/bootstrap.scss +4 -1
- package/styles/maskedtextbox/bootstrap4.scss +4 -1
- package/styles/maskedtextbox/bootstrap5-dark.scss +4 -1
- package/styles/maskedtextbox/bootstrap5.scss +4 -1
- package/styles/maskedtextbox/fabric-dark.scss +4 -1
- package/styles/maskedtextbox/fabric.scss +4 -1
- package/styles/maskedtextbox/fluent-dark.scss +4 -1
- package/styles/maskedtextbox/fluent.scss +4 -1
- package/styles/maskedtextbox/highcontrast-light.scss +4 -1
- package/styles/maskedtextbox/highcontrast.scss +4 -1
- package/styles/maskedtextbox/material-dark.scss +4 -1
- package/styles/maskedtextbox/material.scss +4 -1
- package/styles/maskedtextbox/material3-dark.scss +4 -1
- package/styles/maskedtextbox/material3.scss +4 -1
- package/styles/maskedtextbox/tailwind-dark.scss +4 -1
- package/styles/maskedtextbox/tailwind.scss +4 -1
- package/styles/material3-dark.css +0 -448
- package/styles/material3-dark.scss +1 -0
- package/styles/material3.css +33 -921
- package/styles/material3.scss +1 -0
- package/styles/numerictextbox/_all.scss +2 -0
- package/styles/numerictextbox/_bootstrap-dark-definition.scss +6 -0
- package/styles/numerictextbox/_bootstrap-definition.scss +3 -0
- package/styles/numerictextbox/_bootstrap4-definition.scss +3 -0
- package/styles/numerictextbox/_bootstrap5-dark-definition.scss +1 -0
- package/styles/numerictextbox/_bootstrap5-definition.scss +3 -0
- package/styles/numerictextbox/_fabric-dark-definition.scss +6 -0
- package/styles/numerictextbox/_fabric-definition.scss +3 -0
- package/styles/numerictextbox/_fluent-dark-definition.scss +1 -0
- package/styles/numerictextbox/_fluent-definition.scss +5 -0
- package/styles/numerictextbox/_fusionnew-definition.scss +3 -0
- package/styles/numerictextbox/_highcontrast-definition.scss +3 -0
- package/styles/numerictextbox/_highcontrast-light-definition.scss +6 -0
- package/styles/numerictextbox/_layout.scss +30 -0
- package/styles/numerictextbox/_material-dark-definition.scss +6 -0
- package/styles/numerictextbox/_material-definition.scss +3 -0
- package/styles/numerictextbox/_material3-dark-definition.scss +1 -0
- package/styles/numerictextbox/_material3-definition.scss +4 -0
- package/styles/numerictextbox/_tailwind-dark-definition.scss +1 -0
- package/styles/numerictextbox/_tailwind-definition.scss +3 -0
- package/styles/numerictextbox/_theme.scss +39 -0
- package/styles/numerictextbox/bootstrap-dark.scss +5 -1
- package/styles/numerictextbox/bootstrap.scss +5 -1
- package/styles/numerictextbox/bootstrap4.scss +5 -1
- package/styles/numerictextbox/bootstrap5-dark.scss +5 -1
- package/styles/numerictextbox/bootstrap5.scss +5 -1
- package/styles/numerictextbox/fabric-dark.scss +5 -1
- package/styles/numerictextbox/fabric.scss +5 -1
- package/styles/numerictextbox/fluent-dark.scss +5 -1
- package/styles/numerictextbox/fluent.scss +5 -1
- package/styles/numerictextbox/highcontrast-light.scss +5 -1
- package/styles/numerictextbox/highcontrast.scss +5 -1
- package/styles/numerictextbox/icons/_bootstrap-dark.scss +11 -0
- package/styles/numerictextbox/icons/_bootstrap.scss +11 -0
- package/styles/numerictextbox/icons/_bootstrap4.scss +11 -0
- package/styles/numerictextbox/icons/_bootstrap5-dark.scss +1 -0
- package/styles/numerictextbox/icons/_bootstrap5.scss +11 -0
- package/styles/numerictextbox/icons/_fabric-dark.scss +11 -0
- package/styles/numerictextbox/icons/_fabric.scss +11 -0
- package/styles/numerictextbox/icons/_fluent-dark.scss +1 -0
- package/styles/numerictextbox/icons/_fluent.scss +11 -0
- package/styles/numerictextbox/icons/_fusionnew.scss +11 -0
- package/styles/numerictextbox/icons/_highcontrast-light.scss +11 -0
- package/styles/numerictextbox/icons/_highcontrast.scss +11 -0
- package/styles/numerictextbox/icons/_material-dark.scss +11 -0
- package/styles/numerictextbox/icons/_material.scss +11 -0
- package/styles/numerictextbox/icons/_material3-dark.scss +1 -0
- package/styles/numerictextbox/icons/_material3.scss +11 -0
- package/styles/numerictextbox/icons/_tailwind-dark.scss +1 -0
- package/styles/numerictextbox/icons/_tailwind.scss +11 -0
- package/styles/numerictextbox/material-dark.scss +5 -1
- package/styles/numerictextbox/material.scss +5 -1
- package/styles/numerictextbox/material3-dark.scss +5 -1
- package/styles/numerictextbox/material3.scss +5 -1
- package/styles/numerictextbox/tailwind-dark.scss +5 -1
- package/styles/numerictextbox/tailwind.scss +5 -1
- package/styles/rating/_all.scss +2 -0
- package/styles/rating/_bootstrap-dark-definition.scss +47 -0
- package/styles/rating/_bootstrap-definition.scss +47 -0
- package/styles/rating/_bootstrap4-definition.scss +47 -0
- package/styles/rating/_bootstrap5-dark-definition.scss +1 -0
- package/styles/rating/_bootstrap5-definition.scss +47 -0
- package/styles/rating/_fabric-dark-definition.scss +47 -0
- package/styles/rating/_fabric-definition.scss +47 -0
- package/styles/rating/_fluent-dark-definition.scss +1 -0
- package/styles/rating/_fluent-definition.scss +47 -0
- package/styles/rating/_fusionnew-definition.scss +47 -0
- package/styles/rating/_highcontrast-definition.scss +47 -0
- package/styles/rating/_highcontrast-light-definition.scss +47 -0
- package/styles/rating/_layout.scss +211 -0
- package/styles/rating/_material-dark-definition.scss +47 -0
- package/styles/rating/_material-definition.scss +47 -0
- package/styles/rating/_material3-dark-definition.scss +1 -0
- package/styles/rating/_material3-definition.scss +47 -0
- package/styles/rating/_tailwind-dark-definition.scss +1 -0
- package/styles/rating/_tailwind-definition.scss +47 -0
- package/styles/rating/_theme.scss +192 -0
- package/styles/rating/bootstrap-dark.scss +4 -1
- package/styles/rating/bootstrap.scss +4 -1
- package/styles/rating/bootstrap4.scss +4 -1
- package/styles/rating/bootstrap5-dark.scss +4 -1
- package/styles/rating/bootstrap5.scss +4 -1
- package/styles/rating/fabric-dark.scss +4 -1
- package/styles/rating/fabric.scss +4 -1
- package/styles/rating/fluent-dark.scss +4 -1
- package/styles/rating/fluent.scss +4 -1
- package/styles/rating/highcontrast-light.scss +4 -1
- package/styles/rating/highcontrast.scss +4 -1
- package/styles/rating/material-dark.scss +4 -1
- package/styles/rating/material.scss +4 -1
- package/styles/rating/material3-dark.scss +4 -1
- package/styles/rating/material3.scss +4 -1
- package/styles/rating/tailwind-dark.scss +4 -1
- package/styles/rating/tailwind.scss +4 -1
- package/styles/signature/_all.scss +2 -0
- package/styles/signature/_bootstrap-dark-definition.scss +3 -0
- package/styles/signature/_bootstrap-definition.scss +3 -0
- package/styles/signature/_bootstrap4-definition.scss +3 -0
- package/styles/signature/_bootstrap5-dark-definition.scss +1 -0
- package/styles/signature/_bootstrap5-definition.scss +3 -0
- package/styles/signature/_fabric-dark-definition.scss +3 -0
- package/styles/signature/_fabric-definition.scss +3 -0
- package/styles/signature/_fluent-dark-definition.scss +1 -0
- package/styles/signature/_fluent-definition.scss +3 -0
- package/styles/signature/_fusionnew-definition.scss +3 -0
- package/styles/signature/_highcontrast-definition.scss +3 -0
- package/styles/signature/_highcontrast-light-definition.scss +3 -0
- package/styles/signature/_layout.scss +5 -0
- package/styles/signature/_material-dark-definition.scss +3 -0
- package/styles/signature/_material-definition.scss +3 -0
- package/styles/signature/_material3-dark-definition.scss +1 -0
- package/styles/signature/_material3-definition.scss +3 -0
- package/styles/signature/_tailwind-dark-definition.scss +1 -0
- package/styles/signature/_tailwind-definition.scss +3 -0
- package/styles/signature/_theme.scss +7 -0
- package/styles/signature/bootstrap-dark.scss +3 -1
- package/styles/signature/bootstrap.scss +3 -1
- package/styles/signature/bootstrap4.scss +3 -1
- package/styles/signature/bootstrap5-dark.scss +3 -1
- package/styles/signature/bootstrap5.scss +3 -1
- package/styles/signature/fabric-dark.scss +3 -1
- package/styles/signature/fabric.scss +3 -1
- package/styles/signature/fluent-dark.scss +3 -1
- package/styles/signature/fluent.scss +3 -1
- package/styles/signature/highcontrast-light.scss +3 -1
- package/styles/signature/highcontrast.scss +3 -1
- package/styles/signature/material-dark.scss +3 -1
- package/styles/signature/material.scss +3 -1
- package/styles/signature/material3-dark.scss +3 -1
- package/styles/signature/material3.scss +3 -1
- package/styles/signature/tailwind-dark.scss +3 -1
- package/styles/signature/tailwind.scss +3 -1
- package/styles/slider/_all.scss +3 -0
- package/styles/slider/_bootstrap-dark-definition.scss +156 -0
- package/styles/slider/_bootstrap-definition.scss +152 -0
- package/styles/slider/_bootstrap4-definition.scss +147 -0
- package/styles/slider/_bootstrap5-dark-definition.scss +1 -0
- package/styles/slider/_bootstrap5-definition.scss +90 -0
- package/styles/slider/_fabric-dark-definition.scss +162 -0
- package/styles/slider/_fabric-definition.scss +156 -0
- package/styles/slider/_fluent-dark-definition.scss +1 -0
- package/styles/slider/_fluent-definition.scss +74 -0
- package/styles/slider/_fusionnew-definition.scss +90 -0
- package/styles/slider/_highcontrast-definition.scss +145 -0
- package/styles/slider/_highcontrast-light-definition.scss +149 -0
- package/styles/slider/_icons.scss +1 -0
- package/styles/slider/_layout.scss +2485 -0
- package/styles/slider/_material-dark-definition.scss +159 -0
- package/styles/slider/_material-definition.scss +154 -0
- package/styles/slider/_material3-dark-definition.scss +1 -0
- package/styles/slider/_material3-definition.scss +97 -0
- package/styles/slider/_tailwind-dark-definition.scss +1 -0
- package/styles/slider/_tailwind-definition.scss +84 -0
- package/styles/slider/_theme.scss +249 -0
- package/styles/slider/bootstrap-dark.scss +5 -1
- package/styles/slider/bootstrap.scss +5 -1
- package/styles/slider/bootstrap4.scss +5 -1
- package/styles/slider/bootstrap5-dark.scss +5 -1
- package/styles/slider/bootstrap5.scss +5 -1
- package/styles/slider/fabric-dark.scss +5 -1
- package/styles/slider/fabric.scss +5 -1
- package/styles/slider/fluent-dark.scss +5 -1
- package/styles/slider/fluent.scss +5 -1
- package/styles/slider/highcontrast-light.scss +5 -1
- package/styles/slider/highcontrast.scss +5 -1
- package/styles/slider/material-dark.scss +5 -1
- package/styles/slider/material.scss +5 -1
- package/styles/slider/material3-dark.scss +5 -1
- package/styles/slider/material3.scss +5 -1
- package/styles/slider/tailwind-dark.scss +5 -1
- package/styles/slider/tailwind.scss +5 -1
- package/styles/textbox/_all.scss +1 -0
- package/styles/textbox/_bootstrap-dark-definition.scss +4 -0
- package/styles/textbox/_bootstrap-definition.scss +4 -0
- package/styles/textbox/_bootstrap4-definition.scss +4 -0
- package/styles/textbox/_bootstrap5-dark-definition.scss +1 -0
- package/styles/textbox/_bootstrap5-definition.scss +4 -0
- package/styles/textbox/_fabric-dark-definition.scss +4 -0
- package/styles/textbox/_fabric-definition.scss +4 -0
- package/styles/textbox/_fluent-dark-definition.scss +1 -0
- package/styles/textbox/_fluent-definition.scss +4 -0
- package/styles/textbox/_fusionnew-definition.scss +4 -0
- package/styles/textbox/_highcontrast-definition.scss +4 -0
- package/styles/textbox/_highcontrast-light-definition.scss +4 -0
- package/styles/textbox/_layout.scss +37 -0
- package/styles/textbox/_material-dark-definition.scss +4 -0
- package/styles/textbox/_material-definition.scss +4 -0
- package/styles/textbox/_material3-dark-definition.scss +1 -0
- package/styles/textbox/_material3-definition.scss +4 -0
- package/styles/textbox/_tailwind-dark-definition.scss +1 -0
- package/styles/textbox/_tailwind-definition.scss +4 -0
- package/styles/textbox/_theme.scss +1 -0
- package/styles/textbox/bootstrap-dark.scss +4 -1
- package/styles/textbox/bootstrap.scss +4 -1
- package/styles/textbox/bootstrap4.scss +4 -1
- package/styles/textbox/bootstrap5-dark.scss +4 -1
- package/styles/textbox/bootstrap5.scss +4 -1
- package/styles/textbox/fabric-dark.scss +4 -1
- package/styles/textbox/fabric.scss +4 -1
- package/styles/textbox/fluent-dark.scss +4 -1
- package/styles/textbox/fluent.scss +4 -1
- package/styles/textbox/highcontrast-light.scss +4 -1
- package/styles/textbox/highcontrast.scss +4 -1
- package/styles/textbox/material-dark.scss +4 -1
- package/styles/textbox/material.scss +4 -1
- package/styles/textbox/material3-dark.scss +4 -1
- package/styles/textbox/material3.scss +4 -1
- package/styles/textbox/tailwind-dark.scss +4 -1
- package/styles/textbox/tailwind.scss +4 -1
- package/styles/uploader/_all.scss +2 -0
- package/styles/uploader/_bootstrap-dark-definition.scss +213 -0
- package/styles/uploader/_bootstrap-definition.scss +208 -0
- package/styles/uploader/_bootstrap4-definition.scss +211 -0
- package/styles/uploader/_bootstrap5-dark-definition.scss +1 -0
- package/styles/uploader/_bootstrap5-definition.scss +216 -0
- package/styles/uploader/_definition.scss +142 -0
- package/styles/uploader/_fabric-dark-definition.scss +216 -0
- package/styles/uploader/_fabric-definition.scss +210 -0
- package/styles/uploader/_fluent-dark-definition.scss +1 -0
- package/styles/uploader/_fluent-definition.scss +234 -0
- package/styles/uploader/_fusionnew-definition.scss +216 -0
- package/styles/uploader/_highcontrast-definition.scss +211 -0
- package/styles/uploader/_highcontrast-light-definition.scss +219 -0
- package/styles/uploader/_layout.scss +989 -0
- package/styles/uploader/_material-dark-definition.scss +217 -0
- package/styles/uploader/_material-definition.scss +214 -0
- package/styles/uploader/_material3-dark-definition.scss +1 -0
- package/styles/uploader/_material3-definition.scss +215 -0
- package/styles/uploader/_tailwind-dark-definition.scss +1 -0
- package/styles/uploader/_tailwind-definition.scss +232 -0
- package/styles/uploader/_theme.scss +146 -0
- package/styles/uploader/bootstrap-dark.scss +6 -1
- package/styles/uploader/bootstrap.scss +6 -1
- package/styles/uploader/bootstrap4.scss +6 -1
- package/styles/uploader/bootstrap5-dark.scss +6 -1
- package/styles/uploader/bootstrap5.scss +6 -1
- package/styles/uploader/fabric-dark.scss +6 -1
- package/styles/uploader/fabric.scss +6 -1
- package/styles/uploader/fluent-dark.scss +6 -1
- package/styles/uploader/fluent.scss +6 -1
- package/styles/uploader/highcontrast-light.scss +6 -1
- package/styles/uploader/highcontrast.scss +6 -1
- package/styles/uploader/icons/_bootstrap-dark.scss +34 -0
- package/styles/uploader/icons/_bootstrap.scss +34 -0
- package/styles/uploader/icons/_bootstrap4.scss +34 -0
- package/styles/uploader/icons/_bootstrap5-dark.scss +1 -0
- package/styles/uploader/icons/_bootstrap5.scss +34 -0
- package/styles/uploader/icons/_fabric-dark.scss +34 -0
- package/styles/uploader/icons/_fabric.scss +34 -0
- package/styles/uploader/icons/_fluent-dark.scss +1 -0
- package/styles/uploader/icons/_fluent.scss +34 -0
- package/styles/uploader/icons/_fusionnew.scss +34 -0
- package/styles/uploader/icons/_highcontrast-light.scss +34 -0
- package/styles/uploader/icons/_highcontrast.scss +34 -0
- package/styles/uploader/icons/_material-dark.scss +34 -0
- package/styles/uploader/icons/_material.scss +34 -0
- package/styles/uploader/icons/_material3-dark.scss +1 -0
- package/styles/uploader/icons/_material3.scss +34 -0
- package/styles/uploader/icons/_tailwind-dark.scss +1 -0
- package/styles/uploader/icons/_tailwind.scss +34 -0
- package/styles/uploader/material-dark.scss +6 -1
- package/styles/uploader/material.scss +6 -1
- package/styles/uploader/material3-dark.scss +6 -1
- package/styles/uploader/material3.scss +6 -1
- package/styles/uploader/tailwind-dark.scss +6 -1
- package/styles/uploader/tailwind.scss +6 -1
- package/syncfusion-ej2-angular-inputs.d.ts +5 -0
- package/@syncfusion/ej2-angular-inputs.es5.js +0 -1759
- package/@syncfusion/ej2-angular-inputs.es5.js.map +0 -1
- package/@syncfusion/ej2-angular-inputs.js +0 -1657
- package/@syncfusion/ej2-angular-inputs.js.map +0 -1
- package/CHANGELOG.md +0 -1540
- package/dist/ej2-angular-inputs.umd.js +0 -1848
- package/dist/ej2-angular-inputs.umd.js.map +0 -1
- package/dist/ej2-angular-inputs.umd.min.js +0 -11
- package/dist/ej2-angular-inputs.umd.min.js.map +0 -1
- package/ej2-angular-inputs.d.ts +0 -12
- package/ej2-angular-inputs.metadata.json +0 -1
- package/postinstall/tagchange.js +0 -18
|
@@ -1,1759 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = Object.setPrototypeOf ||
|
|
3
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5
|
-
return function (d, b) {
|
|
6
|
-
extendStatics(d, b);
|
|
7
|
-
function __() { this.constructor = d; }
|
|
8
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
9
|
-
};
|
|
10
|
-
})();
|
|
11
|
-
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Directive, ElementRef, Injector, NgModule, Renderer2, ViewContainerRef, forwardRef } from '@angular/core';
|
|
12
|
-
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
13
|
-
import { ArrayBase, ComplexBase, ComponentBase, ComponentMixins, FormBase, Template, setValue } from '@syncfusion/ej2-angular-base';
|
|
14
|
-
import { ColorPicker, FormValidator, MaskedTextBox, NumericTextBox, Rating, Signature, Slider, TextBox, Uploader } from '@syncfusion/ej2-inputs';
|
|
15
|
-
import { CommonModule } from '@angular/common';
|
|
16
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
17
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
18
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
19
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
20
|
-
else
|
|
21
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
22
|
-
if (d = decorators[i])
|
|
23
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
-
};
|
|
26
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
27
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
28
|
-
return Reflect.metadata(k, v);
|
|
29
|
-
};
|
|
30
|
-
var inputs = ['autocomplete', 'cssClass', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'multiline', 'placeholder', 'readonly', 'showClearButton', 'type', 'value', 'width'];
|
|
31
|
-
var outputs = ['blur', 'change', 'created', 'destroyed', 'focus', 'input', 'valueChange'];
|
|
32
|
-
var twoWays = ['value'];
|
|
33
|
-
/**
|
|
34
|
-
* Represents the EJ2 Angular TextBox Component.
|
|
35
|
-
* ```html
|
|
36
|
-
* <ejs-textbox [value]='value'></ejs-textbox>
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
var TextBoxComponent = TextBoxComponent_1 = /** @class */ (function (_super) {
|
|
40
|
-
__extends(TextBoxComponent, _super);
|
|
41
|
-
/**
|
|
42
|
-
* @param {?} ngEle
|
|
43
|
-
* @param {?} srenderer
|
|
44
|
-
* @param {?} viewContainerRef
|
|
45
|
-
* @param {?} injector
|
|
46
|
-
*/
|
|
47
|
-
function TextBoxComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
48
|
-
var _this = _super.call(this) || this;
|
|
49
|
-
_this.ngEle = ngEle;
|
|
50
|
-
_this.srenderer = srenderer;
|
|
51
|
-
_this.viewContainerRef = viewContainerRef;
|
|
52
|
-
_this.injector = injector;
|
|
53
|
-
_this.skipFromEvent = true;
|
|
54
|
-
_this.element = _this.ngEle.nativeElement;
|
|
55
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
56
|
-
_this.registerEvents(outputs);
|
|
57
|
-
_this.addTwoWay.call(_this, twoWays);
|
|
58
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
59
|
-
_this.formContext = new FormBase();
|
|
60
|
-
_this.formCompContext = new ComponentBase();
|
|
61
|
-
return _this;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* @param {?} registerFunction
|
|
65
|
-
* @return {?}
|
|
66
|
-
*/
|
|
67
|
-
TextBoxComponent.prototype.registerOnChange = function (registerFunction) {
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* @param {?} registerFunction
|
|
71
|
-
* @return {?}
|
|
72
|
-
*/
|
|
73
|
-
TextBoxComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* @param {?} value
|
|
77
|
-
* @return {?}
|
|
78
|
-
*/
|
|
79
|
-
TextBoxComponent.prototype.writeValue = function (value) {
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* @param {?} disabled
|
|
83
|
-
* @return {?}
|
|
84
|
-
*/
|
|
85
|
-
TextBoxComponent.prototype.setDisabledState = function (disabled) {
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* @return {?}
|
|
89
|
-
*/
|
|
90
|
-
TextBoxComponent.prototype.ngOnInit = function () {
|
|
91
|
-
this.formCompContext.ngOnInit(this);
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* @return {?}
|
|
95
|
-
*/
|
|
96
|
-
TextBoxComponent.prototype.ngAfterViewInit = function () {
|
|
97
|
-
this.formContext.ngAfterViewInit(this);
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* @return {?}
|
|
101
|
-
*/
|
|
102
|
-
TextBoxComponent.prototype.ngOnDestroy = function () {
|
|
103
|
-
this.formCompContext.ngOnDestroy(this);
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* @return {?}
|
|
107
|
-
*/
|
|
108
|
-
TextBoxComponent.prototype.ngAfterContentChecked = function () {
|
|
109
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
110
|
-
};
|
|
111
|
-
return TextBoxComponent;
|
|
112
|
-
}(TextBox));
|
|
113
|
-
TextBoxComponent.decorators = [
|
|
114
|
-
{ type: Component, args: [{
|
|
115
|
-
selector: 'ejs-textbox',
|
|
116
|
-
inputs: inputs,
|
|
117
|
-
outputs: outputs,
|
|
118
|
-
template: '',
|
|
119
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
120
|
-
providers: [
|
|
121
|
-
{
|
|
122
|
-
provide: NG_VALUE_ACCESSOR,
|
|
123
|
-
useExisting: forwardRef(function () { return TextBoxComponent_1; }),
|
|
124
|
-
multi: true
|
|
125
|
-
}
|
|
126
|
-
],
|
|
127
|
-
queries: {}
|
|
128
|
-
},] },
|
|
129
|
-
];
|
|
130
|
-
/**
|
|
131
|
-
* @nocollapse
|
|
132
|
-
*/
|
|
133
|
-
TextBoxComponent.ctorParameters = function () { return [
|
|
134
|
-
{ type: ElementRef, },
|
|
135
|
-
{ type: Renderer2, },
|
|
136
|
-
{ type: ViewContainerRef, },
|
|
137
|
-
{ type: Injector, },
|
|
138
|
-
]; };
|
|
139
|
-
TextBoxComponent = TextBoxComponent_1 = __decorate([
|
|
140
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
141
|
-
__metadata("design:paramtypes", [ElementRef,
|
|
142
|
-
Renderer2,
|
|
143
|
-
ViewContainerRef,
|
|
144
|
-
Injector])
|
|
145
|
-
], TextBoxComponent);
|
|
146
|
-
var TextBoxComponent_1;
|
|
147
|
-
/**
|
|
148
|
-
* NgModule definition for the TextBox component.
|
|
149
|
-
*/
|
|
150
|
-
var TextBoxModule = /** @class */ (function () {
|
|
151
|
-
function TextBoxModule() {
|
|
152
|
-
}
|
|
153
|
-
return TextBoxModule;
|
|
154
|
-
}());
|
|
155
|
-
TextBoxModule.decorators = [
|
|
156
|
-
{ type: NgModule, args: [{
|
|
157
|
-
imports: [CommonModule],
|
|
158
|
-
declarations: [
|
|
159
|
-
TextBoxComponent
|
|
160
|
-
],
|
|
161
|
-
exports: [
|
|
162
|
-
TextBoxComponent
|
|
163
|
-
]
|
|
164
|
-
},] },
|
|
165
|
-
];
|
|
166
|
-
/**
|
|
167
|
-
* @nocollapse
|
|
168
|
-
*/
|
|
169
|
-
TextBoxModule.ctorParameters = function () { return []; };
|
|
170
|
-
/**
|
|
171
|
-
* NgModule definition for the TextBox component with providers.
|
|
172
|
-
*/
|
|
173
|
-
var TextBoxAllModule = /** @class */ (function () {
|
|
174
|
-
function TextBoxAllModule() {
|
|
175
|
-
}
|
|
176
|
-
return TextBoxAllModule;
|
|
177
|
-
}());
|
|
178
|
-
TextBoxAllModule.decorators = [
|
|
179
|
-
{ type: NgModule, args: [{
|
|
180
|
-
imports: [CommonModule, TextBoxModule],
|
|
181
|
-
exports: [
|
|
182
|
-
TextBoxModule
|
|
183
|
-
],
|
|
184
|
-
providers: []
|
|
185
|
-
},] },
|
|
186
|
-
];
|
|
187
|
-
/**
|
|
188
|
-
* @nocollapse
|
|
189
|
-
*/
|
|
190
|
-
TextBoxAllModule.ctorParameters = function () { return []; };
|
|
191
|
-
var __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
192
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
193
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
194
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
195
|
-
else
|
|
196
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
197
|
-
if (d = decorators[i])
|
|
198
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
199
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
200
|
-
};
|
|
201
|
-
var __metadata$1 = (this && this.__metadata) || function (k, v) {
|
|
202
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
203
|
-
return Reflect.metadata(k, v);
|
|
204
|
-
};
|
|
205
|
-
var inputs$1 = ['cssClass', 'currency', 'currencyCode', 'decimals', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'format', 'htmlAttributes', 'locale', 'max', 'min', 'placeholder', 'readonly', 'showClearButton', 'showSpinButton', 'step', 'strictMode', 'validateDecimalOnType', 'value', 'width'];
|
|
206
|
-
var outputs$1 = ['blur', 'change', 'created', 'destroyed', 'focus', 'valueChange'];
|
|
207
|
-
var twoWays$1 = ['value'];
|
|
208
|
-
/**
|
|
209
|
-
* Represents the EJ2 Angular NumericTextBox Component.
|
|
210
|
-
* ```html
|
|
211
|
-
* <ej-numerictextbox [value]='value'></ej-numerictextbox>
|
|
212
|
-
* ```
|
|
213
|
-
*/
|
|
214
|
-
var NumericTextBoxComponent = NumericTextBoxComponent_1 = /** @class */ (function (_super) {
|
|
215
|
-
__extends(NumericTextBoxComponent, _super);
|
|
216
|
-
/**
|
|
217
|
-
* @param {?} ngEle
|
|
218
|
-
* @param {?} srenderer
|
|
219
|
-
* @param {?} viewContainerRef
|
|
220
|
-
* @param {?} injector
|
|
221
|
-
*/
|
|
222
|
-
function NumericTextBoxComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
223
|
-
var _this = _super.call(this) || this;
|
|
224
|
-
_this.ngEle = ngEle;
|
|
225
|
-
_this.srenderer = srenderer;
|
|
226
|
-
_this.viewContainerRef = viewContainerRef;
|
|
227
|
-
_this.injector = injector;
|
|
228
|
-
_this.skipFromEvent = true;
|
|
229
|
-
_this.element = _this.ngEle.nativeElement;
|
|
230
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
231
|
-
_this.registerEvents(outputs$1);
|
|
232
|
-
_this.addTwoWay.call(_this, twoWays$1);
|
|
233
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
234
|
-
_this.formContext = new FormBase();
|
|
235
|
-
_this.formCompContext = new ComponentBase();
|
|
236
|
-
return _this;
|
|
237
|
-
}
|
|
238
|
-
/**
|
|
239
|
-
* @param {?} registerFunction
|
|
240
|
-
* @return {?}
|
|
241
|
-
*/
|
|
242
|
-
NumericTextBoxComponent.prototype.registerOnChange = function (registerFunction) {
|
|
243
|
-
};
|
|
244
|
-
/**
|
|
245
|
-
* @param {?} registerFunction
|
|
246
|
-
* @return {?}
|
|
247
|
-
*/
|
|
248
|
-
NumericTextBoxComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
249
|
-
};
|
|
250
|
-
/**
|
|
251
|
-
* @param {?} value
|
|
252
|
-
* @return {?}
|
|
253
|
-
*/
|
|
254
|
-
NumericTextBoxComponent.prototype.writeValue = function (value) {
|
|
255
|
-
};
|
|
256
|
-
/**
|
|
257
|
-
* @param {?} disabled
|
|
258
|
-
* @return {?}
|
|
259
|
-
*/
|
|
260
|
-
NumericTextBoxComponent.prototype.setDisabledState = function (disabled) {
|
|
261
|
-
};
|
|
262
|
-
/**
|
|
263
|
-
* @return {?}
|
|
264
|
-
*/
|
|
265
|
-
NumericTextBoxComponent.prototype.ngOnInit = function () {
|
|
266
|
-
this.formCompContext.ngOnInit(this);
|
|
267
|
-
};
|
|
268
|
-
/**
|
|
269
|
-
* @return {?}
|
|
270
|
-
*/
|
|
271
|
-
NumericTextBoxComponent.prototype.ngAfterViewInit = function () {
|
|
272
|
-
this.formContext.ngAfterViewInit(this);
|
|
273
|
-
};
|
|
274
|
-
/**
|
|
275
|
-
* @return {?}
|
|
276
|
-
*/
|
|
277
|
-
NumericTextBoxComponent.prototype.ngOnDestroy = function () {
|
|
278
|
-
this.formCompContext.ngOnDestroy(this);
|
|
279
|
-
};
|
|
280
|
-
/**
|
|
281
|
-
* @return {?}
|
|
282
|
-
*/
|
|
283
|
-
NumericTextBoxComponent.prototype.ngAfterContentChecked = function () {
|
|
284
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
285
|
-
};
|
|
286
|
-
return NumericTextBoxComponent;
|
|
287
|
-
}(NumericTextBox));
|
|
288
|
-
NumericTextBoxComponent.decorators = [
|
|
289
|
-
{ type: Component, args: [{
|
|
290
|
-
selector: 'ejs-numerictextbox',
|
|
291
|
-
inputs: inputs$1,
|
|
292
|
-
outputs: outputs$1,
|
|
293
|
-
template: '',
|
|
294
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
295
|
-
providers: [
|
|
296
|
-
{
|
|
297
|
-
provide: NG_VALUE_ACCESSOR,
|
|
298
|
-
useExisting: forwardRef(function () { return NumericTextBoxComponent_1; }),
|
|
299
|
-
multi: true
|
|
300
|
-
}
|
|
301
|
-
],
|
|
302
|
-
queries: {}
|
|
303
|
-
},] },
|
|
304
|
-
];
|
|
305
|
-
/**
|
|
306
|
-
* @nocollapse
|
|
307
|
-
*/
|
|
308
|
-
NumericTextBoxComponent.ctorParameters = function () { return [
|
|
309
|
-
{ type: ElementRef, },
|
|
310
|
-
{ type: Renderer2, },
|
|
311
|
-
{ type: ViewContainerRef, },
|
|
312
|
-
{ type: Injector, },
|
|
313
|
-
]; };
|
|
314
|
-
NumericTextBoxComponent = NumericTextBoxComponent_1 = __decorate$1([
|
|
315
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
316
|
-
__metadata$1("design:paramtypes", [ElementRef,
|
|
317
|
-
Renderer2,
|
|
318
|
-
ViewContainerRef,
|
|
319
|
-
Injector])
|
|
320
|
-
], NumericTextBoxComponent);
|
|
321
|
-
var NumericTextBoxComponent_1;
|
|
322
|
-
/**
|
|
323
|
-
* NgModule definition for the NumericTextBox component.
|
|
324
|
-
*/
|
|
325
|
-
var NumericTextBoxModule = /** @class */ (function () {
|
|
326
|
-
function NumericTextBoxModule() {
|
|
327
|
-
}
|
|
328
|
-
return NumericTextBoxModule;
|
|
329
|
-
}());
|
|
330
|
-
NumericTextBoxModule.decorators = [
|
|
331
|
-
{ type: NgModule, args: [{
|
|
332
|
-
imports: [CommonModule],
|
|
333
|
-
declarations: [
|
|
334
|
-
NumericTextBoxComponent
|
|
335
|
-
],
|
|
336
|
-
exports: [
|
|
337
|
-
NumericTextBoxComponent
|
|
338
|
-
]
|
|
339
|
-
},] },
|
|
340
|
-
];
|
|
341
|
-
/**
|
|
342
|
-
* @nocollapse
|
|
343
|
-
*/
|
|
344
|
-
NumericTextBoxModule.ctorParameters = function () { return []; };
|
|
345
|
-
/**
|
|
346
|
-
* NgModule definition for the NumericTextBox component with providers.
|
|
347
|
-
*/
|
|
348
|
-
var NumericTextBoxAllModule = /** @class */ (function () {
|
|
349
|
-
function NumericTextBoxAllModule() {
|
|
350
|
-
}
|
|
351
|
-
return NumericTextBoxAllModule;
|
|
352
|
-
}());
|
|
353
|
-
NumericTextBoxAllModule.decorators = [
|
|
354
|
-
{ type: NgModule, args: [{
|
|
355
|
-
imports: [CommonModule, NumericTextBoxModule],
|
|
356
|
-
exports: [
|
|
357
|
-
NumericTextBoxModule
|
|
358
|
-
],
|
|
359
|
-
providers: []
|
|
360
|
-
},] },
|
|
361
|
-
];
|
|
362
|
-
/**
|
|
363
|
-
* @nocollapse
|
|
364
|
-
*/
|
|
365
|
-
NumericTextBoxAllModule.ctorParameters = function () { return []; };
|
|
366
|
-
var __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
367
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
368
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
369
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
370
|
-
else
|
|
371
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
372
|
-
if (d = decorators[i])
|
|
373
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
374
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
375
|
-
};
|
|
376
|
-
var __metadata$2 = (this && this.__metadata) || function (k, v) {
|
|
377
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
378
|
-
return Reflect.metadata(k, v);
|
|
379
|
-
};
|
|
380
|
-
var inputs$2 = ['cssClass', 'customCharacters', 'enablePersistence', 'enableRtl', 'enabled', 'floatLabelType', 'htmlAttributes', 'locale', 'mask', 'placeholder', 'promptChar', 'readonly', 'showClearButton', 'value', 'width'];
|
|
381
|
-
var outputs$2 = ['blur', 'change', 'created', 'destroyed', 'focus', 'valueChange'];
|
|
382
|
-
var twoWays$2 = ['value'];
|
|
383
|
-
/**
|
|
384
|
-
* Represents the EJ2 Angular MaskedTextbox Component.
|
|
385
|
-
* ```html
|
|
386
|
-
* <ej-maskedtextbox [value]='value'></ej-maskedtextbox>
|
|
387
|
-
* ```
|
|
388
|
-
*/
|
|
389
|
-
var MaskedTextBoxComponent = MaskedTextBoxComponent_1 = /** @class */ (function (_super) {
|
|
390
|
-
__extends(MaskedTextBoxComponent, _super);
|
|
391
|
-
/**
|
|
392
|
-
* @param {?} ngEle
|
|
393
|
-
* @param {?} srenderer
|
|
394
|
-
* @param {?} viewContainerRef
|
|
395
|
-
* @param {?} injector
|
|
396
|
-
*/
|
|
397
|
-
function MaskedTextBoxComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
398
|
-
var _this = _super.call(this) || this;
|
|
399
|
-
_this.ngEle = ngEle;
|
|
400
|
-
_this.srenderer = srenderer;
|
|
401
|
-
_this.viewContainerRef = viewContainerRef;
|
|
402
|
-
_this.injector = injector;
|
|
403
|
-
_this.skipFromEvent = true;
|
|
404
|
-
_this.element = _this.ngEle.nativeElement;
|
|
405
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
406
|
-
_this.registerEvents(outputs$2);
|
|
407
|
-
_this.addTwoWay.call(_this, twoWays$2);
|
|
408
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
409
|
-
_this.formContext = new FormBase();
|
|
410
|
-
_this.formCompContext = new ComponentBase();
|
|
411
|
-
return _this;
|
|
412
|
-
}
|
|
413
|
-
/**
|
|
414
|
-
* @param {?} registerFunction
|
|
415
|
-
* @return {?}
|
|
416
|
-
*/
|
|
417
|
-
MaskedTextBoxComponent.prototype.registerOnChange = function (registerFunction) {
|
|
418
|
-
};
|
|
419
|
-
/**
|
|
420
|
-
* @param {?} registerFunction
|
|
421
|
-
* @return {?}
|
|
422
|
-
*/
|
|
423
|
-
MaskedTextBoxComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
424
|
-
};
|
|
425
|
-
/**
|
|
426
|
-
* @param {?} value
|
|
427
|
-
* @return {?}
|
|
428
|
-
*/
|
|
429
|
-
MaskedTextBoxComponent.prototype.writeValue = function (value) {
|
|
430
|
-
};
|
|
431
|
-
/**
|
|
432
|
-
* @param {?} disabled
|
|
433
|
-
* @return {?}
|
|
434
|
-
*/
|
|
435
|
-
MaskedTextBoxComponent.prototype.setDisabledState = function (disabled) {
|
|
436
|
-
};
|
|
437
|
-
/**
|
|
438
|
-
* @return {?}
|
|
439
|
-
*/
|
|
440
|
-
MaskedTextBoxComponent.prototype.ngOnInit = function () {
|
|
441
|
-
this.formCompContext.ngOnInit(this);
|
|
442
|
-
};
|
|
443
|
-
/**
|
|
444
|
-
* @return {?}
|
|
445
|
-
*/
|
|
446
|
-
MaskedTextBoxComponent.prototype.ngAfterViewInit = function () {
|
|
447
|
-
this.formContext.ngAfterViewInit(this);
|
|
448
|
-
};
|
|
449
|
-
/**
|
|
450
|
-
* @return {?}
|
|
451
|
-
*/
|
|
452
|
-
MaskedTextBoxComponent.prototype.ngOnDestroy = function () {
|
|
453
|
-
this.formCompContext.ngOnDestroy(this);
|
|
454
|
-
};
|
|
455
|
-
/**
|
|
456
|
-
* @return {?}
|
|
457
|
-
*/
|
|
458
|
-
MaskedTextBoxComponent.prototype.ngAfterContentChecked = function () {
|
|
459
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
460
|
-
};
|
|
461
|
-
return MaskedTextBoxComponent;
|
|
462
|
-
}(MaskedTextBox));
|
|
463
|
-
MaskedTextBoxComponent.decorators = [
|
|
464
|
-
{ type: Component, args: [{
|
|
465
|
-
selector: 'ejs-maskedtextbox',
|
|
466
|
-
inputs: inputs$2,
|
|
467
|
-
outputs: outputs$2,
|
|
468
|
-
template: '',
|
|
469
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
470
|
-
providers: [
|
|
471
|
-
{
|
|
472
|
-
provide: NG_VALUE_ACCESSOR,
|
|
473
|
-
useExisting: forwardRef(function () { return MaskedTextBoxComponent_1; }),
|
|
474
|
-
multi: true
|
|
475
|
-
}
|
|
476
|
-
],
|
|
477
|
-
queries: {}
|
|
478
|
-
},] },
|
|
479
|
-
];
|
|
480
|
-
/**
|
|
481
|
-
* @nocollapse
|
|
482
|
-
*/
|
|
483
|
-
MaskedTextBoxComponent.ctorParameters = function () { return [
|
|
484
|
-
{ type: ElementRef, },
|
|
485
|
-
{ type: Renderer2, },
|
|
486
|
-
{ type: ViewContainerRef, },
|
|
487
|
-
{ type: Injector, },
|
|
488
|
-
]; };
|
|
489
|
-
MaskedTextBoxComponent = MaskedTextBoxComponent_1 = __decorate$2([
|
|
490
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
491
|
-
__metadata$2("design:paramtypes", [ElementRef,
|
|
492
|
-
Renderer2,
|
|
493
|
-
ViewContainerRef,
|
|
494
|
-
Injector])
|
|
495
|
-
], MaskedTextBoxComponent);
|
|
496
|
-
var MaskedTextBoxComponent_1;
|
|
497
|
-
/**
|
|
498
|
-
* NgModule definition for the MaskedTextBox component.
|
|
499
|
-
*/
|
|
500
|
-
var MaskedTextBoxModule = /** @class */ (function () {
|
|
501
|
-
function MaskedTextBoxModule() {
|
|
502
|
-
}
|
|
503
|
-
return MaskedTextBoxModule;
|
|
504
|
-
}());
|
|
505
|
-
MaskedTextBoxModule.decorators = [
|
|
506
|
-
{ type: NgModule, args: [{
|
|
507
|
-
imports: [CommonModule],
|
|
508
|
-
declarations: [
|
|
509
|
-
MaskedTextBoxComponent
|
|
510
|
-
],
|
|
511
|
-
exports: [
|
|
512
|
-
MaskedTextBoxComponent
|
|
513
|
-
]
|
|
514
|
-
},] },
|
|
515
|
-
];
|
|
516
|
-
/**
|
|
517
|
-
* @nocollapse
|
|
518
|
-
*/
|
|
519
|
-
MaskedTextBoxModule.ctorParameters = function () { return []; };
|
|
520
|
-
/**
|
|
521
|
-
* NgModule definition for the MaskedTextBox component with providers.
|
|
522
|
-
*/
|
|
523
|
-
var MaskedTextBoxAllModule = /** @class */ (function () {
|
|
524
|
-
function MaskedTextBoxAllModule() {
|
|
525
|
-
}
|
|
526
|
-
return MaskedTextBoxAllModule;
|
|
527
|
-
}());
|
|
528
|
-
MaskedTextBoxAllModule.decorators = [
|
|
529
|
-
{ type: NgModule, args: [{
|
|
530
|
-
imports: [CommonModule, MaskedTextBoxModule],
|
|
531
|
-
exports: [
|
|
532
|
-
MaskedTextBoxModule
|
|
533
|
-
],
|
|
534
|
-
providers: []
|
|
535
|
-
},] },
|
|
536
|
-
];
|
|
537
|
-
/**
|
|
538
|
-
* @nocollapse
|
|
539
|
-
*/
|
|
540
|
-
MaskedTextBoxAllModule.ctorParameters = function () { return []; };
|
|
541
|
-
var __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
542
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
543
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
544
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
545
|
-
else
|
|
546
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
547
|
-
if (d = decorators[i])
|
|
548
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
549
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
550
|
-
};
|
|
551
|
-
var __metadata$3 = (this && this.__metadata) || function (k, v) {
|
|
552
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
553
|
-
return Reflect.metadata(k, v);
|
|
554
|
-
};
|
|
555
|
-
var inputs$3 = ['colorRange', 'cssClass', 'customValues', 'enableAnimation', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'limits', 'locale', 'max', 'min', 'orientation', 'readonly', 'showButtons', 'step', 'ticks', 'tooltip', 'type', 'value', 'width'];
|
|
556
|
-
var outputs$3 = ['focus', 'blur', 'change', 'changed', 'created', 'renderedTicks', 'renderingTicks', 'tooltipChange', 'valueChange'];
|
|
557
|
-
var twoWays$3 = ['value'];
|
|
558
|
-
/**
|
|
559
|
-
* Represents the EJ2 Angular Slider Component.
|
|
560
|
-
* ```html
|
|
561
|
-
* <ejs-slider [value]='value'></ejs-slider>
|
|
562
|
-
* ```
|
|
563
|
-
*/
|
|
564
|
-
var SliderComponent = SliderComponent_1 = /** @class */ (function (_super) {
|
|
565
|
-
__extends(SliderComponent, _super);
|
|
566
|
-
/**
|
|
567
|
-
* @param {?} ngEle
|
|
568
|
-
* @param {?} srenderer
|
|
569
|
-
* @param {?} viewContainerRef
|
|
570
|
-
* @param {?} injector
|
|
571
|
-
*/
|
|
572
|
-
function SliderComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
573
|
-
var _this = _super.call(this) || this;
|
|
574
|
-
_this.ngEle = ngEle;
|
|
575
|
-
_this.srenderer = srenderer;
|
|
576
|
-
_this.viewContainerRef = viewContainerRef;
|
|
577
|
-
_this.injector = injector;
|
|
578
|
-
_this.element = _this.ngEle.nativeElement;
|
|
579
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
580
|
-
_this.registerEvents(outputs$3);
|
|
581
|
-
_this.addTwoWay.call(_this, twoWays$3);
|
|
582
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
583
|
-
_this.formContext = new FormBase();
|
|
584
|
-
_this.formCompContext = new ComponentBase();
|
|
585
|
-
return _this;
|
|
586
|
-
}
|
|
587
|
-
/**
|
|
588
|
-
* @param {?} registerFunction
|
|
589
|
-
* @return {?}
|
|
590
|
-
*/
|
|
591
|
-
SliderComponent.prototype.registerOnChange = function (registerFunction) {
|
|
592
|
-
};
|
|
593
|
-
/**
|
|
594
|
-
* @param {?} registerFunction
|
|
595
|
-
* @return {?}
|
|
596
|
-
*/
|
|
597
|
-
SliderComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
598
|
-
};
|
|
599
|
-
/**
|
|
600
|
-
* @param {?} value
|
|
601
|
-
* @return {?}
|
|
602
|
-
*/
|
|
603
|
-
SliderComponent.prototype.writeValue = function (value) {
|
|
604
|
-
};
|
|
605
|
-
/**
|
|
606
|
-
* @param {?} disabled
|
|
607
|
-
* @return {?}
|
|
608
|
-
*/
|
|
609
|
-
SliderComponent.prototype.setDisabledState = function (disabled) {
|
|
610
|
-
};
|
|
611
|
-
/**
|
|
612
|
-
* @return {?}
|
|
613
|
-
*/
|
|
614
|
-
SliderComponent.prototype.ngOnInit = function () {
|
|
615
|
-
this.formCompContext.ngOnInit(this);
|
|
616
|
-
};
|
|
617
|
-
/**
|
|
618
|
-
* @return {?}
|
|
619
|
-
*/
|
|
620
|
-
SliderComponent.prototype.ngAfterViewInit = function () {
|
|
621
|
-
this.formContext.ngAfterViewInit(this);
|
|
622
|
-
};
|
|
623
|
-
/**
|
|
624
|
-
* @return {?}
|
|
625
|
-
*/
|
|
626
|
-
SliderComponent.prototype.ngOnDestroy = function () {
|
|
627
|
-
this.formCompContext.ngOnDestroy(this);
|
|
628
|
-
};
|
|
629
|
-
/**
|
|
630
|
-
* @return {?}
|
|
631
|
-
*/
|
|
632
|
-
SliderComponent.prototype.ngAfterContentChecked = function () {
|
|
633
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
634
|
-
};
|
|
635
|
-
return SliderComponent;
|
|
636
|
-
}(Slider));
|
|
637
|
-
SliderComponent.decorators = [
|
|
638
|
-
{ type: Component, args: [{
|
|
639
|
-
selector: 'ejs-slider',
|
|
640
|
-
inputs: inputs$3,
|
|
641
|
-
outputs: outputs$3,
|
|
642
|
-
template: '',
|
|
643
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
644
|
-
providers: [
|
|
645
|
-
{
|
|
646
|
-
provide: NG_VALUE_ACCESSOR,
|
|
647
|
-
useExisting: forwardRef(function () { return SliderComponent_1; }),
|
|
648
|
-
multi: true
|
|
649
|
-
}
|
|
650
|
-
],
|
|
651
|
-
queries: {}
|
|
652
|
-
},] },
|
|
653
|
-
];
|
|
654
|
-
/**
|
|
655
|
-
* @nocollapse
|
|
656
|
-
*/
|
|
657
|
-
SliderComponent.ctorParameters = function () { return [
|
|
658
|
-
{ type: ElementRef, },
|
|
659
|
-
{ type: Renderer2, },
|
|
660
|
-
{ type: ViewContainerRef, },
|
|
661
|
-
{ type: Injector, },
|
|
662
|
-
]; };
|
|
663
|
-
SliderComponent = SliderComponent_1 = __decorate$3([
|
|
664
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
665
|
-
__metadata$3("design:paramtypes", [ElementRef,
|
|
666
|
-
Renderer2,
|
|
667
|
-
ViewContainerRef,
|
|
668
|
-
Injector])
|
|
669
|
-
], SliderComponent);
|
|
670
|
-
var SliderComponent_1;
|
|
671
|
-
/**
|
|
672
|
-
* NgModule definition for the Slider component.
|
|
673
|
-
*/
|
|
674
|
-
var SliderModule = /** @class */ (function () {
|
|
675
|
-
function SliderModule() {
|
|
676
|
-
}
|
|
677
|
-
return SliderModule;
|
|
678
|
-
}());
|
|
679
|
-
SliderModule.decorators = [
|
|
680
|
-
{ type: NgModule, args: [{
|
|
681
|
-
imports: [CommonModule],
|
|
682
|
-
declarations: [
|
|
683
|
-
SliderComponent
|
|
684
|
-
],
|
|
685
|
-
exports: [
|
|
686
|
-
SliderComponent
|
|
687
|
-
]
|
|
688
|
-
},] },
|
|
689
|
-
];
|
|
690
|
-
/**
|
|
691
|
-
* @nocollapse
|
|
692
|
-
*/
|
|
693
|
-
SliderModule.ctorParameters = function () { return []; };
|
|
694
|
-
/**
|
|
695
|
-
* NgModule definition for the Slider component with providers.
|
|
696
|
-
*/
|
|
697
|
-
var SliderAllModule = /** @class */ (function () {
|
|
698
|
-
function SliderAllModule() {
|
|
699
|
-
}
|
|
700
|
-
return SliderAllModule;
|
|
701
|
-
}());
|
|
702
|
-
SliderAllModule.decorators = [
|
|
703
|
-
{ type: NgModule, args: [{
|
|
704
|
-
imports: [CommonModule, SliderModule],
|
|
705
|
-
exports: [
|
|
706
|
-
SliderModule
|
|
707
|
-
],
|
|
708
|
-
providers: []
|
|
709
|
-
},] },
|
|
710
|
-
];
|
|
711
|
-
/**
|
|
712
|
-
* @nocollapse
|
|
713
|
-
*/
|
|
714
|
-
SliderAllModule.ctorParameters = function () { return []; };
|
|
715
|
-
var input = ['name', 'size', 'type'];
|
|
716
|
-
var outputs$4 = [];
|
|
717
|
-
/**
|
|
718
|
-
* 'e-files' directive represent a file of angular uploader
|
|
719
|
-
* It must be contained in a Uploader component(`ejs-uploader`).
|
|
720
|
-
* ```html
|
|
721
|
-
* <ejs-uploader id='fileupload' multiple=true>
|
|
722
|
-
* <e-files>
|
|
723
|
-
* <e-file name='Java' size=23000 type='pdf'></e-file>
|
|
724
|
-
* <e-file name='C++' size=30000 type='.docx'></e-file>
|
|
725
|
-
* </e-files>
|
|
726
|
-
* </ejs-uploader>
|
|
727
|
-
* ```
|
|
728
|
-
*/
|
|
729
|
-
var UploadedFilesDirective = /** @class */ (function (_super) {
|
|
730
|
-
__extends(UploadedFilesDirective, _super);
|
|
731
|
-
/**
|
|
732
|
-
* @param {?} viewContainerRef
|
|
733
|
-
*/
|
|
734
|
-
function UploadedFilesDirective(viewContainerRef) {
|
|
735
|
-
var _this = _super.call(this) || this;
|
|
736
|
-
_this.viewContainerRef = viewContainerRef;
|
|
737
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
738
|
-
_this.registerEvents(outputs$4);
|
|
739
|
-
_this.directivePropList = input;
|
|
740
|
-
return _this;
|
|
741
|
-
}
|
|
742
|
-
return UploadedFilesDirective;
|
|
743
|
-
}(ComplexBase));
|
|
744
|
-
UploadedFilesDirective.decorators = [
|
|
745
|
-
{ type: Directive, args: [{
|
|
746
|
-
selector: 'e-files>e-uploadedfiles',
|
|
747
|
-
inputs: input,
|
|
748
|
-
outputs: outputs$4,
|
|
749
|
-
queries: {}
|
|
750
|
-
},] },
|
|
751
|
-
];
|
|
752
|
-
/**
|
|
753
|
-
* @nocollapse
|
|
754
|
-
*/
|
|
755
|
-
UploadedFilesDirective.ctorParameters = function () { return [
|
|
756
|
-
{ type: ViewContainerRef, },
|
|
757
|
-
]; };
|
|
758
|
-
/**
|
|
759
|
-
* UploadedFiles Array Directive
|
|
760
|
-
*/
|
|
761
|
-
var FilesDirective = /** @class */ (function (_super) {
|
|
762
|
-
__extends(FilesDirective, _super);
|
|
763
|
-
function FilesDirective() {
|
|
764
|
-
return _super.call(this, 'files') || this;
|
|
765
|
-
}
|
|
766
|
-
return FilesDirective;
|
|
767
|
-
}(ArrayBase));
|
|
768
|
-
FilesDirective.decorators = [
|
|
769
|
-
{ type: Directive, args: [{
|
|
770
|
-
selector: 'ejs-uploader>e-files',
|
|
771
|
-
queries: {
|
|
772
|
-
children: new ContentChildren(UploadedFilesDirective)
|
|
773
|
-
},
|
|
774
|
-
},] },
|
|
775
|
-
];
|
|
776
|
-
/**
|
|
777
|
-
* @nocollapse
|
|
778
|
-
*/
|
|
779
|
-
FilesDirective.ctorParameters = function () { return []; };
|
|
780
|
-
var __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
781
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
782
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
783
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
784
|
-
else
|
|
785
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
786
|
-
if (d = decorators[i])
|
|
787
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
788
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
789
|
-
};
|
|
790
|
-
var __metadata$4 = (this && this.__metadata) || function (k, v) {
|
|
791
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
792
|
-
return Reflect.metadata(k, v);
|
|
793
|
-
};
|
|
794
|
-
var inputs$4 = ['allowedExtensions', 'asyncSettings', 'autoUpload', 'buttons', 'cssClass', 'directoryUpload', 'dropArea', 'dropEffect', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enabled', 'files', 'htmlAttributes', 'locale', 'maxFileSize', 'minFileSize', 'multiple', 'sequentialUpload', 'showFileList', 'template'];
|
|
795
|
-
var outputs$5 = ['focus', 'blur', 'actionComplete', 'beforeRemove', 'beforeUpload', 'canceling', 'change', 'chunkFailure', 'chunkSuccess', 'chunkUploading', 'clearing', 'created', 'failure', 'fileListRendering', 'pausing', 'progress', 'removing', 'rendering', 'resuming', 'selected', 'success', 'uploading'];
|
|
796
|
-
var twoWays$4 = [];
|
|
797
|
-
/**
|
|
798
|
-
* Represents the EJ2 Angular Uploader Component.
|
|
799
|
-
* ```html
|
|
800
|
-
* <ejs-uploader></ejs-uploader>
|
|
801
|
-
* ```
|
|
802
|
-
*/
|
|
803
|
-
var UploaderComponent = UploaderComponent_1 = /** @class */ (function (_super) {
|
|
804
|
-
__extends(UploaderComponent, _super);
|
|
805
|
-
/**
|
|
806
|
-
* @param {?} ngEle
|
|
807
|
-
* @param {?} srenderer
|
|
808
|
-
* @param {?} viewContainerRef
|
|
809
|
-
* @param {?} injector
|
|
810
|
-
*/
|
|
811
|
-
function UploaderComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
812
|
-
var _this = _super.call(this) || this;
|
|
813
|
-
_this.ngEle = ngEle;
|
|
814
|
-
_this.srenderer = srenderer;
|
|
815
|
-
_this.viewContainerRef = viewContainerRef;
|
|
816
|
-
_this.injector = injector;
|
|
817
|
-
_this.tags = ['files'];
|
|
818
|
-
_this.element = _this.ngEle.nativeElement;
|
|
819
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
820
|
-
_this.registerEvents(outputs$5);
|
|
821
|
-
_this.addTwoWay.call(_this, twoWays$4);
|
|
822
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
823
|
-
_this.formContext = new FormBase();
|
|
824
|
-
_this.formCompContext = new ComponentBase();
|
|
825
|
-
return _this;
|
|
826
|
-
}
|
|
827
|
-
/**
|
|
828
|
-
* @param {?} registerFunction
|
|
829
|
-
* @return {?}
|
|
830
|
-
*/
|
|
831
|
-
UploaderComponent.prototype.registerOnChange = function (registerFunction) {
|
|
832
|
-
};
|
|
833
|
-
/**
|
|
834
|
-
* @param {?} registerFunction
|
|
835
|
-
* @return {?}
|
|
836
|
-
*/
|
|
837
|
-
UploaderComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
838
|
-
};
|
|
839
|
-
/**
|
|
840
|
-
* @param {?} value
|
|
841
|
-
* @return {?}
|
|
842
|
-
*/
|
|
843
|
-
UploaderComponent.prototype.writeValue = function (value) {
|
|
844
|
-
};
|
|
845
|
-
/**
|
|
846
|
-
* @param {?} disabled
|
|
847
|
-
* @return {?}
|
|
848
|
-
*/
|
|
849
|
-
UploaderComponent.prototype.setDisabledState = function (disabled) {
|
|
850
|
-
};
|
|
851
|
-
/**
|
|
852
|
-
* @return {?}
|
|
853
|
-
*/
|
|
854
|
-
UploaderComponent.prototype.ngOnInit = function () {
|
|
855
|
-
this.formCompContext.ngOnInit(this);
|
|
856
|
-
};
|
|
857
|
-
/**
|
|
858
|
-
* @return {?}
|
|
859
|
-
*/
|
|
860
|
-
UploaderComponent.prototype.ngAfterViewInit = function () {
|
|
861
|
-
this.formContext.ngAfterViewInit(this);
|
|
862
|
-
};
|
|
863
|
-
/**
|
|
864
|
-
* @return {?}
|
|
865
|
-
*/
|
|
866
|
-
UploaderComponent.prototype.ngOnDestroy = function () {
|
|
867
|
-
this.formCompContext.ngOnDestroy(this);
|
|
868
|
-
};
|
|
869
|
-
/**
|
|
870
|
-
* @return {?}
|
|
871
|
-
*/
|
|
872
|
-
UploaderComponent.prototype.ngAfterContentChecked = function () {
|
|
873
|
-
this.tagObjects[0].instance = this.childFiles;
|
|
874
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
875
|
-
};
|
|
876
|
-
return UploaderComponent;
|
|
877
|
-
}(Uploader));
|
|
878
|
-
UploaderComponent.decorators = [
|
|
879
|
-
{ type: Component, args: [{
|
|
880
|
-
selector: 'ejs-uploader',
|
|
881
|
-
inputs: inputs$4,
|
|
882
|
-
outputs: outputs$5,
|
|
883
|
-
template: '',
|
|
884
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
885
|
-
providers: [
|
|
886
|
-
{
|
|
887
|
-
provide: NG_VALUE_ACCESSOR,
|
|
888
|
-
useExisting: forwardRef(function () { return UploaderComponent_1; }),
|
|
889
|
-
multi: true
|
|
890
|
-
}
|
|
891
|
-
],
|
|
892
|
-
queries: {
|
|
893
|
-
childFiles: new ContentChild(FilesDirective)
|
|
894
|
-
}
|
|
895
|
-
},] },
|
|
896
|
-
];
|
|
897
|
-
/**
|
|
898
|
-
* @nocollapse
|
|
899
|
-
*/
|
|
900
|
-
UploaderComponent.ctorParameters = function () { return [
|
|
901
|
-
{ type: ElementRef, },
|
|
902
|
-
{ type: Renderer2, },
|
|
903
|
-
{ type: ViewContainerRef, },
|
|
904
|
-
{ type: Injector, },
|
|
905
|
-
]; };
|
|
906
|
-
UploaderComponent.propDecorators = {
|
|
907
|
-
'template': [{ type: ContentChild, args: ['template',] },],
|
|
908
|
-
};
|
|
909
|
-
__decorate$4([
|
|
910
|
-
Template(),
|
|
911
|
-
__metadata$4("design:type", Object)
|
|
912
|
-
], UploaderComponent.prototype, "template", void 0);
|
|
913
|
-
UploaderComponent = UploaderComponent_1 = __decorate$4([
|
|
914
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
915
|
-
__metadata$4("design:paramtypes", [ElementRef,
|
|
916
|
-
Renderer2,
|
|
917
|
-
ViewContainerRef,
|
|
918
|
-
Injector])
|
|
919
|
-
], UploaderComponent);
|
|
920
|
-
var UploaderComponent_1;
|
|
921
|
-
/**
|
|
922
|
-
* NgModule definition for the Uploader component.
|
|
923
|
-
*/
|
|
924
|
-
var UploaderModule = /** @class */ (function () {
|
|
925
|
-
function UploaderModule() {
|
|
926
|
-
}
|
|
927
|
-
return UploaderModule;
|
|
928
|
-
}());
|
|
929
|
-
UploaderModule.decorators = [
|
|
930
|
-
{ type: NgModule, args: [{
|
|
931
|
-
imports: [CommonModule],
|
|
932
|
-
declarations: [
|
|
933
|
-
UploaderComponent,
|
|
934
|
-
UploadedFilesDirective,
|
|
935
|
-
FilesDirective
|
|
936
|
-
],
|
|
937
|
-
exports: [
|
|
938
|
-
UploaderComponent,
|
|
939
|
-
UploadedFilesDirective,
|
|
940
|
-
FilesDirective
|
|
941
|
-
]
|
|
942
|
-
},] },
|
|
943
|
-
];
|
|
944
|
-
/**
|
|
945
|
-
* @nocollapse
|
|
946
|
-
*/
|
|
947
|
-
UploaderModule.ctorParameters = function () { return []; };
|
|
948
|
-
/**
|
|
949
|
-
* NgModule definition for the Uploader component with providers.
|
|
950
|
-
*/
|
|
951
|
-
var UploaderAllModule = /** @class */ (function () {
|
|
952
|
-
function UploaderAllModule() {
|
|
953
|
-
}
|
|
954
|
-
return UploaderAllModule;
|
|
955
|
-
}());
|
|
956
|
-
UploaderAllModule.decorators = [
|
|
957
|
-
{ type: NgModule, args: [{
|
|
958
|
-
imports: [CommonModule, UploaderModule],
|
|
959
|
-
exports: [
|
|
960
|
-
UploaderModule
|
|
961
|
-
],
|
|
962
|
-
providers: []
|
|
963
|
-
},] },
|
|
964
|
-
];
|
|
965
|
-
/**
|
|
966
|
-
* @nocollapse
|
|
967
|
-
*/
|
|
968
|
-
UploaderAllModule.ctorParameters = function () { return []; };
|
|
969
|
-
var __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
970
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
971
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
972
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
973
|
-
else
|
|
974
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
975
|
-
if (d = decorators[i])
|
|
976
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
977
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
978
|
-
};
|
|
979
|
-
var __metadata$5 = (this && this.__metadata) || function (k, v) {
|
|
980
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
981
|
-
return Reflect.metadata(k, v);
|
|
982
|
-
};
|
|
983
|
-
var inputs$5 = ['columns', 'createPopupOnClick', 'cssClass', 'disabled', 'enableOpacity', 'enablePersistence', 'enableRtl', 'inline', 'locale', 'mode', 'modeSwitcher', 'noColor', 'presetColors', 'showButtons', 'value'];
|
|
984
|
-
var outputs$6 = ['focus', 'blur', 'beforeClose', 'beforeModeSwitch', 'beforeOpen', 'beforeTileRender', 'change', 'created', 'onModeSwitch', 'open', 'select', 'valueChange'];
|
|
985
|
-
var twoWays$5 = ['value'];
|
|
986
|
-
/**
|
|
987
|
-
* Represents the EJ2 Angular ColorPicker Component.
|
|
988
|
-
* ```html
|
|
989
|
-
* <input ejs-colorpicker type='color'/>
|
|
990
|
-
* ```
|
|
991
|
-
*/
|
|
992
|
-
var ColorPickerComponent = ColorPickerComponent_1 = /** @class */ (function (_super) {
|
|
993
|
-
__extends(ColorPickerComponent, _super);
|
|
994
|
-
/**
|
|
995
|
-
* @param {?} ngEle
|
|
996
|
-
* @param {?} srenderer
|
|
997
|
-
* @param {?} viewContainerRef
|
|
998
|
-
* @param {?} injector
|
|
999
|
-
*/
|
|
1000
|
-
function ColorPickerComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
1001
|
-
var _this = _super.call(this) || this;
|
|
1002
|
-
_this.ngEle = ngEle;
|
|
1003
|
-
_this.srenderer = srenderer;
|
|
1004
|
-
_this.viewContainerRef = viewContainerRef;
|
|
1005
|
-
_this.injector = injector;
|
|
1006
|
-
_this.element = _this.ngEle.nativeElement;
|
|
1007
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
1008
|
-
_this.registerEvents(outputs$6);
|
|
1009
|
-
_this.addTwoWay.call(_this, twoWays$5);
|
|
1010
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
1011
|
-
_this.formContext = new FormBase();
|
|
1012
|
-
_this.formCompContext = new ComponentBase();
|
|
1013
|
-
return _this;
|
|
1014
|
-
}
|
|
1015
|
-
/**
|
|
1016
|
-
* @param {?} registerFunction
|
|
1017
|
-
* @return {?}
|
|
1018
|
-
*/
|
|
1019
|
-
ColorPickerComponent.prototype.registerOnChange = function (registerFunction) {
|
|
1020
|
-
};
|
|
1021
|
-
/**
|
|
1022
|
-
* @param {?} registerFunction
|
|
1023
|
-
* @return {?}
|
|
1024
|
-
*/
|
|
1025
|
-
ColorPickerComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
1026
|
-
};
|
|
1027
|
-
/**
|
|
1028
|
-
* @param {?} value
|
|
1029
|
-
* @return {?}
|
|
1030
|
-
*/
|
|
1031
|
-
ColorPickerComponent.prototype.writeValue = function (value) {
|
|
1032
|
-
};
|
|
1033
|
-
/**
|
|
1034
|
-
* @param {?} disabled
|
|
1035
|
-
* @return {?}
|
|
1036
|
-
*/
|
|
1037
|
-
ColorPickerComponent.prototype.setDisabledState = function (disabled) {
|
|
1038
|
-
};
|
|
1039
|
-
/**
|
|
1040
|
-
* @return {?}
|
|
1041
|
-
*/
|
|
1042
|
-
ColorPickerComponent.prototype.ngOnInit = function () {
|
|
1043
|
-
this.formCompContext.ngOnInit(this);
|
|
1044
|
-
};
|
|
1045
|
-
/**
|
|
1046
|
-
* @return {?}
|
|
1047
|
-
*/
|
|
1048
|
-
ColorPickerComponent.prototype.ngAfterViewInit = function () {
|
|
1049
|
-
this.formContext.ngAfterViewInit(this);
|
|
1050
|
-
};
|
|
1051
|
-
/**
|
|
1052
|
-
* @return {?}
|
|
1053
|
-
*/
|
|
1054
|
-
ColorPickerComponent.prototype.ngOnDestroy = function () {
|
|
1055
|
-
this.formCompContext.ngOnDestroy(this);
|
|
1056
|
-
};
|
|
1057
|
-
/**
|
|
1058
|
-
* @return {?}
|
|
1059
|
-
*/
|
|
1060
|
-
ColorPickerComponent.prototype.ngAfterContentChecked = function () {
|
|
1061
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
1062
|
-
};
|
|
1063
|
-
return ColorPickerComponent;
|
|
1064
|
-
}(ColorPicker));
|
|
1065
|
-
ColorPickerComponent.decorators = [
|
|
1066
|
-
{ type: Component, args: [{
|
|
1067
|
-
selector: '[ejs-colorpicker]',
|
|
1068
|
-
inputs: inputs$5,
|
|
1069
|
-
outputs: outputs$6,
|
|
1070
|
-
template: '',
|
|
1071
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1072
|
-
providers: [
|
|
1073
|
-
{
|
|
1074
|
-
provide: NG_VALUE_ACCESSOR,
|
|
1075
|
-
useExisting: forwardRef(function () { return ColorPickerComponent_1; }),
|
|
1076
|
-
multi: true
|
|
1077
|
-
}
|
|
1078
|
-
],
|
|
1079
|
-
queries: {}
|
|
1080
|
-
},] },
|
|
1081
|
-
];
|
|
1082
|
-
/**
|
|
1083
|
-
* @nocollapse
|
|
1084
|
-
*/
|
|
1085
|
-
ColorPickerComponent.ctorParameters = function () { return [
|
|
1086
|
-
{ type: ElementRef, },
|
|
1087
|
-
{ type: Renderer2, },
|
|
1088
|
-
{ type: ViewContainerRef, },
|
|
1089
|
-
{ type: Injector, },
|
|
1090
|
-
]; };
|
|
1091
|
-
ColorPickerComponent = ColorPickerComponent_1 = __decorate$5([
|
|
1092
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
1093
|
-
__metadata$5("design:paramtypes", [ElementRef,
|
|
1094
|
-
Renderer2,
|
|
1095
|
-
ViewContainerRef,
|
|
1096
|
-
Injector])
|
|
1097
|
-
], ColorPickerComponent);
|
|
1098
|
-
var ColorPickerComponent_1;
|
|
1099
|
-
/**
|
|
1100
|
-
* NgModule definition for the ColorPicker component.
|
|
1101
|
-
*/
|
|
1102
|
-
var ColorPickerModule = /** @class */ (function () {
|
|
1103
|
-
function ColorPickerModule() {
|
|
1104
|
-
}
|
|
1105
|
-
return ColorPickerModule;
|
|
1106
|
-
}());
|
|
1107
|
-
ColorPickerModule.decorators = [
|
|
1108
|
-
{ type: NgModule, args: [{
|
|
1109
|
-
imports: [CommonModule],
|
|
1110
|
-
declarations: [
|
|
1111
|
-
ColorPickerComponent
|
|
1112
|
-
],
|
|
1113
|
-
exports: [
|
|
1114
|
-
ColorPickerComponent
|
|
1115
|
-
]
|
|
1116
|
-
},] },
|
|
1117
|
-
];
|
|
1118
|
-
/**
|
|
1119
|
-
* @nocollapse
|
|
1120
|
-
*/
|
|
1121
|
-
ColorPickerModule.ctorParameters = function () { return []; };
|
|
1122
|
-
/**
|
|
1123
|
-
* NgModule definition for the ColorPicker component with providers.
|
|
1124
|
-
*/
|
|
1125
|
-
var ColorPickerAllModule = /** @class */ (function () {
|
|
1126
|
-
function ColorPickerAllModule() {
|
|
1127
|
-
}
|
|
1128
|
-
return ColorPickerAllModule;
|
|
1129
|
-
}());
|
|
1130
|
-
ColorPickerAllModule.decorators = [
|
|
1131
|
-
{ type: NgModule, args: [{
|
|
1132
|
-
imports: [CommonModule, ColorPickerModule],
|
|
1133
|
-
exports: [
|
|
1134
|
-
ColorPickerModule
|
|
1135
|
-
],
|
|
1136
|
-
providers: []
|
|
1137
|
-
},] },
|
|
1138
|
-
];
|
|
1139
|
-
/**
|
|
1140
|
-
* @nocollapse
|
|
1141
|
-
*/
|
|
1142
|
-
ColorPickerAllModule.ctorParameters = function () { return []; };
|
|
1143
|
-
var __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1144
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1145
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1146
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
1147
|
-
else
|
|
1148
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1149
|
-
if (d = decorators[i])
|
|
1150
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1151
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1152
|
-
};
|
|
1153
|
-
var __metadata$6 = (this && this.__metadata) || function (k, v) {
|
|
1154
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1155
|
-
return Reflect.metadata(k, v);
|
|
1156
|
-
};
|
|
1157
|
-
var inputs$6 = ['backgroundColor', 'backgroundImage', 'disabled', 'enablePersistence', 'enableRtl', 'isReadOnly', 'locale', 'maxStrokeWidth', 'minStrokeWidth', 'saveWithBackground', 'strokeColor', 'velocity'];
|
|
1158
|
-
var outputs$7 = ['focus', 'blur', 'beforeSave', 'change', 'created'];
|
|
1159
|
-
var twoWays$6 = [];
|
|
1160
|
-
/**
|
|
1161
|
-
* Represents the EJ2 Angular Signature Component.
|
|
1162
|
-
* ```html
|
|
1163
|
-
* <canvas ejs-signature />
|
|
1164
|
-
* ```
|
|
1165
|
-
*/
|
|
1166
|
-
var SignatureComponent = SignatureComponent_1 = /** @class */ (function (_super) {
|
|
1167
|
-
__extends(SignatureComponent, _super);
|
|
1168
|
-
/**
|
|
1169
|
-
* @param {?} ngEle
|
|
1170
|
-
* @param {?} srenderer
|
|
1171
|
-
* @param {?} viewContainerRef
|
|
1172
|
-
* @param {?} injector
|
|
1173
|
-
*/
|
|
1174
|
-
function SignatureComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
1175
|
-
var _this = _super.call(this) || this;
|
|
1176
|
-
_this.ngEle = ngEle;
|
|
1177
|
-
_this.srenderer = srenderer;
|
|
1178
|
-
_this.viewContainerRef = viewContainerRef;
|
|
1179
|
-
_this.injector = injector;
|
|
1180
|
-
_this.element = _this.ngEle.nativeElement;
|
|
1181
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
1182
|
-
_this.registerEvents(outputs$7);
|
|
1183
|
-
_this.addTwoWay.call(_this, twoWays$6);
|
|
1184
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
1185
|
-
_this.formContext = new FormBase();
|
|
1186
|
-
_this.formCompContext = new ComponentBase();
|
|
1187
|
-
return _this;
|
|
1188
|
-
}
|
|
1189
|
-
/**
|
|
1190
|
-
* @param {?} registerFunction
|
|
1191
|
-
* @return {?}
|
|
1192
|
-
*/
|
|
1193
|
-
SignatureComponent.prototype.registerOnChange = function (registerFunction) {
|
|
1194
|
-
};
|
|
1195
|
-
/**
|
|
1196
|
-
* @param {?} registerFunction
|
|
1197
|
-
* @return {?}
|
|
1198
|
-
*/
|
|
1199
|
-
SignatureComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
1200
|
-
};
|
|
1201
|
-
/**
|
|
1202
|
-
* @param {?} value
|
|
1203
|
-
* @return {?}
|
|
1204
|
-
*/
|
|
1205
|
-
SignatureComponent.prototype.writeValue = function (value) {
|
|
1206
|
-
};
|
|
1207
|
-
/**
|
|
1208
|
-
* @param {?} disabled
|
|
1209
|
-
* @return {?}
|
|
1210
|
-
*/
|
|
1211
|
-
SignatureComponent.prototype.setDisabledState = function (disabled) {
|
|
1212
|
-
};
|
|
1213
|
-
/**
|
|
1214
|
-
* @return {?}
|
|
1215
|
-
*/
|
|
1216
|
-
SignatureComponent.prototype.ngOnInit = function () {
|
|
1217
|
-
this.formCompContext.ngOnInit(this);
|
|
1218
|
-
};
|
|
1219
|
-
/**
|
|
1220
|
-
* @return {?}
|
|
1221
|
-
*/
|
|
1222
|
-
SignatureComponent.prototype.ngAfterViewInit = function () {
|
|
1223
|
-
this.formContext.ngAfterViewInit(this);
|
|
1224
|
-
};
|
|
1225
|
-
/**
|
|
1226
|
-
* @return {?}
|
|
1227
|
-
*/
|
|
1228
|
-
SignatureComponent.prototype.ngOnDestroy = function () {
|
|
1229
|
-
this.formCompContext.ngOnDestroy(this);
|
|
1230
|
-
};
|
|
1231
|
-
/**
|
|
1232
|
-
* @return {?}
|
|
1233
|
-
*/
|
|
1234
|
-
SignatureComponent.prototype.ngAfterContentChecked = function () {
|
|
1235
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
1236
|
-
};
|
|
1237
|
-
return SignatureComponent;
|
|
1238
|
-
}(Signature));
|
|
1239
|
-
SignatureComponent.decorators = [
|
|
1240
|
-
{ type: Component, args: [{
|
|
1241
|
-
selector: '[ejs-signature]',
|
|
1242
|
-
inputs: inputs$6,
|
|
1243
|
-
outputs: outputs$7,
|
|
1244
|
-
template: '',
|
|
1245
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1246
|
-
providers: [
|
|
1247
|
-
{
|
|
1248
|
-
provide: NG_VALUE_ACCESSOR,
|
|
1249
|
-
useExisting: forwardRef(function () { return SignatureComponent_1; }),
|
|
1250
|
-
multi: true
|
|
1251
|
-
}
|
|
1252
|
-
],
|
|
1253
|
-
queries: {}
|
|
1254
|
-
},] },
|
|
1255
|
-
];
|
|
1256
|
-
/**
|
|
1257
|
-
* @nocollapse
|
|
1258
|
-
*/
|
|
1259
|
-
SignatureComponent.ctorParameters = function () { return [
|
|
1260
|
-
{ type: ElementRef, },
|
|
1261
|
-
{ type: Renderer2, },
|
|
1262
|
-
{ type: ViewContainerRef, },
|
|
1263
|
-
{ type: Injector, },
|
|
1264
|
-
]; };
|
|
1265
|
-
SignatureComponent = SignatureComponent_1 = __decorate$6([
|
|
1266
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
1267
|
-
__metadata$6("design:paramtypes", [ElementRef,
|
|
1268
|
-
Renderer2,
|
|
1269
|
-
ViewContainerRef,
|
|
1270
|
-
Injector])
|
|
1271
|
-
], SignatureComponent);
|
|
1272
|
-
var SignatureComponent_1;
|
|
1273
|
-
/**
|
|
1274
|
-
* NgModule definition for the Signature component.
|
|
1275
|
-
*/
|
|
1276
|
-
var SignatureModule = /** @class */ (function () {
|
|
1277
|
-
function SignatureModule() {
|
|
1278
|
-
}
|
|
1279
|
-
return SignatureModule;
|
|
1280
|
-
}());
|
|
1281
|
-
SignatureModule.decorators = [
|
|
1282
|
-
{ type: NgModule, args: [{
|
|
1283
|
-
imports: [CommonModule],
|
|
1284
|
-
declarations: [
|
|
1285
|
-
SignatureComponent
|
|
1286
|
-
],
|
|
1287
|
-
exports: [
|
|
1288
|
-
SignatureComponent
|
|
1289
|
-
]
|
|
1290
|
-
},] },
|
|
1291
|
-
];
|
|
1292
|
-
/**
|
|
1293
|
-
* @nocollapse
|
|
1294
|
-
*/
|
|
1295
|
-
SignatureModule.ctorParameters = function () { return []; };
|
|
1296
|
-
/**
|
|
1297
|
-
* NgModule definition for the Signature component with providers.
|
|
1298
|
-
*/
|
|
1299
|
-
var SignatureAllModule = /** @class */ (function () {
|
|
1300
|
-
function SignatureAllModule() {
|
|
1301
|
-
}
|
|
1302
|
-
return SignatureAllModule;
|
|
1303
|
-
}());
|
|
1304
|
-
SignatureAllModule.decorators = [
|
|
1305
|
-
{ type: NgModule, args: [{
|
|
1306
|
-
imports: [CommonModule, SignatureModule],
|
|
1307
|
-
exports: [
|
|
1308
|
-
SignatureModule
|
|
1309
|
-
],
|
|
1310
|
-
providers: []
|
|
1311
|
-
},] },
|
|
1312
|
-
];
|
|
1313
|
-
/**
|
|
1314
|
-
* @nocollapse
|
|
1315
|
-
*/
|
|
1316
|
-
SignatureAllModule.ctorParameters = function () { return []; };
|
|
1317
|
-
var __decorate$7 = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
1318
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1319
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
|
|
1320
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
1321
|
-
else
|
|
1322
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1323
|
-
if (d = decorators[i])
|
|
1324
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1325
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1326
|
-
};
|
|
1327
|
-
var __metadata$7 = (this && this.__metadata) || function (k, v) {
|
|
1328
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1329
|
-
return Reflect.metadata(k, v);
|
|
1330
|
-
};
|
|
1331
|
-
var inputs$7 = ['allowReset', 'cssClass', 'disabled', 'emptyTemplate', 'enableAnimation', 'enablePersistence', 'enableRtl', 'enableSingleSelection', 'fullTemplate', 'itemsCount', 'labelPosition', 'labelTemplate', 'locale', 'min', 'precision', 'readOnly', 'showLabel', 'showTooltip', 'tooltipTemplate', 'value', 'visible'];
|
|
1332
|
-
var outputs$8 = ['focus', 'blur', 'beforeItemRender', 'created', 'onItemHover', 'valueChanged', 'valueChange'];
|
|
1333
|
-
var twoWays$7 = ['value'];
|
|
1334
|
-
/**
|
|
1335
|
-
* Represents the EJ2 Angular Rating Component.
|
|
1336
|
-
* ```html
|
|
1337
|
-
* <input ejs-rating [value]='value' />
|
|
1338
|
-
* ```
|
|
1339
|
-
*/
|
|
1340
|
-
var RatingComponent = RatingComponent_1 = /** @class */ (function (_super) {
|
|
1341
|
-
__extends(RatingComponent, _super);
|
|
1342
|
-
/**
|
|
1343
|
-
* @param {?} ngEle
|
|
1344
|
-
* @param {?} srenderer
|
|
1345
|
-
* @param {?} viewContainerRef
|
|
1346
|
-
* @param {?} injector
|
|
1347
|
-
*/
|
|
1348
|
-
function RatingComponent(ngEle, srenderer, viewContainerRef, injector) {
|
|
1349
|
-
var _this = _super.call(this) || this;
|
|
1350
|
-
_this.ngEle = ngEle;
|
|
1351
|
-
_this.srenderer = srenderer;
|
|
1352
|
-
_this.viewContainerRef = viewContainerRef;
|
|
1353
|
-
_this.injector = injector;
|
|
1354
|
-
_this.element = _this.ngEle.nativeElement;
|
|
1355
|
-
_this.injectedModules = _this.injectedModules || [];
|
|
1356
|
-
_this.registerEvents(outputs$8);
|
|
1357
|
-
_this.addTwoWay.call(_this, twoWays$7);
|
|
1358
|
-
setValue('currentInstance', _this, _this.viewContainerRef);
|
|
1359
|
-
_this.formContext = new FormBase();
|
|
1360
|
-
_this.formCompContext = new ComponentBase();
|
|
1361
|
-
return _this;
|
|
1362
|
-
}
|
|
1363
|
-
/**
|
|
1364
|
-
* @param {?} registerFunction
|
|
1365
|
-
* @return {?}
|
|
1366
|
-
*/
|
|
1367
|
-
RatingComponent.prototype.registerOnChange = function (registerFunction) {
|
|
1368
|
-
};
|
|
1369
|
-
/**
|
|
1370
|
-
* @param {?} registerFunction
|
|
1371
|
-
* @return {?}
|
|
1372
|
-
*/
|
|
1373
|
-
RatingComponent.prototype.registerOnTouched = function (registerFunction) {
|
|
1374
|
-
};
|
|
1375
|
-
/**
|
|
1376
|
-
* @param {?} value
|
|
1377
|
-
* @return {?}
|
|
1378
|
-
*/
|
|
1379
|
-
RatingComponent.prototype.writeValue = function (value) {
|
|
1380
|
-
};
|
|
1381
|
-
/**
|
|
1382
|
-
* @param {?} disabled
|
|
1383
|
-
* @return {?}
|
|
1384
|
-
*/
|
|
1385
|
-
RatingComponent.prototype.setDisabledState = function (disabled) {
|
|
1386
|
-
};
|
|
1387
|
-
/**
|
|
1388
|
-
* @return {?}
|
|
1389
|
-
*/
|
|
1390
|
-
RatingComponent.prototype.ngOnInit = function () {
|
|
1391
|
-
this.formCompContext.ngOnInit(this);
|
|
1392
|
-
};
|
|
1393
|
-
/**
|
|
1394
|
-
* @return {?}
|
|
1395
|
-
*/
|
|
1396
|
-
RatingComponent.prototype.ngAfterViewInit = function () {
|
|
1397
|
-
this.formContext.ngAfterViewInit(this);
|
|
1398
|
-
};
|
|
1399
|
-
/**
|
|
1400
|
-
* @return {?}
|
|
1401
|
-
*/
|
|
1402
|
-
RatingComponent.prototype.ngOnDestroy = function () {
|
|
1403
|
-
this.formCompContext.ngOnDestroy(this);
|
|
1404
|
-
};
|
|
1405
|
-
/**
|
|
1406
|
-
* @return {?}
|
|
1407
|
-
*/
|
|
1408
|
-
RatingComponent.prototype.ngAfterContentChecked = function () {
|
|
1409
|
-
this.formCompContext.ngAfterContentChecked(this);
|
|
1410
|
-
};
|
|
1411
|
-
return RatingComponent;
|
|
1412
|
-
}(Rating));
|
|
1413
|
-
RatingComponent.decorators = [
|
|
1414
|
-
{ type: Component, args: [{
|
|
1415
|
-
selector: '[ejs-rating]',
|
|
1416
|
-
inputs: inputs$7,
|
|
1417
|
-
outputs: outputs$8,
|
|
1418
|
-
template: '',
|
|
1419
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1420
|
-
providers: [
|
|
1421
|
-
{
|
|
1422
|
-
provide: NG_VALUE_ACCESSOR,
|
|
1423
|
-
useExisting: forwardRef(function () { return RatingComponent_1; }),
|
|
1424
|
-
multi: true
|
|
1425
|
-
}
|
|
1426
|
-
],
|
|
1427
|
-
queries: {}
|
|
1428
|
-
},] },
|
|
1429
|
-
];
|
|
1430
|
-
/**
|
|
1431
|
-
* @nocollapse
|
|
1432
|
-
*/
|
|
1433
|
-
RatingComponent.ctorParameters = function () { return [
|
|
1434
|
-
{ type: ElementRef, },
|
|
1435
|
-
{ type: Renderer2, },
|
|
1436
|
-
{ type: ViewContainerRef, },
|
|
1437
|
-
{ type: Injector, },
|
|
1438
|
-
]; };
|
|
1439
|
-
RatingComponent.propDecorators = {
|
|
1440
|
-
'fullTemplate': [{ type: ContentChild, args: ['fullTemplate',] },],
|
|
1441
|
-
'emptyTemplate': [{ type: ContentChild, args: ['emptyTemplate',] },],
|
|
1442
|
-
'tooltipTemplate': [{ type: ContentChild, args: ['tooltipTemplate',] },],
|
|
1443
|
-
'labelTemplate': [{ type: ContentChild, args: ['labelTemplate',] },],
|
|
1444
|
-
};
|
|
1445
|
-
__decorate$7([
|
|
1446
|
-
Template(),
|
|
1447
|
-
__metadata$7("design:type", Object)
|
|
1448
|
-
], RatingComponent.prototype, "fullTemplate", void 0);
|
|
1449
|
-
__decorate$7([
|
|
1450
|
-
Template(),
|
|
1451
|
-
__metadata$7("design:type", Object)
|
|
1452
|
-
], RatingComponent.prototype, "emptyTemplate", void 0);
|
|
1453
|
-
__decorate$7([
|
|
1454
|
-
Template(),
|
|
1455
|
-
__metadata$7("design:type", Object)
|
|
1456
|
-
], RatingComponent.prototype, "tooltipTemplate", void 0);
|
|
1457
|
-
__decorate$7([
|
|
1458
|
-
Template(),
|
|
1459
|
-
__metadata$7("design:type", Object)
|
|
1460
|
-
], RatingComponent.prototype, "labelTemplate", void 0);
|
|
1461
|
-
RatingComponent = RatingComponent_1 = __decorate$7([
|
|
1462
|
-
ComponentMixins([ComponentBase, FormBase]),
|
|
1463
|
-
__metadata$7("design:paramtypes", [ElementRef,
|
|
1464
|
-
Renderer2,
|
|
1465
|
-
ViewContainerRef,
|
|
1466
|
-
Injector])
|
|
1467
|
-
], RatingComponent);
|
|
1468
|
-
var RatingComponent_1;
|
|
1469
|
-
/**
|
|
1470
|
-
* NgModule definition for the Rating component.
|
|
1471
|
-
*/
|
|
1472
|
-
var RatingModule = /** @class */ (function () {
|
|
1473
|
-
function RatingModule() {
|
|
1474
|
-
}
|
|
1475
|
-
return RatingModule;
|
|
1476
|
-
}());
|
|
1477
|
-
RatingModule.decorators = [
|
|
1478
|
-
{ type: NgModule, args: [{
|
|
1479
|
-
imports: [CommonModule],
|
|
1480
|
-
declarations: [
|
|
1481
|
-
RatingComponent
|
|
1482
|
-
],
|
|
1483
|
-
exports: [
|
|
1484
|
-
RatingComponent
|
|
1485
|
-
]
|
|
1486
|
-
},] },
|
|
1487
|
-
];
|
|
1488
|
-
/**
|
|
1489
|
-
* @nocollapse
|
|
1490
|
-
*/
|
|
1491
|
-
RatingModule.ctorParameters = function () { return []; };
|
|
1492
|
-
/**
|
|
1493
|
-
* NgModule definition for the Rating component with providers.
|
|
1494
|
-
*/
|
|
1495
|
-
var RatingAllModule = /** @class */ (function () {
|
|
1496
|
-
function RatingAllModule() {
|
|
1497
|
-
}
|
|
1498
|
-
return RatingAllModule;
|
|
1499
|
-
}());
|
|
1500
|
-
RatingAllModule.decorators = [
|
|
1501
|
-
{ type: NgModule, args: [{
|
|
1502
|
-
imports: [CommonModule, RatingModule],
|
|
1503
|
-
exports: [
|
|
1504
|
-
RatingModule
|
|
1505
|
-
],
|
|
1506
|
-
providers: []
|
|
1507
|
-
},] },
|
|
1508
|
-
];
|
|
1509
|
-
/**
|
|
1510
|
-
* @nocollapse
|
|
1511
|
-
*/
|
|
1512
|
-
RatingAllModule.ctorParameters = function () { return []; };
|
|
1513
|
-
var FormValidators = /** @class */ (function () {
|
|
1514
|
-
function FormValidators() {
|
|
1515
|
-
}
|
|
1516
|
-
/**
|
|
1517
|
-
* @param {?} number
|
|
1518
|
-
* @return {?}
|
|
1519
|
-
*/
|
|
1520
|
-
FormValidators.max = function (number) {
|
|
1521
|
-
var /** @type {?} */ max = number;
|
|
1522
|
-
return function (control) {
|
|
1523
|
-
//tslint:disable-next-line
|
|
1524
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.max({ value: control.value, param: max });
|
|
1525
|
-
if (result === true) {
|
|
1526
|
-
return null;
|
|
1527
|
-
}
|
|
1528
|
-
else {
|
|
1529
|
-
return { 'max': true };
|
|
1530
|
-
}
|
|
1531
|
-
};
|
|
1532
|
-
};
|
|
1533
|
-
/**
|
|
1534
|
-
* @param {?} number
|
|
1535
|
-
* @return {?}
|
|
1536
|
-
*/
|
|
1537
|
-
FormValidators.min = function (number) {
|
|
1538
|
-
var /** @type {?} */ min = number;
|
|
1539
|
-
return function (control) {
|
|
1540
|
-
//tslint:disable-next-line
|
|
1541
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.min({ value: control.value, param: min });
|
|
1542
|
-
if (result === true) {
|
|
1543
|
-
return null;
|
|
1544
|
-
}
|
|
1545
|
-
else {
|
|
1546
|
-
return { 'min': true };
|
|
1547
|
-
}
|
|
1548
|
-
};
|
|
1549
|
-
};
|
|
1550
|
-
/**
|
|
1551
|
-
* @param {?} control
|
|
1552
|
-
* @return {?}
|
|
1553
|
-
*/
|
|
1554
|
-
FormValidators.creditcard = function (control) {
|
|
1555
|
-
//tslint:disable-next-line
|
|
1556
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.creditcard({ value: control.value });
|
|
1557
|
-
if (result === true) {
|
|
1558
|
-
return null;
|
|
1559
|
-
}
|
|
1560
|
-
else {
|
|
1561
|
-
return { 'cardno': true };
|
|
1562
|
-
}
|
|
1563
|
-
};
|
|
1564
|
-
/**
|
|
1565
|
-
* @param {?} control
|
|
1566
|
-
* @return {?}
|
|
1567
|
-
*/
|
|
1568
|
-
FormValidators.date = function (control) {
|
|
1569
|
-
//tslint:disable-next-line
|
|
1570
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.date({ value: control.value });
|
|
1571
|
-
if (result === true) {
|
|
1572
|
-
return null;
|
|
1573
|
-
}
|
|
1574
|
-
else {
|
|
1575
|
-
return { 'date': true };
|
|
1576
|
-
}
|
|
1577
|
-
};
|
|
1578
|
-
/**
|
|
1579
|
-
* @param {?} control
|
|
1580
|
-
* @return {?}
|
|
1581
|
-
*/
|
|
1582
|
-
FormValidators.dateIso = function (control) {
|
|
1583
|
-
//tslint:disable-next-line
|
|
1584
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.dateIso({ value: control.value });
|
|
1585
|
-
if (result === true) {
|
|
1586
|
-
return null;
|
|
1587
|
-
}
|
|
1588
|
-
else {
|
|
1589
|
-
return { 'dateiso': true };
|
|
1590
|
-
}
|
|
1591
|
-
};
|
|
1592
|
-
/**
|
|
1593
|
-
* @param {?} control
|
|
1594
|
-
* @return {?}
|
|
1595
|
-
*/
|
|
1596
|
-
FormValidators.digits = function (control) {
|
|
1597
|
-
//tslint:disable-next-line
|
|
1598
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.digits({ value: control.value });
|
|
1599
|
-
if (result === true) {
|
|
1600
|
-
return null;
|
|
1601
|
-
}
|
|
1602
|
-
else {
|
|
1603
|
-
return { 'digit': true };
|
|
1604
|
-
}
|
|
1605
|
-
};
|
|
1606
|
-
/**
|
|
1607
|
-
* @param {?} control
|
|
1608
|
-
* @return {?}
|
|
1609
|
-
*/
|
|
1610
|
-
FormValidators.email = function (control) {
|
|
1611
|
-
//tslint:disable-next-line
|
|
1612
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.email({ value: control.value });
|
|
1613
|
-
if (result === true) {
|
|
1614
|
-
return null;
|
|
1615
|
-
}
|
|
1616
|
-
else {
|
|
1617
|
-
return { 'email': true };
|
|
1618
|
-
}
|
|
1619
|
-
};
|
|
1620
|
-
/**
|
|
1621
|
-
* @param {?} number
|
|
1622
|
-
* @return {?}
|
|
1623
|
-
*/
|
|
1624
|
-
FormValidators.maxLength = function (number) {
|
|
1625
|
-
var /** @type {?} */ maxlength = number;
|
|
1626
|
-
return function (control) {
|
|
1627
|
-
//tslint:disable-next-line
|
|
1628
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.maxLength({ value: control.value, param: maxlength });
|
|
1629
|
-
if (result === true) {
|
|
1630
|
-
return null;
|
|
1631
|
-
}
|
|
1632
|
-
else {
|
|
1633
|
-
return { 'maxlength': true };
|
|
1634
|
-
}
|
|
1635
|
-
};
|
|
1636
|
-
};
|
|
1637
|
-
/**
|
|
1638
|
-
* @param {?} number
|
|
1639
|
-
* @return {?}
|
|
1640
|
-
*/
|
|
1641
|
-
FormValidators.minLength = function (number) {
|
|
1642
|
-
var /** @type {?} */ minlength = number;
|
|
1643
|
-
return function (control) {
|
|
1644
|
-
//tslint:disable-next-line
|
|
1645
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.minLength({ value: control.value, param: minlength });
|
|
1646
|
-
if (result === true) {
|
|
1647
|
-
return null;
|
|
1648
|
-
}
|
|
1649
|
-
else {
|
|
1650
|
-
return { 'minlength': true };
|
|
1651
|
-
}
|
|
1652
|
-
};
|
|
1653
|
-
};
|
|
1654
|
-
/**
|
|
1655
|
-
* @param {?} control
|
|
1656
|
-
* @return {?}
|
|
1657
|
-
*/
|
|
1658
|
-
FormValidators.number = function (control) {
|
|
1659
|
-
//tslint:disable-next-line
|
|
1660
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.number({ value: control.value });
|
|
1661
|
-
if (result === true) {
|
|
1662
|
-
return null;
|
|
1663
|
-
}
|
|
1664
|
-
else {
|
|
1665
|
-
return { 'number': true };
|
|
1666
|
-
}
|
|
1667
|
-
};
|
|
1668
|
-
/**
|
|
1669
|
-
* @param {?} control
|
|
1670
|
-
* @return {?}
|
|
1671
|
-
*/
|
|
1672
|
-
FormValidators.required = function (control) {
|
|
1673
|
-
//tslint:disable-next-line
|
|
1674
|
-
var /** @type {?} */ result = (control.value === null) ? false : ((FormValidator)).checkValidator.required({ value: control.value });
|
|
1675
|
-
if (result === true) {
|
|
1676
|
-
return null;
|
|
1677
|
-
}
|
|
1678
|
-
else {
|
|
1679
|
-
return { 'required': true };
|
|
1680
|
-
}
|
|
1681
|
-
};
|
|
1682
|
-
/**
|
|
1683
|
-
* @param {?} control
|
|
1684
|
-
* @return {?}
|
|
1685
|
-
*/
|
|
1686
|
-
FormValidators.tel = function (control) {
|
|
1687
|
-
//tslint:disable-next-line
|
|
1688
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.tel({ value: control.value });
|
|
1689
|
-
if (result === true) {
|
|
1690
|
-
return null;
|
|
1691
|
-
}
|
|
1692
|
-
else {
|
|
1693
|
-
return { 'telno': true };
|
|
1694
|
-
}
|
|
1695
|
-
};
|
|
1696
|
-
/**
|
|
1697
|
-
* @param {?} control
|
|
1698
|
-
* @return {?}
|
|
1699
|
-
*/
|
|
1700
|
-
FormValidators.url = function (control) {
|
|
1701
|
-
//tslint:disable-next-line
|
|
1702
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.url({ value: control.value });
|
|
1703
|
-
if (result === true) {
|
|
1704
|
-
return null;
|
|
1705
|
-
}
|
|
1706
|
-
else {
|
|
1707
|
-
return { 'url': true };
|
|
1708
|
-
}
|
|
1709
|
-
};
|
|
1710
|
-
/**
|
|
1711
|
-
* @param {?} number1
|
|
1712
|
-
* @param {?} number2
|
|
1713
|
-
* @return {?}
|
|
1714
|
-
*/
|
|
1715
|
-
FormValidators.rangeLength = function (number1, number2) {
|
|
1716
|
-
var /** @type {?} */ minRL = number1;
|
|
1717
|
-
var /** @type {?} */ maxRL = number2;
|
|
1718
|
-
//tslint:disable-next-line
|
|
1719
|
-
var /** @type {?} */ param = [minRL, maxRL];
|
|
1720
|
-
return function (control) {
|
|
1721
|
-
//tslint:disable-next-line
|
|
1722
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.rangeLength({ value: control.value, param: param });
|
|
1723
|
-
if (result === true) {
|
|
1724
|
-
return null;
|
|
1725
|
-
}
|
|
1726
|
-
else {
|
|
1727
|
-
return { 'rangelength': true };
|
|
1728
|
-
}
|
|
1729
|
-
};
|
|
1730
|
-
};
|
|
1731
|
-
/**
|
|
1732
|
-
* @param {?} number1
|
|
1733
|
-
* @param {?} number2
|
|
1734
|
-
* @return {?}
|
|
1735
|
-
*/
|
|
1736
|
-
FormValidators.range = function (number1, number2) {
|
|
1737
|
-
var /** @type {?} */ minR = number1;
|
|
1738
|
-
var /** @type {?} */ maxR = number2;
|
|
1739
|
-
//tslint:disable-next-line
|
|
1740
|
-
var /** @type {?} */ param1 = [minR, maxR];
|
|
1741
|
-
return function (control) {
|
|
1742
|
-
//tslint:disable-next-line
|
|
1743
|
-
var /** @type {?} */ result = ((FormValidator)).checkValidator.range({ value: control.value, param: param1 });
|
|
1744
|
-
if (result === true) {
|
|
1745
|
-
return null;
|
|
1746
|
-
}
|
|
1747
|
-
else {
|
|
1748
|
-
return { 'range': true };
|
|
1749
|
-
}
|
|
1750
|
-
};
|
|
1751
|
-
};
|
|
1752
|
-
return FormValidators;
|
|
1753
|
-
}());
|
|
1754
|
-
/**
|
|
1755
|
-
* Generated bundle index. Do not edit.
|
|
1756
|
-
*/
|
|
1757
|
-
export { TextBoxComponent, TextBoxModule, TextBoxAllModule, NumericTextBoxComponent, NumericTextBoxModule, NumericTextBoxAllModule, MaskedTextBoxComponent, MaskedTextBoxModule, MaskedTextBoxAllModule, SliderComponent, SliderModule, SliderAllModule, UploadedFilesDirective, FilesDirective, UploaderComponent, UploaderModule, UploaderAllModule, ColorPickerComponent, ColorPickerModule, ColorPickerAllModule, SignatureComponent, SignatureModule, SignatureAllModule, RatingComponent, RatingModule, RatingAllModule, FormValidators, inputs$5 as ɵk, outputs$6 as ɵl, inputs$2 as ɵe, outputs$2 as ɵf, inputs$1 as ɵc, outputs$1 as ɵd, inputs$7 as ɵo, outputs$8 as ɵp, inputs$6 as ɵm, outputs$7 as ɵn, inputs$3 as ɵg, outputs$3 as ɵh, inputs as ɵa, outputs as ɵb, inputs$4 as ɵi, outputs$5 as ɵj };
|
|
1758
|
-
export { NumericTextBox, regularExpressions, createMask, applyMask, wireEvents, unwireEvents, bindClearEvent, unstrippedValue, strippedValue, maskInputMouseDownHandler, maskInputMouseUpHandler, maskInputFocusHandler, triggerFocus, escapeRegExp, maskInputBlurHandler, maskInputDropHandler, mobileRemoveFunction, setMaskValue, setElementValue, maskInput, getVal, getMaskedVal, MaskUndo, MaskedTextBox, Input, TicksData, ColorRangeData, LimitData, TooltipData, Slider, regex, ErrorOption, FormValidator, FilesProp, ButtonsProps, AsyncSettings, Uploader, ColorPicker, TextBox, Signature, LabelPosition, PrecisionType, Rating, SignatureBase } from '@syncfusion/ej2-inputs';
|
|
1759
|
-
//# sourceMappingURL=ej2-angular-inputs.es5.js.map
|