@placeshakr/config 10.19.0-alpha.7 → 10.19.0-alpha.8
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/CHANGELOG.md +10 -0
- package/dist/config.cjs.development.js +18 -8
- package/dist/config.cjs.development.js.map +1 -1
- package/dist/config.cjs.production.min.js +1 -1
- package/dist/config.cjs.production.min.js.map +1 -1
- package/dist/config.esm.js +18 -8
- package/dist/config.esm.js.map +1 -1
- package/dist/events/index.d.ts +1 -1
- package/dist/events/index.d.ts.map +1 -1
- package/dist/helpers/index.d.ts +2 -2
- package/dist/types.d.ts +7 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/types.ts +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [10.19.0-alpha.8](https://github.com/placeshaker/articho/compare/v10.19.0-alpha.7...v10.19.0-alpha.8) (2021-12-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @placeshakr/config
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
# [10.19.0-alpha.7](https://github.com/placeshaker/articho/compare/v10.19.0-alpha.6...v10.19.0-alpha.7) (2021-12-09)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @placeshakr/config
|
|
@@ -35,7 +43,9 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
35
43
|
|
|
36
44
|
# [10.19.0-alpha.4](https://github.com/placeshaker/articho/compare/v10.19.0-alpha.3...v10.19.0-alpha.4) (2021-11-17)
|
|
37
45
|
|
|
46
|
+
### Features
|
|
38
47
|
|
|
48
|
+
- add documents feature translation ([#1718](https://github.com/placeshaker/articho/issues/1718)) ([ca68f9d](https://github.com/placeshaker/articho/commit/ca68f9de74d03ff22cadcdc4fc92ab1a91170c04)), closes [#1692](https://github.com/placeshaker/articho/issues/1692) [#1699](https://github.com/placeshaker/articho/issues/1699) [#1700](https://github.com/placeshaker/articho/issues/1700) [#1701](https://github.com/placeshaker/articho/issues/1701) [#1703](https://github.com/placeshaker/articho/issues/1703) [#1705](https://github.com/placeshaker/articho/issues/1705) [#1706](https://github.com/placeshaker/articho/issues/1706) [#1687](https://github.com/placeshaker/articho/issues/1687) [#1687](https://github.com/placeshaker/articho/issues/1687) [#1720](https://github.com/placeshaker/articho/issues/1720)
|
|
39
49
|
|
|
40
50
|
# [10.19.0-alpha.0](https://github.com/placeshaker/articho/compare/v10.18.0...v10.19.0-alpha.0) (2021-11-16)
|
|
41
51
|
|
|
@@ -703,9 +703,9 @@ var getEnv = function getEnv(envName) {
|
|
|
703
703
|
var FactoryCreateFunction = function FactoryCreateFunction() {
|
|
704
704
|
return {
|
|
705
705
|
create: function create(id, data) {
|
|
706
|
-
return _extends({},
|
|
706
|
+
return _extends({}, data != null && data.createdAt || data != null && data.updatedAt ? {} : {
|
|
707
707
|
createdAt: Date.now()
|
|
708
|
-
},
|
|
708
|
+
}, data != null && data.updatedAt ? {} : {
|
|
709
709
|
updatedAt: Date.now()
|
|
710
710
|
}, {
|
|
711
711
|
objectID: id,
|
|
@@ -800,13 +800,13 @@ var uid = {
|
|
|
800
800
|
// last push, use the same random number,
|
|
801
801
|
// except incremented by 1.
|
|
802
802
|
else {
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
lastRandChars[i]++;
|
|
803
|
+
for (i = 11; i >= 0 && lastRandChars[i] === 61; i--) {
|
|
804
|
+
lastRandChars[i] = 0;
|
|
808
805
|
}
|
|
809
806
|
|
|
807
|
+
lastRandChars[i]++;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
810
|
for (i = 0; i < 12; i++) {
|
|
811
811
|
id += ASCII_CHARS.charAt(lastRandChars[i]);
|
|
812
812
|
}
|
|
@@ -1454,6 +1454,7 @@ var EmailTemplate;
|
|
|
1454
1454
|
EmailTemplate["NEW_ENTERPRISE"] = "new-enterprise";
|
|
1455
1455
|
EmailTemplate["USER_CONTACT"] = "user-contact";
|
|
1456
1456
|
EmailTemplate["PLAN"] = "plan";
|
|
1457
|
+
EmailTemplate["BILL"] = "bill";
|
|
1457
1458
|
})(EmailTemplate || (EmailTemplate = {}));
|
|
1458
1459
|
|
|
1459
1460
|
var DevisPdfType;
|
|
@@ -1568,6 +1569,14 @@ var MaterialResponsible;
|
|
|
1568
1569
|
MaterialResponsible["ENTERPRISE"] = "ENTERPRISE";
|
|
1569
1570
|
})(MaterialResponsible || (MaterialResponsible = {}));
|
|
1570
1571
|
|
|
1572
|
+
var ProjectPriceTypeEnum;
|
|
1573
|
+
|
|
1574
|
+
(function (ProjectPriceTypeEnum) {
|
|
1575
|
+
ProjectPriceTypeEnum["accepted"] = "accepted";
|
|
1576
|
+
ProjectPriceTypeEnum["prospected"] = "prospected";
|
|
1577
|
+
ProjectPriceTypeEnum["rejected"] = "rejected";
|
|
1578
|
+
})(ProjectPriceTypeEnum || (ProjectPriceTypeEnum = {}));
|
|
1579
|
+
|
|
1571
1580
|
var types = {
|
|
1572
1581
|
__proto__: null,
|
|
1573
1582
|
get ROLE () { return ROLE; },
|
|
@@ -1620,7 +1629,8 @@ var types = {
|
|
|
1620
1629
|
get NomenclaturesIdentifier () { return NomenclaturesIdentifier; },
|
|
1621
1630
|
get OperationQuantityEnum () { return OperationQuantityEnum; },
|
|
1622
1631
|
get OperationRulesEnum () { return OperationRulesEnum; },
|
|
1623
|
-
get MaterialResponsible () { return MaterialResponsible; }
|
|
1632
|
+
get MaterialResponsible () { return MaterialResponsible; },
|
|
1633
|
+
get ProjectPriceTypeEnum () { return ProjectPriceTypeEnum; }
|
|
1624
1634
|
};
|
|
1625
1635
|
|
|
1626
1636
|
function isBuffer(obj) {
|