@stemy/ngx-utils 19.8.6 → 19.8.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/fesm2022/stemy-ngx-utils.mjs +139 -99
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +2 -0
- package/ngx-utils/components/interactive-canvas/interactive-item.component.d.ts +11 -4
- package/ngx-utils/components/interactive-canvas/interactive-rect.component.d.ts +1 -2
- package/ngx-utils/services/language.service.d.ts +1 -0
- package/ngx-utils/services/static-language.service.d.ts +1 -0
- package/ngx-utils/utils/geometry/functions.d.ts +1 -0
- package/ngx-utils/utils/geometry/index.d.ts +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +2 -2
|
@@ -1887,73 +1887,6 @@ class RulerCanvasRenderer {
|
|
|
1887
1887
|
}
|
|
1888
1888
|
}
|
|
1889
1889
|
|
|
1890
|
-
function dotProduct(a, b) {
|
|
1891
|
-
return a.x * b.x + a.y * b.y;
|
|
1892
|
-
}
|
|
1893
|
-
function tripleProduct(a, b, c) {
|
|
1894
|
-
const ac = a.x * c.x + a.y * c.y;
|
|
1895
|
-
const bc = b.x * c.x + b.y * c.y;
|
|
1896
|
-
return { x: b.x * ac - a.x * bc, y: b.y * ac - a.y * bc };
|
|
1897
|
-
}
|
|
1898
|
-
function isPoint(v) {
|
|
1899
|
-
return typeof v === "object" && Number.isFinite(v.x) && Number.isFinite(v.y);
|
|
1900
|
-
}
|
|
1901
|
-
function ensurePoint(p, fallback = { x: 0, y: 0 }) {
|
|
1902
|
-
return isPoint(p) ? { x: +p.x, y: +p.y } : fallback;
|
|
1903
|
-
}
|
|
1904
|
-
function perpendicular(p) {
|
|
1905
|
-
return { x: -p.y, y: +p.x };
|
|
1906
|
-
}
|
|
1907
|
-
function negatePt(p) {
|
|
1908
|
-
return { x: -p.x, y: -p.y };
|
|
1909
|
-
}
|
|
1910
|
-
function normalizePt(p) {
|
|
1911
|
-
const length = lengthOfPt(p);
|
|
1912
|
-
return dividePts(p, length);
|
|
1913
|
-
}
|
|
1914
|
-
function addPts(a, b) {
|
|
1915
|
-
return { x: a.x + b.x, y: a.y + b.y };
|
|
1916
|
-
}
|
|
1917
|
-
function distanceSq(a, b) {
|
|
1918
|
-
const x = b.x - a.x;
|
|
1919
|
-
const y = b.y - a.y;
|
|
1920
|
-
return x * x + y * y;
|
|
1921
|
-
}
|
|
1922
|
-
function distance(a, b) {
|
|
1923
|
-
return Math.sqrt(distanceSq(a, b));
|
|
1924
|
-
}
|
|
1925
|
-
function lerpPts(a, b, t) {
|
|
1926
|
-
const diff = subPts(b, a);
|
|
1927
|
-
return addPts(a, multiplyPts(diff, t));
|
|
1928
|
-
}
|
|
1929
|
-
function lengthOfPt(p) {
|
|
1930
|
-
return Math.hypot(p.x, p.y);
|
|
1931
|
-
}
|
|
1932
|
-
function multiplyPts(a, b) {
|
|
1933
|
-
const s = isPoint(b) ? b : { x: b, y: b };
|
|
1934
|
-
return { x: a.x * s.x, y: a.y * s.y };
|
|
1935
|
-
}
|
|
1936
|
-
function dividePts(a, b) {
|
|
1937
|
-
const s = isPoint(b) ? b : { x: b, y: b };
|
|
1938
|
-
return { x: a.x / s.x, y: a.y / s.y };
|
|
1939
|
-
}
|
|
1940
|
-
function subPts(a, b) {
|
|
1941
|
-
return { x: a.x - b.x, y: a.y - b.y };
|
|
1942
|
-
}
|
|
1943
|
-
function rotateDeg(p, ang) {
|
|
1944
|
-
return rotateRad(p, toRadians(ang));
|
|
1945
|
-
}
|
|
1946
|
-
function rotateRad(p, ang) {
|
|
1947
|
-
const c = Math.cos(ang), s = Math.sin(ang);
|
|
1948
|
-
return { x: p.x * c - p.y * s, y: p.x * s + p.y * c };
|
|
1949
|
-
}
|
|
1950
|
-
function toDegrees(rad) {
|
|
1951
|
-
return rad * 180 / Math.PI;
|
|
1952
|
-
}
|
|
1953
|
-
function toRadians(deg) {
|
|
1954
|
-
return deg * Math.PI / 180;
|
|
1955
|
-
}
|
|
1956
|
-
|
|
1957
1890
|
const EPSILON = 1e-9;
|
|
1958
1891
|
/**
|
|
1959
1892
|
* Normalize a range
|
|
@@ -2045,6 +1978,76 @@ class MathUtils {
|
|
|
2045
1978
|
}
|
|
2046
1979
|
}
|
|
2047
1980
|
|
|
1981
|
+
function dotProduct(a, b) {
|
|
1982
|
+
return a.x * b.x + a.y * b.y;
|
|
1983
|
+
}
|
|
1984
|
+
function tripleProduct(a, b, c) {
|
|
1985
|
+
const ac = a.x * c.x + a.y * c.y;
|
|
1986
|
+
const bc = b.x * c.x + b.y * c.y;
|
|
1987
|
+
return { x: b.x * ac - a.x * bc, y: b.y * ac - a.y * bc };
|
|
1988
|
+
}
|
|
1989
|
+
function isPoint(v) {
|
|
1990
|
+
return typeof v === "object" && Number.isFinite(v.x) && Number.isFinite(v.y);
|
|
1991
|
+
}
|
|
1992
|
+
function ensurePoint(p, fallback = { x: 0, y: 0 }) {
|
|
1993
|
+
return isPoint(p) ? { x: +p.x, y: +p.y } : fallback;
|
|
1994
|
+
}
|
|
1995
|
+
function perpendicular(p) {
|
|
1996
|
+
return { x: -p.y, y: +p.x };
|
|
1997
|
+
}
|
|
1998
|
+
function negatePt(p) {
|
|
1999
|
+
return { x: -p.x, y: -p.y };
|
|
2000
|
+
}
|
|
2001
|
+
function normalizePt(p) {
|
|
2002
|
+
const length = lengthOfPt(p);
|
|
2003
|
+
return dividePts(p, length);
|
|
2004
|
+
}
|
|
2005
|
+
function addPts(a, b) {
|
|
2006
|
+
return { x: a.x + b.x, y: a.y + b.y };
|
|
2007
|
+
}
|
|
2008
|
+
function distanceSq(a, b) {
|
|
2009
|
+
const x = b.x - a.x;
|
|
2010
|
+
const y = b.y - a.y;
|
|
2011
|
+
return x * x + y * y;
|
|
2012
|
+
}
|
|
2013
|
+
function distance(a, b) {
|
|
2014
|
+
return Math.sqrt(distanceSq(a, b));
|
|
2015
|
+
}
|
|
2016
|
+
function lerpPts(a, b, t) {
|
|
2017
|
+
const diff = subPts(b, a);
|
|
2018
|
+
return addPts(a, multiplyPts(diff, t));
|
|
2019
|
+
}
|
|
2020
|
+
function lengthOfPt(p) {
|
|
2021
|
+
return Math.hypot(p.x, p.y);
|
|
2022
|
+
}
|
|
2023
|
+
function multiplyPts(a, b) {
|
|
2024
|
+
const s = isPoint(b) ? b : { x: b, y: b };
|
|
2025
|
+
return { x: a.x * s.x, y: a.y * s.y };
|
|
2026
|
+
}
|
|
2027
|
+
function dividePts(a, b) {
|
|
2028
|
+
const s = isPoint(b) ? b : { x: b, y: b };
|
|
2029
|
+
return { x: a.x / s.x, y: a.y / s.y };
|
|
2030
|
+
}
|
|
2031
|
+
function subPts(a, b) {
|
|
2032
|
+
return { x: a.x - b.x, y: a.y - b.y };
|
|
2033
|
+
}
|
|
2034
|
+
function eqPts(a, b) {
|
|
2035
|
+
return isEqual(a.x, b.x) && isEqual(a.y, b.y);
|
|
2036
|
+
}
|
|
2037
|
+
function rotateDeg(p, ang) {
|
|
2038
|
+
return rotateRad(p, toRadians(ang));
|
|
2039
|
+
}
|
|
2040
|
+
function rotateRad(p, ang) {
|
|
2041
|
+
const c = Math.cos(ang), s = Math.sin(ang);
|
|
2042
|
+
return { x: p.x * c - p.y * s, y: p.x * s + p.y * c };
|
|
2043
|
+
}
|
|
2044
|
+
function toDegrees(rad) {
|
|
2045
|
+
return rad * 180 / Math.PI;
|
|
2046
|
+
}
|
|
2047
|
+
function toRadians(deg) {
|
|
2048
|
+
return deg * Math.PI / 180;
|
|
2049
|
+
}
|
|
2050
|
+
|
|
2048
2051
|
const MAX_ITERS = 40;
|
|
2049
2052
|
// =========================
|
|
2050
2053
|
// GJK distance (robust)
|
|
@@ -4266,13 +4269,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
4266
4269
|
type: Injectable
|
|
4267
4270
|
}], ctorParameters: () => [{ type: LocalHttpService }] });
|
|
4268
4271
|
|
|
4269
|
-
const
|
|
4272
|
+
const EMPTY_DICT = {};
|
|
4270
4273
|
class StaticLanguageService {
|
|
4271
4274
|
get defaultLanguage() {
|
|
4272
4275
|
return this.configs.getQueryParameter("lang") || this.storage.get("language", this.getDefaultLanguage());
|
|
4273
4276
|
}
|
|
4274
4277
|
get dictionary() {
|
|
4275
|
-
return this.mergedTranslations[this.currentLanguage] ||
|
|
4278
|
+
return this.mergedTranslations[this.currentLanguage] || EMPTY_DICT;
|
|
4276
4279
|
}
|
|
4277
4280
|
set dictionary(value) {
|
|
4278
4281
|
this.setDictionary(this.currentLang, value);
|
|
@@ -4342,7 +4345,7 @@ class StaticLanguageService {
|
|
|
4342
4345
|
languages = Array.isArray(languages) && languages.length > 0 ? languages : this.languageList;
|
|
4343
4346
|
this.languageList = Array.from(new Set(languages));
|
|
4344
4347
|
this.languageList.forEach(lang => {
|
|
4345
|
-
this.translations[lang] = this.translations[lang] ||
|
|
4348
|
+
this.translations[lang] = this.translations[lang] || EMPTY_DICT;
|
|
4346
4349
|
});
|
|
4347
4350
|
}
|
|
4348
4351
|
addLanguages(languages) {
|
|
@@ -4448,8 +4451,8 @@ class StaticLanguageService {
|
|
|
4448
4451
|
]);
|
|
4449
4452
|
this.mergedTranslations = Array.from(languages).reduce((merged, language) => {
|
|
4450
4453
|
merged[language] = {
|
|
4451
|
-
...(this.translations[language] ||
|
|
4452
|
-
...(this.overrideTranslations[language] ||
|
|
4454
|
+
...(this.translations[language] || EMPTY_DICT),
|
|
4455
|
+
...(this.overrideTranslations[language] || EMPTY_DICT),
|
|
4453
4456
|
};
|
|
4454
4457
|
return merged;
|
|
4455
4458
|
}, {});
|
|
@@ -4497,7 +4500,7 @@ class LanguageService extends StaticLanguageService {
|
|
|
4497
4500
|
}
|
|
4498
4501
|
initService() {
|
|
4499
4502
|
super.initService();
|
|
4500
|
-
this.client.setParam("language", "
|
|
4503
|
+
this.client.setParam("language", "en");
|
|
4501
4504
|
this.translationRequests = {};
|
|
4502
4505
|
this.languageSettings = new BehaviorSubject(null);
|
|
4503
4506
|
if (this.universal.isServer)
|
|
@@ -4525,12 +4528,20 @@ class LanguageService extends StaticLanguageService {
|
|
|
4525
4528
|
if (this.languageList.length === 0) {
|
|
4526
4529
|
this.languageList = [defaultLanguage];
|
|
4527
4530
|
}
|
|
4528
|
-
const lang = this.
|
|
4531
|
+
const lang = this.selectLanguage(this.currentLang)
|
|
4532
|
+
?? this.selectLanguage(defaultLanguage)
|
|
4533
|
+
?? this.selectLanguage(settings.defaultLanguage || this.languageList[0]);
|
|
4529
4534
|
await this.useLanguage(lang);
|
|
4530
4535
|
this.events.languageChanged.next(lang);
|
|
4531
4536
|
}
|
|
4537
|
+
selectLanguage(lang) {
|
|
4538
|
+
if (!lang)
|
|
4539
|
+
return null;
|
|
4540
|
+
return this.languageList.length === 0 || this.languageList.includes(lang)
|
|
4541
|
+
? lang : null;
|
|
4542
|
+
}
|
|
4532
4543
|
async useLanguage(lang) {
|
|
4533
|
-
lang = this.
|
|
4544
|
+
lang = this.selectLanguage(lang);
|
|
4534
4545
|
this.client.setParam("language", lang);
|
|
4535
4546
|
if (lang === this.currentLang)
|
|
4536
4547
|
return this.dictionary;
|
|
@@ -4538,8 +4549,9 @@ class LanguageService extends StaticLanguageService {
|
|
|
4538
4549
|
this.currentLang = lang;
|
|
4539
4550
|
return this.loadDictionary();
|
|
4540
4551
|
}
|
|
4541
|
-
getDictionary(lang) {
|
|
4542
|
-
|
|
4552
|
+
async getDictionary(lang) {
|
|
4553
|
+
if (!lang)
|
|
4554
|
+
return EMPTY_DICT;
|
|
4543
4555
|
const ext = this.config.translationExt || ``;
|
|
4544
4556
|
this.translationRequests[lang] = this.translationRequests[lang] || firstValueFrom(this.client.get(`${this.config.translationUrl}${lang}${ext}`))
|
|
4545
4557
|
.then(response => {
|
|
@@ -4553,7 +4565,7 @@ class LanguageService extends StaticLanguageService {
|
|
|
4553
4565
|
return dictionary;
|
|
4554
4566
|
}).catch(error => {
|
|
4555
4567
|
console.warn("Translation dictionary problem:", error);
|
|
4556
|
-
return
|
|
4568
|
+
return EMPTY_DICT;
|
|
4557
4569
|
});
|
|
4558
4570
|
return this.translationRequests[lang];
|
|
4559
4571
|
}
|
|
@@ -8250,8 +8262,17 @@ class InteractiveItemComponent {
|
|
|
8250
8262
|
this.pos = new Point(value.x, value.y);
|
|
8251
8263
|
this.validPosition = this.pos;
|
|
8252
8264
|
}
|
|
8265
|
+
get rotation() {
|
|
8266
|
+
return this.rot;
|
|
8267
|
+
}
|
|
8268
|
+
set rotation(value) {
|
|
8269
|
+
if (isNaN(value))
|
|
8270
|
+
return;
|
|
8271
|
+
this.rot = value;
|
|
8272
|
+
this.validRotation = this.rot;
|
|
8273
|
+
}
|
|
8253
8274
|
get isValid() {
|
|
8254
|
-
return this.
|
|
8275
|
+
return eqPts(this.pos, this.validPos) && isEqual(this.rot, this.validRot);
|
|
8255
8276
|
}
|
|
8256
8277
|
get validPosition() {
|
|
8257
8278
|
return this.validPos;
|
|
@@ -8260,7 +8281,14 @@ class InteractiveItemComponent {
|
|
|
8260
8281
|
if (typeof value !== "object" || isNaN(value.x) || isNaN(value.y) || value === this.validPos)
|
|
8261
8282
|
return;
|
|
8262
8283
|
this.validPos = new Point(value.x, value.y);
|
|
8263
|
-
|
|
8284
|
+
}
|
|
8285
|
+
get validRotation() {
|
|
8286
|
+
return this.validRot;
|
|
8287
|
+
}
|
|
8288
|
+
set validRotation(value) {
|
|
8289
|
+
if (isNaN(value))
|
|
8290
|
+
return;
|
|
8291
|
+
this.validRot = value;
|
|
8264
8292
|
}
|
|
8265
8293
|
get hovered() {
|
|
8266
8294
|
return this.canvas?.hoveredItem === this;
|
|
@@ -8282,8 +8310,10 @@ class InteractiveItemComponent {
|
|
|
8282
8310
|
this.active = false;
|
|
8283
8311
|
this.index = -1;
|
|
8284
8312
|
this.canvasParams = {};
|
|
8285
|
-
this.valid = true;
|
|
8286
8313
|
this.pos = Point.Zero;
|
|
8314
|
+
this.validPos = Point.Zero;
|
|
8315
|
+
this.rot = 0;
|
|
8316
|
+
this.validRot = 0;
|
|
8287
8317
|
this.direction = "none";
|
|
8288
8318
|
this.mFrame = new Rect(0, 0, 3, 3);
|
|
8289
8319
|
this.mShapes = [];
|
|
@@ -8312,15 +8342,6 @@ class InteractiveItemComponent {
|
|
|
8312
8342
|
}
|
|
8313
8343
|
return false;
|
|
8314
8344
|
}
|
|
8315
|
-
moveTo(x, y) {
|
|
8316
|
-
if (!this.canvas || this.direction === "none")
|
|
8317
|
-
return;
|
|
8318
|
-
const target = this.restrictPosition(this.direction === "vertical" ? this.pos.x : x, this.direction === "horizontal" ? this.pos.y : y);
|
|
8319
|
-
this.pos = new Point(target);
|
|
8320
|
-
this.calcShapes();
|
|
8321
|
-
this.valid = this.checkIsValid();
|
|
8322
|
-
this.validPos = this.valid ? this.pos : this.validPos;
|
|
8323
|
-
}
|
|
8324
8345
|
moveBy(dx, dy) {
|
|
8325
8346
|
const { x, y } = this.pos;
|
|
8326
8347
|
this.moveTo(x + dx, y + dy);
|
|
@@ -8331,12 +8352,31 @@ class InteractiveItemComponent {
|
|
|
8331
8352
|
moveY(y) {
|
|
8332
8353
|
this.moveTo(this.pos.x, y);
|
|
8333
8354
|
}
|
|
8355
|
+
moveTo(x, y) {
|
|
8356
|
+
if (!this.canvas || this.direction === "none")
|
|
8357
|
+
return;
|
|
8358
|
+
const target = this.restrictPosition(this.direction === "vertical" ? this.pos.x : x, this.direction === "horizontal" ? this.pos.y : y);
|
|
8359
|
+
this.pos = new Point(target);
|
|
8360
|
+
this.calcShapes();
|
|
8361
|
+
this.validPos = this.checkIsValid() ? this.pos : this.validPos;
|
|
8362
|
+
}
|
|
8334
8363
|
moveEnd() {
|
|
8335
8364
|
this.mDistances.clear();
|
|
8336
|
-
if (this.
|
|
8365
|
+
if (this.isValid)
|
|
8337
8366
|
return;
|
|
8338
8367
|
this.pos = this.validPos;
|
|
8339
|
-
this.
|
|
8368
|
+
this.calcShapes();
|
|
8369
|
+
}
|
|
8370
|
+
rotateTo(value) {
|
|
8371
|
+
this.rot = isNaN(value) ? this.rot : value;
|
|
8372
|
+
this.calcShapes();
|
|
8373
|
+
this.validRot = this.checkIsValid() ? this.rot : this.validRot;
|
|
8374
|
+
}
|
|
8375
|
+
rotateEnd() {
|
|
8376
|
+
this.mDistances.clear();
|
|
8377
|
+
if (this.isValid)
|
|
8378
|
+
return;
|
|
8379
|
+
this.rot = this.validRot;
|
|
8340
8380
|
this.calcShapes();
|
|
8341
8381
|
}
|
|
8342
8382
|
restrictPosition(x, y) {
|
|
@@ -8379,7 +8419,7 @@ class InteractiveItemComponent {
|
|
|
8379
8419
|
return new Point(x, y);
|
|
8380
8420
|
}
|
|
8381
8421
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: InteractiveItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8382
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: InteractiveItemComponent, isStandalone: false, selector: "__interactive-item__", inputs: { x: "x", y: "y", position: "position", direction: "direction", disabled: "disabled" }, usesOnChanges: true, ngImport: i0, template: "", isInline: true }); }
|
|
8422
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.19", type: InteractiveItemComponent, isStandalone: false, selector: "__interactive-item__", inputs: { x: "x", y: "y", position: "position", rotation: "rotation", direction: "direction", disabled: "disabled" }, usesOnChanges: true, ngImport: i0, template: "", isInline: true }); }
|
|
8383
8423
|
}
|
|
8384
8424
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: InteractiveItemComponent, decorators: [{
|
|
8385
8425
|
type: Component,
|
|
@@ -8394,6 +8434,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
8394
8434
|
type: Input
|
|
8395
8435
|
}], position: [{
|
|
8396
8436
|
type: Input
|
|
8437
|
+
}], rotation: [{
|
|
8438
|
+
type: Input
|
|
8397
8439
|
}], direction: [{
|
|
8398
8440
|
type: Input
|
|
8399
8441
|
}], disabled: [{
|
|
@@ -8847,20 +8889,18 @@ class InteractiveRectComponent extends InteractiveItemComponent {
|
|
|
8847
8889
|
super();
|
|
8848
8890
|
this.width = input(10);
|
|
8849
8891
|
this.height = input(10);
|
|
8850
|
-
this.rotation = input(0);
|
|
8851
8892
|
effect(() => {
|
|
8852
|
-
this.mFrame = new Rect(0, 0, this.width(), this.height()
|
|
8893
|
+
this.mFrame = new Rect(0, 0, this.width(), this.height());
|
|
8853
8894
|
});
|
|
8854
8895
|
}
|
|
8855
8896
|
calcShape(x, y) {
|
|
8856
8897
|
const ratio = this.canvas.ratio;
|
|
8857
8898
|
const width = untracked(() => this.width());
|
|
8858
8899
|
const height = untracked(() => this.height());
|
|
8859
|
-
|
|
8860
|
-
return new Rect(x, y, width * ratio, height * ratio, rotation);
|
|
8900
|
+
return new Rect(x, y, width * ratio, height * ratio, this.rotation);
|
|
8861
8901
|
}
|
|
8862
8902
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.19", ngImport: i0, type: InteractiveRectComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
8863
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.19", type: InteractiveRectComponent, isStandalone: false, selector: "interactive-rect", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null }
|
|
8903
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "19.2.19", type: InteractiveRectComponent, isStandalone: false, selector: "interactive-rect", inputs: { width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, height: { classPropertyName: "height", publicName: "height", isSignal: true, isRequired: false, transformFunction: null } }, providers: [
|
|
8864
8904
|
{ provide: InteractiveItemComponent, useExisting: InteractiveRectComponent },
|
|
8865
8905
|
], usesInheritance: true, ngImport: i0, template: "", isInline: true }); }
|
|
8866
8906
|
}
|
|
@@ -9671,5 +9711,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.19", ngImpo
|
|
|
9671
9711
|
* Generated bundle index. Do not edit.
|
|
9672
9712
|
*/
|
|
9673
9713
|
|
|
9674
|
-
export { API_SERVICE, APP_BASE_URL, AUTH_SERVICE, AclService, AjaxRequestHandler, ApiService, ArrayUtils, AsyncMethodBase, AsyncMethodDirective, AsyncMethodTargetDirective, AuthGuard, BASE_CONFIG, BUTTON_TYPE, BackgroundDirective, BaseDialogService, BaseHttpClient, BaseHttpService, BaseToasterService, BtnComponent, BtnDefaultComponent, CONFIG_SERVICE, CacheService, CanvasColor, CanvasUtils, ChipsComponent, ChunkPipe, Circle, CloseBtnComponent, ComponentLoaderDirective, ComponentLoaderService, ConfigService, DIALOG_SERVICE, DateUtils, DragDropEventPlugin, DropListComponent, DropdownBoxComponent, DropdownContentDirective, DropdownDirective, DropdownToggleDirective, DynamicTableComponent, DynamicTableTemplateDirective, EPSILON, ERROR_HANDLER, EXPRESS_REQUEST, EntriesPipe, ErrorHandlerService, EventsService, ExclusionsRenderer, ExtraItemPropertiesPipe, FactoryDependencies, FakeModuleComponent, FileSystemEntry, FileUtils, FilterPipe, FindPipe, ForbiddenZone, FormatNumberPipe, FormatterService, GenericValue, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplateDirective, GlobalTemplatePipe, GlobalTemplateService, GroupByPipe, ICON_MAP, ICON_SERVICE, ICON_TYPE, IConfiguration, IconComponent, IconDefaultComponent, IconDirective, IconService, IncludesPipe, Initializer, InteractiveCanvasComponent, InteractiveCircleComponent, InteractiveItemComponent, InteractiveRectComponent, IsTypePipe, JoinPipe, KeysPipe, LANGUAGE_SERVICE, LanguageService, LoaderUtils, LocalHttpService, MapPipe, MathUtils, MaxPipe, MinPipe, NgxTemplateOutletDirective, NgxUtilsModule, OPTIONS_TOKEN, ObjectType, ObjectUtils, ObservableUtils, OpenApiService, Oval, PROMISE_SERVICE, PaginationDirective, PaginationItemContext, PaginationItemDirective, PaginationMenuComponent, Point, PopPipe, PromiseService, RESIZE_DELAY, RESIZE_STRATEGY, ROOT_ELEMENT, Rect, ReducePipe, ReflectUtils, RemapPipe, ReplacePipe, RequestBag, ResizeEventPlugin, ResourceIfContext, ResourceIfDirective, ReversePipe, RoundPipe, RulerCanvasRenderer, SCHEMA_SELECTOR, SCRIPT_PARAMS, STATIC_SCHEMAS, SafeHtmlPipe, ScrollEventPlugin, SetUtils, ShapeGroup, ShiftPipe, SocketClient, SocketService, SplitPipe, StateService, StaticAuthService, StaticLanguageService, StickyClassDirective, StickyDirective, StorageMode, StorageService, StringUtils, SyncAsyncPipe, TOASTER_SERVICE, TabsComponent, TabsItemDirective, TabsTemplateDirective, TimerUtils, TranslatePipe, TranslatedUrlSerializer, UniqueUtils, UniversalService, UnorderedListComponent, UnorderedListItemDirective, UnorderedListTemplateDirective, UploadComponent, ValuedPromise, ValuesPipe, WysiwygComponent, addPts, cachedFactory, cancelablePromise, checkTransitions, clamp, computedPrevious, createTypedProvider, cssStyles, cssVariables, distance, distanceSq, dividePts, dotProduct, ensurePoint, getComponentDef, getCssVariables, getRoot, gjkDistance, gjkIntersection, impatientPromise, injectOptions, isBrowser, isPoint, lengthOfPt, lerpPts, md5, multiplyPts, negatePt, normalizePt, normalizeRange, overflow, parseSelector, perpendicular, provideEntryComponents, provideOptions, provideWithOptions, rotateDeg, rotateRad, selectorMatchesList, stringify, subPts, svgToDataUri, switchClass, toDegrees, toRadians, tripleProduct };
|
|
9714
|
+
export { API_SERVICE, APP_BASE_URL, AUTH_SERVICE, AclService, AjaxRequestHandler, ApiService, ArrayUtils, AsyncMethodBase, AsyncMethodDirective, AsyncMethodTargetDirective, AuthGuard, BASE_CONFIG, BUTTON_TYPE, BackgroundDirective, BaseDialogService, BaseHttpClient, BaseHttpService, BaseToasterService, BtnComponent, BtnDefaultComponent, CONFIG_SERVICE, CacheService, CanvasColor, CanvasUtils, ChipsComponent, ChunkPipe, Circle, CloseBtnComponent, ComponentLoaderDirective, ComponentLoaderService, ConfigService, DIALOG_SERVICE, DateUtils, DragDropEventPlugin, DropListComponent, DropdownBoxComponent, DropdownContentDirective, DropdownDirective, DropdownToggleDirective, DynamicTableComponent, DynamicTableTemplateDirective, EPSILON, ERROR_HANDLER, EXPRESS_REQUEST, EntriesPipe, ErrorHandlerService, EventsService, ExclusionsRenderer, ExtraItemPropertiesPipe, FactoryDependencies, FakeModuleComponent, FileSystemEntry, FileUtils, FilterPipe, FindPipe, ForbiddenZone, FormatNumberPipe, FormatterService, GenericValue, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplateDirective, GlobalTemplatePipe, GlobalTemplateService, GroupByPipe, ICON_MAP, ICON_SERVICE, ICON_TYPE, IConfiguration, IconComponent, IconDefaultComponent, IconDirective, IconService, IncludesPipe, Initializer, InteractiveCanvasComponent, InteractiveCircleComponent, InteractiveItemComponent, InteractiveRectComponent, IsTypePipe, JoinPipe, KeysPipe, LANGUAGE_SERVICE, LanguageService, LoaderUtils, LocalHttpService, MapPipe, MathUtils, MaxPipe, MinPipe, NgxTemplateOutletDirective, NgxUtilsModule, OPTIONS_TOKEN, ObjectType, ObjectUtils, ObservableUtils, OpenApiService, Oval, PROMISE_SERVICE, PaginationDirective, PaginationItemContext, PaginationItemDirective, PaginationMenuComponent, Point, PopPipe, PromiseService, RESIZE_DELAY, RESIZE_STRATEGY, ROOT_ELEMENT, Rect, ReducePipe, ReflectUtils, RemapPipe, ReplacePipe, RequestBag, ResizeEventPlugin, ResourceIfContext, ResourceIfDirective, ReversePipe, RoundPipe, RulerCanvasRenderer, SCHEMA_SELECTOR, SCRIPT_PARAMS, STATIC_SCHEMAS, SafeHtmlPipe, ScrollEventPlugin, SetUtils, ShapeGroup, ShiftPipe, SocketClient, SocketService, SplitPipe, StateService, StaticAuthService, StaticLanguageService, StickyClassDirective, StickyDirective, StorageMode, StorageService, StringUtils, SyncAsyncPipe, TOASTER_SERVICE, TabsComponent, TabsItemDirective, TabsTemplateDirective, TimerUtils, TranslatePipe, TranslatedUrlSerializer, UniqueUtils, UniversalService, UnorderedListComponent, UnorderedListItemDirective, UnorderedListTemplateDirective, UploadComponent, ValuedPromise, ValuesPipe, WysiwygComponent, addPts, cachedFactory, cancelablePromise, checkTransitions, clamp, computedPrevious, createTypedProvider, cssStyles, cssVariables, distance, distanceSq, dividePts, dotProduct, ensurePoint, eqPts, getComponentDef, getCssVariables, getRoot, gjkDistance, gjkIntersection, impatientPromise, injectOptions, isBrowser, isEqual, isPoint, isZero, lengthOfPt, lerpPts, md5, multiplyPts, negatePt, normalizePt, normalizeRange, overflow, parseSelector, perpendicular, provideEntryComponents, provideOptions, provideWithOptions, rotateDeg, rotateRad, selectorMatchesList, stringify, subPts, svgToDataUri, switchClass, toDegrees, toRadians, tripleProduct };
|
|
9675
9715
|
//# sourceMappingURL=stemy-ngx-utils.mjs.map
|