@stemy/ngx-utils 19.9.30 → 19.9.32
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 +194 -14
- package/fesm2022/stemy-ngx-utils.mjs.map +1 -1
- package/ngx-utils/common-types.d.ts +27 -1
- package/ngx-utils/components/code-editor/code-editor.component.d.ts +39 -0
- package/ngx-utils/ngx-utils.imports.d.ts +2 -1
- package/ngx-utils/ngx-utils.module.d.ts +20 -19
- package/ngx-utils/services/open-api.service.d.ts +2 -1
- package/ngx-utils/utils/object.utils.d.ts +6 -0
- package/package.json +1 -1
- package/public_api.d.ts +3 -2
|
@@ -80,6 +80,8 @@ class PaginationItemContext {
|
|
|
80
80
|
return this.parallelItem;
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
+
// --- Code editor ---
|
|
84
|
+
const EDITOR_TYPES = ["php", "json", "html", "css", "scss"];
|
|
83
85
|
// --- Resource if ---
|
|
84
86
|
class ResourceIfContext {
|
|
85
87
|
}
|
|
@@ -161,6 +163,27 @@ function defaultPredicate(value, key, target, source) {
|
|
|
161
163
|
function shouldCopyDefault(key, value) {
|
|
162
164
|
return true;
|
|
163
165
|
}
|
|
166
|
+
function getType(obj) {
|
|
167
|
+
const regex = new RegExp("\\s([a-zA-Z]+)");
|
|
168
|
+
const target = !obj ? null : obj.constructor;
|
|
169
|
+
const type = !target ? null : Reflect.getMetadata("objectType", target);
|
|
170
|
+
return (type || Object.prototype.toString.call(obj).match(regex)[1]).toLowerCase();
|
|
171
|
+
}
|
|
172
|
+
function isObject(value) {
|
|
173
|
+
return getType(value) === "object";
|
|
174
|
+
}
|
|
175
|
+
function isString(value) {
|
|
176
|
+
return typeof value === "string";
|
|
177
|
+
}
|
|
178
|
+
function isStringWithValue(value) {
|
|
179
|
+
return isString(value) && value.length > 0;
|
|
180
|
+
}
|
|
181
|
+
function isFunction(value) {
|
|
182
|
+
return typeof value === "function";
|
|
183
|
+
}
|
|
184
|
+
function toStringArray(value) {
|
|
185
|
+
return (Array.isArray(value) ? value : String(value || "").split(",")).filter(isStringWithValue);
|
|
186
|
+
}
|
|
164
187
|
const hasBlob = typeof Blob !== "undefined" && !!Blob;
|
|
165
188
|
const hasFile = typeof File !== "undefined" && !!File;
|
|
166
189
|
class ObjectUtils {
|
|
@@ -336,17 +359,14 @@ class ObjectUtils {
|
|
|
336
359
|
return ObjectUtils.copyRecursive(target, source, predicate || defaultPredicate, new Map());
|
|
337
360
|
}
|
|
338
361
|
static getType(obj) {
|
|
339
|
-
|
|
340
|
-
const target = !obj ? null : obj.constructor;
|
|
341
|
-
const type = !target ? null : Reflect.getMetadata("objectType", target);
|
|
342
|
-
return (type || Object.prototype.toString.call(obj).match(regex)[1]).toLowerCase();
|
|
362
|
+
return getType(obj);
|
|
343
363
|
}
|
|
344
364
|
static isPrimitive(value) {
|
|
345
365
|
const type = typeof value;
|
|
346
366
|
return value == null || (type !== "object" && type !== "function");
|
|
347
367
|
}
|
|
348
368
|
static isObject(value) {
|
|
349
|
-
return
|
|
369
|
+
return isObject(value);
|
|
350
370
|
}
|
|
351
371
|
static isDefined(value) {
|
|
352
372
|
return typeof value !== "undefined" && value !== null;
|
|
@@ -355,13 +375,13 @@ class ObjectUtils {
|
|
|
355
375
|
return typeof value == "undefined" || value == null;
|
|
356
376
|
}
|
|
357
377
|
static isString(value) {
|
|
358
|
-
return
|
|
378
|
+
return isString(value);
|
|
359
379
|
}
|
|
360
380
|
static isStringWithValue(value) {
|
|
361
|
-
return
|
|
381
|
+
return isStringWithValue(value);
|
|
362
382
|
}
|
|
363
383
|
static isFunction(value) {
|
|
364
|
-
return
|
|
384
|
+
return isFunction(value);
|
|
365
385
|
}
|
|
366
386
|
static isDate(value) {
|
|
367
387
|
return null !== value && !isNaN(value) && "undefined" !== typeof value.getDate;
|
|
@@ -3543,7 +3563,7 @@ class BaseHttpService {
|
|
|
3543
3563
|
return this.bag.requestParams;
|
|
3544
3564
|
}
|
|
3545
3565
|
get withCredentials() {
|
|
3546
|
-
return
|
|
3566
|
+
return false;
|
|
3547
3567
|
}
|
|
3548
3568
|
get universal() {
|
|
3549
3569
|
return this.storage.universal;
|
|
@@ -4849,13 +4869,31 @@ class OpenApiService {
|
|
|
4849
4869
|
}
|
|
4850
4870
|
extractSchemas(res) {
|
|
4851
4871
|
const schemas = Object.assign({}, res.components?.schemas || res.definitions || {});
|
|
4852
|
-
Object.
|
|
4872
|
+
Object.entries(schemas).forEach(([name, schema]) => {
|
|
4873
|
+
schema.name = name;
|
|
4853
4874
|
Object.keys(schema.properties || {}).forEach(p => {
|
|
4854
|
-
schema.properties[p]
|
|
4875
|
+
const prop = schema.properties[p];
|
|
4876
|
+
prop.id = p;
|
|
4877
|
+
prop.discriminatorFn = this.getDiscriminatorFn(prop);
|
|
4855
4878
|
});
|
|
4856
4879
|
});
|
|
4857
4880
|
return schemas;
|
|
4858
4881
|
}
|
|
4882
|
+
getDiscriminatorFn(discriminator) {
|
|
4883
|
+
const opts = discriminator?.discriminator;
|
|
4884
|
+
if (!isObject(opts))
|
|
4885
|
+
return null;
|
|
4886
|
+
const { propertyName, mapping } = opts;
|
|
4887
|
+
if (!isStringWithValue(propertyName) || !isObject(mapping))
|
|
4888
|
+
return null;
|
|
4889
|
+
const map = Object.fromEntries(Object.entries(mapping)
|
|
4890
|
+
.filter(entry => isStringWithValue(entry[1]))
|
|
4891
|
+
.map(entry => [entry[0], entry[1].split("/").pop()]));
|
|
4892
|
+
return (target) => {
|
|
4893
|
+
const value = !target ? null : target[propertyName];
|
|
4894
|
+
return map[value];
|
|
4895
|
+
};
|
|
4896
|
+
}
|
|
4859
4897
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: OpenApiService, deps: [{ token: API_SERVICE }, { token: SCHEMA_SELECTOR }, { token: STATIC_SCHEMAS }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4860
4898
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: OpenApiService }); }
|
|
4861
4899
|
}
|
|
@@ -7804,6 +7842,147 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
7804
7842
|
args: ["chipInput"]
|
|
7805
7843
|
}] } });
|
|
7806
7844
|
|
|
7845
|
+
class CodeEditorComponent {
|
|
7846
|
+
get root() {
|
|
7847
|
+
this.rootElem = this.rootElem || getRoot(this.element.nativeElement);
|
|
7848
|
+
return this.rootElem;
|
|
7849
|
+
}
|
|
7850
|
+
get rootNode() {
|
|
7851
|
+
return this.root;
|
|
7852
|
+
}
|
|
7853
|
+
constructor(cdr, element) {
|
|
7854
|
+
this.cdr = cdr;
|
|
7855
|
+
this.element = element;
|
|
7856
|
+
this.value = "";
|
|
7857
|
+
this.lang = "json";
|
|
7858
|
+
this.onChange = () => {
|
|
7859
|
+
};
|
|
7860
|
+
this.onTouched = () => {
|
|
7861
|
+
};
|
|
7862
|
+
this.extensions = {};
|
|
7863
|
+
}
|
|
7864
|
+
getLangExtension() {
|
|
7865
|
+
if (!this.extensions[this.lang]) {
|
|
7866
|
+
const lang = CM[`@codemirror/lang-${this.lang || "json"}`];
|
|
7867
|
+
const ext = lang[this.lang];
|
|
7868
|
+
this.extensions[this.lang] = ext();
|
|
7869
|
+
}
|
|
7870
|
+
return this.extensions[this.lang];
|
|
7871
|
+
}
|
|
7872
|
+
ngAfterViewInit() {
|
|
7873
|
+
Promise.all([
|
|
7874
|
+
LoaderUtils.loadScript("https://codemirror.net/codemirror.js", true),
|
|
7875
|
+
LoaderUtils.loadScript("https://cdn.jsdelivr.net/npm/jsonlint", true),
|
|
7876
|
+
]).then(() => {
|
|
7877
|
+
const { basicSetup } = CM["codemirror"];
|
|
7878
|
+
const { Compartment } = CM["@codemirror/state"];
|
|
7879
|
+
const { EditorView } = CM["@codemirror/view"];
|
|
7880
|
+
const { linter } = CM["@codemirror/lint"];
|
|
7881
|
+
const langExtension = this.getLangExtension();
|
|
7882
|
+
const jsonLinter = linter((view) => {
|
|
7883
|
+
const diagnostics = [];
|
|
7884
|
+
const value = view.state.doc.toString();
|
|
7885
|
+
if (!value.trim() || this.lang !== "json")
|
|
7886
|
+
return diagnostics;
|
|
7887
|
+
try {
|
|
7888
|
+
jsonlint.parse(value);
|
|
7889
|
+
}
|
|
7890
|
+
catch (error) {
|
|
7891
|
+
const lexer = jsonlint.lexer;
|
|
7892
|
+
const location = lexer.yylloc;
|
|
7893
|
+
const pos = Number(lexer.matched?.length ?? 0);
|
|
7894
|
+
diagnostics.push({
|
|
7895
|
+
from: pos - lexer.yyleng,
|
|
7896
|
+
to: pos,
|
|
7897
|
+
severity: "error",
|
|
7898
|
+
message: error.message || `Parse error at line ${location.first_line} column ${location.first_column}, unexpected: "${lexer.match}"`
|
|
7899
|
+
});
|
|
7900
|
+
}
|
|
7901
|
+
return diagnostics; // The editor reruns this automatically on user text updates
|
|
7902
|
+
});
|
|
7903
|
+
const changeHandler = EditorView.updateListener.of((update) => {
|
|
7904
|
+
// This fires on EVERY change (keystrokes, selection shifts, focus tweaks)
|
|
7905
|
+
if (update.docChanged) {
|
|
7906
|
+
// Grab the full string payload of the document
|
|
7907
|
+
const value = update.state.doc.toString();
|
|
7908
|
+
if (this.lang === "json") {
|
|
7909
|
+
try {
|
|
7910
|
+
this.value = JSON.parse(value);
|
|
7911
|
+
}
|
|
7912
|
+
catch (e) {
|
|
7913
|
+
return null;
|
|
7914
|
+
}
|
|
7915
|
+
}
|
|
7916
|
+
else {
|
|
7917
|
+
this.value = value;
|
|
7918
|
+
}
|
|
7919
|
+
this.onChange(this.value);
|
|
7920
|
+
this.onTouched(this.value);
|
|
7921
|
+
}
|
|
7922
|
+
});
|
|
7923
|
+
// Initialize editor on an HTMLElement
|
|
7924
|
+
const value = this.value || "";
|
|
7925
|
+
this.langCompartment = new Compartment();
|
|
7926
|
+
this.editor = new EditorView({
|
|
7927
|
+
doc: !isString(value) ? JSON.stringify(value, null, 4) : value,
|
|
7928
|
+
extensions: [
|
|
7929
|
+
basicSetup,
|
|
7930
|
+
this.langCompartment.of(langExtension),
|
|
7931
|
+
jsonLinter,
|
|
7932
|
+
changeHandler
|
|
7933
|
+
],
|
|
7934
|
+
parent: this.editorElem.nativeElement
|
|
7935
|
+
});
|
|
7936
|
+
});
|
|
7937
|
+
}
|
|
7938
|
+
ngOnChanges() {
|
|
7939
|
+
if (!this.editor)
|
|
7940
|
+
return;
|
|
7941
|
+
const value = this.value || "";
|
|
7942
|
+
this.lang = EDITOR_TYPES.includes(this.lang) ? this.lang : "json";
|
|
7943
|
+
this.editor.dispatch({
|
|
7944
|
+
effects: this.langCompartment.reconfigure(this.getLangExtension()),
|
|
7945
|
+
changes: {
|
|
7946
|
+
from: 0,
|
|
7947
|
+
to: this.editor.state.doc.length,
|
|
7948
|
+
insert: !isString(value) ? JSON.stringify(value, null, 4) : value
|
|
7949
|
+
}
|
|
7950
|
+
});
|
|
7951
|
+
}
|
|
7952
|
+
registerOnChange(fn) {
|
|
7953
|
+
this.onChange = fn;
|
|
7954
|
+
}
|
|
7955
|
+
registerOnTouched(fn) {
|
|
7956
|
+
this.onTouched = fn;
|
|
7957
|
+
}
|
|
7958
|
+
writeValue(value) {
|
|
7959
|
+
this.value = value;
|
|
7960
|
+
this.cdr.markForCheck();
|
|
7961
|
+
this.ngOnChanges();
|
|
7962
|
+
}
|
|
7963
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: CodeEditorComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7964
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.22", type: CodeEditorComponent, isStandalone: false, selector: "code-editor", inputs: { value: "value", lang: "lang", disabled: "disabled" }, outputs: { valueChange: "valueChange" }, providers: [
|
|
7965
|
+
{ provide: NG_VALUE_ACCESSOR, useExisting: CodeEditorComponent, multi: true }
|
|
7966
|
+
], viewQueries: [{ propertyName: "editorElem", first: true, predicate: ["editor"], descendants: true }], usesOnChanges: true, ngImport: i0, template: "<div class=\"code-editor\" [ngClass]=\"{disabled: disabled}\">\r\n <div #editor></div>\r\n</div>\r\n", styles: [".code-editor>div{margin:10px 0}.code-editor>div .cm-editor{outline:none}.code-editor>div .cm-scroller{min-height:150px;max-height:345px;background:#fefefe;border:1px solid #ddd}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], encapsulation: i0.ViewEncapsulation.None }); }
|
|
7967
|
+
}
|
|
7968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: CodeEditorComponent, decorators: [{
|
|
7969
|
+
type: Component,
|
|
7970
|
+
args: [{ standalone: false, selector: "code-editor", encapsulation: ViewEncapsulation.None, providers: [
|
|
7971
|
+
{ provide: NG_VALUE_ACCESSOR, useExisting: CodeEditorComponent, multi: true }
|
|
7972
|
+
], template: "<div class=\"code-editor\" [ngClass]=\"{disabled: disabled}\">\r\n <div #editor></div>\r\n</div>\r\n", styles: [".code-editor>div{margin:10px 0}.code-editor>div .cm-editor{outline:none}.code-editor>div .cm-scroller{min-height:150px;max-height:345px;background:#fefefe;border:1px solid #ddd}\n"] }]
|
|
7973
|
+
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }], propDecorators: { value: [{
|
|
7974
|
+
type: Input
|
|
7975
|
+
}], lang: [{
|
|
7976
|
+
type: Input
|
|
7977
|
+
}], disabled: [{
|
|
7978
|
+
type: Input
|
|
7979
|
+
}], valueChange: [{
|
|
7980
|
+
type: Output
|
|
7981
|
+
}], editorElem: [{
|
|
7982
|
+
type: ViewChild,
|
|
7983
|
+
args: ["editor"]
|
|
7984
|
+
}] } });
|
|
7985
|
+
|
|
7807
7986
|
class DropListComponent {
|
|
7808
7987
|
constructor(cdr) {
|
|
7809
7988
|
this.cdr = cdr;
|
|
@@ -9680,6 +9859,7 @@ const components = [
|
|
|
9680
9859
|
BtnDefaultComponent,
|
|
9681
9860
|
ChipsComponent,
|
|
9682
9861
|
CloseBtnComponent,
|
|
9862
|
+
CodeEditorComponent,
|
|
9683
9863
|
DropListComponent,
|
|
9684
9864
|
DropdownBoxComponent,
|
|
9685
9865
|
DynamicTableComponent,
|
|
@@ -9925,8 +10105,8 @@ class NgxUtilsModule {
|
|
|
9925
10105
|
};
|
|
9926
10106
|
}
|
|
9927
10107
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: NgxUtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
9928
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: NgxUtilsModule, declarations: [ChunkPipe, EntriesPipe, ExtraItemPropertiesPipe, FilterPipe, FindPipe, FormatNumberPipe, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplatePipe, GroupByPipe, IncludesPipe, IsTypePipe, JoinPipe, KeysPipe, MapPipe, MaxPipe, MinPipe, PopPipe, ReducePipe, RemapPipe, ReplacePipe, ReversePipe, RoundPipe, SafeHtmlPipe, ShiftPipe, SplitPipe, SyncAsyncPipe, TranslatePipe, ValuesPipe, AsyncMethodBase, AsyncMethodDirective, AsyncMethodTargetDirective, BackgroundDirective, ComponentLoaderDirective, DynamicTableTemplateDirective, GlobalTemplateDirective, IconDirective, NgxTemplateOutletDirective, PaginationDirective, PaginationItemDirective, ResourceIfDirective, StickyDirective, StickyClassDirective, DropdownDirective, DropdownContentDirective, DropdownToggleDirective, TabsItemDirective, TabsTemplateDirective, UnorderedListItemDirective, UnorderedListTemplateDirective, BtnComponent, BtnDefaultComponent, ChipsComponent, CloseBtnComponent, DropListComponent, DropdownBoxComponent, DynamicTableComponent, DynamicTableCellComponent, FakeModuleComponent, PaginationMenuComponent, IconComponent, IconDefaultComponent, InteractiveCanvasComponent, InteractiveItemComponent, InteractiveCircleComponent, InteractiveRectComponent, TabsComponent, UnorderedListComponent, UploadComponent, WysiwygComponent], imports: [CommonModule,
|
|
9929
|
-
FormsModule], exports: [ChunkPipe, EntriesPipe, ExtraItemPropertiesPipe, FilterPipe, FindPipe, FormatNumberPipe, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplatePipe, GroupByPipe, IncludesPipe, IsTypePipe, JoinPipe, KeysPipe, MapPipe, MaxPipe, MinPipe, PopPipe, ReducePipe, RemapPipe, ReplacePipe, ReversePipe, RoundPipe, SafeHtmlPipe, ShiftPipe, SplitPipe, SyncAsyncPipe, TranslatePipe, ValuesPipe, AsyncMethodBase, AsyncMethodDirective, AsyncMethodTargetDirective, BackgroundDirective, ComponentLoaderDirective, DynamicTableTemplateDirective, GlobalTemplateDirective, IconDirective, NgxTemplateOutletDirective, PaginationDirective, PaginationItemDirective, ResourceIfDirective, StickyDirective, StickyClassDirective, DropdownDirective, DropdownContentDirective, DropdownToggleDirective, TabsItemDirective, TabsTemplateDirective, UnorderedListItemDirective, UnorderedListTemplateDirective, BtnComponent, BtnDefaultComponent, ChipsComponent, CloseBtnComponent, DropListComponent, DropdownBoxComponent, DynamicTableComponent, DynamicTableCellComponent, FakeModuleComponent, PaginationMenuComponent, IconComponent, IconDefaultComponent, InteractiveCanvasComponent, InteractiveItemComponent, InteractiveCircleComponent, InteractiveRectComponent, TabsComponent, UnorderedListComponent, UploadComponent, WysiwygComponent, FormsModule] }); }
|
|
10108
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.22", ngImport: i0, type: NgxUtilsModule, declarations: [ChunkPipe, EntriesPipe, ExtraItemPropertiesPipe, FilterPipe, FindPipe, FormatNumberPipe, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplatePipe, GroupByPipe, IncludesPipe, IsTypePipe, JoinPipe, KeysPipe, MapPipe, MaxPipe, MinPipe, PopPipe, ReducePipe, RemapPipe, ReplacePipe, ReversePipe, RoundPipe, SafeHtmlPipe, ShiftPipe, SplitPipe, SyncAsyncPipe, TranslatePipe, ValuesPipe, AsyncMethodBase, AsyncMethodDirective, AsyncMethodTargetDirective, BackgroundDirective, ComponentLoaderDirective, DynamicTableTemplateDirective, GlobalTemplateDirective, IconDirective, NgxTemplateOutletDirective, PaginationDirective, PaginationItemDirective, ResourceIfDirective, StickyDirective, StickyClassDirective, DropdownDirective, DropdownContentDirective, DropdownToggleDirective, TabsItemDirective, TabsTemplateDirective, UnorderedListItemDirective, UnorderedListTemplateDirective, BtnComponent, BtnDefaultComponent, ChipsComponent, CloseBtnComponent, CodeEditorComponent, DropListComponent, DropdownBoxComponent, DynamicTableComponent, DynamicTableCellComponent, FakeModuleComponent, PaginationMenuComponent, IconComponent, IconDefaultComponent, InteractiveCanvasComponent, InteractiveItemComponent, InteractiveCircleComponent, InteractiveRectComponent, TabsComponent, UnorderedListComponent, UploadComponent, WysiwygComponent], imports: [CommonModule,
|
|
10109
|
+
FormsModule], exports: [ChunkPipe, EntriesPipe, ExtraItemPropertiesPipe, FilterPipe, FindPipe, FormatNumberPipe, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplatePipe, GroupByPipe, IncludesPipe, IsTypePipe, JoinPipe, KeysPipe, MapPipe, MaxPipe, MinPipe, PopPipe, ReducePipe, RemapPipe, ReplacePipe, ReversePipe, RoundPipe, SafeHtmlPipe, ShiftPipe, SplitPipe, SyncAsyncPipe, TranslatePipe, ValuesPipe, AsyncMethodBase, AsyncMethodDirective, AsyncMethodTargetDirective, BackgroundDirective, ComponentLoaderDirective, DynamicTableTemplateDirective, GlobalTemplateDirective, IconDirective, NgxTemplateOutletDirective, PaginationDirective, PaginationItemDirective, ResourceIfDirective, StickyDirective, StickyClassDirective, DropdownDirective, DropdownContentDirective, DropdownToggleDirective, TabsItemDirective, TabsTemplateDirective, UnorderedListItemDirective, UnorderedListTemplateDirective, BtnComponent, BtnDefaultComponent, ChipsComponent, CloseBtnComponent, CodeEditorComponent, DropListComponent, DropdownBoxComponent, DynamicTableComponent, DynamicTableCellComponent, FakeModuleComponent, PaginationMenuComponent, IconComponent, IconDefaultComponent, InteractiveCanvasComponent, InteractiveItemComponent, InteractiveCircleComponent, InteractiveRectComponent, TabsComponent, UnorderedListComponent, UploadComponent, WysiwygComponent, FormsModule] }); }
|
|
9930
10110
|
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.22", ngImport: i0, type: NgxUtilsModule, providers: pipes, imports: [CommonModule,
|
|
9931
10111
|
FormsModule, FormsModule] }); }
|
|
9932
10112
|
}
|
|
@@ -9956,5 +10136,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.22", ngImpo
|
|
|
9956
10136
|
* Generated bundle index. Do not edit.
|
|
9957
10137
|
*/
|
|
9958
10138
|
|
|
9959
|
-
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, DynamicTableCellComponent, DynamicTableComponent, DynamicTableTemplateDirective, EPSILON, ERROR_HANDLER, EXPRESS_REQUEST, EntriesPipe, Enum, ErrorHandlerService, EventsService, ExclusionsRenderer, ExtraItemPropertiesPipe, FactoryDependencies, FakeModuleComponent, FileSystemEntry, FileUtils, FilterPipe, FindPipe, ForbiddenZone, FormatNumberPipe, FormatterService, GenericValue, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplateDirective, GlobalTemplatePipe, GlobalTemplateService, GroupByPipe, HitZoneRenderer, HrefSerializer, 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, diffEntities, distance, distanceSq, dividePts, dotProduct, ensurePoint, eqPts, getComponentDef, getCssVariables, getRoot, impatientPromise, injectOptions, isBrowser, isEqual, isPoint, isZero, lengthOfPt, lengthSq$1 as lengthSq, lerpPts, md5, multiplyPts, negatePt, normalizePt, normalizeRange, overflow, parseSelector, perpendicular, promiseTimeout, provideEntryComponents, provideOptions, provideWithOptions, rotateDeg, rotateRad, scalePt, selectorMatchesList, stringify, subPts, svgToDataUri, switchClass, toDegrees, toRadians, tripleProduct };
|
|
10139
|
+
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, CodeEditorComponent, ComponentLoaderDirective, ComponentLoaderService, ConfigService, DIALOG_SERVICE, DateUtils, DragDropEventPlugin, DropListComponent, DropdownBoxComponent, DropdownContentDirective, DropdownDirective, DropdownToggleDirective, DynamicTableCellComponent, DynamicTableComponent, DynamicTableTemplateDirective, EDITOR_TYPES, EPSILON, ERROR_HANDLER, EXPRESS_REQUEST, EntriesPipe, Enum, ErrorHandlerService, EventsService, ExclusionsRenderer, ExtraItemPropertiesPipe, FactoryDependencies, FakeModuleComponent, FileSystemEntry, FileUtils, FilterPipe, FindPipe, ForbiddenZone, FormatNumberPipe, FormatterService, GenericValue, GetOffsetPipe, GetTypePipe, GetValuePipe, GlobalTemplateDirective, GlobalTemplatePipe, GlobalTemplateService, GroupByPipe, HitZoneRenderer, HrefSerializer, 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, diffEntities, distance, distanceSq, dividePts, dotProduct, ensurePoint, eqPts, getComponentDef, getCssVariables, getRoot, getType, impatientPromise, injectOptions, isBrowser, isEqual, isFunction, isObject, isPoint, isString, isStringWithValue, isZero, lengthOfPt, lengthSq$1 as lengthSq, lerpPts, md5, multiplyPts, negatePt, normalizePt, normalizeRange, overflow, parseSelector, perpendicular, promiseTimeout, provideEntryComponents, provideOptions, provideWithOptions, rotateDeg, rotateRad, scalePt, selectorMatchesList, stringify, subPts, svgToDataUri, switchClass, toDegrees, toRadians, toStringArray, tripleProduct };
|
|
9960
10140
|
//# sourceMappingURL=stemy-ngx-utils.mjs.map
|