iss-ctrl 0.0.3 → 0.0.5
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/README.md +16 -17
- package/fesm2022/iss-ctrl-checkbox.wrapper-BVw3Pu1B.mjs +81 -0
- package/fesm2022/iss-ctrl-checkbox.wrapper-BVw3Pu1B.mjs.map +1 -0
- package/fesm2022/iss-ctrl-chips.wrapper-FY02vbu1.mjs +83 -0
- package/fesm2022/iss-ctrl-chips.wrapper-FY02vbu1.mjs.map +1 -0
- package/fesm2022/iss-ctrl-date-picker.wrapper-BTyZyhiU.mjs +79 -0
- package/fesm2022/iss-ctrl-date-picker.wrapper-BTyZyhiU.mjs.map +1 -0
- package/fesm2022/iss-ctrl-date-range-picker.wrapper-BW1pwRKg.mjs +87 -0
- package/fesm2022/iss-ctrl-date-range-picker.wrapper-BW1pwRKg.mjs.map +1 -0
- package/fesm2022/iss-ctrl-datetime-picker.wrapper-h0P56I6e.mjs +83 -0
- package/fesm2022/iss-ctrl-datetime-picker.wrapper-h0P56I6e.mjs.map +1 -0
- package/fesm2022/iss-ctrl-file-picker.wrapper-D_4dLsqz.mjs +245 -0
- package/fesm2022/iss-ctrl-file-picker.wrapper-D_4dLsqz.mjs.map +1 -0
- package/fesm2022/iss-ctrl-input.wrapper-dK79kSim.mjs +83 -0
- package/fesm2022/iss-ctrl-input.wrapper-dK79kSim.mjs.map +1 -0
- package/fesm2022/iss-ctrl-iss-ctrl-BhZGHw0A.mjs +6024 -0
- package/fesm2022/iss-ctrl-iss-ctrl-BhZGHw0A.mjs.map +1 -0
- package/fesm2022/iss-ctrl-load-event.service-D_O5gUmg.mjs +62 -0
- package/fesm2022/iss-ctrl-load-event.service-D_O5gUmg.mjs.map +1 -0
- package/fesm2022/iss-ctrl-load-options-event.service-CylOcoz4.mjs +51 -0
- package/fesm2022/iss-ctrl-load-options-event.service-CylOcoz4.mjs.map +1 -0
- package/fesm2022/iss-ctrl-load-value-event.service-BRz28bIm.mjs +52 -0
- package/fesm2022/iss-ctrl-load-value-event.service-BRz28bIm.mjs.map +1 -0
- package/fesm2022/iss-ctrl-mobile.wrapper-DOvO-cRi.mjs +70 -0
- package/fesm2022/iss-ctrl-mobile.wrapper-DOvO-cRi.mjs.map +1 -0
- package/fesm2022/iss-ctrl-note.wrapper-BW6WOulk.mjs +43 -0
- package/fesm2022/iss-ctrl-note.wrapper-BW6WOulk.mjs.map +1 -0
- package/fesm2022/iss-ctrl-plate-number.wrapper-B_NXePR_.mjs +228 -0
- package/fesm2022/iss-ctrl-plate-number.wrapper-B_NXePR_.mjs.map +1 -0
- package/fesm2022/iss-ctrl-radio.wrapper-BHXkIyX9.mjs +84 -0
- package/fesm2022/iss-ctrl-radio.wrapper-BHXkIyX9.mjs.map +1 -0
- package/fesm2022/iss-ctrl-replace-api-keys.service-DNns4c2U.mjs +57 -0
- package/fesm2022/iss-ctrl-replace-api-keys.service-DNns4c2U.mjs.map +1 -0
- package/fesm2022/iss-ctrl-select.viewer-Bd4flLOk.mjs +30 -0
- package/fesm2022/iss-ctrl-select.viewer-Bd4flLOk.mjs.map +1 -0
- package/fesm2022/iss-ctrl-select.wrapper-B78Aap__.mjs +66 -0
- package/fesm2022/iss-ctrl-select.wrapper-B78Aap__.mjs.map +1 -0
- package/fesm2022/iss-ctrl-set-value-event.service-Dc4bcaTp.mjs +61 -0
- package/fesm2022/iss-ctrl-set-value-event.service-Dc4bcaTp.mjs.map +1 -0
- package/fesm2022/iss-ctrl-show-event.service-Bg9VNotN.mjs +18 -0
- package/fesm2022/iss-ctrl-show-event.service-Bg9VNotN.mjs.map +1 -0
- package/fesm2022/iss-ctrl-slide-toggle.wrapper-CRTpag4Q.mjs +75 -0
- package/fesm2022/iss-ctrl-slide-toggle.wrapper-CRTpag4Q.mjs.map +1 -0
- package/fesm2022/iss-ctrl-table.wrapper-B1q8mXCB.mjs +312 -0
- package/fesm2022/iss-ctrl-table.wrapper-B1q8mXCB.mjs.map +1 -0
- package/fesm2022/iss-ctrl-textarea.wrapper-LR5_KMxK.mjs +70 -0
- package/fesm2022/iss-ctrl-textarea.wrapper-LR5_KMxK.mjs.map +1 -0
- package/fesm2022/iss-ctrl-time-picker.wrapper-D_td2M3Z.mjs +67 -0
- package/fesm2022/iss-ctrl-time-picker.wrapper-D_td2M3Z.mjs.map +1 -0
- package/fesm2022/iss-ctrl-toggle-button.wrapper-DxA2jL1S.mjs +89 -0
- package/fesm2022/iss-ctrl-toggle-button.wrapper-DxA2jL1S.mjs.map +1 -0
- package/fesm2022/iss-ctrl-trigger-based-on-json-value.service-CAnJWl6G.mjs +24 -0
- package/fesm2022/iss-ctrl-trigger-based-on-json-value.service-CAnJWl6G.mjs.map +1 -0
- package/fesm2022/iss-ctrl-user-picker.wrapper-UeA0dCqd.mjs +190 -0
- package/fesm2022/iss-ctrl-user-picker.wrapper-UeA0dCqd.mjs.map +1 -0
- package/fesm2022/iss-ctrl-viewer.base-BCFfZsDG.mjs +17 -0
- package/fesm2022/iss-ctrl-viewer.base-BCFfZsDG.mjs.map +1 -0
- package/fesm2022/iss-ctrl.mjs +2 -0
- package/fesm2022/iss-ctrl.mjs.map +1 -0
- package/package.json +18 -44
- package/types/iss-ctrl.d.ts +712 -0
- package/.editorconfig +0 -13
- package/.eslintrc.json +0 -90
- package/angular.json +0 -190
- package/bun.lock +0 -1998
- package/projects/iss/.eslintrc.json +0 -37
- package/projects/iss/README.md +0 -24
- package/projects/iss/ng-package.json +0 -10
- package/projects/iss/package.json +0 -17
- package/projects/iss/src/components/controls/base/control.base.ts +0 -77
- package/projects/iss/src/components/controls/base/viewer.base.ts +0 -8
- package/projects/iss/src/components/controls/base/wrapper.base.ts +0 -85
- package/projects/iss/src/components/controls/checkbox/checkbox.control.ts +0 -93
- package/projects/iss/src/components/controls/checkbox/checkbox.viewer.ts +0 -15
- package/projects/iss/src/components/controls/checkbox/checkbox.wrapper.ts +0 -36
- package/projects/iss/src/components/controls/chips/chips.control.ts +0 -99
- package/projects/iss/src/components/controls/chips/chips.viewer.ts +0 -23
- package/projects/iss/src/components/controls/chips/chips.wrapper.ts +0 -31
- package/projects/iss/src/components/controls/date-picker/date-picker.control.ts +0 -85
- package/projects/iss/src/components/controls/date-picker/date-picker.viewer.ts +0 -14
- package/projects/iss/src/components/controls/date-picker/date-picker.wrapper.ts +0 -35
- package/projects/iss/src/components/controls/date-range-picker/date-range-picker.control.ts +0 -143
- package/projects/iss/src/components/controls/date-range-picker/date-range-picker.viewer.ts +0 -22
- package/projects/iss/src/components/controls/date-range-picker/date-range-picker.wrapper.ts +0 -35
- package/projects/iss/src/components/controls/datetime-picker/datetime-picker.control.ts +0 -109
- package/projects/iss/src/components/controls/datetime-picker/datetime-picker.viewer.ts +0 -17
- package/projects/iss/src/components/controls/datetime-picker/datetime-picker.wrapper.ts +0 -38
- package/projects/iss/src/components/controls/file-picker/attachment.viewer.ts +0 -165
- package/projects/iss/src/components/controls/file-picker/droppable.directive.ts +0 -28
- package/projects/iss/src/components/controls/file-picker/file-handler.service.ts +0 -115
- package/projects/iss/src/components/controls/file-picker/file-picker.control.ts +0 -187
- package/projects/iss/src/components/controls/file-picker/file-picker.wrapper.ts +0 -120
- package/projects/iss/src/components/controls/input/input.control.ts +0 -95
- package/projects/iss/src/components/controls/input/input.viewer.ts +0 -11
- package/projects/iss/src/components/controls/input/input.wrapper.ts +0 -40
- package/projects/iss/src/components/controls/mobile/mobile.control.ts +0 -222
- package/projects/iss/src/components/controls/mobile/mobile.viewer.ts +0 -11
- package/projects/iss/src/components/controls/mobile/mobile.wrapper.ts +0 -32
- package/projects/iss/src/components/controls/mobile/phone.service.ts +0 -96
- package/projects/iss/src/components/controls/note/note.wrapper.ts +0 -25
- package/projects/iss/src/components/controls/plate/plate-letter.pipe.ts +0 -14
- package/projects/iss/src/components/controls/plate/plate-number.wrapper.ts +0 -36
- package/projects/iss/src/components/controls/plate/plate.control.ts +0 -481
- package/projects/iss/src/components/controls/plate/plate.viewer.ts +0 -289
- package/projects/iss/src/components/controls/radio/radio.control.ts +0 -48
- package/projects/iss/src/components/controls/radio/radio.viewer.ts +0 -14
- package/projects/iss/src/components/controls/radio/radio.wrapper.ts +0 -38
- package/projects/iss/src/components/controls/select/select.control.ts +0 -261
- package/projects/iss/src/components/controls/select/select.viewer.ts +0 -14
- package/projects/iss/src/components/controls/select/select.wrapper.ts +0 -41
- package/projects/iss/src/components/controls/slide-toggle/slide-toggle.control.ts +0 -24
- package/projects/iss/src/components/controls/slide-toggle/slide-toggle.viewer.ts +0 -14
- package/projects/iss/src/components/controls/slide-toggle/slide-toggle.wrapper.ts +0 -31
- package/projects/iss/src/components/controls/table/field.viewer.ts +0 -23
- package/projects/iss/src/components/controls/table/table.wrapper.ts +0 -233
- package/projects/iss/src/components/controls/textarea/textarea.control.ts +0 -54
- package/projects/iss/src/components/controls/textarea/textarea.viewer.ts +0 -11
- package/projects/iss/src/components/controls/textarea/textarea.wrapper.ts +0 -34
- package/projects/iss/src/components/controls/time-picker/time-picker.control.ts +0 -86
- package/projects/iss/src/components/controls/time-picker/time-picker.viewer.ts +0 -10
- package/projects/iss/src/components/controls/time-picker/time-picker.wrapper.ts +0 -31
- package/projects/iss/src/components/controls/toggle-button/toggle-button.control.ts +0 -105
- package/projects/iss/src/components/controls/toggle-button/toggle-button.viewer.ts +0 -15
- package/projects/iss/src/components/controls/toggle-button/toggle-button.wrapper.ts +0 -40
- package/projects/iss/src/components/controls/user-picker/employee.service.ts +0 -73
- package/projects/iss/src/components/controls/user-picker/user-picker.wrapper.ts +0 -128
- package/projects/iss/src/components/outlet/field-data-injector.pipe.ts +0 -20
- package/projects/iss/src/components/outlet/outlet.ts +0 -152
- package/projects/iss/src/components/shared/hints.component.ts +0 -38
- package/projects/iss/src/components/shared/validation-message.component.ts +0 -36
- package/projects/iss/src/events/event-handler.service.ts +0 -47
- package/projects/iss/src/events/load/after-fetch.service.ts +0 -29
- package/projects/iss/src/events/load/load-event.service.ts +0 -26
- package/projects/iss/src/events/load/load-options-event.service.ts +0 -51
- package/projects/iss/src/events/load/load-value-event.service.ts +0 -50
- package/projects/iss/src/events/load/replace-api-keys.service.ts +0 -55
- package/projects/iss/src/events/set-value/get-value-to-set.service.ts +0 -29
- package/projects/iss/src/events/set-value/set-value-event.service.ts +0 -33
- package/projects/iss/src/events/show/show-event.service.ts +0 -11
- package/projects/iss/src/events/triggers/action-trigger-manager.service.ts +0 -51
- package/projects/iss/src/events/triggers/action-trigger.service.ts +0 -30
- package/projects/iss/src/events/triggers/trigger-based-on-json-value.service.ts +0 -19
- package/projects/iss/src/public-api.ts +0 -102
- package/projects/iss/src/shared/classes/field-action-config.ts +0 -56
- package/projects/iss/src/shared/classes/field-action.ts +0 -28
- package/projects/iss/src/shared/classes/field-async-validation.ts +0 -7
- package/projects/iss/src/shared/classes/field-config.ts +0 -113
- package/projects/iss/src/shared/classes/field-option.ts +0 -9
- package/projects/iss/src/shared/classes/field-validation.ts +0 -15
- package/projects/iss/src/shared/classes/form-field.ts +0 -94
- package/projects/iss/src/shared/constants/countries.const.ts +0 -2051
- package/projects/iss/src/shared/constants/date.const.ts +0 -18
- package/projects/iss/src/shared/constants/plate-letters.const.ts +0 -21
- package/projects/iss/src/shared/constants/provider.const.ts +0 -7
- package/projects/iss/src/shared/constants/regex.const.ts +0 -1
- package/projects/iss/src/shared/constants/validation.const.ts +0 -115
- package/projects/iss/src/shared/indexes/components.index.ts +0 -27
- package/projects/iss/src/shared/indexes/services.index.ts +0 -11
- package/projects/iss/src/shared/indexes/validators.index.ts +0 -21
- package/projects/iss/src/shared/interfaces/action.interface.ts +0 -7
- package/projects/iss/src/shared/interfaces/attachment.interface.ts +0 -7
- package/projects/iss/src/shared/interfaces/country.interface.ts +0 -11
- package/projects/iss/src/shared/interfaces/date-range.interface.ts +0 -5
- package/projects/iss/src/shared/interfaces/datetime.interface.ts +0 -4
- package/projects/iss/src/shared/interfaces/dto.interface.ts +0 -12
- package/projects/iss/src/shared/interfaces/field.interface.ts +0 -27
- package/projects/iss/src/shared/interfaces/file.interface.ts +0 -9
- package/projects/iss/src/shared/interfaces/hint.interface.ts +0 -8
- package/projects/iss/src/shared/interfaces/i18n.interface.ts +0 -4
- package/projects/iss/src/shared/interfaces/import.interface.ts +0 -3
- package/projects/iss/src/shared/interfaces/mobile.interface.ts +0 -12
- package/projects/iss/src/shared/interfaces/option.interface.ts +0 -4
- package/projects/iss/src/shared/interfaces/outlet.interface.ts +0 -8
- package/projects/iss/src/shared/interfaces/plate-letter.interface.ts +0 -7
- package/projects/iss/src/shared/interfaces/validation.interface.ts +0 -5
- package/projects/iss/src/shared/pipes/arabic-number.pipe.ts +0 -14
- package/projects/iss/src/shared/pipes/select-status.pipe.ts +0 -10
- package/projects/iss/src/shared/pipes/translate.pipe.ts +0 -20
- package/projects/iss/src/shared/services/form-engine.service.ts +0 -121
- package/projects/iss/src/shared/services/loader.service.ts +0 -51
- package/projects/iss/src/shared/tokens/api-response-mapper.token.ts +0 -4
- package/projects/iss/src/shared/tokens/attachment.token.ts +0 -6
- package/projects/iss/src/shared/tokens/field.token.ts +0 -4
- package/projects/iss/src/shared/tokens/host.token.ts +0 -3
- package/projects/iss/src/shared/tokens/language.token.ts +0 -3
- package/projects/iss/src/shared/tokens/url.token.ts +0 -3
- package/projects/iss/src/shared/types/iso2.type.ts +0 -244
- package/projects/iss/src/shared/types/validation.type.ts +0 -3
- package/projects/iss/src/shared/utilities/array-from.util.ts +0 -7
- package/projects/iss/src/shared/utilities/format-file-size.util.ts +0 -9
- package/projects/iss/src/shared/utilities/get-property-by-path.util.ts +0 -30
- package/projects/iss/src/shared/utilities/http.util.service.ts +0 -19
- package/projects/iss/src/shared/utilities/is-valid-api.util.ts +0 -8
- package/projects/iss/src/shared/utilities/replace-placeholder.util.ts +0 -12
- package/projects/iss/src/validators/core.validator.ts +0 -39
- package/projects/iss/src/validators/file.validator.ts +0 -100
- package/projects/iss/src/validators/time.validator.ts +0 -31
- package/projects/iss/tsconfig.lib.json +0 -13
- package/projects/iss/tsconfig.lib.prod.json +0 -9
- package/projects/iss/tsconfig.spec.json +0 -13
- package/projects/playground/.eslintrc.json +0 -37
- package/projects/playground/public/favicon.ico +0 -0
- package/projects/playground/public/flags/ad.svg +0 -282
- package/projects/playground/public/flags/ae.svg +0 -6
- package/projects/playground/public/flags/af.svg +0 -9
- package/projects/playground/public/flags/ag.svg +0 -15
- package/projects/playground/public/flags/ai.svg +0 -35
- package/projects/playground/public/flags/al.svg +0 -7
- package/projects/playground/public/flags/am.svg +0 -5
- package/projects/playground/public/flags/ao.svg +0 -19
- package/projects/playground/public/flags/aq.svg +0 -45
- package/projects/playground/public/flags/ar.svg +0 -66
- package/projects/playground/public/flags/as.svg +0 -225
- package/projects/playground/public/flags/at.svg +0 -4
- package/projects/playground/public/flags/au.svg +0 -32
- package/projects/playground/public/flags/aw.svg +0 -11
- package/projects/playground/public/flags/ax.svg +0 -11
- package/projects/playground/public/flags/az.svg +0 -11
- package/projects/playground/public/flags/ba.svg +0 -18
- package/projects/playground/public/flags/bb.svg +0 -11
- package/projects/playground/public/flags/bd.svg +0 -4
- package/projects/playground/public/flags/be.svg +0 -5
- package/projects/playground/public/flags/bf.svg +0 -14
- package/projects/playground/public/flags/bg.svg +0 -5
- package/projects/playground/public/flags/bh.svg +0 -4
- package/projects/playground/public/flags/bi.svg +0 -26
- package/projects/playground/public/flags/bj.svg +0 -5
- package/projects/playground/public/flags/bl.svg +0 -5
- package/projects/playground/public/flags/bm.svg +0 -374
- package/projects/playground/public/flags/bn.svg +0 -70
- package/projects/playground/public/flags/bo.svg +0 -3625
- package/projects/playground/public/flags/bq.svg +0 -5
- package/projects/playground/public/flags/br.svg +0 -92
- package/projects/playground/public/flags/bs.svg +0 -5
- package/projects/playground/public/flags/bt.svg +0 -487
- package/projects/playground/public/flags/bv.svg +0 -11
- package/projects/playground/public/flags/bw.svg +0 -5
- package/projects/playground/public/flags/by.svg +0 -15
- package/projects/playground/public/flags/bz.svg +0 -629
- package/projects/playground/public/flags/ca.svg +0 -7
- package/projects/playground/public/flags/cc.svg +0 -33
- package/projects/playground/public/flags/cd.svg +0 -5
- package/projects/playground/public/flags/cf.svg +0 -7
- package/projects/playground/public/flags/cg.svg +0 -5
- package/projects/playground/public/flags/ch.svg +0 -4
- package/projects/playground/public/flags/ci.svg +0 -5
- package/projects/playground/public/flags/ck.svg +0 -29
- package/projects/playground/public/flags/cl.svg +0 -14
- package/projects/playground/public/flags/cm.svg +0 -15
- package/projects/playground/public/flags/cn.svg +0 -11
- package/projects/playground/public/flags/co.svg +0 -5
- package/projects/playground/public/flags/cr.svg +0 -1332
- package/projects/playground/public/flags/cu.svg +0 -6
- package/projects/playground/public/flags/cv.svg +0 -24
- package/projects/playground/public/flags/cw.svg +0 -16
- package/projects/playground/public/flags/cx.svg +0 -24
- package/projects/playground/public/flags/cy.svg +0 -13
- package/projects/playground/public/flags/cz.svg +0 -5
- package/projects/playground/public/flags/de.svg +0 -5
- package/projects/playground/public/flags/dj.svg +0 -6
- package/projects/playground/public/flags/dk.svg +0 -5
- package/projects/playground/public/flags/dm.svg +0 -198
- package/projects/playground/public/flags/do.svg +0 -238
- package/projects/playground/public/flags/dz.svg +0 -5
- package/projects/playground/public/flags/ec.svg +0 -1292
- package/projects/playground/public/flags/ee.svg +0 -5
- package/projects/playground/public/flags/eg.svg +0 -125
- package/projects/playground/public/flags/eh.svg +0 -12
- package/projects/playground/public/flags/er.svg +0 -9
- package/projects/playground/public/flags/es.svg +0 -445
- package/projects/playground/public/flags/et.svg +0 -16
- package/projects/playground/public/flags/eu.svg +0 -28
- package/projects/playground/public/flags/fi.svg +0 -5
- package/projects/playground/public/flags/fj.svg +0 -203
- package/projects/playground/public/flags/fk.svg +0 -922
- package/projects/playground/public/flags/flags.png +0 -0
- package/projects/playground/public/flags/flags@2x.png +0 -0
- package/projects/playground/public/flags/fm.svg +0 -16
- package/projects/playground/public/flags/fo.svg +0 -11
- package/projects/playground/public/flags/fonts.css +0 -271
- package/projects/playground/public/flags/fr.svg +0 -5
- package/projects/playground/public/flags/ga.svg +0 -5
- package/projects/playground/public/flags/gb-eng.svg +0 -7
- package/projects/playground/public/flags/gb-nir.svg +0 -15
- package/projects/playground/public/flags/gb-sct.svg +0 -11
- package/projects/playground/public/flags/gb-wls.svg +0 -16
- package/projects/playground/public/flags/gb.svg +0 -15
- package/projects/playground/public/flags/gd.svg +0 -11
- package/projects/playground/public/flags/ge.svg +0 -17
- package/projects/playground/public/flags/gf.svg +0 -5
- package/projects/playground/public/flags/gg.svg +0 -8
- package/projects/playground/public/flags/gh.svg +0 -6
- package/projects/playground/public/flags/gi.svg +0 -69
- package/projects/playground/public/flags/gl.svg +0 -4
- package/projects/playground/public/flags/gm.svg +0 -7
- package/projects/playground/public/flags/gn.svg +0 -5
- package/projects/playground/public/flags/gp.svg +0 -5
- package/projects/playground/public/flags/gq.svg +0 -88
- package/projects/playground/public/flags/gr.svg +0 -4
- package/projects/playground/public/flags/gs.svg +0 -693
- package/projects/playground/public/flags/gt.svg +0 -317
- package/projects/playground/public/flags/gu.svg +0 -58
- package/projects/playground/public/flags/gw.svg +0 -13
- package/projects/playground/public/flags/gy.svg +0 -7
- package/projects/playground/public/flags/hk.svg +0 -17
- package/projects/playground/public/flags/hm.svg +0 -32
- package/projects/playground/public/flags/hn.svg +0 -10
- package/projects/playground/public/flags/hr.svg +0 -282
- package/projects/playground/public/flags/ht.svg +0 -1470
- package/projects/playground/public/flags/hu.svg +0 -5
- package/projects/playground/public/flags/id.svg +0 -4
- package/projects/playground/public/flags/ie.svg +0 -5
- package/projects/playground/public/flags/il.svg +0 -5
- package/projects/playground/public/flags/im.svg +0 -33
- package/projects/playground/public/flags/in.svg +0 -25
- package/projects/playground/public/flags/io.svg +0 -895
- package/projects/playground/public/flags/iq.svg +0 -12
- package/projects/playground/public/flags/ir.svg +0 -31
- package/projects/playground/public/flags/is.svg +0 -5
- package/projects/playground/public/flags/it.svg +0 -5
- package/projects/playground/public/flags/je.svg +0 -40
- package/projects/playground/public/flags/jm.svg +0 -9
- package/projects/playground/public/flags/jo.svg +0 -10
- package/projects/playground/public/flags/jp.svg +0 -4
- package/projects/playground/public/flags/ke.svg +0 -28
- package/projects/playground/public/flags/kg.svg +0 -7
- package/projects/playground/public/flags/kh.svg +0 -133
- package/projects/playground/public/flags/ki.svg +0 -54
- package/projects/playground/public/flags/km.svg +0 -13
- package/projects/playground/public/flags/kn.svg +0 -24
- package/projects/playground/public/flags/kp.svg +0 -16
- package/projects/playground/public/flags/kr.svg +0 -16
- package/projects/playground/public/flags/kw.svg +0 -6
- package/projects/playground/public/flags/ky.svg +0 -153
- package/projects/playground/public/flags/kz.svg +0 -49
- package/projects/playground/public/flags/la.svg +0 -5
- package/projects/playground/public/flags/lb.svg +0 -8
- package/projects/playground/public/flags/lc.svg +0 -6
- package/projects/playground/public/flags/li.svg +0 -79
- package/projects/playground/public/flags/lk.svg +0 -50
- package/projects/playground/public/flags/lr.svg +0 -15
- package/projects/playground/public/flags/ls.svg +0 -32
- package/projects/playground/public/flags/lt.svg +0 -5
- package/projects/playground/public/flags/lu.svg +0 -5
- package/projects/playground/public/flags/lv.svg +0 -4
- package/projects/playground/public/flags/ly.svg +0 -8
- package/projects/playground/public/flags/ma.svg +0 -4
- package/projects/playground/public/flags/mc.svg +0 -4
- package/projects/playground/public/flags/md.svg +0 -102
- package/projects/playground/public/flags/me.svg +0 -240
- package/projects/playground/public/flags/mf.svg +0 -5
- package/projects/playground/public/flags/mg.svg +0 -5
- package/projects/playground/public/flags/mh.svg +0 -18
- package/projects/playground/public/flags/mk.svg +0 -6
- package/projects/playground/public/flags/ml.svg +0 -5
- package/projects/playground/public/flags/mm.svg +0 -12
- package/projects/playground/public/flags/mn.svg +0 -12
- package/projects/playground/public/flags/mo.svg +0 -13
- package/projects/playground/public/flags/mp.svg +0 -2919
- package/projects/playground/public/flags/mq.svg +0 -5
- package/projects/playground/public/flags/mr.svg +0 -5
- package/projects/playground/public/flags/ms.svg +0 -59
- package/projects/playground/public/flags/mt.svg +0 -52
- package/projects/playground/public/flags/mu.svg +0 -6
- package/projects/playground/public/flags/mv.svg +0 -8
- package/projects/playground/public/flags/mw.svg +0 -24
- package/projects/playground/public/flags/mx.svg +0 -1129
- package/projects/playground/public/flags/my.svg +0 -12
- package/projects/playground/public/flags/mz.svg +0 -50
- package/projects/playground/public/flags/na.svg +0 -17
- package/projects/playground/public/flags/nc.svg +0 -5
- package/projects/playground/public/flags/ne.svg +0 -6
- package/projects/playground/public/flags/nf.svg +0 -8
- package/projects/playground/public/flags/ng.svg +0 -4
- package/projects/playground/public/flags/ni.svg +0 -281
- package/projects/playground/public/flags/nl.svg +0 -5
- package/projects/playground/public/flags/no.svg +0 -11
- package/projects/playground/public/flags/np.svg +0 -33
- package/projects/playground/public/flags/nr.svg +0 -8
- package/projects/playground/public/flags/nu.svg +0 -23
- package/projects/playground/public/flags/nz.svg +0 -37
- package/projects/playground/public/flags/om.svg +0 -307
- package/projects/playground/public/flags/pa.svg +0 -15
- package/projects/playground/public/flags/pe.svg +0 -767
- package/projects/playground/public/flags/pf.svg +0 -38
- package/projects/playground/public/flags/pg.svg +0 -16
- package/projects/playground/public/flags/ph.svg +0 -28
- package/projects/playground/public/flags/pk.svg +0 -7
- package/projects/playground/public/flags/pl.svg +0 -4
- package/projects/playground/public/flags/pm.svg +0 -5
- package/projects/playground/public/flags/pn.svg +0 -131
- package/projects/playground/public/flags/pr.svg +0 -6
- package/projects/playground/public/flags/ps.svg +0 -6
- package/projects/playground/public/flags/pt.svg +0 -79
- package/projects/playground/public/flags/pw.svg +0 -4
- package/projects/playground/public/flags/py.svg +0 -192
- package/projects/playground/public/flags/qa.svg +0 -7
- package/projects/playground/public/flags/re.svg +0 -5
- package/projects/playground/public/flags/ro.svg +0 -5
- package/projects/playground/public/flags/rs.svg +0 -1143
- package/projects/playground/public/flags/ru.svg +0 -5
- package/projects/playground/public/flags/rw.svg +0 -17
- package/projects/playground/public/flags/sa.svg +0 -23
- package/projects/playground/public/flags/sb.svg +0 -30
- package/projects/playground/public/flags/sc.svg +0 -7
- package/projects/playground/public/flags/sd.svg +0 -6
- package/projects/playground/public/flags/se.svg +0 -5
- package/projects/playground/public/flags/sg.svg +0 -15
- package/projects/playground/public/flags/sh.svg +0 -15
- package/projects/playground/public/flags/si.svg +0 -30
- package/projects/playground/public/flags/sj.svg +0 -11
- package/projects/playground/public/flags/sk.svg +0 -21
- package/projects/playground/public/flags/sl.svg +0 -5
- package/projects/playground/public/flags/sm.svg +0 -847
- package/projects/playground/public/flags/sn.svg +0 -15
- package/projects/playground/public/flags/so.svg +0 -13
- package/projects/playground/public/flags/sr.svg +0 -6
- package/projects/playground/public/flags/ss.svg +0 -8
- package/projects/playground/public/flags/st.svg +0 -16
- package/projects/playground/public/flags/stc-icons.css +0 -1
- package/projects/playground/public/flags/sv.svg +0 -3368
- package/projects/playground/public/flags/sx.svg +0 -172
- package/projects/playground/public/flags/sy.svg +0 -6
- package/projects/playground/public/flags/sz.svg +0 -54
- package/projects/playground/public/flags/tc.svg +0 -88
- package/projects/playground/public/flags/td.svg +0 -5
- package/projects/playground/public/flags/tf.svg +0 -18
- package/projects/playground/public/flags/tg.svg +0 -15
- package/projects/playground/public/flags/th.svg +0 -5
- package/projects/playground/public/flags/tj.svg +0 -32
- package/projects/playground/public/flags/tk.svg +0 -25
- package/projects/playground/public/flags/tl.svg +0 -6
- package/projects/playground/public/flags/tm.svg +0 -349
- package/projects/playground/public/flags/tn.svg +0 -9
- package/projects/playground/public/flags/to.svg +0 -8
- package/projects/playground/public/flags/tr.svg +0 -6
- package/projects/playground/public/flags/tt.svg +0 -5
- package/projects/playground/public/flags/tv.svg +0 -18
- package/projects/playground/public/flags/tw.svg +0 -12
- package/projects/playground/public/flags/tz.svg +0 -13
- package/projects/playground/public/flags/ua.svg +0 -4
- package/projects/playground/public/flags/ug.svg +0 -46
- package/projects/playground/public/flags/um.svg +0 -25
- package/projects/playground/public/flags/us.svg +0 -25
- package/projects/playground/public/flags/uy.svg +0 -138
- package/projects/playground/public/flags/uz.svg +0 -30
- package/projects/playground/public/flags/va.svg +0 -277
- package/projects/playground/public/flags/vc.svg +0 -9
- package/projects/playground/public/flags/ve.svg +0 -28
- package/projects/playground/public/flags/vg.svg +0 -96
- package/projects/playground/public/flags/vi.svg +0 -311
- package/projects/playground/public/flags/vn.svg +0 -12
- package/projects/playground/public/flags/vu.svg +0 -20
- package/projects/playground/public/flags/wf.svg +0 -7
- package/projects/playground/public/flags/ws.svg +0 -14
- package/projects/playground/public/flags/xk.svg +0 -11
- package/projects/playground/public/flags/ye.svg +0 -5
- package/projects/playground/public/flags/yt.svg +0 -5
- package/projects/playground/public/flags/za.svg +0 -17
- package/projects/playground/public/flags/zm.svg +0 -20
- package/projects/playground/public/flags/zw.svg +0 -130
- package/projects/playground/src/app/app.component.ts +0 -119
- package/projects/playground/src/app/app.config.ts +0 -51
- package/projects/playground/src/app/app.routes.ts +0 -41
- package/projects/playground/src/app/login.service.ts +0 -21
- package/projects/playground/src/components/attachment-wrapper.component.ts +0 -45
- package/projects/playground/src/components/attachment.component.ts +0 -35
- package/projects/playground/src/components/checkbox-wrapper.component.ts +0 -43
- package/projects/playground/src/components/chips-wrapper.component.ts +0 -37
- package/projects/playground/src/components/ctrl-array-wrapper.component.ts +0 -76
- package/projects/playground/src/components/date-picker-container.component.ts +0 -22
- package/projects/playground/src/components/date-picker-wrapper.component.ts +0 -41
- package/projects/playground/src/components/date-range-picker-container.component.ts +0 -24
- package/projects/playground/src/components/date-range-picker-wrapper.component.ts +0 -41
- package/projects/playground/src/components/datetime-container.component.ts +0 -25
- package/projects/playground/src/components/datetime-picker-wrapper.component.ts +0 -62
- package/projects/playground/src/components/input-container.component.ts +0 -35
- package/projects/playground/src/components/input-wrapper.component.ts +0 -41
- package/projects/playground/src/components/mobile-container.component.ts +0 -23
- package/projects/playground/src/components/mobile-wrapper.component.ts +0 -36
- package/projects/playground/src/components/note-wrapper.component.ts +0 -37
- package/projects/playground/src/components/outlet-container.component.ts +0 -144
- package/projects/playground/src/components/plate-container.component.ts +0 -22
- package/projects/playground/src/components/plate-wrapper.component.ts +0 -39
- package/projects/playground/src/components/radio-wrapper.component.ts +0 -45
- package/projects/playground/src/components/select-container.component.ts +0 -31
- package/projects/playground/src/components/select-wrapper.component.ts +0 -48
- package/projects/playground/src/components/ships-container.component.ts +0 -23
- package/projects/playground/src/components/slide-toggle-wrapper.component.ts +0 -40
- package/projects/playground/src/components/textarea-container.component.ts +0 -23
- package/projects/playground/src/components/textarea-wrapper.component.ts +0 -54
- package/projects/playground/src/components/time-picker-container.component.ts +0 -23
- package/projects/playground/src/components/time-picker-wrapper.component.ts +0 -43
- package/projects/playground/src/components/toggle-button-wrapper.component.ts +0 -49
- package/projects/playground/src/components/user-picker-wrapper.component.ts +0 -37
- package/projects/playground/src/eServices/create-request.component.ts +0 -28
- package/projects/playground/src/eServices/e-service.component.ts +0 -112
- package/projects/playground/src/eServices/view-request.component.ts +0 -13
- package/projects/playground/src/index.html +0 -13
- package/projects/playground/src/interceptors/header.interceptor.ts +0 -71
- package/projects/playground/src/main.ts +0 -8
- package/projects/playground/src/services/ss.service.ts +0 -62
- package/projects/playground/src/styles.scss +0 -33
- package/projects/playground/src/validators/customValidator.validator.ts +0 -10
- package/projects/playground/tsconfig.app.json +0 -15
- package/tsconfig.json +0 -31
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ad.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ae.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/af.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ag.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ai.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/al.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/am.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ao.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/aq.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ar.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/as.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/at.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/au.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/aw.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ax.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/az.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ba.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bb.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bd.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/be.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bf.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bh.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bi.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bj.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bl.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bo.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bq.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/br.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bs.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bt.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bv.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bw.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/by.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/bz.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ca.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cc.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cd.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cf.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ch.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ci.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ck.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cl.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/co.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cu.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cv.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cw.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cx.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cy.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/cz.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/de.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/dj.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/dk.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/dm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/do.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/dz.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ec.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ee.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/eg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/eh.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/er.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/es.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/et.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/eu.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/fi.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/fj.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/fk.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/flags.png +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/flags@2x.png +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/fm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/fo.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/fonts.css +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/fr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ga.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gb-eng.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gb-nir.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gb-sct.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gb-wls.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gb.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gd.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ge.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gf.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gh.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gi.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gl.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gp.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gq.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gs.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gt.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gu.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gw.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/gy.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/hk.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/hm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/hn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/hr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ht.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/hu.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/id.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ie.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/il.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/im.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/in.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/io.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/iq.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ir.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/is.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/it.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/je.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/jm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/jo.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/jp.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ke.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/kg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/kh.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ki.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/km.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/kn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/kp.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/kr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/kw.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ky.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/kz.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/la.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/lb.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/lc.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/li.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/lk.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/lr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ls.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/lt.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/lu.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/lv.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ly.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ma.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mc.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/md.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/me.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mf.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mh.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mk.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ml.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mo.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mp.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mq.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ms.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mt.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mu.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mv.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mw.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mx.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/my.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/mz.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/na.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/nc.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ne.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/nf.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ng.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ni.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/nl.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/no.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/np.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/nr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/nu.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/nz.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/om.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pa.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pe.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pf.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ph.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pk.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pl.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ps.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pt.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/pw.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/py.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/qa.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/re.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ro.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/rs.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ru.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/rw.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sa.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sb.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sc.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sd.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/se.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sh.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/si.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sj.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sk.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sl.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/so.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ss.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/st.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/stc-icons.css +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sv.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sx.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sy.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/sz.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tc.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/td.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tf.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/th.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tj.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tk.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tl.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/to.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tr.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tt.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tv.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tw.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/tz.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ua.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ug.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/um.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/us.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/uy.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/uz.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/va.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/vc.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ve.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/vg.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/vi.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/vn.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/vu.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/wf.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ws.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/xk.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/ye.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/yt.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/za.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/zm.svg +0 -0
- /package/{projects/iss/src → src}/components/controls/mobile/flags/zw.svg +0 -0
- /package/{projects/iss → src}/upgrade.scss +0 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { InjectionToken, inject, Injectable } from '@angular/core';
|
|
4
|
+
import { map, EMPTY } from 'rxjs';
|
|
5
|
+
import { n as PLACEHOLDER_REGEX } from './iss-ctrl-iss-ctrl-BhZGHw0A.mjs';
|
|
6
|
+
import { ReplaceApiKeysService } from './iss-ctrl-replace-api-keys.service-DNns4c2U.mjs';
|
|
7
|
+
|
|
8
|
+
const API_RESPONSE_MAPPER = new InjectionToken("Map backend response to required response interface.");
|
|
9
|
+
|
|
10
|
+
function isValidEndpoint(api) {
|
|
11
|
+
if (api.includes("undefined") || api.includes("null")) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
return !api.match(PLACEHOLDER_REGEX)?.length && !["undefined", "null"].includes(api);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
class IssHttp {
|
|
18
|
+
#http = inject(HttpClient);
|
|
19
|
+
#apiResponseMapper = inject(API_RESPONSE_MAPPER);
|
|
20
|
+
get(url) {
|
|
21
|
+
if (isValidEndpoint(url)) {
|
|
22
|
+
return this.#http.get(url).pipe(map((res) => this.#apiResponseMapper(res)));
|
|
23
|
+
}
|
|
24
|
+
return EMPTY;
|
|
25
|
+
}
|
|
26
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: IssHttp, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
27
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: IssHttp, providedIn: "root" });
|
|
28
|
+
}
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: IssHttp, decorators: [{
|
|
30
|
+
type: Injectable,
|
|
31
|
+
args: [{ providedIn: "root" }]
|
|
32
|
+
}] });
|
|
33
|
+
|
|
34
|
+
const HOST = new InjectionToken("Backend Host to call");
|
|
35
|
+
|
|
36
|
+
class LoadEventService {
|
|
37
|
+
#replaceApiKeysService = inject(ReplaceApiKeysService);
|
|
38
|
+
#host = inject(HOST);
|
|
39
|
+
getApi(args) {
|
|
40
|
+
let api;
|
|
41
|
+
if (args.action.config.fn) {
|
|
42
|
+
api = args.action.config.fn.execute(args);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
api = this.#replaceApiKeysService.execute(args);
|
|
46
|
+
}
|
|
47
|
+
return `${this.#host}${api}`;
|
|
48
|
+
}
|
|
49
|
+
fetchErrorHandler(args, err) {
|
|
50
|
+
console.error(err);
|
|
51
|
+
args.field.loading.set(false);
|
|
52
|
+
}
|
|
53
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: LoadEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
54
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: LoadEventService, providedIn: "root" });
|
|
55
|
+
}
|
|
56
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: LoadEventService, decorators: [{
|
|
57
|
+
type: Injectable,
|
|
58
|
+
args: [{ providedIn: "root" }]
|
|
59
|
+
}] });
|
|
60
|
+
|
|
61
|
+
export { HOST as H, IssHttp as I, LoadEventService as L };
|
|
62
|
+
//# sourceMappingURL=iss-ctrl-load-event.service-D_O5gUmg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iss-ctrl-load-event.service-D_O5gUmg.mjs","sources":["../../../projects/iss/src/shared/tokens/api-response-mapper.token.ts","../../../projects/iss/src/shared/utilities/is-valid-api.util.ts","../../../projects/iss/src/shared/utilities/http.util.service.ts","../../../projects/iss/src/shared/tokens/host.token.ts","../../../projects/iss/src/events/load/load-event.service.ts"],"sourcesContent":["import {InjectionToken} from \"@angular/core\";\r\nimport {Dto} from \"../interfaces/dto.interface\";\r\n\r\nexport const API_RESPONSE_MAPPER: InjectionToken<(res: any) => Dto> = new InjectionToken(\"Map backend response to required response interface.\");\r\n","import {PLACEHOLDER_REGEX} from \"../constants/regex.const\";\r\n\r\nexport function isValidEndpoint(api: string): boolean {\r\n if (api.includes(\"undefined\") || api.includes(\"null\")) {\r\n return false;\r\n }\r\n return !api.match(PLACEHOLDER_REGEX)?.length && ![\"undefined\", \"null\"].includes(api);\r\n}\r\n","import {HttpClient} from \"@angular/common/http\";\r\nimport {inject, Injectable} from \"@angular/core\";\r\nimport {EMPTY, map, Observable} from \"rxjs\";\r\nimport {Dto} from \"../interfaces/dto.interface\";\r\nimport {API_RESPONSE_MAPPER} from \"../tokens/api-response-mapper.token\";\r\nimport {isValidEndpoint} from \"./is-valid-api.util\";\r\n\r\n@Injectable({providedIn: \"root\"})\r\nexport class IssHttp {\r\n #http: HttpClient = inject(HttpClient);\r\n #apiResponseMapper = inject(API_RESPONSE_MAPPER);\r\n\r\n get<T>(url: string): Observable<Dto> {\r\n if (isValidEndpoint(url)) {\r\n return this.#http.get<T>(url).pipe(map((res: any): Dto => this.#apiResponseMapper(res)));\r\n }\r\n return EMPTY;\r\n }\r\n}\r\n","import {InjectionToken} from \"@angular/core\";\r\n\r\nexport const HOST: InjectionToken<string> = new InjectionToken(\"Backend Host to call\");\r\n","import {inject, Injectable} from \"@angular/core\";\r\nimport {FieldEventArgument} from \"../../shared/interfaces/field.interface\";\r\nimport {HOST} from \"../../shared/tokens/host.token\";\r\nimport {ReplaceApiKeysService} from \"./replace-api-keys.service\";\r\n\r\n@Injectable({providedIn: \"root\"})\r\nexport class LoadEventService {\r\n #replaceApiKeysService = inject(ReplaceApiKeysService);\r\n #host: string = inject(HOST);\r\n\r\n getApi(args: FieldEventArgument) {\r\n let api;\r\n if (args.action.config.fn) {\r\n api = args.action.config.fn.execute(args);\r\n } else {\r\n api = this.#replaceApiKeysService.execute(args);\r\n }\r\n\r\n return `${this.#host}${api}`;\r\n }\r\n\r\n fetchErrorHandler(args: FieldEventArgument, err: any) {\r\n console.error(err);\r\n args.field.loading.set(false);\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;;;AAGO,MAAM,mBAAmB,GAAsC,IAAI,cAAc,CAAC,sDAAsD,CAAC;;ACD1I,SAAU,eAAe,CAAC,GAAW,EAAA;AACzC,IAAA,IAAI,GAAG,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,GAAG,CAAC,QAAQ,CAAC,MAAM,CAAC,EAAE;AACrD,QAAA,OAAO,KAAK;IACd;IACA,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,GAAG,CAAC;AACtF;;MCCa,OAAO,CAAA;AAClB,IAAA,KAAK,GAAe,MAAM,CAAC,UAAU,CAAC;AACtC,IAAA,kBAAkB,GAAG,MAAM,CAAC,mBAAmB,CAAC;AAEhD,IAAA,GAAG,CAAI,GAAW,EAAA;AAChB,QAAA,IAAI,eAAe,CAAC,GAAG,CAAC,EAAE;YACxB,OAAO,IAAI,CAAC,KAAK,CAAC,GAAG,CAAI,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,GAAQ,KAAU,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC,CAAC;QAC1F;AACA,QAAA,OAAO,KAAK;IACd;uGATW,OAAO,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAP,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,OAAO,cADK,MAAM,EAAA,CAAA;;2FAClB,OAAO,EAAA,UAAA,EAAA,CAAA;kBADnB,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;MCLnB,IAAI,GAA2B,IAAI,cAAc,CAAC,sBAAsB;;MCIxE,gBAAgB,CAAA;AAC3B,IAAA,sBAAsB,GAAG,MAAM,CAAC,qBAAqB,CAAC;AACtD,IAAA,KAAK,GAAW,MAAM,CAAC,IAAI,CAAC;AAE5B,IAAA,MAAM,CAAC,IAAwB,EAAA;AAC7B,QAAA,IAAI,GAAG;QACP,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE;AACzB,YAAA,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;QAC3C;aAAO;YACL,GAAG,GAAG,IAAI,CAAC,sBAAsB,CAAC,OAAO,CAAC,IAAI,CAAC;QACjD;AAEA,QAAA,OAAO,GAAG,IAAI,CAAC,KAAK,CAAA,EAAG,GAAG,EAAE;IAC9B;IAEA,iBAAiB,CAAC,IAAwB,EAAE,GAAQ,EAAA;AAClD,QAAA,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC;QAClB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC;IAC/B;uGAlBW,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAhB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,cADJ,MAAM,EAAA,CAAA;;2FAClB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAD5B,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { L as LoadEventService, I as IssHttp, H as HOST } from './iss-ctrl-load-event.service-D_O5gUmg.mjs';
|
|
4
|
+
import { m as getPropertyByPath } from './iss-ctrl-iss-ctrl-BhZGHw0A.mjs';
|
|
5
|
+
|
|
6
|
+
class LoadOptionsEventService {
|
|
7
|
+
loadEvent = inject(LoadEventService);
|
|
8
|
+
#http = inject(IssHttp);
|
|
9
|
+
#host = inject(HOST);
|
|
10
|
+
fire(args) {
|
|
11
|
+
console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Load Event Fired", "color: green");
|
|
12
|
+
const api = this.loadEvent.getApi(args);
|
|
13
|
+
args.field.loading.set(true);
|
|
14
|
+
this.#http.get(api).subscribe({
|
|
15
|
+
next: (response) => {
|
|
16
|
+
args.field.response = response;
|
|
17
|
+
args.field.apiResponse.next(response.data);
|
|
18
|
+
if (args.action.config.afterFetchFn) {
|
|
19
|
+
args.action.config.afterFetchFn?.execute(args);
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
args.field.options.set(args.field.response.data);
|
|
23
|
+
if (args.action.config.setValueFromApiResponse) {
|
|
24
|
+
args.control.setValue(getPropertyByPath(args.field.response, args.action.config.setValueFromApiResponse));
|
|
25
|
+
}
|
|
26
|
+
if (args.action.config.disableAfterFetching) {
|
|
27
|
+
args.control.disable();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
args.field.loading.set(false);
|
|
31
|
+
},
|
|
32
|
+
error: (err) => {
|
|
33
|
+
// todo handle errors
|
|
34
|
+
this.loadEvent.fetchErrorHandler(args, err);
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
args.action.triggered = true;
|
|
38
|
+
}
|
|
39
|
+
revert(args) {
|
|
40
|
+
console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Load Event Reverted", "color: red");
|
|
41
|
+
}
|
|
42
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: LoadOptionsEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
43
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: LoadOptionsEventService, providedIn: "root" });
|
|
44
|
+
}
|
|
45
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: LoadOptionsEventService, decorators: [{
|
|
46
|
+
type: Injectable,
|
|
47
|
+
args: [{ providedIn: "root" }]
|
|
48
|
+
}] });
|
|
49
|
+
|
|
50
|
+
export { LoadOptionsEventService };
|
|
51
|
+
//# sourceMappingURL=iss-ctrl-load-options-event.service-CylOcoz4.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iss-ctrl-load-options-event.service-CylOcoz4.mjs","sources":["../../../projects/iss/src/events/load/load-options-event.service.ts"],"sourcesContent":["import {inject, Injectable} from \"@angular/core\";\r\nimport {Dto} from \"../../shared/interfaces/dto.interface\";\r\nimport {FieldEvent, FieldEventArgument} from \"../../shared/interfaces/field.interface\";\r\nimport {HOST} from \"../../shared/tokens/host.token\";\r\nimport {getPropertyByPath} from \"../../shared/utilities/get-property-by-path.util\";\r\nimport {IssHttp} from \"../../shared/utilities/http.util.service\";\r\nimport {LoadEventService} from \"./load-event.service\";\r\n\r\n@Injectable({providedIn: \"root\"})\r\nexport class LoadOptionsEventService implements FieldEvent {\r\n loadEvent = inject(LoadEventService);\r\n #http: IssHttp = inject(IssHttp);\r\n #host: string = inject(HOST);\r\n\r\n fire(args: FieldEventArgument) {\r\n console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + \"%c Load Event Fired\", \"color: green\");\r\n const api = this.loadEvent.getApi(args);\r\n\r\n args.field.loading.set(true);\r\n this.#http.get(api).subscribe({\r\n next: (response: Dto) => {\r\n args.field.response = response;\r\n args.field.apiResponse.next(response.data);\r\n\r\n if (args.action.config.afterFetchFn) {\r\n args.action.config.afterFetchFn?.execute(args);\r\n } else {\r\n args.field.options.set(args.field.response.data);\r\n\r\n if (args.action.config.setValueFromApiResponse) {\r\n args.control.setValue(getPropertyByPath(args.field.response, args.action.config.setValueFromApiResponse));\r\n }\r\n\r\n if (args.action.config.disableAfterFetching) {\r\n args.control.disable();\r\n }\r\n }\r\n args.field.loading.set(false);\r\n },\r\n error: (err) => {\r\n // todo handle errors\r\n this.loadEvent.fetchErrorHandler(args, err);\r\n },\r\n });\r\n args.action.triggered = true;\r\n }\r\n\r\n revert(args: FieldEventArgument) {\r\n console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + \"%c Load Event Reverted\", \"color: red\");\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;MASa,uBAAuB,CAAA;AAClC,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACpC,IAAA,KAAK,GAAY,MAAM,CAAC,OAAO,CAAC;AAChC,IAAA,KAAK,GAAW,MAAM,CAAC,IAAI,CAAC;AAE5B,IAAA,IAAI,CAAC,IAAwB,EAAA;QAC3B,OAAO,CAAC,GAAG,CAAC,CAAA,EAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAA,YAAA,EAAe,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAA,GAAA,CAAK,GAAG,qBAAqB,EAAE,cAAc,CAAC;QACvH,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;QAEvC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC;AAC5B,YAAA,IAAI,EAAE,CAAC,QAAa,KAAI;AACtB,gBAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ;gBAC9B,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;gBAE1C,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE;oBACnC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,IAAI,CAAC;gBAChD;qBAAO;AACL,oBAAA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;oBAEhD,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,uBAAuB,EAAE;wBAC9C,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;oBAC3G;oBAEA,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,oBAAoB,EAAE;AAC3C,wBAAA,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;oBACxB;gBACF;gBACA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC;YAC/B,CAAC;AACD,YAAA,KAAK,EAAE,CAAC,GAAG,KAAI;;gBAEb,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC;YAC7C,CAAC;AACF,SAAA,CAAC;AACF,QAAA,IAAI,CAAC,MAAM,CAAC,SAAS,GAAG,IAAI;IAC9B;AAEA,IAAA,MAAM,CAAC,IAAwB,EAAA;QAC7B,OAAO,CAAC,GAAG,CAAC,CAAA,EAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAA,YAAA,EAAe,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAA,GAAA,CAAK,GAAG,wBAAwB,EAAE,YAAY,CAAC;IAC1H;uGAxCW,uBAAuB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAAvB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,uBAAuB,cADX,MAAM,EAAA,CAAA;;2FAClB,uBAAuB,EAAA,UAAA,EAAA,CAAA;kBADnC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, Injectable } from '@angular/core';
|
|
3
|
+
import { m as getPropertyByPath } from './iss-ctrl-iss-ctrl-BhZGHw0A.mjs';
|
|
4
|
+
import { L as LoadEventService, I as IssHttp } from './iss-ctrl-load-event.service-D_O5gUmg.mjs';
|
|
5
|
+
|
|
6
|
+
class LoadValueEventService {
|
|
7
|
+
loadEvent = inject(LoadEventService);
|
|
8
|
+
#http = inject(IssHttp);
|
|
9
|
+
fire(args) {
|
|
10
|
+
console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Load Event Fired", "color: green");
|
|
11
|
+
const api = this.loadEvent.getApi(args);
|
|
12
|
+
args.field.loading.set(true);
|
|
13
|
+
this.#http.get(api).subscribe({
|
|
14
|
+
next: (response) => {
|
|
15
|
+
args.field.response = response;
|
|
16
|
+
args.field.apiResponse.next(response.data);
|
|
17
|
+
if (args.action.config.afterFetchFn) {
|
|
18
|
+
args.action.config.afterFetchFn?.execute(args);
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
if (args.action?.config?.setValueFromApiResponse) {
|
|
22
|
+
args.control.setValue(getPropertyByPath(args.field.response, args.action.config.setValueFromApiResponse));
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
args.control.setValue(args.field.response.data);
|
|
26
|
+
}
|
|
27
|
+
if (args.action.config.disableAfterFetching) {
|
|
28
|
+
args.control.disable();
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
args.field.loading.set(false);
|
|
32
|
+
},
|
|
33
|
+
error: (err) => {
|
|
34
|
+
// todo handle errors
|
|
35
|
+
this.loadEvent.fetchErrorHandler(args, err);
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
args.action.triggered = true;
|
|
39
|
+
}
|
|
40
|
+
revert(args) {
|
|
41
|
+
console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + "%c Load Event Reverted", "color: red");
|
|
42
|
+
}
|
|
43
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: LoadValueEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
44
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: LoadValueEventService, providedIn: "root" });
|
|
45
|
+
}
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: LoadValueEventService, decorators: [{
|
|
47
|
+
type: Injectable,
|
|
48
|
+
args: [{ providedIn: "root" }]
|
|
49
|
+
}] });
|
|
50
|
+
|
|
51
|
+
export { LoadValueEventService };
|
|
52
|
+
//# sourceMappingURL=iss-ctrl-load-value-event.service-BRz28bIm.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iss-ctrl-load-value-event.service-BRz28bIm.mjs","sources":["../../../projects/iss/src/events/load/load-value-event.service.ts"],"sourcesContent":["import {inject, Injectable} from \"@angular/core\";\r\nimport {Dto} from \"../../shared/interfaces/dto.interface\";\r\nimport {FieldEvent, FieldEventArgument} from \"../../shared/interfaces/field.interface\";\r\nimport {getPropertyByPath} from \"../../shared/utilities/get-property-by-path.util\";\r\nimport {IssHttp} from \"../../shared/utilities/http.util.service\";\r\nimport {LoadEventService} from \"./load-event.service\";\r\n\r\n@Injectable({providedIn: \"root\"})\r\nexport class LoadValueEventService implements FieldEvent {\r\n loadEvent = inject(LoadEventService);\r\n #http: IssHttp = inject(IssHttp);\r\n\r\n fire(args: FieldEventArgument) {\r\n console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + \"%c Load Event Fired\", \"color: green\");\r\n const api = this.loadEvent.getApi(args);\r\n\r\n args.field.loading.set(true);\r\n this.#http.get(api).subscribe({\r\n next: (response: Dto) => {\r\n args.field.response = response;\r\n args.field.apiResponse.next(response.data);\r\n\r\n if (args.action.config.afterFetchFn) {\r\n args.action.config.afterFetchFn?.execute(args);\r\n } else {\r\n if (args.action?.config?.setValueFromApiResponse) {\r\n args.control.setValue(getPropertyByPath(args.field.response, args.action.config.setValueFromApiResponse));\r\n } else {\r\n args.control.setValue(args.field.response.data);\r\n }\r\n\r\n if (args.action.config.disableAfterFetching) {\r\n args.control.disable();\r\n }\r\n }\r\n\r\n args.field.loading.set(false);\r\n },\r\n error: (err) => {\r\n // todo handle errors\r\n this.loadEvent.fetchErrorHandler(args, err);\r\n },\r\n });\r\n args.action.triggered = true;\r\n }\r\n\r\n revert(args: FieldEventArgument) {\r\n console.log(`${args.field.name} listens to ${args.action.trackedFieldName} =>` + \"%c Load Event Reverted\", \"color: red\");\r\n }\r\n}\r\n"],"names":[],"mappings":";;;;;MAQa,qBAAqB,CAAA;AAChC,IAAA,SAAS,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACpC,IAAA,KAAK,GAAY,MAAM,CAAC,OAAO,CAAC;AAEhC,IAAA,IAAI,CAAC,IAAwB,EAAA;QAC3B,OAAO,CAAC,GAAG,CAAC,CAAA,EAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAA,YAAA,EAAe,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAA,GAAA,CAAK,GAAG,qBAAqB,EAAE,cAAc,CAAC;QACvH,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC;QAEvC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC;QAC5B,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,SAAS,CAAC;AAC5B,YAAA,IAAI,EAAE,CAAC,QAAa,KAAI;AACtB,gBAAA,IAAI,CAAC,KAAK,CAAC,QAAQ,GAAG,QAAQ;gBAC9B,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC;gBAE1C,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE;oBACnC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,YAAY,EAAE,OAAO,CAAC,IAAI,CAAC;gBAChD;qBAAO;oBACL,IAAI,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,uBAAuB,EAAE;wBAChD,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC;oBAC3G;yBAAO;AACL,wBAAA,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;oBACjD;oBAEA,IAAI,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,oBAAoB,EAAE;AAC3C,wBAAA,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE;oBACxB;gBACF;gBAEA,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC;YAC/B,CAAC;AACD,YAAA,KAAK,EAAE,CAAC,GAAG,KAAI;;gBAEb,IAAI,CAAC,SAAS,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,CAAC;YAC7C,CAAC;AACF,SAAA,CAAC;AACF,QAAA,IAAI,CAAC,MAAM,CAAC,SAAS,GAAG,IAAI;IAC9B;AAEA,IAAA,MAAM,CAAC,IAAwB,EAAA;QAC7B,OAAO,CAAC,GAAG,CAAC,CAAA,EAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAA,YAAA,EAAe,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAA,GAAA,CAAK,GAAG,wBAAwB,EAAE,YAAY,CAAC;IAC1H;uGAxCW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA;AAArB,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,qBAAqB,cADT,MAAM,EAAA,CAAA;;2FAClB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,UAAU;mBAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/forms';
|
|
4
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import { MatLabel } from '@angular/material/form-field';
|
|
6
|
+
import { W as WrapperBase, V as VIEW_PROVIDER, M as MobileControl } from './iss-ctrl-iss-ctrl-BhZGHw0A.mjs';
|
|
7
|
+
import { V as ViewerBase } from './iss-ctrl-viewer.base-BCFfZsDG.mjs';
|
|
8
|
+
|
|
9
|
+
class MobileViewer extends ViewerBase {
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MobileViewer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: MobileViewer, isStandalone: true, selector: "iss-vwr-mobile", usesInheritance: true, ngImport: i0, template: `
|
|
12
|
+
<p>{{ field().value }}</p>
|
|
13
|
+
`, isInline: true });
|
|
14
|
+
}
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MobileViewer, decorators: [{
|
|
16
|
+
type: Component,
|
|
17
|
+
args: [{
|
|
18
|
+
selector: "iss-vwr-mobile",
|
|
19
|
+
standalone: true,
|
|
20
|
+
template: `
|
|
21
|
+
<p>{{ field().value }}</p>
|
|
22
|
+
`,
|
|
23
|
+
}]
|
|
24
|
+
}] });
|
|
25
|
+
|
|
26
|
+
class MobileWrapper extends WrapperBase {
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MobileWrapper, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: MobileWrapper, isStandalone: true, selector: "iss-wrp-mobile", usesInheritance: true, ngImport: i0, template: `
|
|
29
|
+
@if (field.isVisible() && field.registered()) {
|
|
30
|
+
@if (!(field.config.hideLabel)) {
|
|
31
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@if (field.mode() === "edit") {
|
|
35
|
+
<iss-ctrl-mobile [formControlName]="field.name" />
|
|
36
|
+
} @else {
|
|
37
|
+
<iss-vwr-mobile [field]="field" />
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: MobileControl, selector: "iss-ctrl-mobile", inputs: ["preferredCountries"] }, { kind: "component", type: MobileViewer, selector: "iss-vwr-mobile" }], viewProviders: [VIEW_PROVIDER] });
|
|
41
|
+
}
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: MobileWrapper, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{
|
|
45
|
+
selector: "iss-wrp-mobile",
|
|
46
|
+
viewProviders: [VIEW_PROVIDER],
|
|
47
|
+
imports: [
|
|
48
|
+
ReactiveFormsModule,
|
|
49
|
+
MatLabel,
|
|
50
|
+
MobileControl,
|
|
51
|
+
MobileViewer
|
|
52
|
+
],
|
|
53
|
+
template: `
|
|
54
|
+
@if (field.isVisible() && field.registered()) {
|
|
55
|
+
@if (!(field.config.hideLabel)) {
|
|
56
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@if (field.mode() === "edit") {
|
|
60
|
+
<iss-ctrl-mobile [formControlName]="field.name" />
|
|
61
|
+
} @else {
|
|
62
|
+
<iss-vwr-mobile [field]="field" />
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
`
|
|
66
|
+
}]
|
|
67
|
+
}] });
|
|
68
|
+
|
|
69
|
+
export { MobileWrapper };
|
|
70
|
+
//# sourceMappingURL=iss-ctrl-mobile.wrapper-DOvO-cRi.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iss-ctrl-mobile.wrapper-DOvO-cRi.mjs","sources":["../../../projects/iss/src/components/controls/mobile/mobile.viewer.ts","../../../projects/iss/src/components/controls/mobile/mobile.wrapper.ts"],"sourcesContent":["import {Component} from \"@angular/core\";\r\nimport {ViewerBase} from \"../base/viewer.base\";\r\n\r\n@Component({\r\n selector: \"iss-vwr-mobile\",\r\n standalone: true,\r\n template: `\r\n <p>{{ field().value }}</p>\r\n `,\r\n})\r\nexport class MobileViewer extends ViewerBase {}\r\n","import {Component} from \"@angular/core\";\r\nimport {ReactiveFormsModule} from \"@angular/forms\";\r\nimport {MatLabel} from \"@angular/material/form-field\";\r\nimport {VIEW_PROVIDER} from \"../../../shared/constants/provider.const\";\r\nimport {WrapperBase} from \"../base/wrapper.base\";\r\nimport {MobileControl} from \"./mobile.control\";\r\nimport {MobileViewer} from \"./mobile.viewer\";\r\n\r\n@Component({\r\n selector: \"iss-wrp-mobile\",\r\n viewProviders: [VIEW_PROVIDER],\r\n imports: [\r\n ReactiveFormsModule,\r\n MatLabel,\r\n MobileControl,\r\n MobileViewer\r\n ],\r\n template: `\r\n @if (field.isVisible() && field.registered()) {\r\n @if (!(field.config.hideLabel)) {\r\n <mat-label>{{ field.label() }}</mat-label>\r\n }\r\n\r\n @if (field.mode() === \"edit\") {\r\n <iss-ctrl-mobile [formControlName]=\"field.name\" />\r\n } @else {\r\n <iss-vwr-mobile [field]=\"field\" />\r\n }\r\n }\r\n `\r\n})\r\nexport class MobileWrapper extends WrapperBase {}\r\n"],"names":[],"mappings":";;;;;;;;AAUM,MAAO,YAAa,SAAQ,UAAU,CAAA;uGAA/B,YAAY,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAZ,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAJb,CAAA;;AAET,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA;;2FAEU,YAAY,EAAA,UAAA,EAAA,CAAA;kBAPxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,CAAA;;AAET,EAAA,CAAA;AACF,iBAAA;;;ACsBK,MAAO,aAAc,SAAQ,WAAW,CAAA;uGAAjC,aAAa,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAb,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,aAAa,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAdd,CAAA;;;;;;;;;;;;GAYT,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAjBC,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,iBAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACnB,QAAQ,EAAA,QAAA,EAAA,WAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACR,aAAa,4FACb,YAAY,EAAA,QAAA,EAAA,gBAAA,EAAA,CAAA,EAAA,aAAA,EALC,CAAC,aAAa,CAAC,EAAA,CAAA;;2FAqBnB,aAAa,EAAA,UAAA,EAAA,CAAA;kBAvBzB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,gBAAgB;oBAC1B,aAAa,EAAE,CAAC,aAAa,CAAC;AAC9B,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB,QAAQ;wBACR,aAAa;wBACb;AACD,qBAAA;AACD,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;;;;AAYT,EAAA;AACF,iBAAA;;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Component } from '@angular/core';
|
|
3
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { MatLabel } from '@angular/material/form-field';
|
|
5
|
+
import { W as WrapperBase, V as VIEW_PROVIDER } from './iss-ctrl-iss-ctrl-BhZGHw0A.mjs';
|
|
6
|
+
|
|
7
|
+
class NoteWrapper extends WrapperBase {
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NoteWrapper, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: NoteWrapper, isStandalone: true, selector: "iss-wrp-note", usesInheritance: true, ngImport: i0, template: `
|
|
10
|
+
@if (field.isVisible() && field.registered()) {
|
|
11
|
+
@if (!(field.config.hideLabel)) {
|
|
12
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
13
|
+
}
|
|
14
|
+
<p>
|
|
15
|
+
{{ ctrlValueChange() }}
|
|
16
|
+
</p>
|
|
17
|
+
}
|
|
18
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: MatLabel, selector: "mat-label" }], viewProviders: [VIEW_PROVIDER] });
|
|
19
|
+
}
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: NoteWrapper, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{
|
|
23
|
+
selector: "iss-wrp-note",
|
|
24
|
+
viewProviders: [VIEW_PROVIDER],
|
|
25
|
+
imports: [
|
|
26
|
+
ReactiveFormsModule,
|
|
27
|
+
MatLabel
|
|
28
|
+
],
|
|
29
|
+
template: `
|
|
30
|
+
@if (field.isVisible() && field.registered()) {
|
|
31
|
+
@if (!(field.config.hideLabel)) {
|
|
32
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
33
|
+
}
|
|
34
|
+
<p>
|
|
35
|
+
{{ ctrlValueChange() }}
|
|
36
|
+
</p>
|
|
37
|
+
}
|
|
38
|
+
`
|
|
39
|
+
}]
|
|
40
|
+
}] });
|
|
41
|
+
|
|
42
|
+
export { NoteWrapper };
|
|
43
|
+
//# sourceMappingURL=iss-ctrl-note.wrapper-BW6WOulk.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iss-ctrl-note.wrapper-BW6WOulk.mjs","sources":["../../../projects/iss/src/components/controls/note/note.wrapper.ts"],"sourcesContent":["import {Component} from \"@angular/core\";\r\nimport {ReactiveFormsModule} from \"@angular/forms\";\r\nimport {MatLabel} from \"@angular/material/form-field\";\r\nimport {VIEW_PROVIDER} from \"../../../shared/constants/provider.const\";\r\nimport {WrapperBase} from \"../base/wrapper.base\";\r\n\r\n@Component({\r\n selector: \"iss-wrp-note\",\r\n viewProviders: [VIEW_PROVIDER],\r\n imports: [\r\n ReactiveFormsModule,\r\n MatLabel\r\n ],\r\n template: `\r\n @if (field.isVisible() && field.registered()) {\r\n @if (!(field.config.hideLabel)) {\r\n <mat-label>{{ field.label() }}</mat-label>\r\n }\r\n <p>\r\n {{ ctrlValueChange() }}\r\n </p>\r\n }\r\n `\r\n})\r\nexport class NoteWrapper extends WrapperBase {}\r\n"],"names":[],"mappings":";;;;;;AAwBM,MAAO,WAAY,SAAQ,WAAW,CAAA;uGAA/B,WAAW,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAX,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAXZ,CAAA;;;;;;;;;AAST,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAZC,mBAAmB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EACnB,QAAQ,EAAA,QAAA,EAAA,WAAA,EAAA,CAAA,EAAA,aAAA,EAHK,CAAC,aAAa,CAAC,EAAA,CAAA;;2FAgBnB,WAAW,EAAA,UAAA,EAAA,CAAA;kBAlBvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,cAAc;oBACxB,aAAa,EAAE,CAAC,aAAa,CAAC;AAC9B,oBAAA,OAAO,EAAE;wBACP,mBAAmB;wBACnB;AACD,qBAAA;AACD,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;;AAST,EAAA;AACF,iBAAA;;;;;"}
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { signal, effect, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/forms';
|
|
4
|
+
import { ReactiveFormsModule } from '@angular/forms';
|
|
5
|
+
import { MatLabel } from '@angular/material/form-field';
|
|
6
|
+
import { P as PLATE_LETTERS, W as WrapperBase, V as VIEW_PROVIDER, g as PlateControl } from './iss-ctrl-iss-ctrl-BhZGHw0A.mjs';
|
|
7
|
+
import { V as ViewerBase } from './iss-ctrl-viewer.base-BCFfZsDG.mjs';
|
|
8
|
+
|
|
9
|
+
class PlateViewer extends ViewerBase {
|
|
10
|
+
numbersAr = signal(Array(4).fill(""), ...(ngDevMode ? [{ debugName: "numbersAr" }] : []));
|
|
11
|
+
numbersEn = signal(Array(4).fill(""), ...(ngDevMode ? [{ debugName: "numbersEn" }] : []));
|
|
12
|
+
lettersAr = signal(Array(3).fill(""), ...(ngDevMode ? [{ debugName: "lettersAr" }] : []));
|
|
13
|
+
lettersEn = signal(Array(3).fill(""), ...(ngDevMode ? [{ debugName: "lettersEn" }] : []));
|
|
14
|
+
effectRef = effect(() => {
|
|
15
|
+
const val = this.field().value;
|
|
16
|
+
if (val) {
|
|
17
|
+
const parts = val.split("-");
|
|
18
|
+
const letters = parts[0]?.split("") || [];
|
|
19
|
+
const numbers = parts[1]?.split("") || [];
|
|
20
|
+
// Initialize letters
|
|
21
|
+
const lAr = [];
|
|
22
|
+
const lEn = [];
|
|
23
|
+
for (let i = 0; i < 3; i++) {
|
|
24
|
+
const char = letters[i] || "";
|
|
25
|
+
if (char) {
|
|
26
|
+
const plateLetter = PLATE_LETTERS.find(l => l.value === char || l.label.en === char || l.label.ar === char);
|
|
27
|
+
if (plateLetter) {
|
|
28
|
+
lAr.push(plateLetter.label.ar);
|
|
29
|
+
lEn.push(plateLetter.label.en);
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
lAr.push("");
|
|
33
|
+
lEn.push("");
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
lAr.push("");
|
|
38
|
+
lEn.push("");
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
this.lettersAr.set(lAr);
|
|
42
|
+
this.lettersEn.set(lEn);
|
|
43
|
+
// Initialize numbers
|
|
44
|
+
const nAr = [];
|
|
45
|
+
const nEn = [];
|
|
46
|
+
for (let i = 0; i < 4; i++) {
|
|
47
|
+
const char = numbers[i] || "";
|
|
48
|
+
if (char) {
|
|
49
|
+
nAr.push(this.convertDigit(char, "ar"));
|
|
50
|
+
nEn.push(this.convertDigit(char, "en"));
|
|
51
|
+
}
|
|
52
|
+
else {
|
|
53
|
+
nAr.push("");
|
|
54
|
+
nEn.push("");
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
this.numbersAr.set(nAr);
|
|
58
|
+
this.numbersEn.set(nEn);
|
|
59
|
+
}
|
|
60
|
+
}, ...(ngDevMode ? [{ debugName: "effectRef" }] : []));
|
|
61
|
+
convertDigit(digit, toLang) {
|
|
62
|
+
const arDigits = ["٠", "١", "٢", "٣", "٤", "٥", "٦", "٧", "٨", "٩"];
|
|
63
|
+
const enDigits = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
|
|
64
|
+
if (toLang === "ar") {
|
|
65
|
+
const index = enDigits.indexOf(digit);
|
|
66
|
+
return index !== -1 ? arDigits[index] : digit;
|
|
67
|
+
}
|
|
68
|
+
else {
|
|
69
|
+
const index = arDigits.indexOf(digit);
|
|
70
|
+
return index !== -1 ? enDigits[index] : digit;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PlateViewer, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
74
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: PlateViewer, isStandalone: true, selector: "iss-vwr-plate", usesInheritance: true, ngImport: i0, template: `
|
|
75
|
+
<div class="plate-container">
|
|
76
|
+
<div class="section numbers-section">
|
|
77
|
+
<div class="digit-row">
|
|
78
|
+
@for (numAr of numbersAr(); track numAr) {
|
|
79
|
+
<span>{{ numAr }}</span>
|
|
80
|
+
}
|
|
81
|
+
</div>
|
|
82
|
+
<div class="digit-row">
|
|
83
|
+
@for (numEn of numbersEn(); track numEn) {
|
|
84
|
+
<span>{{ numEn }}</span>
|
|
85
|
+
}
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
|
|
89
|
+
<div class="section emblem-section">
|
|
90
|
+
<svg class="emblem-svg" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
91
|
+
<path
|
|
92
|
+
fill-rule="evenodd"
|
|
93
|
+
clip-rule="evenodd"
|
|
94
|
+
d="M10.8072 16.8744C11.4633 16.178 11.3244 15.3914 10.7996 15.3825C10.9872 15.9606 10.5562 16.3344 10.3922 16.5266C9.97894 16.1712 9.55086 15.7761 9.10778 15.3694C11.2695 13.5812 13.6354 11.995 16.7263 11.9452C13.3983 10.7499 10.7417 12.7815 8.4925 14.8084C6.24308 12.7815 3.58672 10.7499 0.257812 11.9452C3.34944 11.995 5.71507 13.581 7.87722 15.3694C7.43329 15.7761 7.00564 16.1712 6.59172 16.5266C6.42902 16.3344 5.99777 15.9606 6.18435 15.3825C5.65992 15.3914 5.52089 16.178 6.17758 16.8744C5.91495 17.0931 5.48962 17.4631 5.15113 17.5518C4.89082 17.6199 4.68185 17.4846 4.63473 17.2026C4.53542 16.6069 3.61271 16.6959 3.72554 17.5372C3.82907 18.3044 4.76066 18.6391 5.55892 18.2837C5.87565 18.1424 6.3107 17.7413 6.66778 17.45C6.83111 17.641 7.26215 18.0145 7.07494 18.5935C7.59979 18.5838 7.7384 17.798 7.08234 17.1005C7.54845 16.7028 8.01625 16.2927 8.4925 15.887C8.96833 16.2925 9.43634 16.7028 9.90288 17.1005C9.24639 17.798 9.385 18.5838 9.91006 18.5935C9.72285 18.0145 10.1539 17.6414 10.3168 17.45C10.6745 17.7413 11.1091 18.1424 11.4263 18.2837C12.2246 18.6391 13.1555 18.3044 13.259 17.5372C13.3719 16.6959 12.4496 16.6069 12.3494 17.2026C12.3023 17.4846 12.094 17.6196 11.8332 17.5518C11.4948 17.4631 11.0696 17.0931 10.8072 16.8744ZM6.72504 5.72093C6.22365 7.04637 6.19597 8.53894 6.9169 10.1805C6.80195 8.47576 7.17594 7.06771 7.8713 6.0066L8.01815 7.46832H7.84679L8.01815 9.17958H7.84679L8.01815 10.8904H7.84679L8.01794 12.5991L7.53366 13.0819H8.4925H9.45156L8.96685 12.5991L9.13842 10.8904H8.96685L9.13842 9.17958H8.96685L9.13842 7.46832H8.96685L9.11391 6.0066C9.80906 7.06771 10.1833 8.47682 10.0683 10.1805C10.7886 8.53894 10.7616 7.047 10.2602 5.72093C11.1115 6.72478 11.7701 7.89851 12.0661 9.36572C12.3733 7.50466 11.848 5.98568 10.8852 4.8071C11.8174 5.47943 12.6184 6.33157 13.1785 7.48396C13.048 5.72072 12.1559 4.57742 10.927 3.75824C11.989 4.1054 12.8561 4.68645 13.6343 5.71798C13.1139 3.8884 11.9801 3.15564 10.575 2.74362C11.5332 2.67368 12.4386 2.78165 13.3347 3.33988C12.3621 2.02839 11.0565 1.81055 9.73257 1.95634C10.2893 1.67279 10.9158 1.53101 11.5888 1.63137C10.8302 1.07187 9.81836 1.01651 8.95227 1.48812L8.4925 0.328125L8.0321 1.48749C7.1658 1.01651 6.15476 1.07166 5.39623 1.63137C6.06877 1.53122 6.69483 1.67279 7.25179 1.95634C5.92826 1.81055 4.62311 2.0286 3.6499 3.33988C4.54662 2.78165 5.45137 2.67368 6.41001 2.74362C5.00534 3.15564 3.87112 3.8884 3.35113 5.71798C4.12868 4.68666 4.99625 4.1054 6.05842 3.75824C4.8287 4.57721 3.93704 5.72072 3.80625 7.48396C4.36618 6.33157 5.16782 5.47943 6.09962 4.8071C5.13676 5.98568 4.61149 7.50466 4.91871 9.36572C5.21494 7.89851 5.87354 6.72478 6.72504 5.72093Z"
|
|
95
|
+
fill="#1D252D"
|
|
96
|
+
/>
|
|
97
|
+
</svg>
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
<div class="section letters-section">
|
|
101
|
+
<div class="arabic-row" dir="rtl">
|
|
102
|
+
@for (lAr of lettersAr(); track lAr) {
|
|
103
|
+
<span>{{ lAr }}</span>
|
|
104
|
+
}
|
|
105
|
+
</div>
|
|
106
|
+
<div class="english-row" dir="rtl">
|
|
107
|
+
@for (lEn of lettersEn(); track lEn) {
|
|
108
|
+
<span>{{ lEn }}</span>
|
|
109
|
+
}
|
|
110
|
+
</div>
|
|
111
|
+
</div>
|
|
112
|
+
|
|
113
|
+
<div class="ksa-strip">
|
|
114
|
+
<svg class="mini-emblem" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
115
|
+
<path
|
|
116
|
+
fill-rule="evenodd" clip-rule="evenodd"
|
|
117
|
+
d="M10.8072 16.8744C11.4633 16.178 11.3244 15.3914 10.7996 15.3825C10.9872 15.9606 10.5562 16.3344 10.3922 16.5266C9.97894 16.1712 9.55086 15.7761 9.10778 15.3694C11.2695 13.5812 13.6354 11.995 16.7263 11.9452C13.3983 10.7499 10.7417 12.7815 8.4925 14.8084C6.24308 12.7815 3.58672 10.7499 0.257812 11.9452C3.34944 11.995 5.71507 13.581 7.87722 15.3694C7.43329 15.7761 7.00564 16.1712 6.59172 16.5266C6.42902 16.3344 5.99777 15.9606 6.18435 15.3825C5.65992 15.3914 5.52089 16.178 6.17758 16.8744C5.91495 17.0931 5.48962 17.4631 5.15113 17.5518C4.89082 17.6199 4.68185 17.4846 4.63473 17.2026C4.53542 16.6069 3.61271 16.6959 3.72554 17.5372C3.82907 18.3044 4.76066 18.6391 5.55892 18.2837C5.87565 18.1424 6.3107 17.7413 6.66778 17.45C6.83111 17.641 7.26215 18.0145 7.07494 18.5935C7.59979 18.5838 7.7384 17.798 7.08234 17.1005C7.54845 16.7028 8.01625 16.2927 8.4925 15.887C8.96833 16.2925 9.43634 16.7028 9.90288 17.1005C9.24639 17.798 9.385 18.5838 9.91006 18.5935C9.72285 18.0145 10.1539 17.6414 10.3168 17.45C10.6745 17.7413 11.1091 18.1424 11.4263 18.2837C12.2246 18.6391 13.1555 18.3044 13.259 17.5372C13.3719 16.6959 12.4496 16.6069 12.3494 17.2026C12.3023 17.4846 12.094 17.6196 11.8332 17.5518C11.4948 17.4631 11.0696 17.0931 10.8072 16.8744ZM6.72504 5.72093C6.22365 7.04637 6.19597 8.53894 6.9169 10.1805C6.80195 8.47576 7.17594 7.06771 7.8713 6.0066L8.01815 7.46832H7.84679L8.01815 9.17958H7.84679L8.01815 10.8904H7.84679L8.01794 12.5991L7.53366 13.0819H8.4925H9.45156L8.96685 12.5991L9.13842 10.8904H8.96685L9.13842 9.17958H8.96685L9.13842 7.46832H8.96685L9.11391 6.0066C9.80906 7.06771 10.1833 8.47682 10.0683 10.1805C10.7886 8.53894 10.7616 7.047 10.2602 5.72093C11.1115 6.72478 11.7701 7.89851 12.0661 9.36572C12.3733 7.50466 11.848 5.98568 10.8852 4.8071C11.8174 5.47943 12.6184 6.33157 13.1785 7.48396C13.048 5.72072 12.1559 4.57742 10.927 3.75824C11.989 4.1054 12.8561 4.68645 13.6343 5.71798C13.1139 3.8884 11.9801 3.15564 10.575 2.74362C11.5332 2.67368 12.4386 2.78165 13.3347 3.33988C12.3621 2.02839 11.0565 1.81055 9.73257 1.95634C10.2893 1.67279 10.9158 1.53101 11.5888 1.63137C10.8302 1.07187 9.81836 1.01651 8.95227 1.48812L8.4925 0.328125L8.0321 1.48749C7.1658 1.01651 6.15476 1.07166 5.39623 1.63137C6.06877 1.53122 6.69483 1.67279 7.25179 1.95634C5.92826 1.81055 4.62311 2.0286 3.6499 3.33988C4.54662 2.78165 5.45137 2.67368 6.41001 2.74362C5.00534 3.15564 3.87112 3.8884 3.35113 5.71798C4.12868 4.68666 4.99625 4.1054 6.05842 3.75824C4.8287 4.57721 3.93704 5.72072 3.80625 7.48396C4.36618 6.33157 5.16782 5.47943 6.09962 4.8071C5.13676 5.98568 4.61149 7.50466 4.91871 9.36572C5.21494 7.89851 5.87354 6.72478 6.72504 5.72093Z"
|
|
118
|
+
fill="#1D252D"
|
|
119
|
+
/>
|
|
120
|
+
</svg>
|
|
121
|
+
<span class="ksa-text">KSA</span>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
`, isInline: true, styles: [".plate-container{width:600px;height:130px;border:4px solid #1D252D;border-radius:10px;background:#fff;display:flex;box-shadow:0 4px 10px #0003;overflow:hidden;position:relative}.section{display:flex;flex-direction:column;justify-content:center;align-items:center}.numbers-section{flex:2;padding:0 10px}.digit-row{display:flex;justify-content:space-between;width:80%;font-size:38px;line-height:1;color:#1d252d;margin:2px 0}.emblem-section{flex:1.2;padding:10px}.emblem-svg{width:100%;height:100%;max-height:90px}.letters-section{flex:1.8;border-right:2px solid #1D252D;padding:0 10px}.arabic-row{font-family:Noto Sans Arabic,sans-serif;font-size:32px;display:flex;justify-content:space-around;width:100%;margin-bottom:5px;color:#1d252d}.english-row{font-size:38px;display:flex;justify-content:space-around;width:100%;color:#1d252d}.ksa-strip{width:50px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:10px 0;background-color:#fff}.mini-emblem{width:25px;height:auto}.ksa-text{writing-mode:vertical-rl;text-orientation:upright;font-weight:900;font-size:16px;letter-spacing:2px;color:#1d252d;margin-top:auto;margin-bottom:5px}.plate-input{background:transparent;border:none;text-align:center;font-family:inherit;font-size:inherit;font-weight:700;color:#1d252d;width:100%;padding:0;margin:0;outline:none}.plate-input:focus{border-bottom:2px solid #1D252D}.digit-row,.arabic-row,.english-row{display:flex;justify-content:space-between;width:100%}.number-input,.letter-input{flex:1}.plate-input::placeholder{color:#ccc;opacity:1}.input-wrapper{position:relative;display:flex;flex-direction:column;align-items:center;flex:1}.error-tooltip{position:absolute;bottom:-15px;font-size:10px;color:red;white-space:nowrap}.plate-input.invalid{color:red}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
125
|
+
}
|
|
126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PlateViewer, decorators: [{
|
|
127
|
+
type: Component,
|
|
128
|
+
args: [{ selector: "iss-vwr-plate", imports: [], template: `
|
|
129
|
+
<div class="plate-container">
|
|
130
|
+
<div class="section numbers-section">
|
|
131
|
+
<div class="digit-row">
|
|
132
|
+
@for (numAr of numbersAr(); track numAr) {
|
|
133
|
+
<span>{{ numAr }}</span>
|
|
134
|
+
}
|
|
135
|
+
</div>
|
|
136
|
+
<div class="digit-row">
|
|
137
|
+
@for (numEn of numbersEn(); track numEn) {
|
|
138
|
+
<span>{{ numEn }}</span>
|
|
139
|
+
}
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
<div class="section emblem-section">
|
|
144
|
+
<svg class="emblem-svg" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
145
|
+
<path
|
|
146
|
+
fill-rule="evenodd"
|
|
147
|
+
clip-rule="evenodd"
|
|
148
|
+
d="M10.8072 16.8744C11.4633 16.178 11.3244 15.3914 10.7996 15.3825C10.9872 15.9606 10.5562 16.3344 10.3922 16.5266C9.97894 16.1712 9.55086 15.7761 9.10778 15.3694C11.2695 13.5812 13.6354 11.995 16.7263 11.9452C13.3983 10.7499 10.7417 12.7815 8.4925 14.8084C6.24308 12.7815 3.58672 10.7499 0.257812 11.9452C3.34944 11.995 5.71507 13.581 7.87722 15.3694C7.43329 15.7761 7.00564 16.1712 6.59172 16.5266C6.42902 16.3344 5.99777 15.9606 6.18435 15.3825C5.65992 15.3914 5.52089 16.178 6.17758 16.8744C5.91495 17.0931 5.48962 17.4631 5.15113 17.5518C4.89082 17.6199 4.68185 17.4846 4.63473 17.2026C4.53542 16.6069 3.61271 16.6959 3.72554 17.5372C3.82907 18.3044 4.76066 18.6391 5.55892 18.2837C5.87565 18.1424 6.3107 17.7413 6.66778 17.45C6.83111 17.641 7.26215 18.0145 7.07494 18.5935C7.59979 18.5838 7.7384 17.798 7.08234 17.1005C7.54845 16.7028 8.01625 16.2927 8.4925 15.887C8.96833 16.2925 9.43634 16.7028 9.90288 17.1005C9.24639 17.798 9.385 18.5838 9.91006 18.5935C9.72285 18.0145 10.1539 17.6414 10.3168 17.45C10.6745 17.7413 11.1091 18.1424 11.4263 18.2837C12.2246 18.6391 13.1555 18.3044 13.259 17.5372C13.3719 16.6959 12.4496 16.6069 12.3494 17.2026C12.3023 17.4846 12.094 17.6196 11.8332 17.5518C11.4948 17.4631 11.0696 17.0931 10.8072 16.8744ZM6.72504 5.72093C6.22365 7.04637 6.19597 8.53894 6.9169 10.1805C6.80195 8.47576 7.17594 7.06771 7.8713 6.0066L8.01815 7.46832H7.84679L8.01815 9.17958H7.84679L8.01815 10.8904H7.84679L8.01794 12.5991L7.53366 13.0819H8.4925H9.45156L8.96685 12.5991L9.13842 10.8904H8.96685L9.13842 9.17958H8.96685L9.13842 7.46832H8.96685L9.11391 6.0066C9.80906 7.06771 10.1833 8.47682 10.0683 10.1805C10.7886 8.53894 10.7616 7.047 10.2602 5.72093C11.1115 6.72478 11.7701 7.89851 12.0661 9.36572C12.3733 7.50466 11.848 5.98568 10.8852 4.8071C11.8174 5.47943 12.6184 6.33157 13.1785 7.48396C13.048 5.72072 12.1559 4.57742 10.927 3.75824C11.989 4.1054 12.8561 4.68645 13.6343 5.71798C13.1139 3.8884 11.9801 3.15564 10.575 2.74362C11.5332 2.67368 12.4386 2.78165 13.3347 3.33988C12.3621 2.02839 11.0565 1.81055 9.73257 1.95634C10.2893 1.67279 10.9158 1.53101 11.5888 1.63137C10.8302 1.07187 9.81836 1.01651 8.95227 1.48812L8.4925 0.328125L8.0321 1.48749C7.1658 1.01651 6.15476 1.07166 5.39623 1.63137C6.06877 1.53122 6.69483 1.67279 7.25179 1.95634C5.92826 1.81055 4.62311 2.0286 3.6499 3.33988C4.54662 2.78165 5.45137 2.67368 6.41001 2.74362C5.00534 3.15564 3.87112 3.8884 3.35113 5.71798C4.12868 4.68666 4.99625 4.1054 6.05842 3.75824C4.8287 4.57721 3.93704 5.72072 3.80625 7.48396C4.36618 6.33157 5.16782 5.47943 6.09962 4.8071C5.13676 5.98568 4.61149 7.50466 4.91871 9.36572C5.21494 7.89851 5.87354 6.72478 6.72504 5.72093Z"
|
|
149
|
+
fill="#1D252D"
|
|
150
|
+
/>
|
|
151
|
+
</svg>
|
|
152
|
+
</div>
|
|
153
|
+
|
|
154
|
+
<div class="section letters-section">
|
|
155
|
+
<div class="arabic-row" dir="rtl">
|
|
156
|
+
@for (lAr of lettersAr(); track lAr) {
|
|
157
|
+
<span>{{ lAr }}</span>
|
|
158
|
+
}
|
|
159
|
+
</div>
|
|
160
|
+
<div class="english-row" dir="rtl">
|
|
161
|
+
@for (lEn of lettersEn(); track lEn) {
|
|
162
|
+
<span>{{ lEn }}</span>
|
|
163
|
+
}
|
|
164
|
+
</div>
|
|
165
|
+
</div>
|
|
166
|
+
|
|
167
|
+
<div class="ksa-strip">
|
|
168
|
+
<svg class="mini-emblem" viewBox="0 0 17 19" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
169
|
+
<path
|
|
170
|
+
fill-rule="evenodd" clip-rule="evenodd"
|
|
171
|
+
d="M10.8072 16.8744C11.4633 16.178 11.3244 15.3914 10.7996 15.3825C10.9872 15.9606 10.5562 16.3344 10.3922 16.5266C9.97894 16.1712 9.55086 15.7761 9.10778 15.3694C11.2695 13.5812 13.6354 11.995 16.7263 11.9452C13.3983 10.7499 10.7417 12.7815 8.4925 14.8084C6.24308 12.7815 3.58672 10.7499 0.257812 11.9452C3.34944 11.995 5.71507 13.581 7.87722 15.3694C7.43329 15.7761 7.00564 16.1712 6.59172 16.5266C6.42902 16.3344 5.99777 15.9606 6.18435 15.3825C5.65992 15.3914 5.52089 16.178 6.17758 16.8744C5.91495 17.0931 5.48962 17.4631 5.15113 17.5518C4.89082 17.6199 4.68185 17.4846 4.63473 17.2026C4.53542 16.6069 3.61271 16.6959 3.72554 17.5372C3.82907 18.3044 4.76066 18.6391 5.55892 18.2837C5.87565 18.1424 6.3107 17.7413 6.66778 17.45C6.83111 17.641 7.26215 18.0145 7.07494 18.5935C7.59979 18.5838 7.7384 17.798 7.08234 17.1005C7.54845 16.7028 8.01625 16.2927 8.4925 15.887C8.96833 16.2925 9.43634 16.7028 9.90288 17.1005C9.24639 17.798 9.385 18.5838 9.91006 18.5935C9.72285 18.0145 10.1539 17.6414 10.3168 17.45C10.6745 17.7413 11.1091 18.1424 11.4263 18.2837C12.2246 18.6391 13.1555 18.3044 13.259 17.5372C13.3719 16.6959 12.4496 16.6069 12.3494 17.2026C12.3023 17.4846 12.094 17.6196 11.8332 17.5518C11.4948 17.4631 11.0696 17.0931 10.8072 16.8744ZM6.72504 5.72093C6.22365 7.04637 6.19597 8.53894 6.9169 10.1805C6.80195 8.47576 7.17594 7.06771 7.8713 6.0066L8.01815 7.46832H7.84679L8.01815 9.17958H7.84679L8.01815 10.8904H7.84679L8.01794 12.5991L7.53366 13.0819H8.4925H9.45156L8.96685 12.5991L9.13842 10.8904H8.96685L9.13842 9.17958H8.96685L9.13842 7.46832H8.96685L9.11391 6.0066C9.80906 7.06771 10.1833 8.47682 10.0683 10.1805C10.7886 8.53894 10.7616 7.047 10.2602 5.72093C11.1115 6.72478 11.7701 7.89851 12.0661 9.36572C12.3733 7.50466 11.848 5.98568 10.8852 4.8071C11.8174 5.47943 12.6184 6.33157 13.1785 7.48396C13.048 5.72072 12.1559 4.57742 10.927 3.75824C11.989 4.1054 12.8561 4.68645 13.6343 5.71798C13.1139 3.8884 11.9801 3.15564 10.575 2.74362C11.5332 2.67368 12.4386 2.78165 13.3347 3.33988C12.3621 2.02839 11.0565 1.81055 9.73257 1.95634C10.2893 1.67279 10.9158 1.53101 11.5888 1.63137C10.8302 1.07187 9.81836 1.01651 8.95227 1.48812L8.4925 0.328125L8.0321 1.48749C7.1658 1.01651 6.15476 1.07166 5.39623 1.63137C6.06877 1.53122 6.69483 1.67279 7.25179 1.95634C5.92826 1.81055 4.62311 2.0286 3.6499 3.33988C4.54662 2.78165 5.45137 2.67368 6.41001 2.74362C5.00534 3.15564 3.87112 3.8884 3.35113 5.71798C4.12868 4.68666 4.99625 4.1054 6.05842 3.75824C4.8287 4.57721 3.93704 5.72072 3.80625 7.48396C4.36618 6.33157 5.16782 5.47943 6.09962 4.8071C5.13676 5.98568 4.61149 7.50466 4.91871 9.36572C5.21494 7.89851 5.87354 6.72478 6.72504 5.72093Z"
|
|
172
|
+
fill="#1D252D"
|
|
173
|
+
/>
|
|
174
|
+
</svg>
|
|
175
|
+
<span class="ksa-text">KSA</span>
|
|
176
|
+
</div>
|
|
177
|
+
</div>
|
|
178
|
+
`, changeDetection: ChangeDetectionStrategy.OnPush, styles: [".plate-container{width:600px;height:130px;border:4px solid #1D252D;border-radius:10px;background:#fff;display:flex;box-shadow:0 4px 10px #0003;overflow:hidden;position:relative}.section{display:flex;flex-direction:column;justify-content:center;align-items:center}.numbers-section{flex:2;padding:0 10px}.digit-row{display:flex;justify-content:space-between;width:80%;font-size:38px;line-height:1;color:#1d252d;margin:2px 0}.emblem-section{flex:1.2;padding:10px}.emblem-svg{width:100%;height:100%;max-height:90px}.letters-section{flex:1.8;border-right:2px solid #1D252D;padding:0 10px}.arabic-row{font-family:Noto Sans Arabic,sans-serif;font-size:32px;display:flex;justify-content:space-around;width:100%;margin-bottom:5px;color:#1d252d}.english-row{font-size:38px;display:flex;justify-content:space-around;width:100%;color:#1d252d}.ksa-strip{width:50px;display:flex;flex-direction:column;justify-content:space-between;align-items:center;padding:10px 0;background-color:#fff}.mini-emblem{width:25px;height:auto}.ksa-text{writing-mode:vertical-rl;text-orientation:upright;font-weight:900;font-size:16px;letter-spacing:2px;color:#1d252d;margin-top:auto;margin-bottom:5px}.plate-input{background:transparent;border:none;text-align:center;font-family:inherit;font-size:inherit;font-weight:700;color:#1d252d;width:100%;padding:0;margin:0;outline:none}.plate-input:focus{border-bottom:2px solid #1D252D}.digit-row,.arabic-row,.english-row{display:flex;justify-content:space-between;width:100%}.number-input,.letter-input{flex:1}.plate-input::placeholder{color:#ccc;opacity:1}.input-wrapper{position:relative;display:flex;flex-direction:column;align-items:center;flex:1}.error-tooltip{position:absolute;bottom:-15px;font-size:10px;color:red;white-space:nowrap}.plate-input.invalid{color:red}\n"] }]
|
|
179
|
+
}] });
|
|
180
|
+
|
|
181
|
+
class PlateNumberWrapper extends WrapperBase {
|
|
182
|
+
updateField($event) {
|
|
183
|
+
this.field.ctrlJsonValue.set($event);
|
|
184
|
+
}
|
|
185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PlateNumberWrapper, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
186
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: PlateNumberWrapper, isStandalone: true, selector: "iss-wrp-plate-number", usesInheritance: true, ngImport: i0, template: `
|
|
187
|
+
@if (field.isVisible() && field.registered()) {
|
|
188
|
+
@if (!(field.config.hideLabel)) {
|
|
189
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
@if (field.mode() === "edit") {
|
|
193
|
+
<iss-ctrl-plate-number [formControlName]="field.name" (onChange)="updateField($event)" />
|
|
194
|
+
} @else {
|
|
195
|
+
<iss-vwr-plate [field]="field" />
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
`, isInline: true, dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: PlateControl, selector: "iss-ctrl-plate-number" }, { kind: "directive", type: MatLabel, selector: "mat-label" }, { kind: "component", type: PlateViewer, selector: "iss-vwr-plate" }], viewProviders: [VIEW_PROVIDER] });
|
|
199
|
+
}
|
|
200
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: PlateNumberWrapper, decorators: [{
|
|
201
|
+
type: Component,
|
|
202
|
+
args: [{
|
|
203
|
+
selector: "iss-wrp-plate-number",
|
|
204
|
+
viewProviders: [VIEW_PROVIDER],
|
|
205
|
+
imports: [
|
|
206
|
+
ReactiveFormsModule,
|
|
207
|
+
PlateControl,
|
|
208
|
+
MatLabel,
|
|
209
|
+
PlateViewer
|
|
210
|
+
],
|
|
211
|
+
template: `
|
|
212
|
+
@if (field.isVisible() && field.registered()) {
|
|
213
|
+
@if (!(field.config.hideLabel)) {
|
|
214
|
+
<mat-label>{{ field.label() }}</mat-label>
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
@if (field.mode() === "edit") {
|
|
218
|
+
<iss-ctrl-plate-number [formControlName]="field.name" (onChange)="updateField($event)" />
|
|
219
|
+
} @else {
|
|
220
|
+
<iss-vwr-plate [field]="field" />
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
`
|
|
224
|
+
}]
|
|
225
|
+
}] });
|
|
226
|
+
|
|
227
|
+
export { PlateNumberWrapper };
|
|
228
|
+
//# sourceMappingURL=iss-ctrl-plate-number.wrapper-B_NXePR_.mjs.map
|