@osovitny/anatoly 2.1.12 → 2.1.14
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/bundles/osovitny-anatoly.umd.js +31 -13
- package/bundles/osovitny-anatoly.umd.js.map +1 -1
- package/esm2015/lib/core/convert.js +13 -4
- package/esm2015/lib/core/core.module.js +16 -1
- package/esm2015/lib/core/guid.js +1 -4
- package/esm2015/lib/core/services/appcontext.service.js +2 -1
- package/esm2015/lib/core/subs.js +1 -4
- package/esm2015/lib/core/utils.js +1 -4
- package/esm2015/lib/ui/components/html-editor/html-editor.defaultoptions.js +2 -2
- package/fesm2015/osovitny-anatoly.js +29 -13
- package/fesm2015/osovitny-anatoly.js.map +1 -1
- package/lib/core/convert.d.ts +2 -0
- package/lib/core/services/appcontext.service.d.ts +2 -2
- package/osovitny-anatoly.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -663,9 +663,6 @@
|
|
|
663
663
|
Created:
|
|
664
664
|
29 June 2020
|
|
665
665
|
|
|
666
|
-
Version:
|
|
667
|
-
1.0
|
|
668
|
-
|
|
669
666
|
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
670
667
|
</file>
|
|
671
668
|
*/
|
|
@@ -704,6 +701,20 @@
|
|
|
704
701
|
text: enumeration[key]
|
|
705
702
|
}); });
|
|
706
703
|
};
|
|
704
|
+
Convert.stringToArray = function (str, separator) {
|
|
705
|
+
if (separator === void 0) { separator = ','; }
|
|
706
|
+
if (str) {
|
|
707
|
+
return str.split(separator).filter(function (element) { return element; });
|
|
708
|
+
}
|
|
709
|
+
return [];
|
|
710
|
+
};
|
|
711
|
+
Convert.stringToIntArray = function (str, separator) {
|
|
712
|
+
if (separator === void 0) { separator = ','; }
|
|
713
|
+
if (str) {
|
|
714
|
+
return str.split(separator).filter(function (element) { return element; }).map(function (value) { return parseInt(value); });
|
|
715
|
+
}
|
|
716
|
+
return [];
|
|
717
|
+
};
|
|
707
718
|
return Convert;
|
|
708
719
|
}());
|
|
709
720
|
|
|
@@ -1275,9 +1286,6 @@
|
|
|
1275
1286
|
Created:
|
|
1276
1287
|
26 Jun 2020
|
|
1277
1288
|
|
|
1278
|
-
Version:
|
|
1279
|
-
1.0
|
|
1280
|
-
|
|
1281
1289
|
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1282
1290
|
</file>
|
|
1283
1291
|
*/
|
|
@@ -1684,6 +1692,7 @@
|
|
|
1684
1692
|
this.subscription.unsubscribe();
|
|
1685
1693
|
this.subscription = null;
|
|
1686
1694
|
};
|
|
1695
|
+
//Public
|
|
1687
1696
|
AppContextService.prototype.getCurrent = function (success, getCachedIfExist) {
|
|
1688
1697
|
var _this = this;
|
|
1689
1698
|
if (success === void 0) { success = null; }
|
|
@@ -1936,6 +1945,21 @@
|
|
|
1936
1945
|
{ type: router.Router }
|
|
1937
1946
|
]; };
|
|
1938
1947
|
|
|
1948
|
+
/*
|
|
1949
|
+
<file>
|
|
1950
|
+
Project:
|
|
1951
|
+
@osovitny/anatoly
|
|
1952
|
+
|
|
1953
|
+
Authors:
|
|
1954
|
+
Vadim Osovitny
|
|
1955
|
+
Anatoly Osovitny
|
|
1956
|
+
|
|
1957
|
+
Created:
|
|
1958
|
+
29 June 2020
|
|
1959
|
+
|
|
1960
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1961
|
+
</file>
|
|
1962
|
+
*/
|
|
1939
1963
|
exports.InjectorInstance = void 0;
|
|
1940
1964
|
var AnatolyCoreModule = /** @class */ (function () {
|
|
1941
1965
|
function AnatolyCoreModule(injector, parentModule) {
|
|
@@ -1978,9 +2002,6 @@
|
|
|
1978
2002
|
Created:
|
|
1979
2003
|
26 Jun 2020
|
|
1980
2004
|
|
|
1981
|
-
Version:
|
|
1982
|
-
1.0
|
|
1983
|
-
|
|
1984
2005
|
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1985
2006
|
</file>
|
|
1986
2007
|
*/
|
|
@@ -2021,9 +2042,6 @@
|
|
|
2021
2042
|
Created:
|
|
2022
2043
|
19 March 2020
|
|
2023
2044
|
|
|
2024
|
-
Version:
|
|
2025
|
-
1.0
|
|
2026
|
-
|
|
2027
2045
|
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2028
2046
|
</file>
|
|
2029
2047
|
*/
|
|
@@ -2834,7 +2852,7 @@
|
|
|
2834
2852
|
Upload:
|
|
2835
2853
|
https://www.froala.com/wysiwyg-editor/docs/concepts/image/upload
|
|
2836
2854
|
*/
|
|
2837
|
-
imageUploadURL: "/api/
|
|
2855
|
+
imageUploadURL: "/api/htmlEditor/uploadImage",
|
|
2838
2856
|
imageAllowedTypes: ["jpeg", "jpg", "png"],
|
|
2839
2857
|
imageUploadParams: { uploadType: "", uploadParentId: "" },
|
|
2840
2858
|
};
|