@rangertechnologies/ngnxt 2.1.97 → 2.1.99
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/esm2022/lib/components/datatable/datatable.component.mjs +35 -39
- package/esm2022/lib/pages/builder/element/element.component.mjs +35 -28
- package/esm2022/lib/pages/builder/form/form.component.mjs +3 -3
- package/esm2022/lib/pages/builder/properties/properties.component.mjs +63 -76
- package/esm2022/lib/services/form-builder.service.mjs +20 -12
- package/fesm2022/rangertechnologies-ngnxt.mjs +150 -152
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +1 -1
- package/lib/components/datatable/datatable.component.d.ts +0 -4
- package/lib/pages/builder/element/element.component.d.ts +1 -10
- package/lib/pages/builder/properties/properties.component.d.ts +1 -36
- package/lib/services/form-builder.service.d.ts +8 -6
- package/package.json +1 -1
- package/rangertechnologies-ngnxt-2.1.99.tgz +0 -0
- package/src/lib/style.css +1 -18
- package/rangertechnologies-ngnxt-2.1.97.tgz +0 -0
|
@@ -77,8 +77,6 @@ export declare class NxtDatatable {
|
|
|
77
77
|
configPagination: boolean;
|
|
78
78
|
deleteData: any;
|
|
79
79
|
deleteModal: boolean;
|
|
80
|
-
actionColumnSize: number;
|
|
81
|
-
dropdownButtonSize: number;
|
|
82
80
|
dropdownActionButton: any;
|
|
83
81
|
currentOpenIndex: number | null;
|
|
84
82
|
clickListener: any;
|
|
@@ -119,8 +117,6 @@ export declare class NxtDatatable {
|
|
|
119
117
|
closefilter(): void;
|
|
120
118
|
isSelected(event: any): boolean;
|
|
121
119
|
checkedData(event: any): void;
|
|
122
|
-
incrementActionColumnSize(): string;
|
|
123
|
-
updatedDropdownArraySize(): string;
|
|
124
120
|
private addClickOutsideListener;
|
|
125
121
|
private removeClickListener;
|
|
126
122
|
toggleDropdown(index: number): void;
|
|
@@ -10,22 +10,13 @@ export declare class ElementComponent {
|
|
|
10
10
|
bookletId: any;
|
|
11
11
|
dropdownOpen: boolean;
|
|
12
12
|
field: any;
|
|
13
|
-
toggleDropdown(): void;
|
|
14
|
-
selectOption(option: string): void;
|
|
15
13
|
formElements: any[];
|
|
14
|
+
elements: any[];
|
|
16
15
|
constructor(formBuilderService: FormBuilderService);
|
|
17
16
|
ngOnInit(): void;
|
|
18
17
|
drop(event: CdkDragDrop<string[]>): void;
|
|
19
18
|
selectElement(index: number): void;
|
|
20
19
|
addElement(type: string): void;
|
|
21
|
-
addOption(options: Array<{
|
|
22
|
-
label: string;
|
|
23
|
-
value: string;
|
|
24
|
-
}>): void;
|
|
25
|
-
removeOption(options: Array<{
|
|
26
|
-
label: string;
|
|
27
|
-
value: string;
|
|
28
|
-
}>, index: number): void;
|
|
29
20
|
removeElement(field: any, index: number): void;
|
|
30
21
|
getFontStyles(field: any): any;
|
|
31
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElementComponent, never>;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import {
|
|
2
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
3
|
import { FormBuilderService } from '../../../services/form-builder.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class PropertiesComponent implements OnInit {
|
|
6
6
|
private http;
|
|
7
7
|
private formBuilderService;
|
|
8
|
-
colorWheel: ElementRef<HTMLCanvasElement>;
|
|
9
|
-
private ctx;
|
|
10
8
|
formButtonHandler: EventEmitter<any>;
|
|
11
9
|
selectedOption: string;
|
|
12
10
|
selectedElementIndex: number;
|
|
@@ -49,15 +47,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
49
47
|
label: string;
|
|
50
48
|
}[];
|
|
51
49
|
placeholder?: undefined;
|
|
52
|
-
} | {
|
|
53
|
-
label: string;
|
|
54
|
-
type: string;
|
|
55
|
-
key: string;
|
|
56
|
-
options: {
|
|
57
|
-
value: string;
|
|
58
|
-
icon: string;
|
|
59
|
-
}[];
|
|
60
|
-
placeholder?: undefined;
|
|
61
50
|
} | {
|
|
62
51
|
label: string;
|
|
63
52
|
type: string;
|
|
@@ -104,7 +93,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
104
93
|
type: string;
|
|
105
94
|
placeholder?: undefined;
|
|
106
95
|
key?: undefined;
|
|
107
|
-
options?: undefined;
|
|
108
96
|
addOptionLabel?: undefined;
|
|
109
97
|
icon?: undefined;
|
|
110
98
|
} | {
|
|
@@ -112,19 +100,12 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
112
100
|
placeholder: string;
|
|
113
101
|
type: string;
|
|
114
102
|
key?: undefined;
|
|
115
|
-
options?: undefined;
|
|
116
103
|
addOptionLabel?: undefined;
|
|
117
104
|
icon?: undefined;
|
|
118
105
|
} | {
|
|
119
106
|
label: string;
|
|
120
107
|
type: string;
|
|
121
108
|
key: string;
|
|
122
|
-
options: {
|
|
123
|
-
label: string;
|
|
124
|
-
value: string;
|
|
125
|
-
type: string;
|
|
126
|
-
key: string;
|
|
127
|
-
}[];
|
|
128
109
|
addOptionLabel: string;
|
|
129
110
|
icon: string;
|
|
130
111
|
placeholder?: undefined;
|
|
@@ -361,7 +342,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
361
342
|
type: string;
|
|
362
343
|
placeholder?: undefined;
|
|
363
344
|
key?: undefined;
|
|
364
|
-
options?: undefined;
|
|
365
345
|
addOptionLabel?: undefined;
|
|
366
346
|
icon?: undefined;
|
|
367
347
|
} | {
|
|
@@ -369,19 +349,12 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
369
349
|
placeholder: string;
|
|
370
350
|
type: string;
|
|
371
351
|
key?: undefined;
|
|
372
|
-
options?: undefined;
|
|
373
352
|
addOptionLabel?: undefined;
|
|
374
353
|
icon?: undefined;
|
|
375
354
|
} | {
|
|
376
355
|
label: string;
|
|
377
356
|
type: string;
|
|
378
357
|
key: string;
|
|
379
|
-
options: {
|
|
380
|
-
label: string;
|
|
381
|
-
value: string;
|
|
382
|
-
type: string;
|
|
383
|
-
key: string;
|
|
384
|
-
}[];
|
|
385
358
|
addOptionLabel: string;
|
|
386
359
|
icon: string;
|
|
387
360
|
placeholder?: undefined;
|
|
@@ -436,7 +409,6 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
436
409
|
type: string;
|
|
437
410
|
placeholder?: undefined;
|
|
438
411
|
key?: undefined;
|
|
439
|
-
options?: undefined;
|
|
440
412
|
addOptionLabel?: undefined;
|
|
441
413
|
icon?: undefined;
|
|
442
414
|
} | {
|
|
@@ -444,19 +416,12 @@ export declare class PropertiesComponent implements OnInit {
|
|
|
444
416
|
placeholder: string;
|
|
445
417
|
type: string;
|
|
446
418
|
key?: undefined;
|
|
447
|
-
options?: undefined;
|
|
448
419
|
addOptionLabel?: undefined;
|
|
449
420
|
icon?: undefined;
|
|
450
421
|
} | {
|
|
451
422
|
label: string;
|
|
452
423
|
type: string;
|
|
453
424
|
key: string;
|
|
454
|
-
options: {
|
|
455
|
-
label: string;
|
|
456
|
-
value: string;
|
|
457
|
-
type: string;
|
|
458
|
-
key: string;
|
|
459
|
-
}[];
|
|
460
425
|
addOptionLabel: string;
|
|
461
426
|
icon: string;
|
|
462
427
|
placeholder?: undefined;
|
|
@@ -41,10 +41,12 @@ interface FormElement {
|
|
|
41
41
|
groupName?: string;
|
|
42
42
|
x24Hours?: boolean;
|
|
43
43
|
options?: Array<{
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
value: string;
|
|
45
|
+
uniqueIdentifier: string;
|
|
46
|
+
questionId: string;
|
|
47
|
+
nextQuestion: any;
|
|
48
|
+
name: string;
|
|
49
|
+
id: string;
|
|
48
50
|
}>;
|
|
49
51
|
}
|
|
50
52
|
export declare class FormBuilderService {
|
|
@@ -53,10 +55,10 @@ export declare class FormBuilderService {
|
|
|
53
55
|
private selectedElementSubject;
|
|
54
56
|
private elementComponent;
|
|
55
57
|
book: any;
|
|
56
|
-
formElements$: import("rxjs").Observable<FormElement[]>;
|
|
57
|
-
selectedElement$: import("rxjs").Observable<number>;
|
|
58
58
|
unique_id: any;
|
|
59
59
|
tempElem: any[];
|
|
60
|
+
formElements$: import("rxjs").Observable<FormElement[]>;
|
|
61
|
+
selectedElement$: import("rxjs").Observable<number>;
|
|
60
62
|
constructor();
|
|
61
63
|
getElementComponent(): ElementComponent | null;
|
|
62
64
|
setElementComponent(component: ElementComponent): void;
|
package/package.json
CHANGED
|
Binary file
|
package/src/lib/style.css
CHANGED
|
@@ -1803,24 +1803,7 @@ select{
|
|
|
1803
1803
|
}
|
|
1804
1804
|
/* AP-29JAN25 -form,element,properties */
|
|
1805
1805
|
app-form-builder{
|
|
1806
|
-
display: flex;
|
|
1807
|
-
justify-content: space-between;
|
|
1806
|
+
display: flex;
|
|
1808
1807
|
width: 100%;
|
|
1809
1808
|
height: 100vh;
|
|
1810
|
-
}
|
|
1811
|
-
|
|
1812
|
-
app-element{
|
|
1813
|
-
flex: 0 0 70%;
|
|
1814
|
-
border: 1px solid red;
|
|
1815
|
-
}
|
|
1816
|
-
|
|
1817
|
-
app-properties{
|
|
1818
|
-
flex: 0 0 30%;
|
|
1819
|
-
border: 1px solid blue;
|
|
1820
|
-
}
|
|
1821
|
-
.content-space-between {
|
|
1822
|
-
justify-content: space-between;
|
|
1823
|
-
}
|
|
1824
|
-
.flex {
|
|
1825
|
-
display: flex;
|
|
1826
1809
|
}
|
|
Binary file
|