@ironcode/vas-lib 1.15.0 → 1.17.0
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/cjs/lib/control-value/vas-camera-control-value.model.js +1 -2
- package/cjs/lib/control-value/vas-camera-control-value.model.js.map +1 -1
- package/cjs/lib/controls-config/vas-control-config-direction.enum.js +1 -1
- package/cjs/lib/controls-config/vas-control-config-direction.enum.js.map +1 -1
- package/cjs/lib/entity/index.d.ts +11 -1
- package/cjs/lib/entity/index.d.ts.map +1 -1
- package/cjs/lib/entity/index.js +11 -1
- package/cjs/lib/entity/index.js.map +1 -1
- package/cjs/lib/entity/step-model.factory.d.ts +11 -0
- package/cjs/lib/entity/step-model.factory.d.ts.map +1 -0
- package/cjs/lib/entity/step-model.factory.js +41 -0
- package/cjs/lib/entity/step-model.factory.js.map +1 -0
- package/cjs/lib/entity/vas-account.dto.d.ts +1 -1
- package/cjs/lib/entity/vas-account.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-account.dto.js +1 -1
- package/cjs/lib/entity/vas-account.dto.js.map +1 -1
- package/cjs/lib/entity/vas-control.model.js.map +1 -1
- package/cjs/lib/entity/vas-field.model.js.map +1 -1
- package/cjs/lib/entity/vas-file.dto.js +1 -2
- package/cjs/lib/entity/vas-file.dto.js.map +1 -1
- package/cjs/lib/entity/vas-file.model.js.map +1 -1
- package/cjs/lib/entity/vas-fire-user.model.d.ts +1 -1
- package/cjs/lib/entity/vas-fire-user.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-fire-user.model.js.map +1 -1
- package/cjs/lib/entity/vas-form-config.model.d.ts +3 -13
- package/cjs/lib/entity/vas-form-config.model.d.ts.map +1 -1
- package/cjs/lib/entity/vas-form-config.model.js.map +1 -1
- package/cjs/lib/entity/vas-form.model.js.map +1 -1
- package/cjs/lib/entity/vas-group.model.js.map +1 -1
- package/cjs/lib/entity/vas-invitation.d.ts +1 -1
- package/cjs/lib/entity/vas-invitation.d.ts.map +1 -1
- package/cjs/lib/entity/vas-invitation.js +1 -1
- package/cjs/lib/entity/vas-invitation.js.map +1 -1
- package/cjs/lib/entity/vas-job-action-controls-step.model.d.ts +34 -0
- package/cjs/lib/entity/vas-job-action-controls-step.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action-controls-step.model.js +58 -0
- package/cjs/lib/entity/vas-job-action-controls-step.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-action-email-form-step.model.d.ts +42 -0
- package/cjs/lib/entity/vas-job-action-email-form-step.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action-email-form-step.model.js +66 -0
- package/cjs/lib/entity/vas-job-action-email-form-step.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-action-instruction-step.model.d.ts +35 -0
- package/cjs/lib/entity/vas-job-action-instruction-step.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action-instruction-step.model.js +60 -0
- package/cjs/lib/entity/vas-job-action-instruction-step.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-action-note-prompt-step.model.d.ts +33 -0
- package/cjs/lib/entity/vas-job-action-note-prompt-step.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action-note-prompt-step.model.js +56 -0
- package/cjs/lib/entity/vas-job-action-note-prompt-step.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-action-set-datetime-step.model.d.ts +35 -0
- package/cjs/lib/entity/vas-job-action-set-datetime-step.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action-set-datetime-step.model.js +60 -0
- package/cjs/lib/entity/vas-job-action-set-datetime-step.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-action-set-job-status-step.model.d.ts +34 -0
- package/cjs/lib/entity/vas-job-action-set-job-status-step.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action-set-job-status-step.model.js +58 -0
- package/cjs/lib/entity/vas-job-action-set-job-status-step.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-action-set-value-step.model.d.ts +35 -0
- package/cjs/lib/entity/vas-job-action-set-value-step.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action-set-value-step.model.js +60 -0
- package/cjs/lib/entity/vas-job-action-set-value-step.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-action-step.model.d.ts +21 -0
- package/cjs/lib/entity/vas-job-action-step.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action-step.model.js +25 -0
- package/cjs/lib/entity/vas-job-action-step.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-action-webhook-step.model.d.ts +35 -0
- package/cjs/lib/entity/vas-job-action-webhook-step.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action-webhook-step.model.js +60 -0
- package/cjs/lib/entity/vas-job-action-webhook-step.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-action.dto.d.ts +31 -15
- package/cjs/lib/entity/vas-job-action.dto.d.ts.map +1 -1
- package/cjs/lib/entity/vas-job-action.dto.js +14 -1
- package/cjs/lib/entity/vas-job-action.dto.js.map +1 -1
- package/cjs/lib/entity/vas-job-action.model.d.ts +37 -0
- package/cjs/lib/entity/vas-job-action.model.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-action.model.js +63 -0
- package/cjs/lib/entity/vas-job-action.model.js.map +1 -0
- package/cjs/lib/entity/vas-job-status.d.ts +28 -0
- package/cjs/lib/entity/vas-job-status.d.ts.map +1 -0
- package/cjs/lib/entity/vas-job-status.js +46 -0
- package/cjs/lib/entity/vas-job-status.js.map +1 -0
- package/cjs/lib/entity/vas-job.model.js.map +1 -1
- package/cjs/lib/entity/vas-user.model.d.ts +1 -1
- package/cjs/lib/entity/vas-user.model.d.ts.map +1 -1
- package/cjs/lib/utils/find-form-control.js.map +1 -1
- package/cjs/lib/utils/get-value-by-path.d.ts.map +1 -1
- package/cjs/lib/utils/get-value-by-path.js.map +1 -1
- package/cjs/lib/utils/is-array-string.d.ts +1 -1
- package/cjs/lib/utils/is-array-string.d.ts.map +1 -1
- package/cjs/lib/utils/omit.d.ts.map +1 -1
- package/cjs/lib/utils/omit.js.map +1 -1
- package/cjs/lib/utils/only.d.ts.map +1 -1
- package/cjs/lib/utils/only.js.map +1 -1
- package/{fesm2020 → fesm2022}/ironcode-vas-lib.mjs +1261 -23
- package/fesm2022/ironcode-vas-lib.mjs.map +1 -0
- package/lib/entity/index.d.ts +11 -1
- package/lib/entity/step-model.factory.d.ts +10 -0
- package/lib/entity/vas-account.dto.d.ts +1 -1
- package/lib/entity/vas-fire-user.model.d.ts +1 -1
- package/lib/entity/vas-form-config.model.d.ts +3 -13
- package/lib/entity/vas-invitation.d.ts +1 -1
- package/lib/entity/vas-job-action-controls-step.model.d.ts +33 -0
- package/lib/entity/vas-job-action-email-form-step.model.d.ts +41 -0
- package/lib/entity/vas-job-action-instruction-step.model.d.ts +34 -0
- package/lib/entity/vas-job-action-note-prompt-step.model.d.ts +32 -0
- package/lib/entity/vas-job-action-set-datetime-step.model.d.ts +34 -0
- package/lib/entity/vas-job-action-set-job-status-step.model.d.ts +33 -0
- package/lib/entity/vas-job-action-set-value-step.model.d.ts +34 -0
- package/lib/entity/vas-job-action-step.model.d.ts +20 -0
- package/lib/entity/vas-job-action-webhook-step.model.d.ts +34 -0
- package/lib/entity/vas-job-action.dto.d.ts +31 -15
- package/lib/entity/vas-job-action.model.d.ts +36 -0
- package/lib/entity/vas-job-status.d.ts +27 -0
- package/lib/entity/vas-user.model.d.ts +1 -1
- package/lib/utils/is-array-string.d.ts +1 -1
- package/package.json +3 -11
- package/cjs/lib/entity/vas-job-status.dto.d.ts +0 -8
- package/cjs/lib/entity/vas-job-status.dto.d.ts.map +0 -1
- package/cjs/lib/entity/vas-job-status.dto.js +0 -3
- package/cjs/lib/entity/vas-job-status.dto.js.map +0 -1
- package/cjs/package.json +0 -5
- package/esm2020/ironcode-vas-lib.mjs +0 -5
- package/esm2020/lib/control-value/index.mjs +0 -3
- package/esm2020/lib/control-value/vas-camera-control-value.model.mjs +0 -8
- package/esm2020/lib/control-value/vas-function-control-value.dto.mjs +0 -2
- package/esm2020/lib/controls-config/index.mjs +0 -5
- package/esm2020/lib/controls-config/vas-control-config-direction.enum.mjs +0 -8
- package/esm2020/lib/controls-config/vas-control-config.model.mjs +0 -2
- package/esm2020/lib/controls-config/vas-function-control-config.dto.mjs +0 -2
- package/esm2020/lib/controls-config/vas-select-control-config.model.mjs +0 -2
- package/esm2020/lib/elastic/index.mjs +0 -2
- package/esm2020/lib/elastic/job.elastic-doc.mjs +0 -2
- package/esm2020/lib/entity/index.mjs +0 -70
- package/esm2020/lib/entity/vas-access-group.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-account-config.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-account-object.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-account-object.model.mjs +0 -24
- package/esm2020/lib/entity/vas-account.dto.mjs +0 -7
- package/esm2020/lib/entity/vas-base.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-base.model.mjs +0 -34
- package/esm2020/lib/entity/vas-branch.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-branch.model.mjs +0 -68
- package/esm2020/lib/entity/vas-contact-type.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-contact.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-contact.model.mjs +0 -101
- package/esm2020/lib/entity/vas-control-type.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-control-type.model.mjs +0 -52
- package/esm2020/lib/entity/vas-control.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-control.model.mjs +0 -191
- package/esm2020/lib/entity/vas-field.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-field.model.mjs +0 -112
- package/esm2020/lib/entity/vas-file.dto.mjs +0 -9
- package/esm2020/lib/entity/vas-file.model.mjs +0 -135
- package/esm2020/lib/entity/vas-fire-user.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-fire-user.model.mjs +0 -102
- package/esm2020/lib/entity/vas-form-config.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-form-config.model.mjs +0 -31
- package/esm2020/lib/entity/vas-form.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-form.model.mjs +0 -215
- package/esm2020/lib/entity/vas-group.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-group.model.mjs +0 -108
- package/esm2020/lib/entity/vas-instruction-job-field.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-instruction-job-field.model.mjs +0 -48
- package/esm2020/lib/entity/vas-instruction-job.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-instruction-job.model.mjs +0 -81
- package/esm2020/lib/entity/vas-instruction-provider.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-instruction-provider.model.mjs +0 -66
- package/esm2020/lib/entity/vas-instruction.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-instruction.model.mjs +0 -52
- package/esm2020/lib/entity/vas-invitation.mjs +0 -88
- package/esm2020/lib/entity/vas-job-action.dto.mjs +0 -22
- package/esm2020/lib/entity/vas-job-copy.mjs +0 -39
- package/esm2020/lib/entity/vas-job-data.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-job-data.model.mjs +0 -21
- package/esm2020/lib/entity/vas-job-email.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-job-email.model.mjs +0 -85
- package/esm2020/lib/entity/vas-job-status.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-job-type.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-job.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-job.model.mjs +0 -529
- package/esm2020/lib/entity/vas-lookup-type.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-lookup.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-lookup.model.mjs +0 -75
- package/esm2020/lib/entity/vas-membership.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-membership.model.mjs +0 -62
- package/esm2020/lib/entity/vas-note.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-note.model.mjs +0 -68
- package/esm2020/lib/entity/vas-report-layout.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-report-layout.model.mjs +0 -22
- package/esm2020/lib/entity/vas-report-request.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-report-request.model.mjs +0 -44
- package/esm2020/lib/entity/vas-report.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-report.model.mjs +0 -72
- package/esm2020/lib/entity/vas-restricted-account-object.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-restricted-account-object.model.mjs +0 -24
- package/esm2020/lib/entity/vas-task-type.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-task.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-task.model.mjs +0 -80
- package/esm2020/lib/entity/vas-user.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-user.model.mjs +0 -42
- package/esm2020/lib/entity/vas-vehicle.dto.mjs +0 -2
- package/esm2020/lib/entity/vas-vehicle.model.mjs +0 -69
- package/esm2020/lib/model/geo-location.mjs +0 -12
- package/esm2020/lib/model/index.mjs +0 -3
- package/esm2020/lib/model/vas-time-range.model.mjs +0 -2
- package/esm2020/lib/utils/get-value-by-path.mjs +0 -64
- package/esm2020/lib/utils/is-array-string.mjs +0 -4
- package/esm2020/lib/utils/only.mjs +0 -22
- package/esm2020/public-api.mjs +0 -6
- package/fesm2015/ironcode-vas-lib.mjs +0 -2736
- package/fesm2015/ironcode-vas-lib.mjs.map +0 -1
- package/fesm2020/ironcode-vas-lib.mjs.map +0 -1
- package/lib/entity/vas-job-status.dto.d.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vas-form.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-form.model.ts"],"names":[],"mappings":";;;AAAA,+FAAwF;AAKxF,uDAAkD;AAElD,qEAA+D;AAC/D,mEAA6D;AAE7D,wCAAqC;AAErC;;GAEG;AACH,MAAa,YAAa,SAAQ,qEAA+B;IAE/D,YACkB,EAAU,EACV,OAAe,EACf,aAAqB,EACrB,SAAiB,EACjB,QAAg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I,CAAC,MAAM,CAAC,YAAY,EAAE,IAClC;IACJ,CAAC;IAEM,MAAM,CAAC,aAAa,CACzB,IAAyB;QAEzB,OAAO,IAAA,WAAI,EACT,IAAI,EACJ;YACE,SAAS;YACT,UAAU;YACV,OAAO;YACP,aAAa;YACb,SAAS;YACT,QAAQ;SACT,CACF,CAAC;IACJ,CAAC;CACF;AAxQD,oCAwQC","sourcesContent":["import { VasRestrictedAccountObjectModel } from './vas-restricted-account-object.model';\nimport { VasControlTypeDto } from './vas-control-type.dto';\nimport { VasControlModel } from './vas-control.model';\nimport { VasFieldDtoValue } from './vas-field.dto';\nimport { VasFormDto } from './vas-form.dto';\nimport { VasGroupModel } from './vas-group.model';\nimport { VasJobModel } from './vas-job.model';\nimport { VasControlTypeModel } from './vas-control-type.model';\nimport { VasFormConfigModel } from './vas-form-config.model';\nimport { VasLookupDto } from './vas-lookup.dto';\nimport { only } from '../utils/only';\n\n/**\n * VasFormModel\n */\nexport class VasFormModel extends VasRestrictedAccountObjectModel {\n\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public override createdByName: string,\n public override modifiedByName: string,\n public override account: string,\n public override accessGroup: string,\n public jobType: string,\n public title: string,\n public description: string,\n public groups: VasGroupModel[],\n public dynamicDescriptor: string,\n public indexName: string,\n public pipelineName: string,\n public config: VasFormConfigModel,\n public geoLocationEnabled: boolean,\n public filesEnabled: boolean\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy,\n createdByName,\n modifiedByName,\n account,\n accessGroup\n );\n }\n\n /**\n * Returns the name of this form in a \"safe\" way, i.e. no spaces, special\n * characters\n * @return {string}\n */\n get safeTitle(): string {\n return this.title\n .replace(/[^a-z0-9]/gi, '-')\n .replace(/-+/g, '-')\n .toLowerCase();\n }\n\n\n /**\n * The VAS API response for Form will inline Group and Control but not\n * ControlType. This method is a help which will allows us to construct an\n * instance of VasFormModel with the ControlType model set appropriately into\n * each VasControlModel\n * @param {VasFormDto} formDto\n * @param {Array<VasControlTypeDto>} controlTypeDtos\n * @return {VasFormModel}\n * @deprecated vas-rest has been updated to inline control types into the\n * control so this method is no longer required. use VasFormModel.fromDto()\n */\n public static fromApiResponse(\n formDto: VasFormDto,\n controlTypeDtos: Array<VasControlTypeDto>\n ): VasFormModel {\n const controlTypeModels = controlTypeDtos\n .map(ctDto => VasControlTypeModel.fromDto(ctDto));\n const formModel = VasFormModel.fromDto(formDto);\n formModel.groups\n .forEach(group => {\n group.controls\n .forEach(control => {\n // Note that we are forcing types here. This is because we have\n // updated the typings for ControlModel and ControlDto to reflect\n // the fact that VASREST is updating the response from certain\n // controllers to inline ControlType into the Control. Consumers of\n // the library will know what version of the API they are consuming\n // so can decide when to migrate away from fromApiResponse, and can\n // use fromDto instead\n (control.controlType as any) = controlTypeModels\n .find(ct => ct.id === ((control as any).controlTypeId));\n });\n });\n return formModel;\n }\n\n static empty(): VasFormModel {\n return VasFormModel.fromDto({});\n }\n\n /**\n * @param {VasFormDto} dto\n * @return {VasFormModel}\n */\n static override fromDto(dto: Partial<VasFormDto>): VasFormModel {\n return new VasFormModel(\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.createdByName || '',\n dto.modifiedByName || '',\n dto.account || '',\n dto.accessGroup || '',\n dto.jobType || '',\n dto.title || '',\n dto.description || '',\n (dto.groups || [])\n .sort((a, b) => a.sequence - b.sequence)\n .map(g => VasGroupModel.fromDto(g)),\n dto.dynamicDescriptor || '',\n dto.indexName || '',\n dto.pipelineName || '',\n VasFormConfigModel.fromJsonString(dto.config),\n dto.geoLocationEnabled || false,\n dto.filesEnabled || false\n );\n }\n\n /**\n * @param {string} id\n * @return {VasControlModel | undefined}\n */\n findControlModelById(id: string): VasControlModel | undefined {\n let result;\n this.groups\n .find(group => group.controls\n .find(control => {\n if (control.id !== id) {\n return;\n }\n result = control;\n return true;\n }));\n return result;\n }\n\n /**\n *\n * @param {string} name\n * @return {VasControlModel | undefined}\n */\n findControlModelByName(name: string): VasControlModel | undefined {\n let result;\n this.groups\n .find(group => group.controls\n .find(control => {\n if (control.name !== name) {\n return;\n }\n result = control;\n return true;\n }));\n return result;\n }\n\n /**\n *\n * @return {Array<Array<string>>}\n */\n getCameraControlPaths(): Array<Array<string>> {\n const paths: string[][] = [];\n this.groups.forEach(group => {\n group.controls.forEach(control => {\n if (control.controlTypeName !== 'camera') {\n return;\n }\n paths.push([group.name, control.safeName]);\n });\n });\n return paths;\n }\n\n /**\n * Return all Controls in the Form\n */\n getControls(): Array<VasControlModel> {\n return this.groups\n .reduce((acc, g) => {\n return acc.concat(g.controls)\n }, [] as Array<VasControlModel>);\n }\n\n /**\n * @param {VasJobModel} jobModel\n * @return {Array<{id: string, value: VasFieldDtoValue}>}\n */\n getValuesByControlId(\n jobModel: VasJobModel\n ): Array<{ id: string, value: VasFieldDtoValue | undefined }> {\n const items: Array<{ id: string, value: VasFieldDtoValue | undefined }> = [];\n this.groups\n .forEach(group => {\n group.controls\n .forEach(control => {\n items.push({\n id: control.id,\n value: jobModel.getValueByPath([group.name, control.safeName])\n });\n });\n });\n return items;\n }\n\n /**\n * @return {VasFormDto}\n */\n toDto(): VasFormDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n createdByName: this.createdByName,\n modifiedByName: this.modifiedByName,\n account: this.account,\n accessGroup: this.accessGroup,\n jobType: this.jobType,\n title: this.title,\n description: this.description,\n groups: this.groups.map(group => group.toDto()),\n dynamicDescriptor: this.dynamicDescriptor,\n indexName: this.indexName,\n pipelineName: this.pipelineName,\n config: this.config.toJsonString(),\n geoLocationEnabled: this.geoLocationEnabled,\n filesEnabled: this.filesEnabled\n };\n }\n\n override toApiDto(options?: any): Record<string, any> {\n return {\n ...super.toApiDto(options),\n title: this.title || '~',\n description: this.description || '~',\n jobType: this.jobType,\n config: this.config.toJsonString()\n };\n }\n\n public static toApiPatchDto(\n item: Partial<VasFormDto>\n ): Partial<VasFormDto> {\n return only(\n item,\n [\n 'created',\n 'modified',\n 'title',\n 'description',\n 'jobType',\n 'config'\n ]\n );\n }\n}\n\n"]}
|
|
1
|
+
{"version":3,"file":"vas-form.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-form.model.ts"],"names":[],"mappings":";;;AAAA,+FAAwF;AAKxF,uDAAkD;AAElD,qEAA+D;AAC/D,mEAA6D;AAE7D,wCAAqC;AAErC;;GAEG;AACH,MAAa,YAAa,SAAQ,qEAA+B;IAE/D,YACkB,EAAU,EACV,OAAe,EACf,aAAqB,EACrB,SAAiB,EACjB,QAAgB,EAChB,cAAsB,EACtB,UAAkB,EAClB,aAAqB,EACrB,cAAsB,EACtB,OAAe,EACf,WAAmB,EAC5B,OAAe,EACf,KAAa,EACb,WAAmB,EACnB,MAAuB,EACvB,iBAAyB,EACzB,SAAiB,EACjB,YAAoB,EACpB,MAA0B,EAC1B,kBAA2B,EAC3B,YAAqB;QAE5B,KAAK,CACH,EAAE,EACF,OAAO,EACP,aAAa,EACb,SAAS,EACT,QAAQ,EACR,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EACd,OAAO,EACP,WAAW,CACZ,CAAC;QAlCc,OAAE,GAAF,EAAE,CAAQ;QACV,YAAO,GAAP,OAAO,CAAQ;QACf,kBAAa,GAAb,aAAa,CAAQ;QACrB,cAAS,GAAT,SAAS,CAAQ;QACjB,aAAQ,GAAR,QAAQ,CAAQ;QAChB,mBAAc,GAAd,cAAc,CAAQ;QACtB,eAAU,GAAV,UAAU,CAAQ;QAClB,kBAAa,GAAb,aAAa,CAAQ;QACrB,mBAAc,GAAd,cAAc,CAAQ;QACtB,YAAO,GAAP,OAAO,CAAQ;QACf,gBAAW,GAAX,WAAW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AAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;YAC/C,iBAAiB,EAAE,IAAI,CAAC,iBAAiB;YACzC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,YAAY,EAAE,IAAI,CAAC,YAAY;YAC/B,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE;YAClC,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;YAC3C,YAAY,EAAE,IAAI,CAAC,YAAY;SAChC,CAAC;IACJ,CAAC;IAEQ,QAAQ,CAAC,OAAa;QAC7B,uCACK,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,KAC1B,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,GAAG,EACxB,WAAW,EAAE,IAAI,CAAC,WAAW,IAAI,GAAG,EACpC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC,YAAY,EAAE,IAClC;IACJ,CAAC;IAEM,MAAM,CAAC,aAAa,CACzB,IAAyB;QAEzB,OAAO,IAAA,WAAI,EACT,IAAI,EACJ;YACE,SAAS;YACT,UAAU;YACV,OAAO;YACP,aAAa;YACb,SAAS;YACT,QAAQ;SACT,CACF,CAAC;IACJ,CAAC;CACF;AAxQD,oCAwQC","sourcesContent":["import { VasRestrictedAccountObjectModel } from './vas-restricted-account-object.model';\nimport { VasControlTypeDto } from './vas-control-type.dto';\nimport { VasControlModel } from './vas-control.model';\nimport { VasFieldDtoValue } from './vas-field.dto';\nimport { VasFormDto } from './vas-form.dto';\nimport { VasGroupModel } from './vas-group.model';\nimport { VasJobModel } from './vas-job.model';\nimport { VasControlTypeModel } from './vas-control-type.model';\nimport { VasFormConfigModel } from './vas-form-config.model';\nimport { VasLookupDto } from './vas-lookup.dto';\nimport { only } from '../utils/only';\n\n/**\n * VasFormModel\n */\nexport class VasFormModel extends VasRestrictedAccountObjectModel {\n\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public override createdByName: string,\n public override modifiedByName: string,\n public override account: string,\n public override accessGroup: string,\n public jobType: string,\n public title: string,\n public description: string,\n public groups: VasGroupModel[],\n public dynamicDescriptor: string,\n public indexName: string,\n public pipelineName: string,\n public config: VasFormConfigModel,\n public geoLocationEnabled: boolean,\n public filesEnabled: boolean\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy,\n createdByName,\n modifiedByName,\n account,\n accessGroup\n );\n }\n\n /**\n * Returns the name of this form in a \"safe\" way, i.e. no spaces, special\n * characters\n * @return {string}\n */\n get safeTitle(): string {\n return this.title\n .replace(/[^a-z0-9]/gi, '-')\n .replace(/-+/g, '-')\n .toLowerCase();\n }\n\n\n /**\n * The VAS API response for Form will inline Group and Control but not\n * ControlType. This method is a help which will allows us to construct an\n * instance of VasFormModel with the ControlType model set appropriately into\n * each VasControlModel\n * @param {VasFormDto} formDto\n * @param {Array<VasControlTypeDto>} controlTypeDtos\n * @return {VasFormModel}\n * @deprecated vas-rest has been updated to inline control types into the\n * control so this method is no longer required. use VasFormModel.fromDto()\n */\n public static fromApiResponse(\n formDto: VasFormDto,\n controlTypeDtos: Array<VasControlTypeDto>\n ): VasFormModel {\n const controlTypeModels = controlTypeDtos\n .map(ctDto => VasControlTypeModel.fromDto(ctDto));\n const formModel = VasFormModel.fromDto(formDto);\n formModel.groups\n .forEach(group => {\n group.controls\n .forEach(control => {\n // Note that we are forcing types here. This is because we have\n // updated the typings for ControlModel and ControlDto to reflect\n // the fact that VASREST is updating the response from certain\n // controllers to inline ControlType into the Control. Consumers of\n // the library will know what version of the API they are consuming\n // so can decide when to migrate away from fromApiResponse, and can\n // use fromDto instead\n (control.controlType as any) = controlTypeModels\n .find(ct => ct.id === ((control as any).controlTypeId));\n });\n });\n return formModel;\n }\n\n static empty(): VasFormModel {\n return VasFormModel.fromDto({});\n }\n\n /**\n * @param {VasFormDto} dto\n * @return {VasFormModel}\n */\n static override fromDto(dto: Partial<VasFormDto>): VasFormModel {\n return new VasFormModel(\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.createdByName || '',\n dto.modifiedByName || '',\n dto.account || '',\n dto.accessGroup || '',\n dto.jobType || '',\n dto.title || '',\n dto.description || '',\n (dto.groups || [])\n .sort((a, b) => a.sequence - b.sequence)\n .map(g => VasGroupModel.fromDto(g)),\n dto.dynamicDescriptor || '',\n dto.indexName || '',\n dto.pipelineName || '',\n VasFormConfigModel.fromJsonString(dto.config),\n dto.geoLocationEnabled || false,\n dto.filesEnabled || false\n );\n }\n\n /**\n * @param {string} id\n * @return {VasControlModel | undefined}\n */\n findControlModelById(id: string): VasControlModel | undefined {\n let result;\n this.groups\n .find(group => group.controls\n .find(control => {\n if (control.id !== id) {\n return;\n }\n result = control;\n return true;\n }));\n return result;\n }\n\n /**\n *\n * @param {string} name\n * @return {VasControlModel | undefined}\n */\n findControlModelByName(name: string): VasControlModel | undefined {\n let result;\n this.groups\n .find(group => group.controls\n .find(control => {\n if (control.name !== name) {\n return;\n }\n result = control;\n return true;\n }));\n return result;\n }\n\n /**\n *\n * @return {Array<Array<string>>}\n */\n getCameraControlPaths(): Array<Array<string>> {\n const paths: string[][] = [];\n this.groups.forEach(group => {\n group.controls.forEach(control => {\n if (control.controlTypeName !== 'camera') {\n return;\n }\n paths.push([group.name, control.safeName]);\n });\n });\n return paths;\n }\n\n /**\n * Return all Controls in the Form\n */\n getControls(): Array<VasControlModel> {\n return this.groups\n .reduce((acc, g) => {\n return acc.concat(g.controls)\n }, [] as Array<VasControlModel>);\n }\n\n /**\n * @param {VasJobModel} jobModel\n * @return {Array<{id: string, value: VasFieldDtoValue}>}\n */\n getValuesByControlId(\n jobModel: VasJobModel\n ): Array<{ id: string, value: VasFieldDtoValue | undefined }> {\n const items: Array<{ id: string, value: VasFieldDtoValue | undefined }> = [];\n this.groups\n .forEach(group => {\n group.controls\n .forEach(control => {\n items.push({\n id: control.id,\n value: jobModel.getValueByPath([group.name, control.safeName])\n });\n });\n });\n return items;\n }\n\n /**\n * @return {VasFormDto}\n */\n toDto(): VasFormDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n createdByName: this.createdByName,\n modifiedByName: this.modifiedByName,\n account: this.account,\n accessGroup: this.accessGroup,\n jobType: this.jobType,\n title: this.title,\n description: this.description,\n groups: this.groups.map(group => group.toDto()),\n dynamicDescriptor: this.dynamicDescriptor,\n indexName: this.indexName,\n pipelineName: this.pipelineName,\n config: this.config.toJsonString(),\n geoLocationEnabled: this.geoLocationEnabled,\n filesEnabled: this.filesEnabled\n };\n }\n\n override toApiDto(options?: any): Record<string, any> {\n return {\n ...super.toApiDto(options),\n title: this.title || '~',\n description: this.description || '~',\n jobType: this.jobType,\n config: this.config.toJsonString()\n };\n }\n\n public static toApiPatchDto(\n item: Partial<VasFormDto>\n ): Partial<VasFormDto> {\n return only(\n item,\n [\n 'created',\n 'modified',\n 'title',\n 'description',\n 'jobType',\n 'config'\n ]\n );\n }\n}\n\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vas-group.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-group.model.ts"],"names":[],"mappings":";;;AAAA,2DAAsD;AAGtD,+FAAwF;AACxF,wCAAqC;AAErC;;GAEG;AACH,MAAa,aAAc,SAAQ,qEAA+B;IAEhE,YACkB,EAAU,EACV,OAAe,EACf,aAAqB,EACrB,SAAiB,EACjB,QAAgB,EAChB,cAAsB,EACtB,UAAkB,EAClB,aAAqB,EACrB,cAAsB,EACtB,OAAe,EACf,WAAmB,EAC5B,IAAY,EACZ,KAAa,EACb,WAAmB,EACnB,QAAgB,EAChB,gBAA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AC,UAAU,IAAI,EAAE,EACpB,GAAG,CAAC,aAAa,IAAI,EAAE,EACvB,GAAG,CAAC,cAAc,IAAI,EAAE,EACxB,GAAG,CAAC,OAAO,IAAI,EAAE,EACjB,GAAG,CAAC,WAAW,IAAI,EAAE,EACrB,GAAG,CAAC,IAAI,IAAI,EAAE,EACd,GAAG,CAAC,KAAK,IAAI,EAAE,EACf,GAAG,CAAC,WAAW,IAAI,EAAE,EACrB,GAAG,CAAC,QAAQ,IAAI,CAAC,EACjB,GAAG,CAAC,gBAAgB,IAAI,KAAK,EAC7B,GAAG,CAAC,KAAK,IAAI,EAAE,EACf,GAAG,CAAC,iBAAiB,IAAI,EAAE,EAC3B,GAAG,CAAC,eAAe,IAAI,EAAE,EACzB,CAAC,GAAG,CAAC,QAAQ,IAAI,EAAE,CAAC;aACjB,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;aACrD,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,CAAC;aACvC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,mCAAe,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EACvC,GAAG,CAAC,WAAW,IAAI,CAAC,CACrB,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,SAAS,CACP,iBAA2E;QAE3E,IAAI,CAAC,IAAI,CAAC,iBAAiB,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE;
|
|
1
|
+
{"version":3,"file":"vas-group.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-group.model.ts"],"names":[],"mappings":";;;AAAA,2DAAsD;AAGtD,+FAAwF;AACxF,wCAAqC;AAErC;;GAEG;AACH,MAAa,aAAc,SAAQ,qEAA+B;IAEhE,YACkB,EAAU,EACV,OAAe,EACf,aAAqB,EACrB,SAAiB,EACjB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EQ,QAAQ,CAAC,OAAa;QAC7B,uCACK,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,KAC1B,IAAI,EAAE,IAAI,CAAC,IAAI,IAAK,GAAG,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,IAAK,GAAG,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,IAAI,CAAC,EAC5B,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,IACvC;IACJ,CAAC;IAEM,MAAM,CAAC,aAAa,CACzB,IAA0B;QAE1B,OAAO,IAAA,WAAI,EACT,IAAI,EACJ;YACE,SAAS;YACT,UAAU;YACV,MAAM;YACN,OAAO;YACP,UAAU;YACV,kBAAkB;SACnB,CACF,CAAC;IACJ,CAAC;CACF;AAtJD,sCAsJC","sourcesContent":["import { VasControlModel } from './vas-control.model';\nimport { VasGroupDto } from './vas-group.dto';\nimport { VasFieldDtoValue } from './vas-field.dto';\nimport { VasRestrictedAccountObjectModel } from './vas-restricted-account-object.model';\nimport { only } from '../utils/only';\n\n/**\n * GroupModel\n */\nexport class VasGroupModel extends VasRestrictedAccountObjectModel {\n\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public override createdByName: string,\n public override modifiedByName: string,\n public override account: string,\n public override accessGroup: string,\n public name: string,\n public title: string,\n public description: string,\n public sequence: number,\n public includeInSummary: boolean,\n public forms: string[],\n public visibilityControl: string,\n public visibleIfEquals: string,\n public controls: VasControlModel[],\n public scoreWeight: number\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy,\n createdByName,\n modifiedByName,\n account,\n accessGroup\n );\n }\n\n /**\n * @param {VasGroupDto} dto\n * @return {VasGroupModel}\n */\n static override fromDto(dto: Partial<VasGroupDto>): VasGroupModel {\n return new VasGroupModel(\n // eslint-disable-next-line new-cap\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.createdByName || '',\n dto.modifiedByName || '',\n dto.account || '',\n dto.accessGroup || '',\n dto.name || '',\n dto.title || '',\n dto.description || '',\n dto.sequence || 0,\n dto.includeInSummary || false,\n dto.forms || [],\n dto.visibilityControl || '',\n dto.visibleIfEquals || '',\n (dto.controls || [])\n .filter(control => control.name.startsWith('fields.'))\n .sort((a, b) => a.sequence - b.sequence)\n .map(c => VasControlModel.fromDto(c)),\n dto.scoreWeight || 1\n );\n }\n\n /**\n * @param {Array<VasControlModel>} valuesByControlId\n * @return {boolean}\n */\n isVisible(\n valuesByControlId: Array<{id: string, value: VasFieldDtoValue | undefined}>\n ): boolean {\n if (!this.visibilityControl || !this.visibleIfEquals) {\n return true;\n }\n\n const control = valuesByControlId\n .find(c => c.id === this.visibilityControl);\n\n if (!control) {\n console.warn(`control with id ${this.visibilityControl} not found`);\n return true;\n }\n\n return (control.value || '').toString() === this.visibleIfEquals;\n }\n\n /**\n * @return {VasGroupDto}\n */\n toDto(): VasGroupDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n createdByName: this.createdByName,\n modifiedByName: this.modifiedByName,\n account: this.account,\n accessGroup: this.accessGroup,\n name: this.name,\n title: this.title,\n description: this.description,\n sequence: this.sequence,\n includeInSummary: this.includeInSummary,\n forms: this.forms,\n visibilityControl: this.visibilityControl,\n visibleIfEquals: this.visibleIfEquals,\n controls: this.controls.map(control => control.toDto()),\n scoreWeight: this.scoreWeight\n };\n }\n\n override toApiDto(options?: any): Record<string, any> {\n return {\n ...super.toApiDto(options),\n name: this.name || '~',\n title: this.title || '~',\n sequence: this.sequence || 0,\n includeInSummary: this.includeInSummary\n };\n }\n\n public static toApiPatchDto(\n item: Partial<VasGroupDto>\n ): Partial<VasGroupDto> {\n return only(\n item,\n [\n 'created',\n 'modified',\n 'name',\n 'title',\n 'sequence',\n 'includeInSummary'\n ]\n );\n }\n}\n\n"]}
|
|
@@ -2,7 +2,7 @@ import { VasAccountObjectDto } from './vas-account-object.dto';
|
|
|
2
2
|
import { VasAccessGroupDto } from './vas-access-group.dto';
|
|
3
3
|
import { VasContactTypeDto } from './vas-contact-type.dto';
|
|
4
4
|
import { VasInstructionProviderDto } from './vas-instruction-provider.dto';
|
|
5
|
-
import { VasJobStatusDto } from './vas-job-status
|
|
5
|
+
import { VasJobStatusDto } from './vas-job-status';
|
|
6
6
|
import { VasJobTypeDto } from './vas-job-type.dto';
|
|
7
7
|
import { VasLookupTypeDto } from './vas-lookup-type.dto';
|
|
8
8
|
import { VasTaskTypeDto } from './vas-task-type.dto';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vas-invitation.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-invitation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"vas-invitation.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-invitation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO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E_P2C_MOBILE"] = "p2c-mobile";
|
|
12
|
-
})(VasInvitationTypeEnum
|
|
12
|
+
})(VasInvitationTypeEnum || (exports.VasInvitationTypeEnum = VasInvitationTypeEnum = {}));
|
|
13
13
|
class VasInvitationModel extends vas_account_object_model_1.VasAccountObjectModel {
|
|
14
14
|
constructor(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, account, secret, type, accessGroups, contactTypes, jobStatuses, jobTypes, lookupTypes, taskTypes, instructionProviders) {
|
|
15
15
|
super(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, account);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vas-invitation.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-invitation.ts"],"names":[],"mappings":";;;AAQA,yEAAmE;AAEnE,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,yDAAgC,CAAA;IAChC,uDAA8B,CAAA;IAC9B,uDAA8B,CAAA;IAC9B,yDAAgC,CAAA;IAChC,uDAA8B,CAAA;AAChC,CAAC,EANW,qBAAqB,
|
|
1
|
+
{"version":3,"file":"vas-invitation.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-invitation.ts"],"names":[],"mappings":";;;AAQA,yEAAmE;AAEnE,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,yDAAgC,CAAA;IAChC,uDAA8B,CAAA;IAC9B,uDAA8B,CAAA;IAC9B,yDAAgC,CAAA;IAChC,uDAA8B,CAAA;AAChC,CAAC,EANW,qBAAqB,qCAArB,qBAAqB,QAMhC;AAcD,MAAa,kBAAmB,SAAQ,gDAAqB;IAE3D,YACkB,EAAU,EACV,OAAe,EACf,aAAqB,EACrB,SAAiB,EACjB,QAAgB,EAChB,cAAsB,EACtB,UAAkB,EAClB,aAAqB,EACrB,cAAsB,EACtB,OAAe,EACxB,MAAc,EACd,IAA2B,EAC3B,YAAsC,EACtC,YAAsC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AM,EAAE,CAAC;YACrC,GAAG,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QACzE,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC;CACF;AAnHD,gDAmHC","sourcesContent":["import { VasAccountObjectDto } from './vas-account-object.dto';\nimport { VasAccessGroupDto } from './vas-access-group.dto';\nimport { VasContactTypeDto } from './vas-contact-type.dto';\nimport { VasInstructionProviderDto } from './vas-instruction-provider.dto';\nimport { VasJobStatusDto } from './vas-job-status';\nimport { VasJobTypeDto } from './vas-job-type.dto';\nimport { VasLookupTypeDto } from './vas-lookup-type.dto';\nimport { VasTaskTypeDto } from './vas-task-type.dto';\nimport { VasAccountObjectModel } from './vas-account-object.model';\n\nexport enum VasInvitationTypeEnum {\n TYPE_VAS_DESKTOP = 'vas-desktop',\n TYPE_VAS_MOBILE = 'vas-mobile',\n TYPE_VAS_PORTAL = 'vas-portal',\n TYPE_P2C_DESKTOP = 'p2c-desktop',\n TYPE_P2C_MOBILE = 'p2c-mobile',\n}\n\nexport interface VasInvitationDto extends VasAccountObjectDto {\n secret: string;\n type: VasInvitationTypeEnum;\n accessGroups: Array<VasAccessGroupDto>;\n contactTypes: Array<VasContactTypeDto>;\n jobStatuses: Array<VasJobStatusDto>;\n jobTypes: Array<VasJobTypeDto>;\n lookupTypes: Array<VasLookupTypeDto>;\n taskTypes: Array<VasTaskTypeDto>;\n instructionProviders: Array<VasInstructionProviderDto>;\n}\n\nexport class VasInvitationModel extends VasAccountObjectModel implements VasAccountObjectDto {\n\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public override createdByName: string,\n public override modifiedByName: string,\n public override account: string,\n public secret: string,\n public type: VasInvitationTypeEnum,\n public accessGroups: Array<VasAccessGroupDto>,\n public contactTypes: Array<VasContactTypeDto>,\n public jobStatuses: Array<VasJobStatusDto>,\n public jobTypes: Array<VasJobTypeDto>,\n public lookupTypes: Array<VasLookupTypeDto>,\n public taskTypes: Array<VasTaskTypeDto>,\n public instructionProviders: Array<VasInstructionProviderDto>,\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy,\n createdByName,\n modifiedByName,\n account\n );\n }\n\n toDto(): VasInvitationDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n createdByName: this.createdByName,\n modifiedByName: this.modifiedByName,\n account: this.account,\n secret: this.secret,\n type: this.type,\n accessGroups: this.accessGroups,\n contactTypes: this.contactTypes,\n jobStatuses: this.jobStatuses,\n jobTypes: this.jobTypes,\n lookupTypes: this.lookupTypes,\n taskTypes: this.taskTypes,\n instructionProviders: this.instructionProviders,\n };\n }\n\n static override fromDto(dto: Partial<VasInvitationDto>): VasInvitationModel {\n return new VasInvitationModel(\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.createdByName || '',\n dto.modifiedByName || '',\n dto.account || '',\n dto.secret || '',\n dto.type || VasInvitationTypeEnum.TYPE_VAS_PORTAL,\n dto.accessGroups || [],\n dto.contactTypes || [],\n dto.jobStatuses || [],\n dto.jobTypes || [],\n dto.lookupTypes || [],\n dto.taskTypes || [],\n dto.instructionProviders || [],\n );\n }\n\n\n override toApiDto(options?: any): Record<string, string | number | boolean> {\n const dto: Record<string, any> = {\n ...super.toApiDto(),\n type: this.type\n };\n\n if (this.accessGroups.length) {\n dto['accessGroups'] = this.accessGroups.map(d => d.id);\n }\n if (this.contactTypes.length) {\n dto['contactTypes'] = this.contactTypes.map(d => d.id);\n }\n if (this.jobStatuses.length) {\n dto['jobStatuses'] = this.jobStatuses.map(d => d.id);\n }\n if (this.jobTypes.length) {\n dto['jobTypes'] = this.jobTypes.map(d => d.id);\n }\n if (this.lookupTypes.length) {\n dto['lookupTypes'] = this.lookupTypes.map(d => d.id);\n }\n if (this.taskTypes.length) {\n dto['taskTypes'] = this.taskTypes.map(d => d.id);\n }\n if (this.instructionProviders.length) {\n dto['instructionProviders'] = this.instructionProviders.map(d => d.id);\n }\n return dto;\n }\n}\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { VasJobActionControlsStepDto, VasJobActionStepStage } from './vas-job-action.dto';
|
|
2
|
+
import { VasJobActionStepModel } from './vas-job-action-step.model';
|
|
3
|
+
/**
|
|
4
|
+
* VasJobActionControlsStepModel
|
|
5
|
+
*/
|
|
6
|
+
export declare class VasJobActionControlsStepModel extends VasJobActionStepModel {
|
|
7
|
+
id: string;
|
|
8
|
+
created: string;
|
|
9
|
+
serverCreated: string;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
modified: string;
|
|
12
|
+
serverModified: string;
|
|
13
|
+
modifiedBy: string;
|
|
14
|
+
createdByName: string;
|
|
15
|
+
modifiedByName: string;
|
|
16
|
+
type: 'controls';
|
|
17
|
+
stage: VasJobActionStepStage;
|
|
18
|
+
controlNames: Array<string>;
|
|
19
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, type: 'controls', stage: VasJobActionStepStage, controlNames: Array<string>);
|
|
20
|
+
/**
|
|
21
|
+
* @return {VasJobActionControlsStepModel}
|
|
22
|
+
*/
|
|
23
|
+
static empty(): VasJobActionControlsStepModel;
|
|
24
|
+
/**
|
|
25
|
+
* @param {VasJobActionControlsStepDto} dto
|
|
26
|
+
* @return {VasJobActionControlsStepModel}
|
|
27
|
+
*/
|
|
28
|
+
static fromDto(dto: Partial<VasJobActionControlsStepDto>): VasJobActionControlsStepModel;
|
|
29
|
+
/**
|
|
30
|
+
* @return {VasJobActionControlsStepDto}
|
|
31
|
+
*/
|
|
32
|
+
toDto(): VasJobActionControlsStepDto;
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=vas-job-action-controls-step.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-action-controls-step.model.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-action-controls-step.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC1F,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,qBAAqB;IAGpD,EAAE,EAAE,MAAM;IACV,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,MAAM;IACrB,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE,MAAM;IAChB,cAAc,EAAE,MAAM;IACtB,UAAU,EAAE,MAAM;IAClB,aAAa,EAAE,MAAM;IACrB,cAAc,EAAE,MAAM;IACtB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,qBAAqB;IACrC,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC;gBAXlB,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,UAAU,EAChB,KAAK,EAAE,qBAAqB,EACrC,YAAY,EAAE,KAAK,CAAC,MAAM,CAAC;IAiBpC;;OAEG;IACH,MAAM,CAAC,KAAK,IAAI,6BAA6B;IAiB7C;;;OAGG;WACa,OAAO,CACrB,GAAG,EAAE,OAAO,CAAC,2BAA2B,CAAC,GACxC,6BAA6B;IAiBhC;;OAEG;IACH,KAAK,IAAI,2BAA2B;CAgBrC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VasJobActionControlsStepModel = void 0;
|
|
4
|
+
const vas_job_action_step_model_1 = require("./vas-job-action-step.model");
|
|
5
|
+
/**
|
|
6
|
+
* VasJobActionControlsStepModel
|
|
7
|
+
*/
|
|
8
|
+
class VasJobActionControlsStepModel extends vas_job_action_step_model_1.VasJobActionStepModel {
|
|
9
|
+
constructor(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, type, stage, controlNames) {
|
|
10
|
+
super(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, type, stage);
|
|
11
|
+
this.id = id;
|
|
12
|
+
this.created = created;
|
|
13
|
+
this.serverCreated = serverCreated;
|
|
14
|
+
this.createdBy = createdBy;
|
|
15
|
+
this.modified = modified;
|
|
16
|
+
this.serverModified = serverModified;
|
|
17
|
+
this.modifiedBy = modifiedBy;
|
|
18
|
+
this.createdByName = createdByName;
|
|
19
|
+
this.modifiedByName = modifiedByName;
|
|
20
|
+
this.type = type;
|
|
21
|
+
this.stage = stage;
|
|
22
|
+
this.controlNames = controlNames;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @return {VasJobActionControlsStepModel}
|
|
26
|
+
*/
|
|
27
|
+
static empty() {
|
|
28
|
+
return new VasJobActionControlsStepModel('', '', '', '', '', '', '', '', '', 'controls', 'initializing', []);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @param {VasJobActionControlsStepDto} dto
|
|
32
|
+
* @return {VasJobActionControlsStepModel}
|
|
33
|
+
*/
|
|
34
|
+
static fromDto(dto) {
|
|
35
|
+
return new VasJobActionControlsStepModel(dto.id || '', dto.created || '', dto.serverCreated || '', dto.createdBy || '', dto.modified || '', dto.serverModified || '', dto.modifiedBy || '', dto.createdByName || '', dto.modifiedByName || '', 'controls', dto.stage || 'initializing', dto.controlNames || []);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @return {VasJobActionControlsStepDto}
|
|
39
|
+
*/
|
|
40
|
+
toDto() {
|
|
41
|
+
return {
|
|
42
|
+
id: this.id,
|
|
43
|
+
created: this.created,
|
|
44
|
+
serverCreated: this.serverCreated,
|
|
45
|
+
createdBy: this.createdBy,
|
|
46
|
+
modified: this.modified,
|
|
47
|
+
serverModified: this.serverModified,
|
|
48
|
+
modifiedBy: this.modifiedBy,
|
|
49
|
+
createdByName: this.createdByName,
|
|
50
|
+
modifiedByName: this.modifiedByName,
|
|
51
|
+
type: this.type,
|
|
52
|
+
stage: this.stage,
|
|
53
|
+
controlNames: this.controlNames
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.VasJobActionControlsStepModel = VasJobActionControlsStepModel;
|
|
58
|
+
//# sourceMappingURL=vas-job-action-controls-step.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-action-controls-step.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-action-controls-step.model.ts"],"names":[],"mappings":";;;AACA,2EAAoE;AAEpE;;GAEG;AACH,MAAa,6BAA8B,SAAQ,iDAAqB;IAEtE,YACkB,EAAU,EACV,OAAe,EACf,aAAqB,EACrB,SAAiB,EACjB,QAAgB,EAChB,cAAsB,EACtB,UAAkB,EAClB,aAAqB,EACrB,cAAsB,EACtB,IAAgB,EAChB,KAA4B,EACrC,YAA2B;QAElC,KAAK,CACH,EAAE,EACF,OAAO,EACP,aAAa,EACb,SAAS,EACT,QAAQ,EACR,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EACd,IAAI,EACJ,KAAK,CACN,CAAC;QAzBc,OAAE,GAAF,EAAE,CAAQ;QACV,YAAO,GAAP,OAAO,CAAQ;QACf,kBAAa,GAAb,aAAa,CAAQ;QACrB,cAAS,GAAT,SAAS,CAAQ;QACjB,aAA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Ac;YACnC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,YAAY,EAAE,IAAI,CAAC,YAAY;SAChC,CAAC;IACJ,CAAC;CACF;AA7FD,sEA6FC","sourcesContent":["import { VasJobActionControlsStepDto, VasJobActionStepStage } from './vas-job-action.dto';\nimport { VasJobActionStepModel } from './vas-job-action-step.model';\n\n/**\n * VasJobActionControlsStepModel\n */\nexport class VasJobActionControlsStepModel extends VasJobActionStepModel {\n\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public override createdByName: string,\n public override modifiedByName: string,\n public override type: 'controls',\n public override stage: VasJobActionStepStage,\n public controlNames: Array<string>\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy,\n createdByName,\n modifiedByName,\n type,\n stage\n );\n }\n\n /**\n * @return {VasJobActionControlsStepModel}\n */\n static empty(): VasJobActionControlsStepModel {\n return new VasJobActionControlsStepModel(\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n 'controls',\n 'initializing',\n []\n );\n }\n\n /**\n * @param {VasJobActionControlsStepDto} dto\n * @return {VasJobActionControlsStepModel}\n */\n static override fromDto(\n dto: Partial<VasJobActionControlsStepDto>\n ): VasJobActionControlsStepModel {\n return new VasJobActionControlsStepModel(\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.createdByName || '',\n dto.modifiedByName || '',\n 'controls',\n dto.stage || 'initializing',\n dto.controlNames || []\n );\n }\n\n /**\n * @return {VasJobActionControlsStepDto}\n */\n toDto(): VasJobActionControlsStepDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n createdByName: this.createdByName,\n modifiedByName: this.modifiedByName,\n type: this.type,\n stage: this.stage,\n controlNames: this.controlNames\n };\n }\n}\n"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { VasJobActionEmailFormStepDto, VasJobActionStepStage } from './vas-job-action.dto';
|
|
2
|
+
import { VasJobActionStepModel } from './vas-job-action-step.model';
|
|
3
|
+
/**
|
|
4
|
+
* VasJobActionEmailFormStepModel
|
|
5
|
+
*/
|
|
6
|
+
export declare class VasJobActionEmailFormStepModel extends VasJobActionStepModel {
|
|
7
|
+
id: string;
|
|
8
|
+
created: string;
|
|
9
|
+
serverCreated: string;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
modified: string;
|
|
12
|
+
serverModified: string;
|
|
13
|
+
modifiedBy: string;
|
|
14
|
+
createdByName: string;
|
|
15
|
+
modifiedByName: string;
|
|
16
|
+
type: 'email-form';
|
|
17
|
+
stage: VasJobActionStepStage;
|
|
18
|
+
params: {
|
|
19
|
+
$recipients: Array<string>;
|
|
20
|
+
$subject: string;
|
|
21
|
+
$body: Array<string> | string;
|
|
22
|
+
};
|
|
23
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, type: 'email-form', stage: VasJobActionStepStage, params: {
|
|
24
|
+
$recipients: Array<string>;
|
|
25
|
+
$subject: string;
|
|
26
|
+
$body: Array<string> | string;
|
|
27
|
+
});
|
|
28
|
+
/**
|
|
29
|
+
* @return {VasJobActionEmailFormStepModel}
|
|
30
|
+
*/
|
|
31
|
+
static empty(): VasJobActionEmailFormStepModel;
|
|
32
|
+
/**
|
|
33
|
+
* @param {VasJobActionEmailFormStepDto} dto
|
|
34
|
+
* @return {VasJobActionEmailFormStepModel}
|
|
35
|
+
*/
|
|
36
|
+
static fromDto(dto: Partial<VasJobActionEmailFormStepDto>): VasJobActionEmailFormStepModel;
|
|
37
|
+
/**
|
|
38
|
+
* @return {VasJobActionEmailFormStepDto}
|
|
39
|
+
*/
|
|
40
|
+
toDto(): VasJobActionEmailFormStepDto;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=vas-job-action-email-form-step.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-action-email-form-step.model.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-action-email-form-step.model.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC3F,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;GAEG;AACH,qBAAa,8BAA+B,SAAQ,qBAAqB;IAGrD,EAAE,EAAE,MAAM;IACV,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,MAAM;IACrB,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE,MAAM;IAChB,cAAc,EAAE,MAAM;IACtB,UAAU,EAAE,MAAM;IAClB,aAAa,EAAE,MAAM;IACrB,cAAc,EAAE,MAAM;IACtB,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,qBAAqB;IACrC,MAAM,EAAE;QACb,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAC3B,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;KAC/B;gBAfe,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,YAAY,EAClB,KAAK,EAAE,qBAAqB,EACrC,MAAM,EAAE;QACb,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QAC3B,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC;KAC/B;IAiBH;;OAEG;IACH,MAAM,CAAC,KAAK,IAAI,8BAA8B;IAqB9C;;;OAGG;WACa,OAAO,CACrB,GAAG,EAAE,OAAO,CAAC,4BAA4B,CAAC,GACzC,8BAA8B;IAqBjC;;OAEG;IACH,KAAK,IAAI,4BAA4B;CAiBtC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VasJobActionEmailFormStepModel = void 0;
|
|
4
|
+
const vas_job_action_step_model_1 = require("./vas-job-action-step.model");
|
|
5
|
+
/**
|
|
6
|
+
* VasJobActionEmailFormStepModel
|
|
7
|
+
*/
|
|
8
|
+
class VasJobActionEmailFormStepModel extends vas_job_action_step_model_1.VasJobActionStepModel {
|
|
9
|
+
constructor(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, type, stage, params) {
|
|
10
|
+
super(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, type, stage);
|
|
11
|
+
this.id = id;
|
|
12
|
+
this.created = created;
|
|
13
|
+
this.serverCreated = serverCreated;
|
|
14
|
+
this.createdBy = createdBy;
|
|
15
|
+
this.modified = modified;
|
|
16
|
+
this.serverModified = serverModified;
|
|
17
|
+
this.modifiedBy = modifiedBy;
|
|
18
|
+
this.createdByName = createdByName;
|
|
19
|
+
this.modifiedByName = modifiedByName;
|
|
20
|
+
this.type = type;
|
|
21
|
+
this.stage = stage;
|
|
22
|
+
this.params = params;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @return {VasJobActionEmailFormStepModel}
|
|
26
|
+
*/
|
|
27
|
+
static empty() {
|
|
28
|
+
return new VasJobActionEmailFormStepModel('', '', '', '', '', '', '', '', '', 'email-form', 'initializing', {
|
|
29
|
+
$recipients: [],
|
|
30
|
+
$subject: '',
|
|
31
|
+
$body: []
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @param {VasJobActionEmailFormStepDto} dto
|
|
36
|
+
* @return {VasJobActionEmailFormStepModel}
|
|
37
|
+
*/
|
|
38
|
+
static fromDto(dto) {
|
|
39
|
+
return new VasJobActionEmailFormStepModel(dto.id || '', dto.created || '', dto.serverCreated || '', dto.createdBy || '', dto.modified || '', dto.serverModified || '', dto.modifiedBy || '', dto.createdByName || '', dto.modifiedByName || '', 'email-form', dto.stage || 'initializing', dto.params || {
|
|
40
|
+
$recipients: [],
|
|
41
|
+
$subject: '',
|
|
42
|
+
$body: []
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @return {VasJobActionEmailFormStepDto}
|
|
47
|
+
*/
|
|
48
|
+
toDto() {
|
|
49
|
+
return {
|
|
50
|
+
id: this.id,
|
|
51
|
+
created: this.created,
|
|
52
|
+
serverCreated: this.serverCreated,
|
|
53
|
+
createdBy: this.createdBy,
|
|
54
|
+
modified: this.modified,
|
|
55
|
+
serverModified: this.serverModified,
|
|
56
|
+
modifiedBy: this.modifiedBy,
|
|
57
|
+
createdByName: this.createdByName,
|
|
58
|
+
modifiedByName: this.modifiedByName,
|
|
59
|
+
type: this.type,
|
|
60
|
+
stage: this.stage,
|
|
61
|
+
params: this.params
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.VasJobActionEmailFormStepModel = VasJobActionEmailFormStepModel;
|
|
66
|
+
//# sourceMappingURL=vas-job-action-email-form-step.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-action-email-form-step.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-action-email-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AG,CAAC,aAAa,IAAI,EAAE,EACvB,GAAG,CAAC,SAAS,IAAI,EAAE,EACnB,GAAG,CAAC,QAAQ,IAAI,EAAE,EAClB,GAAG,CAAC,cAAc,IAAI,EAAE,EACxB,GAAG,CAAC,UAAU,IAAI,EAAE,EACpB,GAAG,CAAC,aAAa,IAAI,EAAE,EACvB,GAAG,CAAC,cAAc,IAAI,EAAE,EACxB,YAAY,EACZ,GAAG,CAAC,KAAK,IAAI,cAAc,EAC3B,GAAG,CAAC,MAAM,IAAI;YACZ,WAAW,EAAE,EAAE;YACf,QAAQ,EAAE,EAAE;YACZ,KAAK,EAAE,EAAE;SACV,CACF,CAAC;IACJ,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO;YACL,EAAE,EAAE,IAAI,CAAC,EAAE;YACX,OAAO,EAAE,IAAI,CAAC,OAAO;YACrB,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,SAAS,EAAE,IAAI,CAAC,SAAS;YACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,aAAa,EAAE,IAAI,CAAC,aAAa;YACjC,cAAc,EAAE,IAAI,CAAC,cAAc;YACnC,IAAI,EAAE,IAAI,CAAC,IAAI;YACf,KAAK,EAAE,IAAI,CAAC,KAAK;YACjB,MAAM,EAAE,IAAI,CAAC,MAAM;SACpB,CAAC;IACJ,CAAC;CAEF;AA1GD,wEA0GC","sourcesContent":["import { VasBaseModel } from './vas-base.model';\nimport { VasJobActionEmailFormStepDto, VasJobActionStepStage } from './vas-job-action.dto';\nimport { VasJobActionStepModel } from './vas-job-action-step.model';\n\n/**\n * VasJobActionEmailFormStepModel\n */\nexport class VasJobActionEmailFormStepModel extends VasJobActionStepModel {\n\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public override createdByName: string,\n public override modifiedByName: string,\n public override type: 'email-form',\n public override stage: VasJobActionStepStage,\n public params: {\n $recipients: Array<string>,\n $subject: string;\n $body: Array<string> | string;\n }\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy,\n createdByName,\n modifiedByName,\n type,\n stage\n );\n }\n\n /**\n * @return {VasJobActionEmailFormStepModel}\n */\n static empty(): VasJobActionEmailFormStepModel {\n return new VasJobActionEmailFormStepModel(\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n 'email-form',\n 'initializing',\n {\n $recipients: [],\n $subject: '',\n $body: []\n }\n );\n }\n\n /**\n * @param {VasJobActionEmailFormStepDto} dto\n * @return {VasJobActionEmailFormStepModel}\n */\n static override fromDto(\n dto: Partial<VasJobActionEmailFormStepDto>\n ): VasJobActionEmailFormStepModel {\n return new VasJobActionEmailFormStepModel(\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.createdByName || '',\n dto.modifiedByName || '',\n 'email-form',\n dto.stage || 'initializing',\n dto.params || {\n $recipients: [],\n $subject: '',\n $body: []\n }\n );\n }\n\n /**\n * @return {VasJobActionEmailFormStepDto}\n */\n toDto(): VasJobActionEmailFormStepDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n createdByName: this.createdByName,\n modifiedByName: this.modifiedByName,\n type: this.type,\n stage: this.stage,\n params: this.params\n };\n }\n\n}\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { VasJobActionInstructionStepDto, VasJobActionStepStage } from './vas-job-action.dto';
|
|
2
|
+
import { VasJobActionStepModel } from './vas-job-action-step.model';
|
|
3
|
+
/**
|
|
4
|
+
* VasJobActionInstructionStepModel
|
|
5
|
+
*/
|
|
6
|
+
export declare class VasJobActionInstructionStepModel extends VasJobActionStepModel {
|
|
7
|
+
id: string;
|
|
8
|
+
created: string;
|
|
9
|
+
serverCreated: string;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
modified: string;
|
|
12
|
+
serverModified: string;
|
|
13
|
+
modifiedBy: string;
|
|
14
|
+
createdByName: string;
|
|
15
|
+
modifiedByName: string;
|
|
16
|
+
type: 'instruction';
|
|
17
|
+
stage: VasJobActionStepStage;
|
|
18
|
+
instructionProviderId: string;
|
|
19
|
+
linkControl: string;
|
|
20
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, type: 'instruction', stage: VasJobActionStepStage, instructionProviderId: string, linkControl: string);
|
|
21
|
+
/**
|
|
22
|
+
* @return {VasJobActionInstructionStepModel}
|
|
23
|
+
*/
|
|
24
|
+
static empty(): VasJobActionInstructionStepModel;
|
|
25
|
+
/**
|
|
26
|
+
* @param {VasJobActionInstructionStepDto} dto
|
|
27
|
+
* @return {VasJobActionInstructionStepModel}
|
|
28
|
+
*/
|
|
29
|
+
static fromDto(dto: Partial<VasJobActionInstructionStepDto>): VasJobActionInstructionStepModel;
|
|
30
|
+
/**
|
|
31
|
+
* @return {VasJobActionInstructionStepDto}
|
|
32
|
+
*/
|
|
33
|
+
toDto(): VasJobActionInstructionStepDto;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=vas-job-action-instruction-step.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-action-instruction-step.model.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-action-instruction-step.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7F,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;GAEG;AACH,qBAAa,gCAAiC,SAAQ,qBAAqB;IAGvD,EAAE,EAAE,MAAM;IACV,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,MAAM;IACrB,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE,MAAM;IAChB,cAAc,EAAE,MAAM;IACtB,UAAU,EAAE,MAAM;IAClB,aAAa,EAAE,MAAM;IACrB,cAAc,EAAE,MAAM;IACtB,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,qBAAqB;IACrC,qBAAqB,EAAE,MAAM;IAC7B,WAAW,EAAE,MAAM;gBAZV,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,aAAa,EACnB,KAAK,EAAE,qBAAqB,EACrC,qBAAqB,EAAE,MAAM,EAC7B,WAAW,EAAE,MAAM;IAiB5B;;OAEG;IACH,MAAM,CAAC,KAAK,IAAI,gCAAgC;IAkBhD;;;OAGG;WACa,OAAO,CACrB,GAAG,EAAE,OAAO,CAAC,8BAA8B,CAAC,GAC3C,gCAAgC;IAkBnC;;OAEG;IACH,KAAK,IAAI,8BAA8B;CAiBxC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VasJobActionInstructionStepModel = void 0;
|
|
4
|
+
const vas_job_action_step_model_1 = require("./vas-job-action-step.model");
|
|
5
|
+
/**
|
|
6
|
+
* VasJobActionInstructionStepModel
|
|
7
|
+
*/
|
|
8
|
+
class VasJobActionInstructionStepModel extends vas_job_action_step_model_1.VasJobActionStepModel {
|
|
9
|
+
constructor(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, type, stage, instructionProviderId, linkControl) {
|
|
10
|
+
super(id, created, serverCreated, createdBy, modified, serverModified, modifiedBy, createdByName, modifiedByName, type, stage);
|
|
11
|
+
this.id = id;
|
|
12
|
+
this.created = created;
|
|
13
|
+
this.serverCreated = serverCreated;
|
|
14
|
+
this.createdBy = createdBy;
|
|
15
|
+
this.modified = modified;
|
|
16
|
+
this.serverModified = serverModified;
|
|
17
|
+
this.modifiedBy = modifiedBy;
|
|
18
|
+
this.createdByName = createdByName;
|
|
19
|
+
this.modifiedByName = modifiedByName;
|
|
20
|
+
this.type = type;
|
|
21
|
+
this.stage = stage;
|
|
22
|
+
this.instructionProviderId = instructionProviderId;
|
|
23
|
+
this.linkControl = linkControl;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @return {VasJobActionInstructionStepModel}
|
|
27
|
+
*/
|
|
28
|
+
static empty() {
|
|
29
|
+
return new VasJobActionInstructionStepModel('', '', '', '', '', '', '', '', '', 'instruction', 'initializing', '', '');
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @param {VasJobActionInstructionStepDto} dto
|
|
33
|
+
* @return {VasJobActionInstructionStepModel}
|
|
34
|
+
*/
|
|
35
|
+
static fromDto(dto) {
|
|
36
|
+
return new VasJobActionInstructionStepModel(dto.id || '', dto.created || '', dto.serverCreated || '', dto.createdBy || '', dto.modified || '', dto.serverModified || '', dto.modifiedBy || '', dto.createdByName || '', dto.modifiedByName || '', 'instruction', dto.stage || 'initializing', dto.instructionProviderId || '', dto.linkControl || '');
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @return {VasJobActionInstructionStepDto}
|
|
40
|
+
*/
|
|
41
|
+
toDto() {
|
|
42
|
+
return {
|
|
43
|
+
id: this.id,
|
|
44
|
+
created: this.created,
|
|
45
|
+
serverCreated: this.serverCreated,
|
|
46
|
+
createdBy: this.createdBy,
|
|
47
|
+
modified: this.modified,
|
|
48
|
+
serverModified: this.serverModified,
|
|
49
|
+
modifiedBy: this.modifiedBy,
|
|
50
|
+
createdByName: this.createdByName,
|
|
51
|
+
modifiedByName: this.modifiedByName,
|
|
52
|
+
type: this.type,
|
|
53
|
+
stage: this.stage,
|
|
54
|
+
instructionProviderId: this.instructionProviderId,
|
|
55
|
+
linkControl: this.linkControl
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.VasJobActionInstructionStepModel = VasJobActionInstructionStepModel;
|
|
60
|
+
//# sourceMappingURL=vas-job-action-instruction-step.model.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-action-instruction-step.model.js","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-action-instruction-step.model.ts"],"names":[],"mappings":";;;AACA,2EAAoE;AAEpE;;GAEG;AACH,MAAa,gCAAiC,SAAQ,iDAAqB;IAEzE,YACkB,EAAU,EACV,OAAe,EACf,aAAqB,EACrB,SAAiB,EACjB,QAAgB,EAChB,cAAsB,EACtB,UAAkB,EAClB,aAAqB,EACrB,cAAsB,EACtB,IAAmB,EACnB,KAA4B,EACrC,qBAA6B,EAC7B,WAAmB;QAE1B,KAAK,CACH,EAAE,EACF,OAAO,EACP,aAAa,EACb,SAAS,EACT,QAAQ,EACR,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EACd,IAAI,EACJ,KAAK,CACN,CAAC;QA1Bc,OAAE,GAAF,EAAE,CAAQ;QACV,YAAO,GAAP,OAAO,CAAQ;QACf,kBAAa,GAAb,aAAa,CAAQ;QACrB,cAAS,GAAT,SAAS,CAAQ;QACjB,aAAQ,GAAR,QAAQ,CAAQ;QAChB,mBAAc,GAAd,cAAc,CAAQ;QACtB,eAAU,GAAV,UAAU,CAAQ;QAClB,kBAAa,GAAb,aAAa,CAAQ;QACrB,mBAAc,GAAd,cAAc,CAAQ;QACtB,SAAI,GAAJ,IAAI,CAAe;QACnB,UAAK,GAAL,KAAK,CAAuB;QACrC,0BAAqB,GAArB,qBAAqB,CAAQ;QAC7B,gBAAW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C,KAAK;YACjB,qBAAqB,EAAE,IAAI,CAAC,qBAAqB;YACjD,WAAW,EAAE,IAAI,CAAC,WAAW;SAC9B,CAAC;IACJ,CAAC;CACF;AAjGD,4EAiGC","sourcesContent":["import { VasJobActionInstructionStepDto, VasJobActionStepStage } from './vas-job-action.dto';\nimport { VasJobActionStepModel } from './vas-job-action-step.model';\n\n/**\n * VasJobActionInstructionStepModel\n */\nexport class VasJobActionInstructionStepModel extends VasJobActionStepModel {\n\n constructor(\n public override id: string,\n public override created: string,\n public override serverCreated: string,\n public override createdBy: string,\n public override modified: string,\n public override serverModified: string,\n public override modifiedBy: string,\n public override createdByName: string,\n public override modifiedByName: string,\n public override type: 'instruction',\n public override stage: VasJobActionStepStage,\n public instructionProviderId: string,\n public linkControl: string\n ) {\n super(\n id,\n created,\n serverCreated,\n createdBy,\n modified,\n serverModified,\n modifiedBy,\n createdByName,\n modifiedByName,\n type,\n stage\n );\n }\n\n /**\n * @return {VasJobActionInstructionStepModel}\n */\n static empty(): VasJobActionInstructionStepModel {\n return new VasJobActionInstructionStepModel(\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n '',\n 'instruction',\n 'initializing',\n '',\n ''\n );\n }\n\n /**\n * @param {VasJobActionInstructionStepDto} dto\n * @return {VasJobActionInstructionStepModel}\n */\n static override fromDto(\n dto: Partial<VasJobActionInstructionStepDto>\n ): VasJobActionInstructionStepModel {\n return new VasJobActionInstructionStepModel(\n dto.id || '',\n dto.created || '',\n dto.serverCreated || '',\n dto.createdBy || '',\n dto.modified || '',\n dto.serverModified || '',\n dto.modifiedBy || '',\n dto.createdByName || '',\n dto.modifiedByName || '',\n 'instruction',\n dto.stage || 'initializing',\n dto.instructionProviderId || '',\n dto.linkControl || ''\n );\n }\n\n /**\n * @return {VasJobActionInstructionStepDto}\n */\n toDto(): VasJobActionInstructionStepDto {\n return {\n id: this.id,\n created: this.created,\n serverCreated: this.serverCreated,\n createdBy: this.createdBy,\n modified: this.modified,\n serverModified: this.serverModified,\n modifiedBy: this.modifiedBy,\n createdByName: this.createdByName,\n modifiedByName: this.modifiedByName,\n type: this.type,\n stage: this.stage,\n instructionProviderId: this.instructionProviderId,\n linkControl: this.linkControl\n };\n }\n}\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { VasJobActionNotePromptStepDto, VasJobActionStepStage } from './vas-job-action.dto';
|
|
2
|
+
import { VasJobActionStepModel } from './vas-job-action-step.model';
|
|
3
|
+
/**
|
|
4
|
+
* VasJobActionNotePromptStepModel
|
|
5
|
+
*/
|
|
6
|
+
export declare class VasJobActionNotePromptStepModel extends VasJobActionStepModel {
|
|
7
|
+
id: string;
|
|
8
|
+
created: string;
|
|
9
|
+
serverCreated: string;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
modified: string;
|
|
12
|
+
serverModified: string;
|
|
13
|
+
modifiedBy: string;
|
|
14
|
+
createdByName: string;
|
|
15
|
+
modifiedByName: string;
|
|
16
|
+
type: 'note-prompt';
|
|
17
|
+
stage: VasJobActionStepStage;
|
|
18
|
+
constructor(id: string, created: string, serverCreated: string, createdBy: string, modified: string, serverModified: string, modifiedBy: string, createdByName: string, modifiedByName: string, type: 'note-prompt', stage: VasJobActionStepStage);
|
|
19
|
+
/**
|
|
20
|
+
* @return {VasJobActionNotePromptStepModel}
|
|
21
|
+
*/
|
|
22
|
+
static empty(): VasJobActionNotePromptStepModel;
|
|
23
|
+
/**
|
|
24
|
+
* @param {VasJobActionNotePromptStepDto} dto
|
|
25
|
+
* @return {VasJobActionNotePromptStepModel}
|
|
26
|
+
*/
|
|
27
|
+
static fromDto(dto: Partial<VasJobActionNotePromptStepDto>): VasJobActionNotePromptStepModel;
|
|
28
|
+
/**
|
|
29
|
+
* @return {VasJobActionNotePromptStepDto}
|
|
30
|
+
*/
|
|
31
|
+
toDto(): VasJobActionNotePromptStepDto;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=vas-job-action-note-prompt-step.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vas-job-action-note-prompt-step.model.d.ts","sourceRoot":"","sources":["../../../../../projects/vas-lib/src/lib/entity/vas-job-action-note-prompt-step.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE;;GAEG;AACH,qBAAa,+BAAgC,SAAQ,qBAAqB;IAGtD,EAAE,EAAE,MAAM;IACV,OAAO,EAAE,MAAM;IACf,aAAa,EAAE,MAAM;IACrB,SAAS,EAAE,MAAM;IACjB,QAAQ,EAAE,MAAM;IAChB,cAAc,EAAE,MAAM;IACtB,UAAU,EAAE,MAAM;IAClB,aAAa,EAAE,MAAM;IACrB,cAAc,EAAE,MAAM;IACtB,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,qBAAqB;gBAV5B,EAAE,EAAE,MAAM,EACV,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,MAAM,EACjB,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EACtB,IAAI,EAAE,aAAa,EACnB,KAAK,EAAE,qBAAqB;IAiB9C;;OAEG;IACH,MAAM,CAAC,KAAK,IAAI,+BAA+B;IAgB/C;;;OAGG;WACa,OAAO,CACrB,GAAG,EAAE,OAAO,CAAC,6BAA6B,CAAC,GAC1C,+BAA+B;IAgBlC;;OAEG;IACH,KAAK,IAAI,6BAA6B;CAevC"}
|