@colijnit/ioneconnector 261.1.4 → 261.1.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/build/connector.d.ts +33 -33
- package/build/connector.js +79 -79
- package/build/connector.js.map +1 -1
- package/build/connector.unit.test.d.ts +1 -1
- package/build/connector.unit.test.js +108 -108
- package/build/enum/activate-user-account-status.enum.d.ts +6 -6
- package/build/enum/activate-user-account-status.enum.js +10 -10
- package/build/enum/activate-user-account-status.enum.js.map +1 -1
- package/build/enum/address-format.enum.d.ts +4 -4
- package/build/enum/address-format.enum.js +8 -8
- package/build/enum/address-format.enum.js.map +1 -1
- package/build/enum/backend-language-code.enum.d.ts +6 -6
- package/build/enum/backend-language-code.enum.js +10 -10
- package/build/enum/backend-language-code.enum.js.map +1 -1
- package/build/enum/backend-service-name.enum.d.ts +7 -7
- package/build/enum/backend-service-name.enum.js +11 -11
- package/build/enum/backend-service-name.enum.js.map +1 -1
- package/build/enum/communication-type.enum.d.ts +8 -8
- package/build/enum/communication-type.enum.js +12 -12
- package/build/enum/communication-type.enum.js.map +1 -1
- package/build/enum/datasession-service-method.enum.d.ts +13 -13
- package/build/enum/datasession-service-method.enum.js +17 -17
- package/build/enum/datasession-service-method.enum.js.map +1 -1
- package/build/enum/db-boolean-value-type.enum.d.ts +12 -12
- package/build/enum/db-boolean-value-type.enum.js +32 -32
- package/build/enum/db-boolean-value-type.enum.js.map +1 -1
- package/build/enum/end-point.enum.d.ts +4 -4
- package/build/enum/end-point.enum.js +8 -8
- package/build/enum/end-point.enum.js.map +1 -1
- package/build/enum/external-method.enum.d.ts +22 -22
- package/build/enum/external-method.enum.js +26 -26
- package/build/enum/external-method.enum.js.map +1 -1
- package/build/enum/file-type-internal.enum.d.ts +11 -11
- package/build/enum/file-type-internal.enum.js +15 -15
- package/build/enum/file-type-internal.enum.js.map +1 -1
- package/build/enum/file-type.enum.d.ts +5 -5
- package/build/enum/file-type.enum.js +9 -9
- package/build/enum/file-type.enum.js.map +1 -1
- package/build/enum/filter-type.enum.d.ts +4 -4
- package/build/enum/filter-type.enum.js +8 -8
- package/build/enum/filter-type.enum.js.map +1 -1
- package/build/enum/health-service-method.enum.d.ts +3 -3
- package/build/enum/health-service-method.enum.js +7 -7
- package/build/enum/health-service-method.enum.js.map +1 -1
- package/build/enum/language-code.enum.d.ts +7 -7
- package/build/enum/language-code.enum.js +11 -11
- package/build/enum/language-code.enum.js.map +1 -1
- package/build/enum/login-service-method.enum.d.ts +25 -25
- package/build/enum/login-service-method.enum.js +29 -29
- package/build/enum/login-service-method.enum.js.map +1 -1
- package/build/enum/login-status.enum.d.ts +20 -20
- package/build/enum/login-status.enum.js +24 -24
- package/build/enum/login-status.enum.js.map +1 -1
- package/build/enum/message-type.enum.d.ts +6 -6
- package/build/enum/message-type.enum.js +10 -10
- package/build/enum/message-type.enum.js.map +1 -1
- package/build/enum/object-config-kind.d.ts +9 -9
- package/build/enum/object-config-kind.js +13 -13
- package/build/enum/object-config-kind.js.map +1 -1
- package/build/enum/object-configuration-data-type.enum.d.ts +7 -7
- package/build/enum/object-configuration-data-type.enum.js +11 -11
- package/build/enum/object-configuration-data-type.enum.js.map +1 -1
- package/build/enum/object-configuration-value-type.enum.d.ts +10 -10
- package/build/enum/object-configuration-value-type.enum.js +14 -14
- package/build/enum/object-configuration-value-type.enum.js.map +1 -1
- package/build/enum/object-right-type.enum.d.ts +5 -5
- package/build/enum/object-right-type.enum.js +9 -9
- package/build/enum/object-right-type.enum.js.map +1 -1
- package/build/enum/one-zero-bool-db-type.enum.d.ts +5 -5
- package/build/enum/one-zero-bool-db-type.enum.js +20 -20
- package/build/enum/one-zero-bool-db-type.enum.js.map +1 -1
- package/build/enum/public-service-method.enum.d.ts +5 -5
- package/build/enum/public-service-method.enum.js +9 -9
- package/build/enum/public-service-method.enum.js.map +1 -1
- package/build/enum/reset-password-status.enum.d.ts +5 -5
- package/build/enum/reset-password-status.enum.js +9 -9
- package/build/enum/reset-password-status.enum.js.map +1 -1
- package/build/enum/screen-config-subcategory.enum.d.ts +2 -2
- package/build/enum/screen-config-subcategory.enum.js +2 -2
- package/build/enum/search-data-type.enum.d.ts +4 -4
- package/build/enum/search-data-type.enum.js +8 -8
- package/build/enum/search-data-type.enum.js.map +1 -1
- package/build/enum/search-property-state.enum.d.ts +5 -5
- package/build/enum/search-property-state.enum.js +9 -9
- package/build/enum/search-property-state.enum.js.map +1 -1
- package/build/enum/sort-direction.d.ts +5 -5
- package/build/enum/sort-direction.js +12 -12
- package/build/enum/sort-direction.js.map +1 -1
- package/build/enum/sort-type.enum.d.ts +6 -6
- package/build/enum/sort-type.enum.js +10 -10
- package/build/enum/sort-type.enum.js.map +1 -1
- package/build/enum/true-false-db-type.enum.d.ts +5 -5
- package/build/enum/true-false-db-type.enum.js +20 -20
- package/build/enum/true-false-db-type.enum.js.map +1 -1
- package/build/enum/user-info-service-method.enum.d.ts +3 -3
- package/build/enum/user-info-service-method.enum.js +7 -7
- package/build/enum/user-info-service-method.enum.js.map +1 -1
- package/build/enum/user-right-type.enum.d.ts +7 -7
- package/build/enum/user-right-type.enum.js +11 -11
- package/build/enum/user-right-type.enum.js.map +1 -1
- package/build/enum/user-role-type.enum.d.ts +17 -17
- package/build/enum/user-role-type.enum.js +21 -21
- package/build/enum/user-role-type.enum.js.map +1 -1
- package/build/enum/value-comparison-type.enum.d.ts +15 -15
- package/build/enum/value-comparison-type.enum.js +31 -31
- package/build/enum/value-comparison-type.enum.js.map +1 -1
- package/build/enum/yes-no-db-type.enum.d.ts +5 -5
- package/build/enum/yes-no-db-type.enum.js +20 -20
- package/build/enum/yes-no-db-type.enum.js.map +1 -1
- package/build/factory/business-object-serializer.d.ts +11 -11
- package/build/factory/business-object-serializer.js +145 -145
- package/build/factory/business-object-serializer.js.map +1 -1
- package/build/factory/decorators/bo-factory-step.decorator.d.ts +4 -4
- package/build/factory/decorators/bo-factory-step.decorator.js +16 -16
- package/build/factory/decorators/bo-factory-step.decorator.js.map +1 -1
- package/build/factory/decorators/bo-serializer-step.decorator.d.ts +4 -4
- package/build/factory/decorators/bo-serializer-step.decorator.js +16 -16
- package/build/factory/decorators/bo-serializer-step.decorator.js.map +1 -1
- package/build/factory/decorators/boolean.decorator.d.ts +12 -12
- package/build/factory/decorators/boolean.decorator.js +73 -73
- package/build/factory/decorators/boolean.decorator.js.map +1 -1
- package/build/factory/decorators/business-object-data.decorator.d.ts +23 -23
- package/build/factory/decorators/business-object-data.decorator.js +87 -87
- package/build/factory/decorators/business-object-data.decorator.js.map +1 -1
- package/build/factory/decorators/co-inject.decorator.d.ts +7 -7
- package/build/factory/decorators/co-inject.decorator.js +54 -54
- package/build/factory/decorators/co-inject.decorator.js.map +1 -1
- package/build/factory/decorators/complex-array.decorator.d.ts +6 -6
- package/build/factory/decorators/complex-array.decorator.js +37 -37
- package/build/factory/decorators/complex-array.decorator.js.map +1 -1
- package/build/factory/decorators/complex-field.decorator.d.ts +6 -6
- package/build/factory/decorators/complex-field.decorator.js +37 -37
- package/build/factory/decorators/complex-field.decorator.js.map +1 -1
- package/build/factory/decorators/date-field.decorator.d.ts +6 -6
- package/build/factory/decorators/date-field.decorator.js +27 -27
- package/build/factory/decorators/date-field.decorator.js.map +1 -1
- package/build/factory/decorators/db-field-alias.decorator.d.ts +6 -6
- package/build/factory/decorators/db-field-alias.decorator.js +40 -40
- package/build/factory/decorators/db-field-alias.decorator.js.map +1 -1
- package/build/factory/decorators/db-method-value.decorator.d.ts +5 -5
- package/build/factory/decorators/db-method-value.decorator.js +19 -19
- package/build/factory/decorators/db-method-value.decorator.js.map +1 -1
- package/build/factory/decorators/db-number.decorator.d.ts +6 -6
- package/build/factory/decorators/db-number.decorator.js +35 -35
- package/build/factory/decorators/db-number.decorator.js.map +1 -1
- package/build/factory/decorators/default-send-value.decorator.d.ts +7 -7
- package/build/factory/decorators/default-send-value.decorator.js +53 -53
- package/build/factory/decorators/default-send-value.decorator.js.map +1 -1
- package/build/factory/decorators/exclude-when-empty-string.decorator.d.ts +5 -5
- package/build/factory/decorators/exclude-when-empty-string.decorator.js +19 -19
- package/build/factory/decorators/exclude-when-empty-string.decorator.js.map +1 -1
- package/build/factory/decorators/json.decorator.d.ts +6 -6
- package/build/factory/decorators/json.decorator.js +26 -26
- package/build/factory/decorators/json.decorator.js.map +1 -1
- package/build/factory/decorators/map-property.decorator.d.ts +6 -6
- package/build/factory/decorators/map-property.decorator.js +29 -29
- package/build/factory/decorators/map-property.decorator.js.map +1 -1
- package/build/factory/decorators/no-db-field.decorator.d.ts +5 -5
- package/build/factory/decorators/no-db-field.decorator.js +34 -34
- package/build/factory/decorators/no-db-field.decorator.js.map +1 -1
- package/build/factory/decorators/number-string.decorator.d.ts +6 -6
- package/build/factory/decorators/number-string.decorator.js +23 -23
- package/build/factory/decorators/number-string.decorator.js.map +1 -1
- package/build/factory/decorators/simple-method-tag.decorator.d.ts +6 -6
- package/build/factory/decorators/simple-method-tag.decorator.js +31 -31
- package/build/factory/decorators/simple-method-tag.decorator.js.map +1 -1
- package/build/factory/decorators/simple-property-tag.decorator.d.ts +6 -6
- package/build/factory/decorators/simple-property-tag.decorator.js +38 -38
- package/build/factory/decorators/simple-property-tag.decorator.js.map +1 -1
- package/build/factory/decorators/string-number.decorator.d.ts +7 -7
- package/build/factory/decorators/string-number.decorator.js +30 -30
- package/build/factory/decorators/string-number.decorator.js.map +1 -1
- package/build/factory/decorators/validate.decorator.d.ts +11 -11
- package/build/factory/decorators/validate.decorator.js +55 -55
- package/build/factory/decorators/validate.decorator.js.map +1 -1
- package/build/interface/address-common-shape.interface.d.ts +14 -14
- package/build/interface/address-common-shape.interface.js +2 -2
- package/build/interface/authorized-axios-request-config.interface.d.ts +5 -0
- package/build/interface/authorized-axios-request-config.interface.js +3 -0
- package/build/interface/authorized-axios-request-config.interface.js.map +1 -0
- package/build/interface/business-object-data-shape.d.ts +19 -19
- package/build/interface/business-object-data-shape.js +2 -2
- package/build/interface/check-precision-and-scale-result.d.ts +4 -4
- package/build/interface/check-precision-and-scale-result.js +2 -2
- package/build/interface/check-within-stepped-bounds-result.d.ts +4 -4
- package/build/interface/check-within-stepped-bounds-result.js +2 -2
- package/build/interface/filter-property.d.ts +9 -9
- package/build/interface/filter-property.js +2 -2
- package/build/interface/login-storage-data.interface.d.ts +12 -12
- package/build/interface/login-storage-data.interface.js +2 -2
- package/build/interface/precision-scale-object.d.ts +4 -4
- package/build/interface/precision-scale-object.js +2 -2
- package/build/interface/search-property.d.ts +11 -11
- package/build/interface/search-property.js +2 -2
- package/build/interface/sort-property.d.ts +11 -11
- package/build/interface/sort-property.js +2 -2
- package/build/interface/text-part.d.ts +4 -4
- package/build/interface/text-part.js +2 -2
- package/build/interface/value-comparison-type-view-wrapper.d.ts +6 -6
- package/build/interface/value-comparison-type-view-wrapper.js +2 -2
- package/build/model/business-object.d.ts +13 -13
- package/build/model/business-object.js +34 -34
- package/build/model/company.bo.d.ts +9 -9
- package/build/model/company.bo.js +13 -13
- package/build/model/constant/java-constants.d.ts +2 -2
- package/build/model/constant/java-constants.js +5 -5
- package/build/model/country.bo.d.ts +11 -11
- package/build/model/country.bo.js +11 -11
- package/build/model/data-service-data.d.ts +15 -15
- package/build/model/data-service-data.js +6 -6
- package/build/model/data-service-response-data.d.ts +19 -19
- package/build/model/data-service-response-data.interface.d.ts +9 -9
- package/build/model/data-service-response-data.interface.js +2 -2
- package/build/model/data-service-response-data.js +57 -57
- package/build/model/data-service-response-data.js.map +1 -1
- package/build/model/data-service-response-exception.d.ts +29 -29
- package/build/model/data-service-response-exception.js +2 -2
- package/build/model/data-service-response-root.d.ts +7 -7
- package/build/model/data-service-response-root.js +2 -2
- package/build/model/default-all-scr-cfg-subcategory.d.ts +2 -2
- package/build/model/default-all-scr-cfg-subcategory.js +4 -4
- package/build/model/default-get-object-configurations-params.d.ts +2 -2
- package/build/model/default-get-object-configurations-params.js +5 -5
- package/build/model/field-validation.d.ts +11 -11
- package/build/model/field-validation.interface.d.ts +6 -6
- package/build/model/field-validation.interface.js +2 -2
- package/build/model/field-validation.js +76 -76
- package/build/model/field-validation.js.map +1 -1
- package/build/model/field-validations-object.d.ts +4 -4
- package/build/model/field-validations-object.interface.d.ts +4 -4
- package/build/model/field-validations-object.interface.js +2 -2
- package/build/model/field-validations-object.js +2 -2
- package/build/model/ione-local-storage-root-object.d.ts +5 -5
- package/build/model/ione-local-storage-root-object.js +9 -9
- package/build/model/keycloak-parameters.bo.d.ts +5 -5
- package/build/model/keycloak-parameters.bo.js +7 -7
- package/build/model/local-storage-root-object.d.ts +4 -4
- package/build/model/local-storage-root-object.js +9 -9
- package/build/model/local-storage-schema-object.d.ts +6 -6
- package/build/model/local-storage-schema-object.js +9 -9
- package/build/model/local-storage-user-object.d.ts +12 -11
- package/build/model/local-storage-user-object.js +9 -9
- package/build/model/local-storage-user-object.js.map +1 -1
- package/build/model/login-request.d.ts +17 -16
- package/build/model/login-request.interface.d.ts +12 -12
- package/build/model/login-request.interface.js +2 -2
- package/build/model/login-request.js +6 -6
- package/build/model/login-request.js.map +1 -1
- package/build/model/login-response.d.ts +36 -36
- package/build/model/login-response.interface.d.ts +22 -22
- package/build/model/login-response.interface.js +2 -2
- package/build/model/login-response.js +57 -57
- package/build/model/login-response.js.map +1 -1
- package/build/model/login-service-request-data.d.ts +17 -17
- package/build/model/login-service-request-data.js +2 -2
- package/build/model/login.d.ts +16 -16
- package/build/model/login.js +35 -35
- package/build/model/menu-content.bo.d.ts +13 -13
- package/build/model/menu-content.bo.js +13 -13
- package/build/model/object-configuration.d.ts +53 -53
- package/build/model/object-configuration.js +200 -200
- package/build/model/object-configuration.js.map +1 -1
- package/build/model/options.d.ts +29 -29
- package/build/model/options.js +16 -16
- package/build/model/paging-parameters.d.ts +15 -15
- package/build/model/paging-parameters.interface.d.ts +6 -6
- package/build/model/paging-parameters.interface.js +6 -6
- package/build/model/paging-parameters.js +37 -37
- package/build/model/paging-parameters.js.map +1 -1
- package/build/model/public-service-request-data.d.ts +5 -5
- package/build/model/public-service-request-data.js +2 -2
- package/build/model/server-response-data.d.ts +5 -5
- package/build/model/server-response-data.js +2 -2
- package/build/model/server-stack-trace-element.d.ts +7 -7
- package/build/model/server-stack-trace-element.js +2 -2
- package/build/model/session.d.ts +6 -6
- package/build/model/session.js +6 -6
- package/build/model/token-response.bo.d.ts +5 -5
- package/build/model/token-response.bo.js +7 -7
- package/build/model/user-parameters-values.bo.d.ts +8 -8
- package/build/model/user-parameters-values.bo.js +7 -7
- package/build/model/validation-message.d.ts +13 -13
- package/build/model/validation-message.interface.d.ts +6 -6
- package/build/model/validation-message.interface.js +2 -2
- package/build/model/validation-message.js +48 -48
- package/build/model/validation-message.js.map +1 -1
- package/build/model/validation-result.d.ts +34 -34
- package/build/model/validation-result.interface.d.ts +14 -14
- package/build/model/validation-result.interface.js +2 -2
- package/build/model/validation-result.js +192 -192
- package/build/model/validation-result.js.map +1 -1
- package/build/provider/ajax.service.d.ts +44 -38
- package/build/provider/ajax.service.js +435 -381
- package/build/provider/ajax.service.js.map +1 -1
- package/build/provider/base-backend-connection.service.d.ts +47 -47
- package/build/provider/base-backend-connection.service.js +186 -188
- package/build/provider/base-backend-connection.service.js.map +1 -1
- package/build/service/business-object-factory.d.ts +13 -13
- package/build/service/business-object-factory.js +235 -235
- package/build/service/business-object-factory.js.map +1 -1
- package/build/service/datasession.service.d.ts +9 -9
- package/build/service/datasession.service.js +26 -26
- package/build/service/datasession.service.js.map +1 -1
- package/build/service/encrypt.service.d.ts +6 -6
- package/build/service/encrypt.service.js +30 -30
- package/build/service/encrypt.service.js.map +1 -1
- package/build/service/encrypt.service.unit.test.d.ts +1 -1
- package/build/service/encrypt.service.unit.test.js +14 -14
- package/build/service/external-jwt-token.service.d.ts +8 -7
- package/build/service/external-jwt-token.service.js +21 -17
- package/build/service/external-jwt-token.service.js.map +1 -1
- package/build/service/health.service.d.ts +10 -10
- package/build/service/health.service.js +36 -34
- package/build/service/health.service.js.map +1 -1
- package/build/service/internal-jwt-token.service.d.ts +11 -8
- package/build/service/internal-jwt-token.service.js +57 -40
- package/build/service/internal-jwt-token.service.js.map +1 -1
- package/build/service/jwt-token.service.d.ts +15 -12
- package/build/service/jwt-token.service.js +45 -32
- package/build/service/jwt-token.service.js.map +1 -1
- package/build/service/local-storage.service.d.ts +39 -37
- package/build/service/local-storage.service.js +261 -248
- package/build/service/local-storage.service.js.map +1 -1
- package/build/service/login.service.d.ts +50 -50
- package/build/service/login.service.js +311 -321
- package/build/service/login.service.js.map +1 -1
- package/build/service/public.service.d.ts +12 -12
- package/build/service/public.service.js +33 -36
- package/build/service/public.service.js.map +1 -1
- package/build/service/storage.service.d.ts +35 -33
- package/build/service/storage.service.js +100 -94
- package/build/service/storage.service.js.map +1 -1
- package/build/service/user-info.service.d.ts +9 -9
- package/build/service/user-info.service.js +34 -33
- package/build/service/user-info.service.js.map +1 -1
- package/build/tests/int/connector.int.test.d.ts +1 -1
- package/build/tests/int/connector.int.test.js +12 -12
- package/build/type/business-object-id-type.d.ts +4 -4
- package/build/type/business-object-id-type.js +13 -13
- package/build/type/business-object-id-type.js.map +1 -1
- package/build/type/object-configuration-default-value-type.d.ts +1 -1
- package/build/type/object-configuration-default-value-type.js +2 -2
- package/build/utils/array-utils.d.ts +38 -38
- package/build/utils/array-utils.js +375 -375
- package/build/utils/array-utils.js.map +1 -1
- package/build/utils/business-object-utils.d.ts +20 -20
- package/build/utils/business-object-utils.js +198 -198
- package/build/utils/business-object-utils.js.map +1 -1
- package/build/utils/date-utils.d.ts +5 -5
- package/build/utils/date-utils.js +24 -24
- package/build/utils/date-utils.js.map +1 -1
- package/build/utils/file-utils.d.ts +6 -6
- package/build/utils/file-utils.js +66 -66
- package/build/utils/file-utils.js.map +1 -1
- package/build/utils/function/any-nill.function.d.ts +1 -1
- package/build/utils/function/any-nill.function.js +15 -16
- package/build/utils/function/any-nill.function.js.map +1 -1
- package/build/utils/function/is-nill.function.d.ts +1 -1
- package/build/utils/function/is-nill.function.js +6 -7
- package/build/utils/function/is-nill.function.js.map +1 -1
- package/build/utils/function/not-nill.function.d.ts +1 -1
- package/build/utils/function/not-nill.function.js +6 -7
- package/build/utils/function/not-nill.function.js.map +1 -1
- package/build/utils/function-utils.d.ts +4 -4
- package/build/utils/function-utils.js +31 -31
- package/build/utils/function-utils.js.map +1 -1
- package/build/utils/image-utils.d.ts +4 -4
- package/build/utils/image-utils.js +28 -28
- package/build/utils/image-utils.js.map +1 -1
- package/build/utils/map-utils.d.ts +4 -4
- package/build/utils/map-utils.js +31 -31
- package/build/utils/map-utils.js.map +1 -1
- package/build/utils/number-utils.d.ts +39 -39
- package/build/utils/number-utils.js +268 -268
- package/build/utils/number-utils.js.map +1 -1
- package/build/utils/object-utils.d.ts +21 -21
- package/build/utils/object-utils.js +247 -247
- package/build/utils/object-utils.js.map +1 -1
- package/build/utils/parameter-value-conversion-utils.d.ts +3 -3
- package/build/utils/parameter-value-conversion-utils.js +19 -19
- package/build/utils/parameter-value-conversion-utils.js.map +1 -1
- package/build/utils/promise-utils.d.ts +6 -6
- package/build/utils/promise-utils.js +22 -22
- package/build/utils/promise-utils.js.map +1 -1
- package/build/utils/ref-code-utils.d.ts +4 -4
- package/build/utils/ref-code-utils.js +19 -19
- package/build/utils/ref-code-utils.js.map +1 -1
- package/build/utils/sort-utils.d.ts +12 -12
- package/build/utils/sort-utils.js +120 -120
- package/build/utils/sort-utils.js.map +1 -1
- package/build/utils/string-utils.d.ts +25 -25
- package/build/utils/string-utils.js +212 -212
- package/build/utils/string-utils.js.map +1 -1
- package/build/utils/url-utils.d.ts +4 -4
- package/build/utils/url-utils.js +33 -33
- package/build/utils/url-utils.js.map +1 -1
- package/build/validators/communication-type.validator.d.ts +1 -1
- package/build/validators/communication-type.validator.js +15 -16
- package/build/validators/communication-type.validator.js.map +1 -1
- package/build/validators/email.validator.d.ts +2 -2
- package/build/validators/email.validator.js +8 -9
- package/build/validators/email.validator.js.map +1 -1
- package/build/validators/empty-address.validator.d.ts +3 -3
- package/build/validators/empty-address.validator.js +11 -12
- package/build/validators/empty-address.validator.js.map +1 -1
- package/build/validators/empty-array.validator.d.ts +2 -2
- package/build/validators/empty-array.validator.js +13 -14
- package/build/validators/empty-array.validator.js.map +1 -1
- package/build/validators/end-date-equal.validator.d.ts +1 -1
- package/build/validators/end-date-equal.validator.js +16 -17
- package/build/validators/end-date-equal.validator.js.map +1 -1
- package/build/validators/end-date.validator.d.ts +1 -1
- package/build/validators/end-date.validator.js +16 -17
- package/build/validators/end-date.validator.js.map +1 -1
- package/build/validators/equal.validator.d.ts +2 -2
- package/build/validators/equal.validator.js +13 -14
- package/build/validators/equal.validator.js.map +1 -1
- package/build/validators/max-string-length.validator.d.ts +2 -2
- package/build/validators/max-string-length.validator.js +12 -13
- package/build/validators/max-string-length.validator.js.map +1 -1
- package/build/validators/nl-post-code.validator.d.ts +3 -3
- package/build/validators/nl-post-code.validator.js +13 -14
- package/build/validators/nl-post-code.validator.js.map +1 -1
- package/build/validators/password.validator.d.ts +3 -3
- package/build/validators/password.validator.js +32 -33
- package/build/validators/password.validator.js.map +1 -1
- package/build/validators/postal-code-function.validator.d.ts +2 -2
- package/build/validators/postal-code-function.validator.js +18 -19
- package/build/validators/postal-code-function.validator.js.map +1 -1
- package/build/validators/postal-code.validator.d.ts +1 -1
- package/build/validators/postal-code.validator.js +20 -21
- package/build/validators/postal-code.validator.js.map +1 -1
- package/build/validators/precision-scale.validator.d.ts +2 -2
- package/build/validators/precision-scale.validator.js +13 -14
- package/build/validators/precision-scale.validator.js.map +1 -1
- package/build/validators/required.validator.d.ts +2 -2
- package/build/validators/required.validator.js +7 -8
- package/build/validators/required.validator.js.map +1 -1
- package/build/validators/social-security-number.validator.d.ts +2 -2
- package/build/validators/social-security-number.validator.js +27 -28
- package/build/validators/social-security-number.validator.js.map +1 -1
- package/build/validators/space-trim.validator.d.ts +2 -2
- package/build/validators/space-trim.validator.js +11 -12
- package/build/validators/space-trim.validator.js.map +1 -1
- package/build/validators/true.validator.d.ts +2 -2
- package/build/validators/true.validator.js +7 -8
- package/build/validators/true.validator.js.map +1 -1
- package/package.json +8 -8
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MapPropertyDecorator =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
class MapPropertyDecorator {
|
|
16
|
-
static IsMapProperty(target, propertyKey) {
|
|
17
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
18
|
-
return false;
|
|
19
|
-
}
|
|
20
|
-
return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
|
|
21
|
-
}
|
|
22
|
-
static GetMapProperty(target, propertyKey) {
|
|
23
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
26
|
-
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
exports.MapPropertyDecorator = MapPropertyDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MapPropertyDecorator = void 0;
|
|
4
|
+
exports.MapProperty = MapProperty;
|
|
5
|
+
require("reflect-metadata");
|
|
6
|
+
const PROP_META_KEY = "mapProperty";
|
|
7
|
+
function MapProperty(propName) {
|
|
8
|
+
return function (target, propertyKey) {
|
|
9
|
+
if (!target || !propertyKey) {
|
|
10
|
+
return;
|
|
11
|
+
}
|
|
12
|
+
Reflect.defineMetadata(PROP_META_KEY, propName, target, propertyKey);
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
class MapPropertyDecorator {
|
|
16
|
+
static IsMapProperty(target, propertyKey) {
|
|
17
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
|
|
21
|
+
}
|
|
22
|
+
static GetMapProperty(target, propertyKey) {
|
|
23
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
exports.MapPropertyDecorator = MapPropertyDecorator;
|
|
30
30
|
//# sourceMappingURL=map-property.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"map-property.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/map-property.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"map-property.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/map-property.decorator.ts"],"names":[],"mappings":";;;AAIA,kCAQC;AAZD,4BAA0B;AAE1B,MAAM,aAAa,GAAW,aAAa,CAAC;AAE5C,SAAgB,WAAW,CAAC,QAAgB;IACxC,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;YAC1B,OAAO;QACX,CAAC;QAED,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACzE,CAAC,CAAC;AACN,CAAC;AAGD,MAAa,oBAAoB;IAGtB,MAAM,CAAC,aAAa,CAAC,MAAc,EAAE,WAAmB;QAC3D,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,MAAc,EAAE,WAAmB;QAC5D,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,SAAS,CAAC;QACrB,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;CACJ;AAhBD,oDAgBC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
export declare function NoDbField(): PropertyDecorator;
|
|
3
|
-
export declare class NoDatabaseFieldDecorator {
|
|
4
|
-
static GetDecoratedProperties(target: Object): string[];
|
|
5
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export declare function NoDbField(): PropertyDecorator;
|
|
3
|
+
export declare class NoDatabaseFieldDecorator {
|
|
4
|
+
static GetDecoratedProperties(target: Object): string[];
|
|
5
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NoDatabaseFieldDecorator =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
class NoDatabaseFieldDecorator {
|
|
23
|
-
static GetDecoratedProperties(target) {
|
|
24
|
-
if (!target || typeof target !== "object") {
|
|
25
|
-
return [];
|
|
26
|
-
}
|
|
27
|
-
let allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
28
|
-
if (!allProps) {
|
|
29
|
-
return [];
|
|
30
|
-
}
|
|
31
|
-
return Array.from(allProps);
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.NoDatabaseFieldDecorator = NoDatabaseFieldDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NoDatabaseFieldDecorator = void 0;
|
|
4
|
+
exports.NoDbField = NoDbField;
|
|
5
|
+
require("reflect-metadata");
|
|
6
|
+
const PROP_META_KEY = "noDbFld";
|
|
7
|
+
const ALL_PROPS_META_KEY = "noDbFldPrps";
|
|
8
|
+
function NoDbField() {
|
|
9
|
+
return function (target, propertyKey) {
|
|
10
|
+
if (!target || !propertyKey) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
|
|
14
|
+
let noDbFields = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
15
|
+
if (!noDbFields) {
|
|
16
|
+
noDbFields = new Set();
|
|
17
|
+
}
|
|
18
|
+
noDbFields.add(propertyKey);
|
|
19
|
+
Reflect.defineMetadata(ALL_PROPS_META_KEY, noDbFields, target);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
class NoDatabaseFieldDecorator {
|
|
23
|
+
static GetDecoratedProperties(target) {
|
|
24
|
+
if (!target || typeof target !== "object") {
|
|
25
|
+
return [];
|
|
26
|
+
}
|
|
27
|
+
let allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
28
|
+
if (!allProps) {
|
|
29
|
+
return [];
|
|
30
|
+
}
|
|
31
|
+
return Array.from(allProps);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.NoDatabaseFieldDecorator = NoDatabaseFieldDecorator;
|
|
35
35
|
//# sourceMappingURL=no-db-field.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-db-field.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/no-db-field.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"no-db-field.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/no-db-field.decorator.ts"],"names":[],"mappings":";;;AAuBA,8BAgBC;AAvCD,4BAA0B;AAC1B,MAAM,aAAa,GAAW,SAAS,CAAC;AACxC,MAAM,kBAAkB,GAAW,aAAa,CAAC;AAqBjD,SAAgB,SAAS;IACrB,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;YAC1B,OAAO;QACX,CAAC;QAED,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QAGtE,IAAI,UAAU,GAAgB,OAAO,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC9E,IAAI,CAAC,UAAU,EAAE,CAAC;YACd,UAAU,GAAG,IAAI,GAAG,EAAU,CAAC;QACnC,CAAC;QACD,UAAU,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QAC5B,OAAO,CAAC,cAAc,CAAC,kBAAkB,EAAE,UAAU,EAAE,MAAM,CAAC,CAAC;IACnE,CAAC,CAAC;AACN,CAAC;AAGD,MAAa,wBAAwB;IAE1B,MAAM,CAAC,sBAAsB,CAAC,MAAc;QAC/C,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxC,OAAO,EAAE,CAAC;QACd,CAAC;QAED,IAAI,QAAQ,GAAgB,OAAO,CAAC,WAAW,CAAC,kBAAkB,EAAE,MAAM,CAAC,CAAC;QAC5E,IAAI,CAAC,QAAQ,EAAE,CAAC;YACZ,OAAO,EAAE,CAAC;QACd,CAAC;QACD,OAAiB,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC1C,CAAC;CACJ;AAbD,4DAaC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare function NumberString(): PropertyDecorator;
|
|
2
|
-
export declare class NumberStringDecorator {
|
|
3
|
-
static IsNumberString(target: Object, propertyKey: string): boolean;
|
|
4
|
-
static NumberAsString(nr: number): string;
|
|
5
|
-
static StringAsNumber(str: string): number;
|
|
6
|
-
}
|
|
1
|
+
export declare function NumberString(): PropertyDecorator;
|
|
2
|
+
export declare class NumberStringDecorator {
|
|
3
|
+
static IsNumberString(target: Object, propertyKey: string): boolean;
|
|
4
|
+
static NumberAsString(nr: number): string;
|
|
5
|
+
static StringAsNumber(str: string): number;
|
|
6
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NumberStringDecorator =
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class NumberStringDecorator {
|
|
13
|
-
static IsNumberString(target, propertyKey) {
|
|
14
|
-
return simple_property_tag_decorator_1.SimplePropertyTagDecorator.IsDecoratedProperty(target, propertyKey, PROP_META_KEY);
|
|
15
|
-
}
|
|
16
|
-
static NumberAsString(nr) {
|
|
17
|
-
return number_utils_1.NumberUtils.ToString(nr);
|
|
18
|
-
}
|
|
19
|
-
static StringAsNumber(str) {
|
|
20
|
-
return number_utils_1.NumberUtils.ParseFloatKeepPrecision(str);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
exports.NumberStringDecorator = NumberStringDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NumberStringDecorator = void 0;
|
|
4
|
+
exports.NumberString = NumberString;
|
|
5
|
+
const simple_property_tag_decorator_1 = require("./simple-property-tag.decorator");
|
|
6
|
+
const number_utils_1 = require("../../utils/number-utils");
|
|
7
|
+
const PROP_META_KEY = "numberString";
|
|
8
|
+
const ALL_PROPS_META_KEY = "numberStringPrps";
|
|
9
|
+
function NumberString() {
|
|
10
|
+
return (0, simple_property_tag_decorator_1.simplePropertyTagDecorator)(PROP_META_KEY, ALL_PROPS_META_KEY);
|
|
11
|
+
}
|
|
12
|
+
class NumberStringDecorator {
|
|
13
|
+
static IsNumberString(target, propertyKey) {
|
|
14
|
+
return simple_property_tag_decorator_1.SimplePropertyTagDecorator.IsDecoratedProperty(target, propertyKey, PROP_META_KEY);
|
|
15
|
+
}
|
|
16
|
+
static NumberAsString(nr) {
|
|
17
|
+
return number_utils_1.NumberUtils.ToString(nr);
|
|
18
|
+
}
|
|
19
|
+
static StringAsNumber(str) {
|
|
20
|
+
return number_utils_1.NumberUtils.ParseFloatKeepPrecision(str);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.NumberStringDecorator = NumberStringDecorator;
|
|
24
24
|
//# sourceMappingURL=number-string.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-string.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/number-string.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"number-string.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/number-string.decorator.ts"],"names":[],"mappings":";;;AAeA,oCAEC;AAjBD,mFAAuG;AACvG,2DAAqD;AAErD,MAAM,aAAa,GAAW,cAAc,CAAC;AAC7C,MAAM,kBAAkB,GAAW,kBAAkB,CAAC;AAWtD,SAAgB,YAAY;IACxB,OAAO,IAAA,0DAA0B,EAAC,aAAa,EAAE,kBAAkB,CAAC,CAAC;AACzE,CAAC;AAGD,MAAa,qBAAqB;IAGvB,MAAM,CAAC,cAAc,CAAC,MAAc,EAAE,WAAmB;QAC5D,OAAO,0DAA0B,CAAC,mBAAmB,CAAC,MAAM,EAAE,WAAW,EAAE,aAAa,CAAC,CAAC;IAC9F,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,EAAU;QACnC,OAAO,0BAAW,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC;IACpC,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,GAAW;QACpC,OAAO,0BAAW,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;IACpD,CAAC;CACJ;AAdD,sDAcC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
export declare function simpleMethodTagDecorator(singlePropMetaKey: string, allPropsMetaKey: string): MethodDecorator;
|
|
3
|
-
export declare class SimpleMethodTagDecorator {
|
|
4
|
-
static GetDecoratedMethodProperties(target: Object, allPropsMetaDataKey: string): string[];
|
|
5
|
-
static IsDecoratedMethodProperty(target: Object, propertyKey: string, singlePropMetaKey: string): boolean;
|
|
6
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export declare function simpleMethodTagDecorator(singlePropMetaKey: string, allPropsMetaKey: string): MethodDecorator;
|
|
3
|
+
export declare class SimpleMethodTagDecorator {
|
|
4
|
+
static GetDecoratedMethodProperties(target: Object, allPropsMetaDataKey: string): string[];
|
|
5
|
+
static IsDecoratedMethodProperty(target: Object, propertyKey: string, singlePropMetaKey: string): boolean;
|
|
6
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimpleMethodTagDecorator =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
class SimpleMethodTagDecorator {
|
|
18
|
-
static GetDecoratedMethodProperties(target, allPropsMetaDataKey) {
|
|
19
|
-
if (!target || typeof target !== "object") {
|
|
20
|
-
return [];
|
|
21
|
-
}
|
|
22
|
-
return Reflect.getMetadata(allPropsMetaDataKey, target) || [];
|
|
23
|
-
}
|
|
24
|
-
static IsDecoratedMethodProperty(target, propertyKey, singlePropMetaKey) {
|
|
25
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return Reflect.getMetadata(singlePropMetaKey, target, propertyKey);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.SimpleMethodTagDecorator = SimpleMethodTagDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimpleMethodTagDecorator = void 0;
|
|
4
|
+
exports.simpleMethodTagDecorator = simpleMethodTagDecorator;
|
|
5
|
+
require("reflect-metadata");
|
|
6
|
+
function simpleMethodTagDecorator(singlePropMetaKey, allPropsMetaKey) {
|
|
7
|
+
return function (target, propertyKey, descriptor) {
|
|
8
|
+
Reflect.defineMetadata(singlePropMetaKey, true, target, propertyKey);
|
|
9
|
+
const allDecoratedProps = Reflect.getMetadata(allPropsMetaKey, target) || [];
|
|
10
|
+
if (allDecoratedProps.indexOf(propertyKey) === -1) {
|
|
11
|
+
allDecoratedProps.push(propertyKey);
|
|
12
|
+
}
|
|
13
|
+
Reflect.defineMetadata(allPropsMetaKey, allDecoratedProps, target);
|
|
14
|
+
return descriptor;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
class SimpleMethodTagDecorator {
|
|
18
|
+
static GetDecoratedMethodProperties(target, allPropsMetaDataKey) {
|
|
19
|
+
if (!target || typeof target !== "object") {
|
|
20
|
+
return [];
|
|
21
|
+
}
|
|
22
|
+
return Reflect.getMetadata(allPropsMetaDataKey, target) || [];
|
|
23
|
+
}
|
|
24
|
+
static IsDecoratedMethodProperty(target, propertyKey, singlePropMetaKey) {
|
|
25
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return Reflect.getMetadata(singlePropMetaKey, target, propertyKey);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.SimpleMethodTagDecorator = SimpleMethodTagDecorator;
|
|
32
32
|
//# sourceMappingURL=simple-method-tag.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-method-tag.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/simple-method-tag.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"simple-method-tag.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/simple-method-tag.decorator.ts"],"names":[],"mappings":";;;AAEA,4DAYC;AAdD,4BAA0B;AAE1B,SAAgB,wBAAwB,CAAC,iBAAyB,EAAE,eAAuB;IACvF,OAAO,UAAa,MAAW,EAAE,WAAmB,EAAE,UAAsC;QACxF,OAAO,CAAC,cAAc,CAAC,iBAAiB,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QAErE,MAAM,iBAAiB,GAAa,OAAO,CAAC,WAAW,CAAC,eAAe,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;QACvF,IAAI,iBAAiB,CAAC,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC;YAChD,iBAAiB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QACxC,CAAC;QACD,OAAO,CAAC,cAAc,CAAC,eAAe,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;QAEnE,OAAO,UAAU,CAAC;IACtB,CAAC,CAAC;AACN,CAAC;AAED,MAAa,wBAAwB;IAC1B,MAAM,CAAC,4BAA4B,CAAC,MAAc,EAAE,mBAA2B;QAClF,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxC,OAAO,EAAE,CAAC;QACd,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,mBAAmB,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;IAClE,CAAC;IAEM,MAAM,CAAC,yBAAyB,CAAC,MAAc,EAAE,WAAmB,EAAE,iBAAyB;QAClG,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACvE,CAAC;CACJ;AAdD,4DAcC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
export declare function simplePropertyTagDecorator(singlePropMetaKey: string, allPropsMetaKey: string): PropertyDecorator;
|
|
3
|
-
export declare class SimplePropertyTagDecorator {
|
|
4
|
-
static GetDecoratedProperties(target: Object, allPropsMetaDataKey: string): string[];
|
|
5
|
-
static IsDecoratedProperty(target: Object, propertyKey: string, singlePropMetaKey: string): boolean;
|
|
6
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export declare function simplePropertyTagDecorator(singlePropMetaKey: string, allPropsMetaKey: string): PropertyDecorator;
|
|
3
|
+
export declare class SimplePropertyTagDecorator {
|
|
4
|
+
static GetDecoratedProperties(target: Object, allPropsMetaDataKey: string): string[];
|
|
5
|
+
static IsDecoratedProperty(target: Object, propertyKey: string, singlePropMetaKey: string): boolean;
|
|
6
|
+
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SimplePropertyTagDecorator =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
class SimplePropertyTagDecorator {
|
|
21
|
-
static GetDecoratedProperties(target, allPropsMetaDataKey) {
|
|
22
|
-
if (!target || typeof target !== "object") {
|
|
23
|
-
return [];
|
|
24
|
-
}
|
|
25
|
-
const allProps = Reflect.getMetadata(allPropsMetaDataKey, target);
|
|
26
|
-
if (!allProps) {
|
|
27
|
-
return [];
|
|
28
|
-
}
|
|
29
|
-
return Array.from(allProps);
|
|
30
|
-
}
|
|
31
|
-
static IsDecoratedProperty(target, propertyKey, singlePropMetaKey) {
|
|
32
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
return Reflect.hasMetadata(singlePropMetaKey, target, propertyKey);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.SimplePropertyTagDecorator = SimplePropertyTagDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SimplePropertyTagDecorator = void 0;
|
|
4
|
+
exports.simplePropertyTagDecorator = simplePropertyTagDecorator;
|
|
5
|
+
require("reflect-metadata");
|
|
6
|
+
function simplePropertyTagDecorator(singlePropMetaKey, allPropsMetaKey) {
|
|
7
|
+
return function (target, propertyKey) {
|
|
8
|
+
if (!target || !propertyKey) {
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
Reflect.defineMetadata(singlePropMetaKey, undefined, target, propertyKey);
|
|
12
|
+
let allDecoratedProps = Reflect.getMetadata(allPropsMetaKey, target);
|
|
13
|
+
if (!allDecoratedProps) {
|
|
14
|
+
allDecoratedProps = new Set();
|
|
15
|
+
}
|
|
16
|
+
allDecoratedProps.add(propertyKey);
|
|
17
|
+
Reflect.defineMetadata(allPropsMetaKey, allDecoratedProps, target);
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
class SimplePropertyTagDecorator {
|
|
21
|
+
static GetDecoratedProperties(target, allPropsMetaDataKey) {
|
|
22
|
+
if (!target || typeof target !== "object") {
|
|
23
|
+
return [];
|
|
24
|
+
}
|
|
25
|
+
const allProps = Reflect.getMetadata(allPropsMetaDataKey, target);
|
|
26
|
+
if (!allProps) {
|
|
27
|
+
return [];
|
|
28
|
+
}
|
|
29
|
+
return Array.from(allProps);
|
|
30
|
+
}
|
|
31
|
+
static IsDecoratedProperty(target, propertyKey, singlePropMetaKey) {
|
|
32
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
return Reflect.hasMetadata(singlePropMetaKey, target, propertyKey);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.SimplePropertyTagDecorator = SimplePropertyTagDecorator;
|
|
39
39
|
//# sourceMappingURL=simple-property-tag.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simple-property-tag.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/simple-property-tag.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"simple-property-tag.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/simple-property-tag.decorator.ts"],"names":[],"mappings":";;;AAEA,gEAeC;AAjBD,4BAA0B;AAE1B,SAAgB,0BAA0B,CAAC,iBAAyB,EAAE,eAAuB;IACzF,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;YAC1B,OAAO;QACX,CAAC;QAED,OAAO,CAAC,cAAc,CAAC,iBAAiB,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QAE1E,IAAI,iBAAiB,GAAgB,OAAO,CAAC,WAAW,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;QAClF,IAAI,CAAC,iBAAiB,EAAE,CAAC;YACrB,iBAAiB,GAAG,IAAI,GAAG,EAAU,CAAC;QAC1C,CAAC;QACD,iBAAiB,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;QACnC,OAAO,CAAC,cAAc,CAAC,eAAe,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;IACvE,CAAC,CAAC;AACN,CAAC;AAED,MAAa,0BAA0B;IAC5B,MAAM,CAAC,sBAAsB,CAAC,MAAc,EAAE,mBAA2B;QAC5E,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxC,OAAO,EAAE,CAAC;QACd,CAAC;QAED,MAAM,QAAQ,GAAgB,OAAO,CAAC,WAAW,CAAC,mBAAmB,EAAE,MAAM,CAAC,CAAC;QAC/E,IAAI,CAAC,QAAQ,EAAE,CAAC;YACZ,OAAO,EAAE,CAAC;QACd,CAAC;QACD,OAAO,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC;IAEM,MAAM,CAAC,mBAAmB,CAAC,MAAc,EAAE,WAAmB,EAAE,iBAAyB;QAC5F,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,iBAAiB,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACvE,CAAC;CACJ;AAnBD,gEAmBC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
export declare function StringNumber(): PropertyDecorator;
|
|
3
|
-
export declare class StringNumberDecorator {
|
|
4
|
-
static IsStringNumber(target: Object, propertyKey: string): boolean;
|
|
5
|
-
static StringAsNumber(str: string): number;
|
|
6
|
-
static NumberAsString(nr: number): string;
|
|
7
|
-
}
|
|
1
|
+
import 'reflect-metadata';
|
|
2
|
+
export declare function StringNumber(): PropertyDecorator;
|
|
3
|
+
export declare class StringNumberDecorator {
|
|
4
|
+
static IsStringNumber(target: Object, propertyKey: string): boolean;
|
|
5
|
+
static StringAsNumber(str: string): number;
|
|
6
|
+
static NumberAsString(nr: number): string;
|
|
7
|
+
}
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StringNumberDecorator =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
class StringNumberDecorator {
|
|
17
|
-
static IsStringNumber(target, propertyKey) {
|
|
18
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
|
|
22
|
-
}
|
|
23
|
-
static StringAsNumber(str) {
|
|
24
|
-
return number_utils_1.NumberUtils.ParseFloatKeepPrecision(str);
|
|
25
|
-
}
|
|
26
|
-
static NumberAsString(nr) {
|
|
27
|
-
return "" + nr;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
exports.StringNumberDecorator = StringNumberDecorator;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StringNumberDecorator = void 0;
|
|
4
|
+
exports.StringNumber = StringNumber;
|
|
5
|
+
require("reflect-metadata");
|
|
6
|
+
const number_utils_1 = require("../../utils/number-utils");
|
|
7
|
+
const PROP_META_KEY = "stringNumber";
|
|
8
|
+
function StringNumber() {
|
|
9
|
+
return function (target, propertyKey) {
|
|
10
|
+
if (!target || !propertyKey) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
class StringNumberDecorator {
|
|
17
|
+
static IsStringNumber(target, propertyKey) {
|
|
18
|
+
if (!target || !propertyKey || typeof target !== "object") {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
|
|
22
|
+
}
|
|
23
|
+
static StringAsNumber(str) {
|
|
24
|
+
return number_utils_1.NumberUtils.ParseFloatKeepPrecision(str);
|
|
25
|
+
}
|
|
26
|
+
static NumberAsString(nr) {
|
|
27
|
+
return "" + nr;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.StringNumberDecorator = StringNumberDecorator;
|
|
31
31
|
//# sourceMappingURL=string-number.decorator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string-number.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/string-number.decorator.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"string-number.decorator.js","sourceRoot":"","sources":["../../../src/factory/decorators/string-number.decorator.ts"],"names":[],"mappings":";;;AAqBA,oCAOC;AA5BD,4BAA0B;AAC1B,2DAAqD;AAErD,MAAM,aAAa,GAAW,cAAc,CAAC;AAkB7C,SAAgB,YAAY;IACxB,OAAO,UAAU,MAAW,EAAE,WAAmB;QAC7C,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;YAC1B,OAAO;QACX,CAAC;QACD,OAAO,CAAC,cAAc,CAAC,aAAa,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IAC1E,CAAC,CAAC;AACN,CAAC;AAGD,MAAa,qBAAqB;IAGvB,MAAM,CAAC,cAAc,CAAC,MAAc,EAAE,WAAmB;QAC5D,IAAI,CAAC,MAAM,IAAI,CAAC,WAAW,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;YACxD,OAAO,KAAK,CAAC;QACjB,CAAC;QACD,OAAO,OAAO,CAAC,WAAW,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IACnE,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,GAAW;QACpC,OAAO,0BAAW,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;IACpD,CAAC;IAEM,MAAM,CAAC,cAAc,CAAC,EAAU;QACnC,OAAO,EAAE,GAAG,EAAE,CAAC;IACnB,CAAC;CACJ;AAjBD,sDAiBC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AsyncValidatorFn, ValidatorFn } from "@angular/forms";
|
|
2
|
-
export declare function Validate(validator: ValidatorFn, extraDataProperty?: string): PropertyDecorator;
|
|
3
|
-
export declare function AsyncValidate(validator: AsyncValidatorFn, extraDataProperty?: string, extraDataPropertyValue?: string): PropertyDecorator;
|
|
4
|
-
export declare class ValidateDecorator {
|
|
5
|
-
static IsValidateField(target: Object, propertyKey: string): boolean;
|
|
6
|
-
static IsAsyncValidateField(target: Object, propertyKey: string): boolean;
|
|
7
|
-
static GetValidator(target: Object, propertyKey: string): ValidatorFn;
|
|
8
|
-
static GetAsyncValidator(target: Object, propertyKey: string): AsyncValidatorFn;
|
|
9
|
-
static GetExtraDataProperty(target: Object, propertyKey: string): string;
|
|
10
|
-
static GetExtraDataPropertyValue(target: Object, propertyKey: string): string;
|
|
11
|
-
}
|
|
1
|
+
import { AsyncValidatorFn, ValidatorFn } from "@angular/forms";
|
|
2
|
+
export declare function Validate(validator: ValidatorFn, extraDataProperty?: string): PropertyDecorator;
|
|
3
|
+
export declare function AsyncValidate(validator: AsyncValidatorFn, extraDataProperty?: string, extraDataPropertyValue?: string): PropertyDecorator;
|
|
4
|
+
export declare class ValidateDecorator {
|
|
5
|
+
static IsValidateField(target: Object, propertyKey: string): boolean;
|
|
6
|
+
static IsAsyncValidateField(target: Object, propertyKey: string): boolean;
|
|
7
|
+
static GetValidator(target: Object, propertyKey: string): ValidatorFn;
|
|
8
|
+
static GetAsyncValidator(target: Object, propertyKey: string): AsyncValidatorFn;
|
|
9
|
+
static GetExtraDataProperty(target: Object, propertyKey: string): string;
|
|
10
|
+
static GetExtraDataPropertyValue(target: Object, propertyKey: string): string;
|
|
11
|
+
}
|