Skip to content

Commit

Permalink
fix: added support work in angular 15 and >=12 (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
EndyKaufman committed Nov 25, 2022
1 parent c10c113 commit 15c2f02
Show file tree
Hide file tree
Showing 9 changed files with 147 additions and 157 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ All notable changes to this project will be documented in this file. See [standa

## [2.3.0](https://github.com/EndyKaufman/ngx-dynamic-form-builder/compare/v2.2.2...v2.3.0) (2022-11-25)


### Features

* update deps, angular from 13 to 15, nx from 13 to 15 ([e682987](https://github.com/EndyKaufman/ngx-dynamic-form-builder/commit/e682987b8e41006a554a2b9de79585e1cb3081f8))
- update deps, angular from 13 to 15, nx from 13 to 15 ([e682987](https://github.com/EndyKaufman/ngx-dynamic-form-builder/commit/e682987b8e41006a554a2b9de79585e1cb3081f8))

### [2.2.2](https://github.com/EndyKaufman/ngx-dynamic-form-builder/compare/v2.2.1...v2.2.2) (2022-06-26)

Expand Down
4 changes: 2 additions & 2 deletions apps/debug/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"must include word \"dep\" (async validate)": "must include word \"dep\" (async validate)"
}
"must include word \"dep\" (async validate)": "must include word \"dep\" (async validate)"
}
4 changes: 2 additions & 2 deletions apps/debug/src/assets/i18n/ru.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"must include word \"dep\" (async validate)": ""
}
"must include word \"dep\" (async validate)": ""
}
120 changes: 60 additions & 60 deletions apps/demo/src/assets/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
{
"Experimental: user panel": "Experimental: user panel",
"Experimental: login panel": "Experimental: login panel",
"Experimental: registration panel": "Experimental: registration panel",
"Other files": "Other files",
"New API": "New API",
"region num should not be empty (native angular)": "region num should not be empty (native angular)",
"Login form": "Login form",
"Username": "Username",
"Password": "Password",
"Form status:": "Form status:",
"Form custom validate errors:": "Form custom validate errors:",
"Login user data:": "Login user data:",
"Login": "Login",
"username": "username",
"password": "password",
"Registration form": "Registration form",
"Confirm password": "Confirm password",
"Registration user data:": "Registration user data:",
"Registration": "Registration",
"rePassword": "rePassword",
"User form": "User form",
"Email": "Email",
"Date of birth": "Date of birth",
"date of birth is": "date of birth is",
"Department of user": "Department of user",
"Department name": "Department name",
"Company of department": "Company of department",
"Company name": "Company name",
"Company region num": "Company region num",
"Administrator": "Administrator",
"Staff": "Staff",
"Saved item:": "Saved item:",
"Load": "Load",
"Clear": "Clear",
"Save": "Save",
"email": "email",
"dateOfBirth": "dateOfBirth",
"Tasks max length = 3 (native angular)": "Tasks max length = 3 (native angular)",
"English": "English",
"Russian": "Русский",
"Experimental + transloco + i18n": "Experimental + transloco + i18n",
"must include word \"dep\" (async validate)": "must include word \"dep\" (async validate)",
"Id": "Id",
"Name": "Name",
"Region num": "Region num",
"The company name must be longer than 15": "The company name must be longer than 15",
"Company": "Company",
"company name": "company name",
"company region name": "company region name",
"department name": "department name",
"Tasks not initialized or min length = 1 and max length = 3, and all initialized tasks must be not empty": "Tasks not initialized or min length = 1 and max length = 3, and all initialized tasks must be not empty",
"Department": "Department",
"Only abc field": "Only abc field",
"it should match the cool 'abc' string": "it should match the cool 'abc' string",
"$constraint1 do not match to $property": "$constraint1 do not match to $property",
"Form native errors:": "Form native errors:",
"name": "name",
"regionNum": "regionNum",
"Group form": "Group form"
}
"Experimental: user panel": "Experimental: user panel",
"Experimental: login panel": "Experimental: login panel",
"Experimental: registration panel": "Experimental: registration panel",
"Other files": "Other files",
"New API": "New API",
"region num should not be empty (native angular)": "region num should not be empty (native angular)",
"Login form": "Login form",
"Username": "Username",
"Password": "Password",
"Form status:": "Form status:",
"Form custom validate errors:": "Form custom validate errors:",
"Login user data:": "Login user data:",
"Login": "Login",
"username": "username",
"password": "password",
"Registration form": "Registration form",
"Confirm password": "Confirm password",
"Registration user data:": "Registration user data:",
"Registration": "Registration",
"rePassword": "rePassword",
"User form": "User form",
"Email": "Email",
"Date of birth": "Date of birth",
"date of birth is": "date of birth is",
"Department of user": "Department of user",
"Department name": "Department name",
"Company of department": "Company of department",
"Company name": "Company name",
"Company region num": "Company region num",
"Administrator": "Administrator",
"Staff": "Staff",
"Saved item:": "Saved item:",
"Load": "Load",
"Clear": "Clear",
"Save": "Save",
"email": "email",
"dateOfBirth": "dateOfBirth",
"Tasks max length = 3 (native angular)": "Tasks max length = 3 (native angular)",
"English": "English",
"Russian": "Русский",
"Experimental + transloco + i18n": "Experimental + transloco + i18n",
"must include word \"dep\" (async validate)": "must include word \"dep\" (async validate)",
"Id": "Id",
"Name": "Name",
"Region num": "Region num",
"The company name must be longer than 15": "The company name must be longer than 15",
"Company": "Company",
"company name": "company name",
"company region name": "company region name",
"department name": "department name",
"Tasks not initialized or min length = 1 and max length = 3, and all initialized tasks must be not empty": "Tasks not initialized or min length = 1 and max length = 3, and all initialized tasks must be not empty",
"Department": "Department",
"Only abc field": "Only abc field",
"it should match the cool 'abc' string": "it should match the cool 'abc' string",
"$constraint1 do not match to $property": "$constraint1 do not match to $property",
"Form native errors:": "Form native errors:",
"name": "name",
"regionNum": "regionNum",
"Group form": "Group form"
}
120 changes: 60 additions & 60 deletions apps/demo/src/assets/i18n/ru.json
Original file line number Diff line number Diff line change
@@ -1,61 +1,61 @@
{
"Experimental: user panel": "Экспериментально: панель пользователя",
"Experimental: login panel": "Экспериментально: панель входа",
"Experimental: registration panel": "Экспериментально: регистрационная панель",
"Other files": "Другие файлы",
"New API": "Новое АПИ",
"region num should not be empty (native angular)": "номер региона не должен быть пустым (нативный angular)",
"Login form": "Форма входа",
"Username": "Имя пользователя",
"Password": "Пароль",
"Form status:": "Статус формы:",
"Form custom validate errors:": "Короткие ошибки класс валидатора:",
"Login user data:": "Данные пользователя для входа:",
"Login": "Авторизоваться",
"username": "имя пользователя",
"password": "пароль",
"Registration form": "Форма регистрации",
"Confirm password": "Подтвердите пароль",
"Registration user data:": "Регистрационные данные пользователя:",
"Registration": "Регистрация",
"rePassword": "повтор пароля",
"User form": "Пользователь",
"Email": "Эл. адрес",
"Date of birth": "Дата рождения",
"date of birth is": "дата рождения",
"Department of user": "Отдел",
"Department name": "Название отдела",
"Company of department": "Компания",
"Company name": "Название компании",
"Company region num": "Номер региона компании",
"Administrator": "Администратор",
"Staff": "Персонал",
"Saved item:": "Сохраненные данные:",
"Load": "Загрузить",
"Clear": "Очистить",
"Save": "Сохранить",
"email": "эл. адрес",
"dateOfBirth": "дата рождения",
"Tasks max length = 3 (native angular)": "",
"English": "",
"Russian": "Русский",
"Experimental + transloco + i18n": "Экспериментально + transloco + перевод",
"must include word \"dep\" (async validate)": "должен включать слово \"dep\" (асинхронная проверка)",
"Id": "Ид.",
"Name": "Название",
"Region num": "Номер региона",
"The company name must be longer than 15": "Название компании должно быть длиннее 15",
"Company": "Компания",
"company name": "название компании",
"company region name": "регион компании",
"department name": "название отдела",
"Tasks not initialized or min length = 1 and max length = 3, and all initialized tasks must be not empty": "Задачи не инициализированы и минимальная длина = 1, а максимальная длина = 3, и все созданные задачи не должны быть пустыми",
"Department": "Отдел",
"Only abc field": "Должно включать только abc",
"it should match the cool 'abc' string": "он должен соответствовать классной строке 'abc'",
"$constraint1 do not match to $property": "$constraint1 не равно $property",
"Form native errors:": "Нативные ошибки:",
"name": "название",
"regionNum": "номер региона",
"Group form": "Форма группы"
}
"Experimental: user panel": "Экспериментально: панель пользователя",
"Experimental: login panel": "Экспериментально: панель входа",
"Experimental: registration panel": "Экспериментально: регистрационная панель",
"Other files": "Другие файлы",
"New API": "Новое АПИ",
"region num should not be empty (native angular)": "номер региона не должен быть пустым (нативный angular)",
"Login form": "Форма входа",
"Username": "Имя пользователя",
"Password": "Пароль",
"Form status:": "Статус формы:",
"Form custom validate errors:": "Короткие ошибки класс валидатора:",
"Login user data:": "Данные пользователя для входа:",
"Login": "Авторизоваться",
"username": "имя пользователя",
"password": "пароль",
"Registration form": "Форма регистрации",
"Confirm password": "Подтвердите пароль",
"Registration user data:": "Регистрационные данные пользователя:",
"Registration": "Регистрация",
"rePassword": "повтор пароля",
"User form": "Пользователь",
"Email": "Эл. адрес",
"Date of birth": "Дата рождения",
"date of birth is": "дата рождения",
"Department of user": "Отдел",
"Department name": "Название отдела",
"Company of department": "Компания",
"Company name": "Название компании",
"Company region num": "Номер региона компании",
"Administrator": "Администратор",
"Staff": "Персонал",
"Saved item:": "Сохраненные данные:",
"Load": "Загрузить",
"Clear": "Очистить",
"Save": "Сохранить",
"email": "эл. адрес",
"dateOfBirth": "дата рождения",
"Tasks max length = 3 (native angular)": "",
"English": "",
"Russian": "Русский",
"Experimental + transloco + i18n": "Экспериментально + transloco + перевод",
"must include word \"dep\" (async validate)": "должен включать слово \"dep\" (асинхронная проверка)",
"Id": "Ид.",
"Name": "Название",
"Region num": "Номер региона",
"The company name must be longer than 15": "Название компании должно быть длиннее 15",
"Company": "Компания",
"company name": "название компании",
"company region name": "регион компании",
"department name": "название отдела",
"Tasks not initialized or min length = 1 and max length = 3, and all initialized tasks must be not empty": "Задачи не инициализированы и минимальная длина = 1, а максимальная длина = 3, и все созданные задачи не должны быть пустыми",
"Department": "Отдел",
"Only abc field": "Должно включать только abc",
"it should match the cool 'abc' string": "он должен соответствовать классной строке 'abc'",
"$constraint1 do not match to $property": "$constraint1 не равно $property",
"Form native errors:": "Нативные ошибки:",
"name": "название",
"regionNum": "номер региона",
"Group form": "Форма группы"
}
4 changes: 2 additions & 2 deletions libs/ngx-dynamic-form-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
}
],
"peerDependencies": {
"@angular/common": "~15.0.1",
"@angular/core": "~15.0.1",
"@angular/common": "~15.0.1 || >=12.0.0",
"@angular/core": "~15.0.1 || >=12.0.0",
"class-transformer-global-storage": "0.4.1-1",
"class-validator-multi-lang": "0.130.201",
"lodash.clonedeep": "4.5.0",
Expand Down
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@
"validator": "13.7.0"
},
"dependencies": {
"@angular/common": "~15.0.1 || >=12.0.0",
"@angular/core": "~15.0.1 || >=12.0.0",
"@angular/animations": "~15.0.1",
"@angular/cdk": "~15.0.0",
"@angular/common": "~15.0.1",
"@angular/compiler": "~15.0.1",
"@angular/core": "~15.0.1",
"@angular/flex-layout": "*",
"@angular/forms": "~15.0.1",
"@angular/material": "~15.0.0",
Expand Down
25 changes: 8 additions & 17 deletions transloco.config.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
{
"serverRootTranslationsPath": "./apps/demo/src/assets/i18n/",
"langs": [
"en",
"ru"
],
"serverScopedLibs": [
"libs/ngx-dynamic-form-builder"
],
"rootTranslationsPath": "./apps/demo/src/assets/i18n/",
"scopedLibs": [
"libs/ngx-dynamic-form-builder"
],
"clientRootTranslationsPath": "./apps/demo/src/assets/i18n/",
"clientScopedLibs": [
"libs/ngx-dynamic-form-builder"
]
}
"serverRootTranslationsPath": "./apps/demo/src/assets/i18n/",
"langs": ["en", "ru"],
"serverScopedLibs": ["libs/ngx-dynamic-form-builder"],
"rootTranslationsPath": "./apps/demo/src/assets/i18n/",
"scopedLibs": ["libs/ngx-dynamic-form-builder"],
"clientRootTranslationsPath": "./apps/demo/src/assets/i18n/",
"clientScopedLibs": ["libs/ngx-dynamic-form-builder"]
}

0 comments on commit 15c2f02

Please sign in to comment.