@flusys/nestjs-form-builder 7.1.0 → 8.0.0
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/config/index.d.ts +3 -3
- package/controllers/form-result.controller.d.ts +3 -3
- package/controllers/form.controller.d.ts +3 -3
- package/controllers/index.d.ts +2 -2
- package/docs/form-builder-swagger.config.d.ts +2 -2
- package/docs/index.d.ts +1 -1
- package/dtos/form.dto.d.ts +1 -1
- package/dtos/index.d.ts +2 -2
- package/entities/form-with-company.entity.d.ts +1 -1
- package/entities/form.entity.d.ts +1 -1
- package/entities/index.d.ts +7 -7
- package/enums/index.d.ts +1 -1
- package/fesm/262.js +1841 -0
- package/fesm/98.js +807 -0
- package/fesm/config/index.js +98 -3
- package/fesm/controllers/index.js +14 -2
- package/fesm/docs/index.js +171 -1
- package/fesm/dtos/index.js +571 -2
- package/fesm/entities/index.js +342 -10
- package/fesm/enums/index.js +38 -1
- package/fesm/index.js +482 -10
- package/fesm/interfaces/index.js +17 -3
- package/fesm/modules/index.js +178 -1
- package/fesm/runtime.js +85 -0
- package/fesm/services/index.js +35 -4
- package/index.d.ts +10 -10
- package/interfaces/form-builder-module.interface.d.ts +3 -3
- package/interfaces/form-result.interface.d.ts +1 -1
- package/interfaces/form.interface.d.ts +2 -2
- package/interfaces/index.d.ts +3 -3
- package/modules/form-builder.module.d.ts +2 -2
- package/modules/index.d.ts +1 -1
- package/package.json +26 -36
- package/services/form-builder-config.service.d.ts +4 -4
- package/services/form-builder-datasource.provider.d.ts +3 -3
- package/services/form-result.service.d.ts +6 -6
- package/services/form.service.d.ts +7 -7
- package/services/index.d.ts +4 -4
- package/utils/index.d.ts +2 -2
- package/utils/permission.utils.d.ts +1 -1
- package/cjs/config/event-actions.js +0 -33
- package/cjs/config/form-builder.constants.js +0 -13
- package/cjs/config/index.js +0 -20
- package/cjs/config/message-keys.js +0 -38
- package/cjs/controllers/form-result.controller.js +0 -281
- package/cjs/controllers/form-result.controller.spec.js +0 -257
- package/cjs/controllers/form.controller.js +0 -231
- package/cjs/controllers/form.controller.spec.js +0 -212
- package/cjs/controllers/index.js +0 -19
- package/cjs/docs/form-builder-swagger.config.js +0 -150
- package/cjs/docs/form-builder-swagger.config.spec.js +0 -75
- package/cjs/docs/index.js +0 -11
- package/cjs/dtos/form-result.dto.js +0 -248
- package/cjs/dtos/form.dto.js +0 -270
- package/cjs/dtos/index.js +0 -19
- package/cjs/entities/form-result.entity.js +0 -100
- package/cjs/entities/form-with-company.entity.js +0 -65
- package/cjs/entities/form.entity.js +0 -127
- package/cjs/entities/index.js +0 -52
- package/cjs/entities/index.spec.js +0 -18
- package/cjs/enums/form-access-type.enum.js +0 -19
- package/cjs/enums/index.js +0 -18
- package/cjs/index.js +0 -28
- package/cjs/interfaces/form-builder-module.interface.js +0 -4
- package/cjs/interfaces/form-result.interface.js +0 -4
- package/cjs/interfaces/form.interface.js +0 -4
- package/cjs/interfaces/index.js +0 -20
- package/cjs/modules/form-builder.module.js +0 -136
- package/cjs/modules/form-builder.module.spec.js +0 -133
- package/cjs/modules/index.js +0 -18
- package/cjs/services/form-builder-config.service.js +0 -69
- package/cjs/services/form-builder-config.service.spec.js +0 -121
- package/cjs/services/form-builder-datasource.provider.js +0 -125
- package/cjs/services/form-builder-datasource.provider.spec.js +0 -147
- package/cjs/services/form-result.service.js +0 -366
- package/cjs/services/form-result.service.spec.js +0 -823
- package/cjs/services/form.service.js +0 -341
- package/cjs/services/form.service.spec.js +0 -746
- package/cjs/services/index.js +0 -21
- package/cjs/utils/computed-field.utils.js +0 -199
- package/cjs/utils/computed-field.utils.spec.js +0 -1205
- package/cjs/utils/index.js +0 -19
- package/cjs/utils/permission.utils.js +0 -44
- package/cjs/utils/permission.utils.spec.js +0 -118
- package/fesm/config/event-actions.js +0 -12
- package/fesm/config/form-builder.constants.js +0 -3
- package/fesm/config/message-keys.js +0 -20
- package/fesm/controllers/form-result.controller.js +0 -271
- package/fesm/controllers/form-result.controller.spec.js +0 -253
- package/fesm/controllers/form.controller.js +0 -221
- package/fesm/controllers/form.controller.spec.js +0 -208
- package/fesm/docs/form-builder-swagger.config.js +0 -146
- package/fesm/docs/form-builder-swagger.config.spec.js +0 -71
- package/fesm/dtos/form-result.dto.js +0 -215
- package/fesm/dtos/form.dto.js +0 -243
- package/fesm/entities/form-result.entity.js +0 -90
- package/fesm/entities/form-with-company.entity.js +0 -55
- package/fesm/entities/form.entity.js +0 -117
- package/fesm/entities/index.spec.js +0 -14
- package/fesm/enums/form-access-type.enum.js +0 -9
- package/fesm/interfaces/form-builder-module.interface.js +0 -3
- package/fesm/interfaces/form-result.interface.js +0 -6
- package/fesm/interfaces/form.interface.js +0 -3
- package/fesm/modules/form-builder.module.js +0 -126
- package/fesm/modules/form-builder.module.spec.js +0 -129
- package/fesm/services/form-builder-config.service.js +0 -59
- package/fesm/services/form-builder-config.service.spec.js +0 -117
- package/fesm/services/form-builder-datasource.provider.js +0 -74
- package/fesm/services/form-builder-datasource.provider.spec.js +0 -143
- package/fesm/services/form-result.service.js +0 -356
- package/fesm/services/form-result.service.spec.js +0 -778
- package/fesm/services/form.service.js +0 -331
- package/fesm/services/form.service.spec.js +0 -701
- package/fesm/utils/computed-field.utils.js +0 -195
- package/fesm/utils/computed-field.utils.spec.js +0 -1201
- package/fesm/utils/index.js +0 -2
- package/fesm/utils/permission.utils.js +0 -42
- package/fesm/utils/permission.utils.spec.js +0 -114
package/fesm/entities/index.js
CHANGED
|
@@ -1,23 +1,355 @@
|
|
|
1
|
+
import { Identity, getJsonColumnType } from "@flusys/nestjs-shared";
|
|
2
|
+
import { Identity as entities_Identity } from "@flusys/nestjs-shared/entities";
|
|
3
|
+
import * as __rspack_external_typeorm from "typeorm";
|
|
4
|
+
export const __rspack_esm_id = 604;
|
|
5
|
+
export const __rspack_esm_ids = [604];
|
|
6
|
+
export const __webpack_modules__ = {
|
|
7
|
+
532(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
8
|
+
|
|
9
|
+
// EXPORTS
|
|
10
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
11
|
+
lV: () => (/* reexport */ Form),
|
|
12
|
+
C7: () => (/* reexport */ Form),
|
|
13
|
+
Xl: () => (/* binding */ FormCompanyEntities),
|
|
14
|
+
t$: () => (/* binding */ FormCoreEntities),
|
|
15
|
+
ez: () => (/* reexport */ FormResult),
|
|
16
|
+
Wl: () => (/* reexport */ FormWithCompany),
|
|
17
|
+
getFormBuilderEntitiesByConfig: () => (/* binding */ getFormBuilderEntitiesByConfig)
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
;// CONCATENATED MODULE: external "@flusys/nestjs-shared"
|
|
21
|
+
|
|
22
|
+
;// CONCATENATED MODULE: external "@flusys/nestjs-shared/entities"
|
|
23
|
+
|
|
24
|
+
// EXTERNAL MODULE: external "typeorm"
|
|
25
|
+
var external_typeorm_ = __webpack_require__(158);
|
|
26
|
+
// EXTERNAL MODULE: ./projects/nestjs-form-builder/src/enums/form-access-type.enum.ts
|
|
27
|
+
var form_access_type_enum = __webpack_require__(376);
|
|
28
|
+
;// CONCATENATED MODULE: ./projects/nestjs-form-builder/src/entities/form.entity.ts
|
|
29
|
+
function _ts_decorate(decorators, target, key, desc) {
|
|
30
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
31
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
32
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
33
|
+
} else {
|
|
34
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
35
|
+
if (d = decorators[i]) {
|
|
36
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
41
|
+
}
|
|
42
|
+
function _ts_metadata(metadataKey, metadataValue) {
|
|
43
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
44
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
class Form extends entities_Identity {
|
|
52
|
+
name;
|
|
53
|
+
description;
|
|
54
|
+
slug;
|
|
55
|
+
schema;
|
|
56
|
+
schemaVersion;
|
|
57
|
+
accessType;
|
|
58
|
+
actionGroups;
|
|
59
|
+
tags;
|
|
60
|
+
isActive;
|
|
61
|
+
}
|
|
62
|
+
_ts_decorate([
|
|
63
|
+
(0,external_typeorm_.Column)({
|
|
64
|
+
type: 'varchar',
|
|
65
|
+
length: 255,
|
|
66
|
+
nullable: false
|
|
67
|
+
}),
|
|
68
|
+
_ts_metadata("design:type", String)
|
|
69
|
+
], Form.prototype, "name", void 0);
|
|
70
|
+
_ts_decorate([
|
|
71
|
+
(0,external_typeorm_.Column)({
|
|
72
|
+
type: 'varchar',
|
|
73
|
+
length: 500,
|
|
74
|
+
nullable: true
|
|
75
|
+
}),
|
|
76
|
+
_ts_metadata("design:type", Object)
|
|
77
|
+
], Form.prototype, "description", void 0);
|
|
78
|
+
_ts_decorate([
|
|
79
|
+
(0,external_typeorm_.Column)({
|
|
80
|
+
type: 'varchar',
|
|
81
|
+
length: 255,
|
|
82
|
+
nullable: true
|
|
83
|
+
}),
|
|
84
|
+
_ts_metadata("design:type", Object)
|
|
85
|
+
], Form.prototype, "slug", void 0);
|
|
86
|
+
_ts_decorate([
|
|
87
|
+
(0,external_typeorm_.Column)({
|
|
88
|
+
type: getJsonColumnType(),
|
|
89
|
+
nullable: false
|
|
90
|
+
}),
|
|
91
|
+
_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
|
92
|
+
], Form.prototype, "schema", void 0);
|
|
93
|
+
_ts_decorate([
|
|
94
|
+
(0,external_typeorm_.Column)({
|
|
95
|
+
type: 'int',
|
|
96
|
+
nullable: false,
|
|
97
|
+
default: 1,
|
|
98
|
+
name: 'schema_version'
|
|
99
|
+
}),
|
|
100
|
+
_ts_metadata("design:type", Number)
|
|
101
|
+
], Form.prototype, "schemaVersion", void 0);
|
|
102
|
+
_ts_decorate([
|
|
103
|
+
(0,external_typeorm_.Column)({
|
|
104
|
+
type: 'varchar',
|
|
105
|
+
length: 50,
|
|
106
|
+
default: 'AUTHENTICATED',
|
|
107
|
+
name: 'access_type'
|
|
108
|
+
}),
|
|
109
|
+
_ts_metadata("design:type", typeof form_access_type_enum/* .FormAccessType */.h === "undefined" ? Object : form_access_type_enum/* .FormAccessType */.h)
|
|
110
|
+
], Form.prototype, "accessType", void 0);
|
|
111
|
+
_ts_decorate([
|
|
112
|
+
(0,external_typeorm_.Column)({
|
|
113
|
+
type: getJsonColumnType(),
|
|
114
|
+
nullable: true,
|
|
115
|
+
name: 'action_groups'
|
|
116
|
+
}),
|
|
117
|
+
_ts_metadata("design:type", Object)
|
|
118
|
+
], Form.prototype, "actionGroups", void 0);
|
|
119
|
+
_ts_decorate([
|
|
120
|
+
(0,external_typeorm_.Column)({
|
|
121
|
+
type: getJsonColumnType(),
|
|
122
|
+
nullable: true
|
|
123
|
+
}),
|
|
124
|
+
_ts_metadata("design:type", Object)
|
|
125
|
+
], Form.prototype, "tags", void 0);
|
|
126
|
+
_ts_decorate([
|
|
127
|
+
(0,external_typeorm_.Column)({
|
|
128
|
+
type: 'boolean',
|
|
129
|
+
nullable: false,
|
|
130
|
+
default: true,
|
|
131
|
+
name: 'is_active'
|
|
132
|
+
}),
|
|
133
|
+
_ts_metadata("design:type", Boolean)
|
|
134
|
+
], Form.prototype, "isActive", void 0);
|
|
135
|
+
Form = _ts_decorate([
|
|
136
|
+
(0,external_typeorm_.Entity)({
|
|
137
|
+
name: 'form'
|
|
138
|
+
}),
|
|
139
|
+
(0,external_typeorm_.Index)([
|
|
140
|
+
'slug'
|
|
141
|
+
], {
|
|
142
|
+
unique: true
|
|
143
|
+
}),
|
|
144
|
+
(0,external_typeorm_.Index)([
|
|
145
|
+
'isActive'
|
|
146
|
+
])
|
|
147
|
+
], Form);
|
|
148
|
+
|
|
149
|
+
;// CONCATENATED MODULE: ./projects/nestjs-form-builder/src/entities/form-result.entity.ts
|
|
150
|
+
function form_result_entity_ts_decorate(decorators, target, key, desc) {
|
|
151
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
152
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
153
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
154
|
+
} else {
|
|
155
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
156
|
+
if (d = decorators[i]) {
|
|
157
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
162
|
+
}
|
|
163
|
+
function form_result_entity_ts_metadata(metadataKey, metadataValue) {
|
|
164
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
165
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
class FormResult extends Identity {
|
|
171
|
+
formId;
|
|
172
|
+
schemaVersionSnapshot;
|
|
173
|
+
schemaVersion;
|
|
174
|
+
data;
|
|
175
|
+
submittedById;
|
|
176
|
+
submittedAt;
|
|
177
|
+
isDraft;
|
|
178
|
+
}
|
|
179
|
+
form_result_entity_ts_decorate([
|
|
180
|
+
(0,external_typeorm_.Index)(),
|
|
181
|
+
(0,external_typeorm_.Column)({
|
|
182
|
+
type: 'uuid',
|
|
183
|
+
nullable: false,
|
|
184
|
+
name: 'form_id'
|
|
185
|
+
}),
|
|
186
|
+
form_result_entity_ts_metadata("design:type", String)
|
|
187
|
+
], FormResult.prototype, "formId", void 0);
|
|
188
|
+
form_result_entity_ts_decorate([
|
|
189
|
+
(0,external_typeorm_.Column)({
|
|
190
|
+
type: getJsonColumnType(),
|
|
191
|
+
nullable: false,
|
|
192
|
+
name: 'schema_version_snapshot'
|
|
193
|
+
}),
|
|
194
|
+
form_result_entity_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
|
195
|
+
], FormResult.prototype, "schemaVersionSnapshot", void 0);
|
|
196
|
+
form_result_entity_ts_decorate([
|
|
197
|
+
(0,external_typeorm_.Column)({
|
|
198
|
+
type: 'int',
|
|
199
|
+
nullable: false,
|
|
200
|
+
name: 'schema_version'
|
|
201
|
+
}),
|
|
202
|
+
form_result_entity_ts_metadata("design:type", Number)
|
|
203
|
+
], FormResult.prototype, "schemaVersion", void 0);
|
|
204
|
+
form_result_entity_ts_decorate([
|
|
205
|
+
(0,external_typeorm_.Column)({
|
|
206
|
+
type: getJsonColumnType(),
|
|
207
|
+
nullable: false
|
|
208
|
+
}),
|
|
209
|
+
form_result_entity_ts_metadata("design:type", typeof Record === "undefined" ? Object : Record)
|
|
210
|
+
], FormResult.prototype, "data", void 0);
|
|
211
|
+
form_result_entity_ts_decorate([
|
|
212
|
+
(0,external_typeorm_.Column)({
|
|
213
|
+
type: 'uuid',
|
|
214
|
+
nullable: true,
|
|
215
|
+
name: 'submitted_by_id'
|
|
216
|
+
}),
|
|
217
|
+
form_result_entity_ts_metadata("design:type", Object)
|
|
218
|
+
], FormResult.prototype, "submittedById", void 0);
|
|
219
|
+
form_result_entity_ts_decorate([
|
|
220
|
+
(0,external_typeorm_.Column)({
|
|
221
|
+
type: 'timestamp',
|
|
222
|
+
nullable: false,
|
|
223
|
+
name: 'submitted_at'
|
|
224
|
+
}),
|
|
225
|
+
form_result_entity_ts_metadata("design:type", typeof Date === "undefined" ? Object : Date)
|
|
226
|
+
], FormResult.prototype, "submittedAt", void 0);
|
|
227
|
+
form_result_entity_ts_decorate([
|
|
228
|
+
(0,external_typeorm_.Column)({
|
|
229
|
+
type: 'boolean',
|
|
230
|
+
default: false,
|
|
231
|
+
name: 'is_draft'
|
|
232
|
+
}),
|
|
233
|
+
form_result_entity_ts_metadata("design:type", Boolean)
|
|
234
|
+
], FormResult.prototype, "isDraft", void 0);
|
|
235
|
+
FormResult = form_result_entity_ts_decorate([
|
|
236
|
+
(0,external_typeorm_.Entity)({
|
|
237
|
+
name: 'form_result'
|
|
238
|
+
})
|
|
239
|
+
], FormResult);
|
|
240
|
+
|
|
241
|
+
;// CONCATENATED MODULE: ./projects/nestjs-form-builder/src/entities/form-with-company.entity.ts
|
|
242
|
+
function form_with_company_entity_ts_decorate(decorators, target, key, desc) {
|
|
243
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
244
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") {
|
|
245
|
+
r = Reflect.decorate(decorators, target, key, desc);
|
|
246
|
+
} else {
|
|
247
|
+
for(var i = decorators.length - 1; i >= 0; i--){
|
|
248
|
+
if (d = decorators[i]) {
|
|
249
|
+
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
254
|
+
}
|
|
255
|
+
function form_with_company_entity_ts_metadata(metadataKey, metadataValue) {
|
|
256
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") {
|
|
257
|
+
return Reflect.metadata(metadataKey, metadataValue);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
class FormWithCompany extends Form {
|
|
263
|
+
companyId;
|
|
264
|
+
}
|
|
265
|
+
form_with_company_entity_ts_decorate([
|
|
266
|
+
(0,external_typeorm_.Column)({
|
|
267
|
+
type: 'uuid',
|
|
268
|
+
nullable: true,
|
|
269
|
+
name: 'company_id'
|
|
270
|
+
}),
|
|
271
|
+
form_with_company_entity_ts_metadata("design:type", Object)
|
|
272
|
+
], FormWithCompany.prototype, "companyId", void 0);
|
|
273
|
+
FormWithCompany = form_with_company_entity_ts_decorate([
|
|
274
|
+
(0,external_typeorm_.Entity)({
|
|
275
|
+
name: 'form'
|
|
276
|
+
}),
|
|
277
|
+
(0,external_typeorm_.Index)([
|
|
278
|
+
'companyId'
|
|
279
|
+
]),
|
|
280
|
+
(0,external_typeorm_.Index)([
|
|
281
|
+
'companyId',
|
|
282
|
+
'slug'
|
|
283
|
+
], {
|
|
284
|
+
unique: true
|
|
285
|
+
}),
|
|
286
|
+
(0,external_typeorm_.Index)([
|
|
287
|
+
'companyId',
|
|
288
|
+
'isActive'
|
|
289
|
+
])
|
|
290
|
+
], FormWithCompany);
|
|
291
|
+
|
|
292
|
+
;// CONCATENATED MODULE: ./projects/nestjs-form-builder/src/entities/index.ts
|
|
1
293
|
// Entities without company feature
|
|
2
|
-
|
|
3
|
-
|
|
294
|
+
|
|
295
|
+
|
|
4
296
|
// Entities with company feature
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
9
301
|
// Core entities (no company feature)
|
|
10
|
-
|
|
302
|
+
const FormCoreEntities = [
|
|
11
303
|
Form,
|
|
12
304
|
FormResult
|
|
13
305
|
];
|
|
14
306
|
// Company-specific entities
|
|
15
|
-
|
|
307
|
+
const FormCompanyEntities = [
|
|
16
308
|
FormWithCompany,
|
|
17
309
|
FormResult
|
|
18
310
|
];
|
|
19
|
-
|
|
311
|
+
function getFormBuilderEntitiesByConfig(enableCompanyFeature) {
|
|
20
312
|
return enableCompanyFeature ? FormCompanyEntities : FormCoreEntities;
|
|
21
313
|
}
|
|
22
314
|
// Base type aliases for backwards compatibility with services
|
|
23
|
-
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
},
|
|
319
|
+
376(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
320
|
+
/**
|
|
321
|
+
* Form Access Type Enum
|
|
322
|
+
* Defines who can submit the form
|
|
323
|
+
*/ var FormAccessType = /*#__PURE__*/ function(FormAccessType) {
|
|
324
|
+
/** No authentication required - anyone can submit */ FormAccessType["PUBLIC"] = "public";
|
|
325
|
+
/** Any authenticated user can submit */ FormAccessType["AUTHENTICATED"] = "authenticated";
|
|
326
|
+
/** Only users with specific action permissions can submit */ FormAccessType["ACTION_GROUP"] = "action_group";
|
|
327
|
+
return FormAccessType;
|
|
328
|
+
}({});
|
|
329
|
+
|
|
330
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
331
|
+
h: () => (FormAccessType)
|
|
332
|
+
});
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
},
|
|
336
|
+
158(module) {
|
|
337
|
+
|
|
338
|
+
module.exports = __rspack_external_typeorm;
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
},
|
|
342
|
+
|
|
343
|
+
};
|
|
344
|
+
import { __webpack_require__ } from '../runtime.js';
|
|
345
|
+
var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
|
|
346
|
+
import * as __rspack_chunk_1 from './index.js';
|
|
347
|
+
__webpack_require__.C(__rspack_chunk_1);
|
|
348
|
+
var __webpack_exports__ = __webpack_exec__(532);var __webpack_exports__Form = __webpack_exports__.lV;
|
|
349
|
+
var __webpack_exports__FormBase = __webpack_exports__.C7;
|
|
350
|
+
var __webpack_exports__FormCompanyEntities = __webpack_exports__.Xl;
|
|
351
|
+
var __webpack_exports__FormCoreEntities = __webpack_exports__.t$;
|
|
352
|
+
var __webpack_exports__FormResult = __webpack_exports__.ez;
|
|
353
|
+
var __webpack_exports__FormWithCompany = __webpack_exports__.Wl;
|
|
354
|
+
var __webpack_exports__getFormBuilderEntitiesByConfig = __webpack_exports__.getFormBuilderEntitiesByConfig;
|
|
355
|
+
export { __webpack_exports__Form as Form, __webpack_exports__FormBase as FormBase, __webpack_exports__FormCompanyEntities as FormCompanyEntities, __webpack_exports__FormCoreEntities as FormCoreEntities, __webpack_exports__FormResult as FormResult, __webpack_exports__FormWithCompany as FormWithCompany, __webpack_exports__getFormBuilderEntitiesByConfig as getFormBuilderEntitiesByConfig };
|
package/fesm/enums/index.js
CHANGED
|
@@ -1 +1,38 @@
|
|
|
1
|
-
export
|
|
1
|
+
export const __rspack_esm_id = 743;
|
|
2
|
+
export const __rspack_esm_ids = [743];
|
|
3
|
+
export const __webpack_modules__ = {
|
|
4
|
+
376(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
5
|
+
/**
|
|
6
|
+
* Form Access Type Enum
|
|
7
|
+
* Defines who can submit the form
|
|
8
|
+
*/ var FormAccessType = /*#__PURE__*/ function(FormAccessType) {
|
|
9
|
+
/** No authentication required - anyone can submit */ FormAccessType["PUBLIC"] = "public";
|
|
10
|
+
/** Any authenticated user can submit */ FormAccessType["AUTHENTICATED"] = "authenticated";
|
|
11
|
+
/** Only users with specific action permissions can submit */ FormAccessType["ACTION_GROUP"] = "action_group";
|
|
12
|
+
return FormAccessType;
|
|
13
|
+
}({});
|
|
14
|
+
|
|
15
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
16
|
+
h: () => (FormAccessType)
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
},
|
|
21
|
+
817(__unused_rspack_module, __webpack_exports__, __webpack_require__) {
|
|
22
|
+
/* import */ var _form_access_type_enum_js__rspack_import_0 = __webpack_require__(376);
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
26
|
+
h: () => (/* reexport safe */ _form_access_type_enum_js__rspack_import_0.h)
|
|
27
|
+
});
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
};
|
|
33
|
+
import { __webpack_require__ } from '../runtime.js';
|
|
34
|
+
var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }
|
|
35
|
+
import * as __rspack_chunk_1 from './index.js';
|
|
36
|
+
__webpack_require__.C(__rspack_chunk_1);
|
|
37
|
+
var __webpack_exports__ = __webpack_exec__(817);var __webpack_exports__FormAccessType = __webpack_exports__.h;
|
|
38
|
+
export { __webpack_exports__FormAccessType as FormAccessType };
|