tnx-shared 5.1.232 → 5.1.236
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/assets/gulpfile.js +9 -6
- package/bundles/tnx-shared.umd.js +208 -59
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/classes/public-function.d.ts +1 -1
- package/components/address/address.component.d.ts.map +1 -1
- package/components/autocomplete-picker/autocomplete-picker.component.d.ts +7 -0
- package/components/autocomplete-picker/autocomplete-picker.component.d.ts.map +1 -1
- package/components/cocautochuc/cocautochuc-picker-list/cocautochuc-picker-list.component.d.ts +1 -0
- package/components/cocautochuc/cocautochuc-picker-list/cocautochuc-picker-list.component.d.ts.map +1 -1
- package/components/crud/crud-form/crud-form.component.d.ts +1 -1
- package/components/entity-picker/entity-picker-box/entity-picker-box.component.d.ts +1 -0
- package/components/entity-picker/entity-picker-box/entity-picker-box.component.d.ts.map +1 -1
- package/components/entity-picker/entity-picker-dialog/components/entity-picker-selected/entity-picker-selected.component.d.ts +10 -2
- package/components/entity-picker/entity-picker-dialog/components/entity-picker-selected/entity-picker-selected.component.d.ts.map +1 -1
- package/components/statemachines/models/enums.d.ts +1 -2
- package/components/statemachines/models/enums.d.ts.map +1 -1
- package/components/statemachines/statemachines-connection-metadata/statemachines-connection-metadata.component.d.ts.map +1 -1
- package/components/statemachines/utils/utils.d.ts.map +1 -1
- package/components/user-picker/user-picker-box/user-picker-box.component.d.ts +1 -0
- package/components/user-picker/user-picker-box/user-picker-box.component.d.ts.map +1 -1
- package/components/user-picker/user-picker.component.d.ts +8 -1
- package/components/user-picker/user-picker.component.d.ts.map +1 -1
- package/components/workflow/models/models.d.ts +1 -0
- package/components/workflow/models/models.d.ts.map +1 -1
- package/components/workflow/process-workflow-target/process-workflow-target.component.d.ts +4 -3
- package/components/workflow/process-workflow-target/process-workflow-target.component.d.ts.map +1 -1
- package/esm2015/components/address/address.component.js +16 -6
- package/esm2015/components/address/services/address.service.js +3 -3
- package/esm2015/components/autocomplete-picker/autocomplete-picker.component.js +38 -3
- package/esm2015/components/chat/chat-box/chat-box.component.js +1 -1
- package/esm2015/components/chat/chat-send-message-box/chat-send-message-box.component.js +1 -1
- package/esm2015/components/cocautochuc/cocautochuc-picker-list/cocautochuc-picker-list.component.js +3 -2
- package/esm2015/components/crud/crud-form/crud-form.component.js +2 -2
- package/esm2015/components/entity-picker/entity-picker-box/entity-picker-box.component.js +3 -2
- package/esm2015/components/entity-picker/entity-picker-dialog/components/entity-picker-selected/entity-picker-selected.component.js +47 -10
- package/esm2015/components/statemachines/models/constants.js +14 -15
- package/esm2015/components/statemachines/models/enums.js +2 -2
- package/esm2015/components/statemachines/statemachines-connection-metadata/statemachines-connection-metadata.component.js +10 -3
- package/esm2015/components/statemachines/utils/utils.js +2 -1
- package/esm2015/components/user-picker/user-picker-box/user-picker-box.component.js +3 -2
- package/esm2015/components/user-picker/user-picker.component.js +39 -4
- package/esm2015/components/workflow/models/models.js +1 -1
- package/esm2015/components/workflow/process-workflow-form/process-workflow-form.component.js +2 -2
- package/esm2015/components/workflow/process-workflow-target/process-workflow-target.component.js +16 -4
- package/esm2015/services/customize-ui.service.js +1 -1
- package/esm2015/services/master-data.service.js +2 -2
- package/esm2015/services/module-config.service.js +6 -15
- package/fesm2015/tnx-shared.js +188 -59
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/services/module-config.service.d.ts.map +1 -1
- package/tnx-shared.metadata.json +1 -1
- package/tnx-shared.module.d.ts +2 -2
- package/tnx-shared.module.d.ts.map +1 -1
- package/assets/package.json.tmp +0 -13
package/assets/gulpfile.js
CHANGED
|
@@ -403,6 +403,7 @@ function transformTsConfigJson(input) {
|
|
|
403
403
|
function transformPackageJson(angularSchema, angularSchemaTemplate, input) {
|
|
404
404
|
const listEnvironment = angularSchema.environments;
|
|
405
405
|
const scopeName = angularSchema.scopeName;
|
|
406
|
+
const clientVersion = angularSchema.clientVersion;
|
|
406
407
|
|
|
407
408
|
let scriptDependAll = 'npm run depend-tnx-shared';
|
|
408
409
|
Object.keys(angularSchema.projectList).filter(x => angularSchema.projectList[x].projectType == 'library').forEach(project => {
|
|
@@ -413,7 +414,7 @@ function transformPackageJson(angularSchema, angularSchemaTemplate, input) {
|
|
|
413
414
|
}
|
|
414
415
|
|
|
415
416
|
if (prj.projectType == 'library') {
|
|
416
|
-
if (prj.refType
|
|
417
|
+
if (prj.refType != 'package') {
|
|
417
418
|
// generate package function only for library
|
|
418
419
|
const nodeMaxOldSpaceSize = angularSchema.nodeMaxOldSpaceSize ? angularSchema.nodeMaxOldSpaceSize : 3072;
|
|
419
420
|
input.scripts[`build-${project}`] = angularSchemaTemplate.scripts['build-service-template']
|
|
@@ -450,8 +451,8 @@ function transformPackageJson(angularSchema, angularSchemaTemplate, input) {
|
|
|
450
451
|
});
|
|
451
452
|
|
|
452
453
|
// default install latest version tnx-shared
|
|
453
|
-
|
|
454
|
-
|
|
454
|
+
input.scripts['depend-tnx-shared'] = angularSchemaTemplate.scripts[`depend-template`]
|
|
455
|
+
.replaceAll('{{serviceName}}', 'shared');
|
|
455
456
|
input.scripts['depend-all'] = scriptDependAll;
|
|
456
457
|
input.scripts['prebuild'] = angularSchemaTemplate.scripts[`prebuild-template`];
|
|
457
458
|
input.scripts['update-assets-tnx-shared'] = angularSchemaTemplate.scripts['update-assets-tnx-shared-template'];
|
|
@@ -507,7 +508,7 @@ function transformPackageJson(angularSchema, angularSchemaTemplate, input) {
|
|
|
507
508
|
|
|
508
509
|
input.scripts[`deploy-${project}`] = angularSchemaTemplate.scripts['deploy-template']
|
|
509
510
|
.replaceAll('{{projectName}}', project)
|
|
510
|
-
.replaceAll('{{clientVersion}}',
|
|
511
|
+
.replaceAll('{{clientVersion}}', clientVersion)
|
|
511
512
|
.replaceAll('{{scopeName}}', scopeName)
|
|
512
513
|
.replaceAll('{{nodeMaxOldSpaceSize}}', nodeMaxOldSpaceSize)
|
|
513
514
|
.replaceAll('{{baseHref}}', baseHref);
|
|
@@ -679,8 +680,10 @@ function buildTsConfigPath(paths, project) {
|
|
|
679
680
|
const prj = getProjectInfo(project);
|
|
680
681
|
const prefix = getRefPrefix();
|
|
681
682
|
const refType = prj.refType ? prj.refType : 'package';
|
|
682
|
-
if (project == 'tnx-shared'
|
|
683
|
-
|
|
683
|
+
if (project == 'tnx-shared') {
|
|
684
|
+
if (refType != 'package') {
|
|
685
|
+
paths[`tnx-shared`] = [`${prj.refPath}/src/lib/public-api`];
|
|
686
|
+
}
|
|
684
687
|
}
|
|
685
688
|
else {
|
|
686
689
|
const pathAlias = `${prefix}${project}`;
|