@rangertechnologies/ngnxt 2.1.104 → 2.1.106
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/package.json +5 -1
- package/esm2022/lib/ar.i18n.mjs +0 -29
- package/esm2022/lib/components/button/nxt-button.component.mjs +0 -130
- package/esm2022/lib/components/custom-button/custom-button.component.mjs +0 -39
- package/esm2022/lib/components/custom-calendar/custom-calendar.component.mjs +0 -366
- package/esm2022/lib/components/custom-date/custom-date.component.mjs +0 -47
- package/esm2022/lib/components/custom-date-picker/custom-date-picker.component.mjs +0 -48
- package/esm2022/lib/components/custom-dropdown/custom-dropdown.component.mjs +0 -219
- package/esm2022/lib/components/custom-image/custom-image.component.mjs +0 -34
- package/esm2022/lib/components/custom-input/custom-input.component.mjs +0 -93
- package/esm2022/lib/components/custom-label/custom-label.component.mjs +0 -21
- package/esm2022/lib/components/custom-model/custom-model.component.mjs +0 -48
- package/esm2022/lib/components/custom-radio/custom-radio.component.mjs +0 -115
- package/esm2022/lib/components/custom-rich-text/custom-rich-text.component.mjs +0 -186
- package/esm2022/lib/components/custom-table/custom-table.component.mjs +0 -347
- package/esm2022/lib/components/custom-text-area/custom-text-area.component.mjs +0 -65
- package/esm2022/lib/components/custom-time/custom-time.component.mjs +0 -61
- package/esm2022/lib/components/datatable/datatable.component.mjs +0 -801
- package/esm2022/lib/components/dependent-table/dependent-table.component.mjs +0 -42
- package/esm2022/lib/components/dropdown-with-flag/dropdown-with-flag.component.mjs +0 -39
- package/esm2022/lib/components/file-upload/file-upload.component.mjs +0 -279
- package/esm2022/lib/components/file-view/file-view.component.mjs +0 -46
- package/esm2022/lib/components/loader/loader.component.mjs +0 -23
- package/esm2022/lib/components/pagination/pagination.component.mjs +0 -100
- package/esm2022/lib/components/pick-location/pick-location.component.mjs +0 -216
- package/esm2022/lib/components/search-box/search-box.component.mjs +0 -202
- package/esm2022/lib/components/table-appendix/table-appendix.component.mjs +0 -123
- package/esm2022/lib/directives/componenthost/componenthost.directive.mjs +0 -19
- package/esm2022/lib/en.i18n.mjs +0 -29
- package/esm2022/lib/i18n-config.service.mjs +0 -4
- package/esm2022/lib/i18n.component.mjs +0 -47
- package/esm2022/lib/i18n.module.mjs +0 -38
- package/esm2022/lib/i18n.pipe.mjs +0 -25
- package/esm2022/lib/i18n.service.mjs +0 -56
- package/esm2022/lib/interfaces/actionMeta.mjs +0 -2
- package/esm2022/lib/interfaces/apimeta.mjs +0 -2
- package/esm2022/lib/interfaces/dependencyMeta.mjs +0 -2
- package/esm2022/lib/model/bookletWrapper.mjs +0 -9
- package/esm2022/lib/model/changeWrapper.mjs +0 -11
- package/esm2022/lib/model/errorWrapper.mjs +0 -6
- package/esm2022/lib/model/tableWrapper.mjs +0 -20
- package/esm2022/lib/nxt-app.component.mjs +0 -22
- package/esm2022/lib/nxt-app.module.mjs +0 -399
- package/esm2022/lib/nxt-app.service.mjs +0 -14
- package/esm2022/lib/pages/booklet/booklet.component.mjs +0 -541
- package/esm2022/lib/pages/builder/element/element.component.mjs +0 -174
- package/esm2022/lib/pages/builder/form/form.component.mjs +0 -34
- package/esm2022/lib/pages/builder/menu/menu.component.mjs +0 -28
- package/esm2022/lib/pages/builder/properties/properties.component.mjs +0 -462
- package/esm2022/lib/pages/questionbook/questionbook.component.mjs +0 -458
- package/esm2022/lib/pages/questionnaire/questionnaire.component.mjs +0 -2387
- package/esm2022/lib/pages/summary-page/summary-page.component.mjs +0 -76
- package/esm2022/lib/pipe/date/date.pipe.mjs +0 -28
- package/esm2022/lib/pipe/editColumnCheck/edit-column-check.pipe.mjs +0 -28
- package/esm2022/lib/pipe/editColumnDropdown/edit-column-dropdown.pipe.mjs +0 -20
- package/esm2022/lib/pipe/editColumnType/edit-column-type.pipe.mjs +0 -20
- package/esm2022/lib/pipe/get-value.pipe.mjs +0 -50
- package/esm2022/lib/pipe/search-filter/search-filter.pipe.mjs +0 -39
- package/esm2022/lib/pipe/time/time.pipe.mjs +0 -26
- package/esm2022/lib/sample.mjs +0 -3715
- package/esm2022/lib/services/change.service.mjs +0 -53
- package/esm2022/lib/services/data.service.mjs +0 -80
- package/esm2022/lib/services/form-builder.service.mjs +0 -160
- package/esm2022/lib/services/salesforce.service.mjs +0 -46
- package/esm2022/lib/services/shared.service.mjs +0 -100
- package/esm2022/lib/services/storage.service.mjs +0 -44
- package/esm2022/lib/tam.i18n.mjs +0 -29
- package/esm2022/lib/wrapper.mjs +0 -175
- package/esm2022/public-api.mjs +0 -22
- package/esm2022/rangertechnologies-ngnxt.mjs +0 -5
- package/fesm2022/rangertechnologies-ngnxt.mjs +0 -12833
- package/fesm2022/rangertechnologies-ngnxt.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/ar.i18n.d.ts +0 -24
- package/lib/components/button/nxt-button.component.d.ts +0 -38
- package/lib/components/custom-button/custom-button.component.d.ts +0 -16
- package/lib/components/custom-calendar/custom-calendar.component.d.ts +0 -65
- package/lib/components/custom-date/custom-date.component.d.ts +0 -18
- package/lib/components/custom-date-picker/custom-date-picker.component.d.ts +0 -19
- package/lib/components/custom-dropdown/custom-dropdown.component.d.ts +0 -39
- package/lib/components/custom-image/custom-image.component.d.ts +0 -13
- package/lib/components/custom-input/custom-input.component.d.ts +0 -31
- package/lib/components/custom-label/custom-label.component.d.ts +0 -10
- package/lib/components/custom-model/custom-model.component.d.ts +0 -19
- package/lib/components/custom-radio/custom-radio.component.d.ts +0 -33
- package/lib/components/custom-rich-text/custom-rich-text.component.d.ts +0 -29
- package/lib/components/custom-table/custom-table.component.d.ts +0 -65
- package/lib/components/custom-text-area/custom-text-area.component.d.ts +0 -22
- package/lib/components/custom-time/custom-time.component.d.ts +0 -18
- package/lib/components/datatable/datatable.component.d.ts +0 -126
- package/lib/components/dependent-table/dependent-table.component.d.ts +0 -15
- package/lib/components/dropdown-with-flag/dropdown-with-flag.component.d.ts +0 -16
- package/lib/components/file-upload/file-upload.component.d.ts +0 -47
- package/lib/components/file-view/file-view.component.d.ts +0 -16
- package/lib/components/loader/loader.component.d.ts +0 -11
- package/lib/components/pagination/pagination.component.d.ts +0 -36
- package/lib/components/pick-location/pick-location.component.d.ts +0 -44
- package/lib/components/search-box/search-box.component.d.ts +0 -43
- package/lib/components/table-appendix/table-appendix.component.d.ts +0 -30
- package/lib/directives/componenthost/componenthost.directive.d.ts +0 -8
- package/lib/en.i18n.d.ts +0 -24
- package/lib/i18n-config.service.d.ts +0 -2
- package/lib/i18n.component.d.ts +0 -11
- package/lib/i18n.module.d.ts +0 -9
- package/lib/i18n.pipe.d.ts +0 -10
- package/lib/i18n.service.d.ts +0 -14
- package/lib/interfaces/actionMeta.d.ts +0 -5
- package/lib/interfaces/apimeta.d.ts +0 -15
- package/lib/interfaces/dependencyMeta.d.ts +0 -8
- package/lib/model/bookletWrapper.d.ts +0 -5
- package/lib/model/changeWrapper.d.ts +0 -10
- package/lib/model/errorWrapper.d.ts +0 -5
- package/lib/model/tableWrapper.d.ts +0 -18
- package/lib/nxt-app.component.d.ts +0 -8
- package/lib/nxt-app.module.d.ts +0 -52
- package/lib/nxt-app.service.d.ts +0 -6
- package/lib/pages/booklet/booklet.component.d.ts +0 -68
- package/lib/pages/builder/element/element.component.d.ts +0 -25
- package/lib/pages/builder/form/form.component.d.ts +0 -11
- package/lib/pages/builder/menu/menu.component.d.ts +0 -10
- package/lib/pages/builder/properties/properties.component.d.ts +0 -527
- package/lib/pages/questionbook/questionbook.component.d.ts +0 -68
- package/lib/pages/questionnaire/questionnaire.component.d.ts +0 -220
- package/lib/pages/summary-page/summary-page.component.d.ts +0 -20
- package/lib/pipe/date/date.pipe.d.ts +0 -7
- package/lib/pipe/editColumnCheck/edit-column-check.pipe.d.ts +0 -7
- package/lib/pipe/editColumnDropdown/edit-column-dropdown.pipe.d.ts +0 -7
- package/lib/pipe/editColumnType/edit-column-type.pipe.d.ts +0 -7
- package/lib/pipe/get-value.pipe.d.ts +0 -7
- package/lib/pipe/search-filter/search-filter.pipe.d.ts +0 -8
- package/lib/pipe/time/time.pipe.d.ts +0 -7
- package/lib/sample.d.ts +0 -11
- package/lib/services/change.service.d.ts +0 -22
- package/lib/services/data.service.d.ts +0 -13
- package/lib/services/form-builder.service.d.ts +0 -75
- package/lib/services/salesforce.service.d.ts +0 -11
- package/lib/services/shared.service.d.ts +0 -15
- package/lib/services/storage.service.d.ts +0 -13
- package/lib/tam.i18n.d.ts +0 -24
- package/lib/wrapper.d.ts +0 -203
- package/public-api.d.ts +0 -15
- package/rangertechnologies-ngnxt-2.1.104.tgz +0 -0
- package/src/lib/style.css +0 -1817
|
@@ -1,527 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
3
|
-
import { FormBuilderService } from '../../../services/form-builder.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class PropertiesComponent implements OnInit {
|
|
6
|
-
private http;
|
|
7
|
-
private formBuilderService;
|
|
8
|
-
formButtonHandler: EventEmitter<any>;
|
|
9
|
-
selectedOption: string;
|
|
10
|
-
selectedElementIndex: number;
|
|
11
|
-
selectedElementType: string;
|
|
12
|
-
selectedAlign: string;
|
|
13
|
-
selectedStyles: string[];
|
|
14
|
-
errorMessage: string;
|
|
15
|
-
selectedElement: any;
|
|
16
|
-
onToggleChange(key: string, event: Event): void;
|
|
17
|
-
updateProperties(elementType: string): void;
|
|
18
|
-
onAlignSelect(value: string): void;
|
|
19
|
-
onStyleSelect(value: string): void;
|
|
20
|
-
isStyleActive(value: string): boolean;
|
|
21
|
-
elementProperties: {
|
|
22
|
-
Text: {
|
|
23
|
-
elementProps: ({
|
|
24
|
-
label: string;
|
|
25
|
-
placeholder: string;
|
|
26
|
-
type: string;
|
|
27
|
-
key: string;
|
|
28
|
-
options?: undefined;
|
|
29
|
-
} | {
|
|
30
|
-
label: string;
|
|
31
|
-
type: string;
|
|
32
|
-
key: string;
|
|
33
|
-
placeholder?: undefined;
|
|
34
|
-
options?: undefined;
|
|
35
|
-
} | {
|
|
36
|
-
label: string;
|
|
37
|
-
type: string;
|
|
38
|
-
key: string;
|
|
39
|
-
options: string[];
|
|
40
|
-
placeholder?: undefined;
|
|
41
|
-
} | {
|
|
42
|
-
label: string;
|
|
43
|
-
type: string;
|
|
44
|
-
key: string;
|
|
45
|
-
options: {
|
|
46
|
-
value: string;
|
|
47
|
-
label: string;
|
|
48
|
-
}[];
|
|
49
|
-
placeholder?: undefined;
|
|
50
|
-
})[];
|
|
51
|
-
fieldProps: ({
|
|
52
|
-
label: string;
|
|
53
|
-
type: string;
|
|
54
|
-
key: string;
|
|
55
|
-
placeholder?: undefined;
|
|
56
|
-
} | {
|
|
57
|
-
label: string;
|
|
58
|
-
placeholder: string;
|
|
59
|
-
type: string;
|
|
60
|
-
key: string;
|
|
61
|
-
})[];
|
|
62
|
-
};
|
|
63
|
-
CheckBox: {
|
|
64
|
-
elementProps: ({
|
|
65
|
-
label: string;
|
|
66
|
-
placeholder: string;
|
|
67
|
-
type: string;
|
|
68
|
-
key: string;
|
|
69
|
-
} | {
|
|
70
|
-
label: string;
|
|
71
|
-
type: string;
|
|
72
|
-
key: string;
|
|
73
|
-
placeholder?: undefined;
|
|
74
|
-
})[];
|
|
75
|
-
fieldProps: ({
|
|
76
|
-
label: string;
|
|
77
|
-
type: string;
|
|
78
|
-
placeholder?: undefined;
|
|
79
|
-
key?: undefined;
|
|
80
|
-
addOptionLabel?: undefined;
|
|
81
|
-
icon?: undefined;
|
|
82
|
-
} | {
|
|
83
|
-
label: string;
|
|
84
|
-
placeholder: string;
|
|
85
|
-
type: string;
|
|
86
|
-
key?: undefined;
|
|
87
|
-
addOptionLabel?: undefined;
|
|
88
|
-
icon?: undefined;
|
|
89
|
-
} | {
|
|
90
|
-
label: string;
|
|
91
|
-
type: string;
|
|
92
|
-
key: string;
|
|
93
|
-
addOptionLabel: string;
|
|
94
|
-
icon: string;
|
|
95
|
-
placeholder?: undefined;
|
|
96
|
-
} | {
|
|
97
|
-
label: string;
|
|
98
|
-
placeholder: string;
|
|
99
|
-
type: string;
|
|
100
|
-
key: string;
|
|
101
|
-
addOptionLabel?: undefined;
|
|
102
|
-
icon?: undefined;
|
|
103
|
-
})[];
|
|
104
|
-
};
|
|
105
|
-
Calendar: {
|
|
106
|
-
elementProps: ({
|
|
107
|
-
label: string;
|
|
108
|
-
placeholder: string;
|
|
109
|
-
type: string;
|
|
110
|
-
key: string;
|
|
111
|
-
} | {
|
|
112
|
-
label: string;
|
|
113
|
-
type: string;
|
|
114
|
-
key: string;
|
|
115
|
-
placeholder?: undefined;
|
|
116
|
-
})[];
|
|
117
|
-
fieldProps: ({
|
|
118
|
-
label: string;
|
|
119
|
-
type: string;
|
|
120
|
-
placeholder?: undefined;
|
|
121
|
-
key?: undefined;
|
|
122
|
-
} | {
|
|
123
|
-
label: string;
|
|
124
|
-
placeholder: string;
|
|
125
|
-
type: string;
|
|
126
|
-
key?: undefined;
|
|
127
|
-
} | {
|
|
128
|
-
label: string;
|
|
129
|
-
placeholder: string;
|
|
130
|
-
type: string;
|
|
131
|
-
key: string;
|
|
132
|
-
})[];
|
|
133
|
-
};
|
|
134
|
-
Time: {
|
|
135
|
-
elementProps: ({
|
|
136
|
-
label: string;
|
|
137
|
-
placeholder: string;
|
|
138
|
-
type: string;
|
|
139
|
-
key: string;
|
|
140
|
-
} | {
|
|
141
|
-
label: string;
|
|
142
|
-
type: string;
|
|
143
|
-
key: string;
|
|
144
|
-
placeholder?: undefined;
|
|
145
|
-
})[];
|
|
146
|
-
fieldProps: ({
|
|
147
|
-
label: string;
|
|
148
|
-
type: string;
|
|
149
|
-
placeholder?: undefined;
|
|
150
|
-
key?: undefined;
|
|
151
|
-
} | {
|
|
152
|
-
label: string;
|
|
153
|
-
placeholder: string;
|
|
154
|
-
type: string;
|
|
155
|
-
key?: undefined;
|
|
156
|
-
} | {
|
|
157
|
-
label: string;
|
|
158
|
-
placeholder: string;
|
|
159
|
-
type: string;
|
|
160
|
-
key: string;
|
|
161
|
-
})[];
|
|
162
|
-
};
|
|
163
|
-
Email: {
|
|
164
|
-
elementProps: ({
|
|
165
|
-
label: string;
|
|
166
|
-
placeholder: string;
|
|
167
|
-
type: string;
|
|
168
|
-
key: string;
|
|
169
|
-
} | {
|
|
170
|
-
label: string;
|
|
171
|
-
type: string;
|
|
172
|
-
key: string;
|
|
173
|
-
placeholder?: undefined;
|
|
174
|
-
})[];
|
|
175
|
-
fieldProps: ({
|
|
176
|
-
label: string;
|
|
177
|
-
type: string;
|
|
178
|
-
placeholder?: undefined;
|
|
179
|
-
key?: undefined;
|
|
180
|
-
} | {
|
|
181
|
-
label: string;
|
|
182
|
-
placeholder: string;
|
|
183
|
-
type: string;
|
|
184
|
-
key?: undefined;
|
|
185
|
-
} | {
|
|
186
|
-
label: string;
|
|
187
|
-
placeholder: string;
|
|
188
|
-
type: string;
|
|
189
|
-
key: string;
|
|
190
|
-
})[];
|
|
191
|
-
};
|
|
192
|
-
File: {
|
|
193
|
-
elementProps: ({
|
|
194
|
-
label: string;
|
|
195
|
-
placeholder: string;
|
|
196
|
-
type: string;
|
|
197
|
-
key: string;
|
|
198
|
-
options?: undefined;
|
|
199
|
-
} | {
|
|
200
|
-
label: string;
|
|
201
|
-
type: string;
|
|
202
|
-
key: string;
|
|
203
|
-
options: {
|
|
204
|
-
label: string;
|
|
205
|
-
value: string;
|
|
206
|
-
extensions: string[];
|
|
207
|
-
}[];
|
|
208
|
-
placeholder?: undefined;
|
|
209
|
-
} | {
|
|
210
|
-
label: string;
|
|
211
|
-
type: string;
|
|
212
|
-
key: string;
|
|
213
|
-
placeholder?: undefined;
|
|
214
|
-
options?: undefined;
|
|
215
|
-
})[];
|
|
216
|
-
fieldProps: ({
|
|
217
|
-
label: string;
|
|
218
|
-
type: string;
|
|
219
|
-
placeholder?: undefined;
|
|
220
|
-
key?: undefined;
|
|
221
|
-
} | {
|
|
222
|
-
label: string;
|
|
223
|
-
placeholder: string;
|
|
224
|
-
type: string;
|
|
225
|
-
key?: undefined;
|
|
226
|
-
} | {
|
|
227
|
-
label: string;
|
|
228
|
-
placeholder: string;
|
|
229
|
-
type: string;
|
|
230
|
-
key: string;
|
|
231
|
-
})[];
|
|
232
|
-
};
|
|
233
|
-
List: {
|
|
234
|
-
elementProps: ({
|
|
235
|
-
label: string;
|
|
236
|
-
placeholder: string;
|
|
237
|
-
type: string;
|
|
238
|
-
key: string;
|
|
239
|
-
} | {
|
|
240
|
-
label: string;
|
|
241
|
-
type: string;
|
|
242
|
-
key: string;
|
|
243
|
-
placeholder?: undefined;
|
|
244
|
-
})[];
|
|
245
|
-
fieldProps: ({
|
|
246
|
-
label: string;
|
|
247
|
-
type: string;
|
|
248
|
-
placeholder?: undefined;
|
|
249
|
-
key?: undefined;
|
|
250
|
-
} | {
|
|
251
|
-
label: string;
|
|
252
|
-
placeholder: string;
|
|
253
|
-
type: string;
|
|
254
|
-
key?: undefined;
|
|
255
|
-
} | {
|
|
256
|
-
label: string;
|
|
257
|
-
placeholder: string;
|
|
258
|
-
type: string;
|
|
259
|
-
key: string;
|
|
260
|
-
})[];
|
|
261
|
-
};
|
|
262
|
-
TextArea: {
|
|
263
|
-
elementProps: ({
|
|
264
|
-
label: string;
|
|
265
|
-
placeholder: string;
|
|
266
|
-
type: string;
|
|
267
|
-
key: string;
|
|
268
|
-
} | {
|
|
269
|
-
label: string;
|
|
270
|
-
type: string;
|
|
271
|
-
key: string;
|
|
272
|
-
placeholder?: undefined;
|
|
273
|
-
})[];
|
|
274
|
-
fieldProps: ({
|
|
275
|
-
label: string;
|
|
276
|
-
type: string;
|
|
277
|
-
key: string;
|
|
278
|
-
placeholder?: undefined;
|
|
279
|
-
} | {
|
|
280
|
-
label: string;
|
|
281
|
-
placeholder: string;
|
|
282
|
-
type: string;
|
|
283
|
-
key: string;
|
|
284
|
-
})[];
|
|
285
|
-
};
|
|
286
|
-
Number: {
|
|
287
|
-
elementProps: ({
|
|
288
|
-
label: string;
|
|
289
|
-
placeholder: string;
|
|
290
|
-
type: string;
|
|
291
|
-
key: string;
|
|
292
|
-
} | {
|
|
293
|
-
label: string;
|
|
294
|
-
type: string;
|
|
295
|
-
key: string;
|
|
296
|
-
placeholder?: undefined;
|
|
297
|
-
})[];
|
|
298
|
-
fieldProps: ({
|
|
299
|
-
label: string;
|
|
300
|
-
type: string;
|
|
301
|
-
placeholder?: undefined;
|
|
302
|
-
key?: undefined;
|
|
303
|
-
} | {
|
|
304
|
-
label: string;
|
|
305
|
-
placeholder: string;
|
|
306
|
-
type: string;
|
|
307
|
-
key?: undefined;
|
|
308
|
-
} | {
|
|
309
|
-
label: string;
|
|
310
|
-
placeholder: string;
|
|
311
|
-
type: string;
|
|
312
|
-
key: string;
|
|
313
|
-
})[];
|
|
314
|
-
};
|
|
315
|
-
Dropdown: {
|
|
316
|
-
elementProps: ({
|
|
317
|
-
label: string;
|
|
318
|
-
placeholder: string;
|
|
319
|
-
type: string;
|
|
320
|
-
key: string;
|
|
321
|
-
} | {
|
|
322
|
-
label: string;
|
|
323
|
-
type: string;
|
|
324
|
-
key: string;
|
|
325
|
-
placeholder?: undefined;
|
|
326
|
-
})[];
|
|
327
|
-
fieldProps: ({
|
|
328
|
-
label: string;
|
|
329
|
-
type: string;
|
|
330
|
-
placeholder?: undefined;
|
|
331
|
-
key?: undefined;
|
|
332
|
-
addOptionLabel?: undefined;
|
|
333
|
-
icon?: undefined;
|
|
334
|
-
} | {
|
|
335
|
-
label: string;
|
|
336
|
-
placeholder: string;
|
|
337
|
-
type: string;
|
|
338
|
-
key?: undefined;
|
|
339
|
-
addOptionLabel?: undefined;
|
|
340
|
-
icon?: undefined;
|
|
341
|
-
} | {
|
|
342
|
-
label: string;
|
|
343
|
-
type: string;
|
|
344
|
-
key: string;
|
|
345
|
-
addOptionLabel: string;
|
|
346
|
-
icon: string;
|
|
347
|
-
placeholder?: undefined;
|
|
348
|
-
} | {
|
|
349
|
-
label: string;
|
|
350
|
-
placeholder: string;
|
|
351
|
-
type: string;
|
|
352
|
-
key: string;
|
|
353
|
-
addOptionLabel?: undefined;
|
|
354
|
-
icon?: undefined;
|
|
355
|
-
})[];
|
|
356
|
-
};
|
|
357
|
-
Image: {
|
|
358
|
-
elementProps: ({
|
|
359
|
-
label: string;
|
|
360
|
-
placeholder: string;
|
|
361
|
-
type: string;
|
|
362
|
-
key: string;
|
|
363
|
-
} | {
|
|
364
|
-
label: string;
|
|
365
|
-
type: string;
|
|
366
|
-
key: string;
|
|
367
|
-
placeholder?: undefined;
|
|
368
|
-
})[];
|
|
369
|
-
fieldProps: ({
|
|
370
|
-
label: string;
|
|
371
|
-
type: string;
|
|
372
|
-
placeholder?: undefined;
|
|
373
|
-
key?: undefined;
|
|
374
|
-
} | {
|
|
375
|
-
label: string;
|
|
376
|
-
placeholder: string;
|
|
377
|
-
type: string;
|
|
378
|
-
key?: undefined;
|
|
379
|
-
} | {
|
|
380
|
-
label: string;
|
|
381
|
-
placeholder: string;
|
|
382
|
-
type: string;
|
|
383
|
-
key: string;
|
|
384
|
-
})[];
|
|
385
|
-
};
|
|
386
|
-
Radio: {
|
|
387
|
-
elementProps: ({
|
|
388
|
-
label: string;
|
|
389
|
-
placeholder: string;
|
|
390
|
-
type: string;
|
|
391
|
-
key: string;
|
|
392
|
-
} | {
|
|
393
|
-
label: string;
|
|
394
|
-
type: string;
|
|
395
|
-
key: string;
|
|
396
|
-
placeholder?: undefined;
|
|
397
|
-
})[];
|
|
398
|
-
fieldProps: ({
|
|
399
|
-
label: string;
|
|
400
|
-
type: string;
|
|
401
|
-
placeholder?: undefined;
|
|
402
|
-
key?: undefined;
|
|
403
|
-
addOptionLabel?: undefined;
|
|
404
|
-
icon?: undefined;
|
|
405
|
-
} | {
|
|
406
|
-
label: string;
|
|
407
|
-
placeholder: string;
|
|
408
|
-
type: string;
|
|
409
|
-
key?: undefined;
|
|
410
|
-
addOptionLabel?: undefined;
|
|
411
|
-
icon?: undefined;
|
|
412
|
-
} | {
|
|
413
|
-
label: string;
|
|
414
|
-
type: string;
|
|
415
|
-
key: string;
|
|
416
|
-
addOptionLabel: string;
|
|
417
|
-
icon: string;
|
|
418
|
-
placeholder?: undefined;
|
|
419
|
-
} | {
|
|
420
|
-
label: string;
|
|
421
|
-
placeholder: string;
|
|
422
|
-
type: string;
|
|
423
|
-
key: string;
|
|
424
|
-
addOptionLabel?: undefined;
|
|
425
|
-
icon?: undefined;
|
|
426
|
-
})[];
|
|
427
|
-
};
|
|
428
|
-
Label: {
|
|
429
|
-
elementProps: ({
|
|
430
|
-
label: string;
|
|
431
|
-
placeholder: string;
|
|
432
|
-
type: string;
|
|
433
|
-
key: string;
|
|
434
|
-
} | {
|
|
435
|
-
label: string;
|
|
436
|
-
type: string;
|
|
437
|
-
key: string;
|
|
438
|
-
placeholder?: undefined;
|
|
439
|
-
})[];
|
|
440
|
-
fieldProps: ({
|
|
441
|
-
label: string;
|
|
442
|
-
type: string;
|
|
443
|
-
placeholder?: undefined;
|
|
444
|
-
key?: undefined;
|
|
445
|
-
} | {
|
|
446
|
-
label: string;
|
|
447
|
-
placeholder: string;
|
|
448
|
-
type: string;
|
|
449
|
-
key?: undefined;
|
|
450
|
-
} | {
|
|
451
|
-
label: string;
|
|
452
|
-
placeholder: string;
|
|
453
|
-
type: string;
|
|
454
|
-
key: string;
|
|
455
|
-
})[];
|
|
456
|
-
};
|
|
457
|
-
Book: {
|
|
458
|
-
elementProps: ({
|
|
459
|
-
label: string;
|
|
460
|
-
placeholder: string;
|
|
461
|
-
type: string;
|
|
462
|
-
key: string;
|
|
463
|
-
} | {
|
|
464
|
-
label: string;
|
|
465
|
-
type: string;
|
|
466
|
-
key: string;
|
|
467
|
-
placeholder?: undefined;
|
|
468
|
-
})[];
|
|
469
|
-
fieldProps: ({
|
|
470
|
-
label: string;
|
|
471
|
-
type: string;
|
|
472
|
-
placeholder?: undefined;
|
|
473
|
-
key?: undefined;
|
|
474
|
-
} | {
|
|
475
|
-
label: string;
|
|
476
|
-
placeholder: string;
|
|
477
|
-
type: string;
|
|
478
|
-
key?: undefined;
|
|
479
|
-
} | {
|
|
480
|
-
label: string;
|
|
481
|
-
placeholder: string;
|
|
482
|
-
type: string;
|
|
483
|
-
key: string;
|
|
484
|
-
})[];
|
|
485
|
-
};
|
|
486
|
-
Button: {
|
|
487
|
-
elementProps: ({
|
|
488
|
-
label: string;
|
|
489
|
-
placeholder: string;
|
|
490
|
-
type: string;
|
|
491
|
-
key: string;
|
|
492
|
-
} | {
|
|
493
|
-
label: string;
|
|
494
|
-
type: string;
|
|
495
|
-
key: string;
|
|
496
|
-
placeholder?: undefined;
|
|
497
|
-
})[];
|
|
498
|
-
fieldProps: ({
|
|
499
|
-
label: string;
|
|
500
|
-
type: string;
|
|
501
|
-
placeholder?: undefined;
|
|
502
|
-
key?: undefined;
|
|
503
|
-
} | {
|
|
504
|
-
label: string;
|
|
505
|
-
placeholder: string;
|
|
506
|
-
type: string;
|
|
507
|
-
key?: undefined;
|
|
508
|
-
} | {
|
|
509
|
-
label: string;
|
|
510
|
-
placeholder: string;
|
|
511
|
-
type: string;
|
|
512
|
-
key: string;
|
|
513
|
-
})[];
|
|
514
|
-
};
|
|
515
|
-
};
|
|
516
|
-
constructor(http: HttpClient, formBuilderService: FormBuilderService);
|
|
517
|
-
ngOnInit(): void;
|
|
518
|
-
validateInput(value: string, type: string): boolean;
|
|
519
|
-
updateProperty(key: string, value: any): void;
|
|
520
|
-
onRequiredChange(value: boolean): void;
|
|
521
|
-
getProperties(): any;
|
|
522
|
-
addOption(options: any[]): void;
|
|
523
|
-
removeOption(options: any[], index: number): void;
|
|
524
|
-
handleButtonClick(): void;
|
|
525
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PropertiesComponent, never>;
|
|
526
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PropertiesComponent, "app-properties", never, { "selectedElementType": { "alias": "selectedElementType"; "required": false; }; }, { "formButtonHandler": "formButtonHandler"; }, never, never, false, never>;
|
|
527
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { Question, QuestionBook } from '../../wrapper';
|
|
3
|
-
import { SalesforceService } from "../../services/salesforce.service";
|
|
4
|
-
import { DataService } from '../../services/data.service';
|
|
5
|
-
import { ChangeService } from '../../services/change.service';
|
|
6
|
-
import { StorageService } from '../../services/storage.service';
|
|
7
|
-
import { I18nService } from '../../i18n.service';
|
|
8
|
-
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class QuestionbookComponent implements OnInit {
|
|
11
|
-
private sfService;
|
|
12
|
-
private dataService;
|
|
13
|
-
private changeService;
|
|
14
|
-
private storageService;
|
|
15
|
-
i18nService: I18nService;
|
|
16
|
-
private cdr;
|
|
17
|
-
private document;
|
|
18
|
-
qbItem: QuestionBook;
|
|
19
|
-
questionItem: Question;
|
|
20
|
-
translatedQuestions: any[];
|
|
21
|
-
questions: Question[];
|
|
22
|
-
errorFieldId: any;
|
|
23
|
-
labelValue: string;
|
|
24
|
-
token: string;
|
|
25
|
-
handleDropDown: EventEmitter<any>;
|
|
26
|
-
handleQuestion: EventEmitter<any>;
|
|
27
|
-
dropDownData: any;
|
|
28
|
-
subQuestions: Question[];
|
|
29
|
-
selectedFileData: any[];
|
|
30
|
-
loadComponent$: BehaviorSubject<boolean>;
|
|
31
|
-
qbRef: QuestionBook;
|
|
32
|
-
style: any;
|
|
33
|
-
langDirection: string;
|
|
34
|
-
bookStyle: any;
|
|
35
|
-
subscription: Subscription;
|
|
36
|
-
getFileRequirements(fieldsMeta: string): string;
|
|
37
|
-
hadleDropDownDependent: EventEmitter<any>;
|
|
38
|
-
handleCalendarDate: EventEmitter<any>;
|
|
39
|
-
handleCalendarEvent: EventEmitter<any>;
|
|
40
|
-
bookQuestionsMap: any;
|
|
41
|
-
constructor(sfService: SalesforceService, dataService: DataService, changeService: ChangeService, storageService: StorageService, i18nService: I18nService, cdr: ChangeDetectorRef, document: Document);
|
|
42
|
-
ngOnInit(): void;
|
|
43
|
-
processData(): void;
|
|
44
|
-
hideDependentElements(elementId: any): void;
|
|
45
|
-
clearSQError(quesId: any): void;
|
|
46
|
-
processTranslatedQuestions(): void;
|
|
47
|
-
setSubQuestions(records: any): void;
|
|
48
|
-
childEventCapture(event: any, ques?: any): void;
|
|
49
|
-
deleteFile(fileData: any): void;
|
|
50
|
-
getDropDown(event: any): void;
|
|
51
|
-
getCurrentCalendar(event: any): void;
|
|
52
|
-
getCalendarEvent(event: any): void;
|
|
53
|
-
removeCharacters(questionText: string): string;
|
|
54
|
-
isCalendarModalOpen: boolean;
|
|
55
|
-
calendarModalTitle: any;
|
|
56
|
-
calendarModalSize: any;
|
|
57
|
-
calendarSaveButtonValue: any;
|
|
58
|
-
referenceQuestions: any[];
|
|
59
|
-
qbRefrenceBook: any;
|
|
60
|
-
modalCalendarModalFooter: any;
|
|
61
|
-
handleTableSave(tableData: any, ques: any): void;
|
|
62
|
-
openCalendarModal(event: any): void;
|
|
63
|
-
onCalendarModalSave(): void;
|
|
64
|
-
handleQuestionEvent(event: any): void;
|
|
65
|
-
closeCalendarModal(event: any): void;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<QuestionbookComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<QuestionbookComponent, "lib-questionbook", never, { "qbItem": { "alias": "qbItem"; "required": false; }; "questionItem": { "alias": "questionItem"; "required": false; }; "translatedQuestions": { "alias": "translatedQuestions"; "required": false; }; "questions": { "alias": "questions"; "required": false; }; "errorFieldId": { "alias": "errorFieldId"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "dropDownData": { "alias": "dropDownData"; "required": false; }; }, { "handleDropDown": "handleDropDown"; "handleQuestion": "handleQuestion"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, false, never>;
|
|
68
|
-
}
|