verben-workflow-ui 0.7.9 → 0.8.2
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/public-api.mjs +3 -1
- package/esm2022/src/lib/components/file-render/excel-parser.util.mjs +239 -0
- package/esm2022/src/lib/components/file-render/file-preview.component.mjs +361 -0
- package/esm2022/src/lib/components/file-render/file-render.component.mjs +78 -10
- package/esm2022/src/lib/components/file-render/file-render.module.mjs +11 -7
- package/esm2022/src/lib/components/file-render/public-api.mjs +2 -1
- package/esm2022/src/lib/components/file-upload/file-upload.component.mjs +37 -3
- package/esm2022/src/lib/components/form-control/form-control.component.mjs +1 -1
- package/esm2022/src/lib/components/task-history/task-history.component.mjs +5 -4
- package/esm2022/src/lib/components/task-history/task-history.module.mjs +19 -4
- package/esm2022/src/lib/components/workflow-designer/designer-canvas/designer-canvas.component.mjs +15 -5
- package/esm2022/src/lib/components/workflow-designer/workflow-designer.component.mjs +2 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs +681 -17
- package/fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs +36 -2
- package/fesm2022/verben-workflow-ui-src-lib-components-file-upload.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs +22 -6
- package/fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs +15 -4
- package/fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs.map +1 -1
- package/fesm2022/verben-workflow-ui.mjs +2 -0
- package/fesm2022/verben-workflow-ui.mjs.map +1 -1
- package/package.json +46 -46
- package/public-api.d.ts +2 -0
- package/src/lib/components/file-render/excel-parser.util.d.ts +12 -0
- package/src/lib/components/file-render/file-preview.component.d.ts +66 -0
- package/src/lib/components/file-render/file-render.component.d.ts +17 -4
- package/src/lib/components/file-render/file-render.module.d.ts +5 -4
- package/src/lib/components/file-render/public-api.d.ts +1 -0
- package/src/lib/components/file-upload/file-upload.component.d.ts +7 -1
- package/src/lib/components/task-history/task-history.module.d.ts +4 -3
|
@@ -21,6 +21,8 @@ export * from 'verben-workflow-ui/src/lib/components/actors';
|
|
|
21
21
|
export * from 'verben-workflow-ui/src/lib/components/flowable-status';
|
|
22
22
|
export * from 'verben-workflow-ui/src/lib/components/form-viewer';
|
|
23
23
|
export * from 'verben-workflow-ui/src/lib/components/workflow-stage';
|
|
24
|
+
export * from 'verben-workflow-ui/src/lib/components/file-render';
|
|
25
|
+
export * from 'verben-workflow-ui/src/lib/components/file-upload';
|
|
24
26
|
|
|
25
27
|
/*
|
|
26
28
|
* Public API Surface of verben-ng-ui
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verben-workflow-ui.mjs","sources":["../../../projects/verben-workflow-ui/src/public-api.ts","../../../projects/verben-workflow-ui/src/verben-workflow-ui.ts"],"sourcesContent":["/*\n * Public API Surface of verben-ng-ui\n */\n\n// export * from './lib/verben-ng-ui.service';\n// export * from './lib/verben-ng-ui.component';\n\n// Exporting modules\n\nexport * from 'verben-workflow-ui/src/lib/services';\n\nexport * from 'verben-workflow-ui/src/lib/models';\n\nexport * from 'verben-workflow-ui/src/lib/shared';\n\nexport * from 'verben-workflow-ui/src/lib/components/tasks';\n\nexport * from 'verben-workflow-ui/src/lib/components/my-queue';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow';\nexport * from 'verben-workflow-ui/src/lib/components/workflows';\n\nexport * from 'verben-workflow-ui/src/lib/components/wf';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow-designer';\n\nexport * from 'verben-workflow-ui/src/lib/components/designer';\n\n//task history\nexport * from 'verben-workflow-ui/src/lib/components/task-history';\n//forms\nexport * from 'verben-workflow-ui/src/lib/components/forms';\n//form group\nexport * from 'verben-workflow-ui/src/lib/components/form-group';\n//form response\nexport * from 'verben-workflow-ui/src/lib/components/form-response';\n//form values\nexport * from 'verben-workflow-ui/src/lib/components/form-values';\n//stage details\nexport * from 'verben-workflow-ui/src/lib/components/stage-details';\n//expiration\nexport * from 'verben-workflow-ui/src/lib/components/expiration';\n\n//journal\nexport * from 'verben-workflow-ui/src/lib/components/journal';\n\nexport * from 'verben-workflow-ui/src/lib/components/task-notification';\n\n//actors\nexport * from 'verben-workflow-ui/src/lib/components/actors';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v2';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v3';\n// export * from 'verben-workflow-ui/src/lib/components/actors-readonly';\n\n//flowable-status\nexport * from 'verben-workflow-ui/src/lib/components/flowable-status';\nexport * from 'verben-workflow-ui/src/lib/components/form-viewer';\nexport * from 'verben-workflow-ui/src/lib/components/workflow-stage';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verben-workflow-ui.mjs","sources":["../../../projects/verben-workflow-ui/src/public-api.ts","../../../projects/verben-workflow-ui/src/verben-workflow-ui.ts"],"sourcesContent":["/*\n * Public API Surface of verben-ng-ui\n */\n\n// export * from './lib/verben-ng-ui.service';\n// export * from './lib/verben-ng-ui.component';\n\n// Exporting modules\n\nexport * from 'verben-workflow-ui/src/lib/services';\n\nexport * from 'verben-workflow-ui/src/lib/models';\n\nexport * from 'verben-workflow-ui/src/lib/shared';\n\nexport * from 'verben-workflow-ui/src/lib/components/tasks';\n\nexport * from 'verben-workflow-ui/src/lib/components/my-queue';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow';\nexport * from 'verben-workflow-ui/src/lib/components/workflows';\n\nexport * from 'verben-workflow-ui/src/lib/components/wf';\n\nexport * from 'verben-workflow-ui/src/lib/components/workflow-designer';\n\nexport * from 'verben-workflow-ui/src/lib/components/designer';\n\n//task history\nexport * from 'verben-workflow-ui/src/lib/components/task-history';\n//forms\nexport * from 'verben-workflow-ui/src/lib/components/forms';\n//form group\nexport * from 'verben-workflow-ui/src/lib/components/form-group';\n//form response\nexport * from 'verben-workflow-ui/src/lib/components/form-response';\n//form values\nexport * from 'verben-workflow-ui/src/lib/components/form-values';\n//stage details\nexport * from 'verben-workflow-ui/src/lib/components/stage-details';\n//expiration\nexport * from 'verben-workflow-ui/src/lib/components/expiration';\n\n//journal\nexport * from 'verben-workflow-ui/src/lib/components/journal';\n\nexport * from 'verben-workflow-ui/src/lib/components/task-notification';\n\n//actors\nexport * from 'verben-workflow-ui/src/lib/components/actors';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v2';\n// export * from 'verben-workflow-ui/src/lib/components/actors-v3';\n// export * from 'verben-workflow-ui/src/lib/components/actors-readonly';\n\n//flowable-status\nexport * from 'verben-workflow-ui/src/lib/components/flowable-status';\nexport * from 'verben-workflow-ui/src/lib/components/form-viewer';\nexport * from 'verben-workflow-ui/src/lib/components/workflow-stage';\nexport * from 'verben-workflow-ui/src/lib/components/file-render';\nexport * from 'verben-workflow-ui/src/lib/components/file-upload';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG;AAEH;AACA;AAEA;;ACPA;;AAEG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "verben-workflow-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"style": "styles/styles.css",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./styles": {
|
|
@@ -33,18 +33,18 @@
|
|
|
33
33
|
"esm": "./esm2022/src/lib/services/verben-workflow-ui-src-lib-services.mjs",
|
|
34
34
|
"default": "./fesm2022/verben-workflow-ui-src-lib-services.mjs"
|
|
35
35
|
},
|
|
36
|
-
"./src/lib/models": {
|
|
37
|
-
"types": "./src/lib/models/index.d.ts",
|
|
38
|
-
"esm2022": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
|
|
39
|
-
"esm": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
|
|
40
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-models.mjs"
|
|
41
|
-
},
|
|
42
36
|
"./src/lib/shared": {
|
|
43
37
|
"types": "./src/lib/shared/index.d.ts",
|
|
44
38
|
"esm2022": "./esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs",
|
|
45
39
|
"esm": "./esm2022/src/lib/shared/verben-workflow-ui-src-lib-shared.mjs",
|
|
46
40
|
"default": "./fesm2022/verben-workflow-ui-src-lib-shared.mjs"
|
|
47
41
|
},
|
|
42
|
+
"./src/lib/models": {
|
|
43
|
+
"types": "./src/lib/models/index.d.ts",
|
|
44
|
+
"esm2022": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
|
|
45
|
+
"esm": "./esm2022/src/lib/models/verben-workflow-ui-src-lib-models.mjs",
|
|
46
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-models.mjs"
|
|
47
|
+
},
|
|
48
48
|
"./src/lib/components/actors": {
|
|
49
49
|
"types": "./src/lib/components/actors/index.d.ts",
|
|
50
50
|
"esm2022": "./esm2022/src/lib/components/actors/verben-workflow-ui-src-lib-components-actors.mjs",
|
|
@@ -69,12 +69,6 @@
|
|
|
69
69
|
"esm": "./esm2022/src/lib/components/file-render/verben-workflow-ui-src-lib-components-file-render.mjs",
|
|
70
70
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-file-render.mjs"
|
|
71
71
|
},
|
|
72
|
-
"./src/lib/components/flowable-status": {
|
|
73
|
-
"types": "./src/lib/components/flowable-status/index.d.ts",
|
|
74
|
-
"esm2022": "./esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs",
|
|
75
|
-
"esm": "./esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs",
|
|
76
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs"
|
|
77
|
-
},
|
|
78
72
|
"./src/lib/components/file-upload": {
|
|
79
73
|
"types": "./src/lib/components/file-upload/index.d.ts",
|
|
80
74
|
"esm2022": "./esm2022/src/lib/components/file-upload/verben-workflow-ui-src-lib-components-file-upload.mjs",
|
|
@@ -87,6 +81,18 @@
|
|
|
87
81
|
"esm": "./esm2022/src/lib/components/form-group/verben-workflow-ui-src-lib-components-form-group.mjs",
|
|
88
82
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-group.mjs"
|
|
89
83
|
},
|
|
84
|
+
"./src/lib/components/form-control": {
|
|
85
|
+
"types": "./src/lib/components/form-control/index.d.ts",
|
|
86
|
+
"esm2022": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
|
|
87
|
+
"esm": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
|
|
88
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs"
|
|
89
|
+
},
|
|
90
|
+
"./src/lib/components/flowable-status": {
|
|
91
|
+
"types": "./src/lib/components/flowable-status/index.d.ts",
|
|
92
|
+
"esm2022": "./esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs",
|
|
93
|
+
"esm": "./esm2022/src/lib/components/flowable-status/verben-workflow-ui-src-lib-components-flowable-status.mjs",
|
|
94
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-flowable-status.mjs"
|
|
95
|
+
},
|
|
90
96
|
"./src/lib/components/form-response": {
|
|
91
97
|
"types": "./src/lib/components/form-response/index.d.ts",
|
|
92
98
|
"esm2022": "./esm2022/src/lib/components/form-response/verben-workflow-ui-src-lib-components-form-response.mjs",
|
|
@@ -99,12 +105,6 @@
|
|
|
99
105
|
"esm": "./esm2022/src/lib/components/form-timer/verben-workflow-ui-src-lib-components-form-timer.mjs",
|
|
100
106
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-timer.mjs"
|
|
101
107
|
},
|
|
102
|
-
"./src/lib/components/form-control": {
|
|
103
|
-
"types": "./src/lib/components/form-control/index.d.ts",
|
|
104
|
-
"esm2022": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
|
|
105
|
-
"esm": "./esm2022/src/lib/components/form-control/verben-workflow-ui-src-lib-components-form-control.mjs",
|
|
106
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-form-control.mjs"
|
|
107
|
-
},
|
|
108
108
|
"./src/lib/components/form-values": {
|
|
109
109
|
"types": "./src/lib/components/form-values/index.d.ts",
|
|
110
110
|
"esm2022": "./esm2022/src/lib/components/form-values/verben-workflow-ui-src-lib-components-form-values.mjs",
|
|
@@ -123,41 +123,35 @@
|
|
|
123
123
|
"esm": "./esm2022/src/lib/components/forms/verben-workflow-ui-src-lib-components-forms.mjs",
|
|
124
124
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-forms.mjs"
|
|
125
125
|
},
|
|
126
|
-
"./src/lib/components/my-queue": {
|
|
127
|
-
"types": "./src/lib/components/my-queue/index.d.ts",
|
|
128
|
-
"esm2022": "./esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs",
|
|
129
|
-
"esm": "./esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs",
|
|
130
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs"
|
|
131
|
-
},
|
|
132
126
|
"./src/lib/components/journal": {
|
|
133
127
|
"types": "./src/lib/components/journal/index.d.ts",
|
|
134
128
|
"esm2022": "./esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs",
|
|
135
129
|
"esm": "./esm2022/src/lib/components/journal/verben-workflow-ui-src-lib-components-journal.mjs",
|
|
136
130
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-journal.mjs"
|
|
137
131
|
},
|
|
132
|
+
"./src/lib/components/my-queue": {
|
|
133
|
+
"types": "./src/lib/components/my-queue/index.d.ts",
|
|
134
|
+
"esm2022": "./esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs",
|
|
135
|
+
"esm": "./esm2022/src/lib/components/my-queue/verben-workflow-ui-src-lib-components-my-queue.mjs",
|
|
136
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-my-queue.mjs"
|
|
137
|
+
},
|
|
138
138
|
"./src/lib/components/operation-popup": {
|
|
139
139
|
"types": "./src/lib/components/operation-popup/index.d.ts",
|
|
140
140
|
"esm2022": "./esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs",
|
|
141
141
|
"esm": "./esm2022/src/lib/components/operation-popup/verben-workflow-ui-src-lib-components-operation-popup.mjs",
|
|
142
142
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-operation-popup.mjs"
|
|
143
143
|
},
|
|
144
|
-
"./src/lib/components/task-form": {
|
|
145
|
-
"types": "./src/lib/components/task-form/index.d.ts",
|
|
146
|
-
"esm2022": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
147
|
-
"esm": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
148
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs"
|
|
149
|
-
},
|
|
150
144
|
"./src/lib/components/task-history": {
|
|
151
145
|
"types": "./src/lib/components/task-history/index.d.ts",
|
|
152
146
|
"esm2022": "./esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs",
|
|
153
147
|
"esm": "./esm2022/src/lib/components/task-history/verben-workflow-ui-src-lib-components-task-history.mjs",
|
|
154
148
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-history.mjs"
|
|
155
149
|
},
|
|
156
|
-
"./src/lib/components/task-
|
|
157
|
-
"types": "./src/lib/components/task-
|
|
158
|
-
"esm2022": "./esm2022/src/lib/components/task-
|
|
159
|
-
"esm": "./esm2022/src/lib/components/task-
|
|
160
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-
|
|
150
|
+
"./src/lib/components/task-form": {
|
|
151
|
+
"types": "./src/lib/components/task-form/index.d.ts",
|
|
152
|
+
"esm2022": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
153
|
+
"esm": "./esm2022/src/lib/components/task-form/verben-workflow-ui-src-lib-components-task-form.mjs",
|
|
154
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-form.mjs"
|
|
161
155
|
},
|
|
162
156
|
"./src/lib/components/stage-details": {
|
|
163
157
|
"types": "./src/lib/components/stage-details/index.d.ts",
|
|
@@ -165,11 +159,11 @@
|
|
|
165
159
|
"esm": "./esm2022/src/lib/components/stage-details/verben-workflow-ui-src-lib-components-stage-details.mjs",
|
|
166
160
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-stage-details.mjs"
|
|
167
161
|
},
|
|
168
|
-
"./src/lib/components/
|
|
169
|
-
"types": "./src/lib/components/
|
|
170
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
171
|
-
"esm": "./esm2022/src/lib/components/
|
|
172
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
162
|
+
"./src/lib/components/task-notification": {
|
|
163
|
+
"types": "./src/lib/components/task-notification/index.d.ts",
|
|
164
|
+
"esm2022": "./esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs",
|
|
165
|
+
"esm": "./esm2022/src/lib/components/task-notification/verben-workflow-ui-src-lib-components-task-notification.mjs",
|
|
166
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-task-notification.mjs"
|
|
173
167
|
},
|
|
174
168
|
"./src/lib/components/wf": {
|
|
175
169
|
"types": "./src/lib/components/wf/index.d.ts",
|
|
@@ -177,17 +171,23 @@
|
|
|
177
171
|
"esm": "./esm2022/src/lib/components/wf/verben-workflow-ui-src-lib-components-wf.mjs",
|
|
178
172
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-wf.mjs"
|
|
179
173
|
},
|
|
174
|
+
"./src/lib/components/workflow-designer": {
|
|
175
|
+
"types": "./src/lib/components/workflow-designer/index.d.ts",
|
|
176
|
+
"esm2022": "./esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs",
|
|
177
|
+
"esm": "./esm2022/src/lib/components/workflow-designer/verben-workflow-ui-src-lib-components-workflow-designer.mjs",
|
|
178
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-workflow-designer.mjs"
|
|
179
|
+
},
|
|
180
180
|
"./src/lib/components/workflow": {
|
|
181
181
|
"types": "./src/lib/components/workflow/index.d.ts",
|
|
182
182
|
"esm2022": "./esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs",
|
|
183
183
|
"esm": "./esm2022/src/lib/components/workflow/verben-workflow-ui-src-lib-components-workflow.mjs",
|
|
184
184
|
"default": "./fesm2022/verben-workflow-ui-src-lib-components-workflow.mjs"
|
|
185
185
|
},
|
|
186
|
-
"./src/lib/components/
|
|
187
|
-
"types": "./src/lib/components/
|
|
188
|
-
"esm2022": "./esm2022/src/lib/components/
|
|
189
|
-
"esm": "./esm2022/src/lib/components/
|
|
190
|
-
"default": "./fesm2022/verben-workflow-ui-src-lib-components-
|
|
186
|
+
"./src/lib/components/tasks": {
|
|
187
|
+
"types": "./src/lib/components/tasks/index.d.ts",
|
|
188
|
+
"esm2022": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
189
|
+
"esm": "./esm2022/src/lib/components/tasks/verben-workflow-ui-src-lib-components-tasks.mjs",
|
|
190
|
+
"default": "./fesm2022/verben-workflow-ui-src-lib-components-tasks.mjs"
|
|
191
191
|
},
|
|
192
192
|
"./src/lib/components/workflow-stage": {
|
|
193
193
|
"types": "./src/lib/components/workflow-stage/index.d.ts",
|
package/public-api.d.ts
CHANGED
|
@@ -21,3 +21,5 @@ export * from 'verben-workflow-ui/src/lib/components/actors';
|
|
|
21
21
|
export * from 'verben-workflow-ui/src/lib/components/flowable-status';
|
|
22
22
|
export * from 'verben-workflow-ui/src/lib/components/form-viewer';
|
|
23
23
|
export * from 'verben-workflow-ui/src/lib/components/workflow-stage';
|
|
24
|
+
export * from 'verben-workflow-ui/src/lib/components/file-render';
|
|
25
|
+
export * from 'verben-workflow-ui/src/lib/components/file-upload';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface ParsedSheet {
|
|
2
|
+
name: string;
|
|
3
|
+
rows: string[][];
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* Parses CSV or TSV text into a single-sheet table using RFC-4180 quoting rules.
|
|
7
|
+
*/
|
|
8
|
+
export declare function parseDelimitedText(text: string, delimiter?: string, sheetName?: string): ParsedSheet[];
|
|
9
|
+
/**
|
|
10
|
+
* Parses an OOXML `.xlsx` ArrayBuffer into worksheets without external dependencies.
|
|
11
|
+
*/
|
|
12
|
+
export declare function parseXlsxBuffer(buffer: ArrayBuffer): Promise<ParsedSheet[]>;
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser';
|
|
3
|
+
import { EnvironmentService } from 'verben-workflow-ui/src/lib/services';
|
|
4
|
+
import { ParsedSheet } from './excel-parser.util';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export type PreviewKind = 'image' | 'excel' | 'pdf' | 'text' | 'unsupported';
|
|
7
|
+
export declare class FilePreviewComponent implements OnChanges, OnDestroy {
|
|
8
|
+
private envService;
|
|
9
|
+
private sanitizer;
|
|
10
|
+
isVisible: boolean;
|
|
11
|
+
file: File | null;
|
|
12
|
+
files: File[];
|
|
13
|
+
initialIndex: number;
|
|
14
|
+
fileUrl: string | null;
|
|
15
|
+
fileName: string | null;
|
|
16
|
+
confirmMode: boolean;
|
|
17
|
+
confirmText: string;
|
|
18
|
+
closed: EventEmitter<void>;
|
|
19
|
+
confirmed: EventEmitter<void>;
|
|
20
|
+
openExternal: EventEmitter<void>;
|
|
21
|
+
activeIndex: number;
|
|
22
|
+
isLoading: boolean;
|
|
23
|
+
errorMessage: string | null;
|
|
24
|
+
previewKind: PreviewKind;
|
|
25
|
+
resolvedName: string;
|
|
26
|
+
fileSizeLabel: string;
|
|
27
|
+
extensionLabel: string;
|
|
28
|
+
imageSrc: string | null;
|
|
29
|
+
safePdfUrl: SafeResourceUrl | null;
|
|
30
|
+
textContent: string;
|
|
31
|
+
sheets: ParsedSheet[];
|
|
32
|
+
activeSheetIndex: number;
|
|
33
|
+
imageZoom: number;
|
|
34
|
+
private objectUrl;
|
|
35
|
+
constructor(envService: EnvironmentService, sanitizer: DomSanitizer);
|
|
36
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
37
|
+
private isRealFile;
|
|
38
|
+
get currentEntry(): any;
|
|
39
|
+
get currentFile(): File | null;
|
|
40
|
+
get currentSavedPath(): string | null;
|
|
41
|
+
get hasMultipleFiles(): boolean;
|
|
42
|
+
selectFile(index: number): void;
|
|
43
|
+
prevFile(): void;
|
|
44
|
+
nextFile(): void;
|
|
45
|
+
ngOnDestroy(): void;
|
|
46
|
+
get activeSheet(): ParsedSheet | null;
|
|
47
|
+
get isSavedFile(): boolean;
|
|
48
|
+
get canOpenExternal(): boolean;
|
|
49
|
+
close(): void;
|
|
50
|
+
confirm(): void;
|
|
51
|
+
onModalClose(): void;
|
|
52
|
+
openInNewTab(): void;
|
|
53
|
+
zoomIn(): void;
|
|
54
|
+
zoomOut(): void;
|
|
55
|
+
resetZoom(): void;
|
|
56
|
+
selectSheet(index: number): void;
|
|
57
|
+
private loadPreview;
|
|
58
|
+
private readAsArrayBuffer;
|
|
59
|
+
private resolveTargetUrl;
|
|
60
|
+
private revokeObjectUrl;
|
|
61
|
+
private getExtension;
|
|
62
|
+
private detectKind;
|
|
63
|
+
private formatBytes;
|
|
64
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FilePreviewComponent, never>;
|
|
65
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FilePreviewComponent, "verben-file-preview", never, { "isVisible": { "alias": "isVisible"; "required": false; }; "file": { "alias": "file"; "required": false; }; "files": { "alias": "files"; "required": false; }; "initialIndex": { "alias": "initialIndex"; "required": false; }; "fileUrl": { "alias": "fileUrl"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "confirmMode": { "alias": "confirmMode"; "required": false; }; "confirmText": { "alias": "confirmText"; "required": false; }; }, { "closed": "closed"; "confirmed": "confirmed"; "openExternal": "openExternal"; }, never, never, false, never>;
|
|
66
|
+
}
|
|
@@ -1,17 +1,30 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { EnvironmentService } from 'verben-workflow-ui/src/lib/services';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class FileRenderComponent {
|
|
4
|
+
export declare class FileRenderComponent implements OnInit, OnChanges, OnDestroy {
|
|
5
5
|
private envService;
|
|
6
|
+
file: File | null;
|
|
7
|
+
files: File[];
|
|
8
|
+
fileIndex: number;
|
|
6
9
|
fileUrl: string | null;
|
|
7
|
-
multiple: boolean;
|
|
8
10
|
fileName: string | null;
|
|
11
|
+
multiple: boolean;
|
|
9
12
|
disabled: boolean;
|
|
10
13
|
showCancel: boolean;
|
|
14
|
+
showPreview: boolean;
|
|
11
15
|
onCancelClicked: EventEmitter<Event>;
|
|
16
|
+
resolvedFileName: string | null;
|
|
17
|
+
isPreviewVisible: boolean;
|
|
18
|
+
private tempObjectUrl;
|
|
12
19
|
constructor(envService: EnvironmentService);
|
|
13
20
|
ngOnInit(): void;
|
|
21
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
22
|
+
ngOnDestroy(): void;
|
|
23
|
+
private isRealFile;
|
|
24
|
+
private syncFileName;
|
|
25
|
+
openPreview(): void;
|
|
26
|
+
closePreview(): void;
|
|
14
27
|
openFile(): void;
|
|
15
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileRenderComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileRenderComponent, "verben-file-render", never, { "fileUrl": { "alias": "fileUrl"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; }, { "onCancelClicked": "onCancelClicked"; }, never, never, false, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileRenderComponent, "verben-file-render", never, { "file": { "alias": "file"; "required": false; }; "files": { "alias": "files"; "required": false; }; "fileIndex": { "alias": "fileIndex"; "required": false; }; "fileUrl": { "alias": "fileUrl"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; "multiple": { "alias": "multiple"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "showCancel": { "alias": "showCancel"; "required": false; }; "showPreview": { "alias": "showPreview"; "required": false; }; }, { "onCancelClicked": "onCancelClicked"; }, never, never, false, never>;
|
|
17
30
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./file-render.component";
|
|
3
|
-
import * as i2 from "
|
|
4
|
-
import * as i3 from "@angular/
|
|
5
|
-
import * as i4 from "
|
|
3
|
+
import * as i2 from "./file-preview.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "verben-ng-ui";
|
|
6
7
|
export declare class FileRenderModule {
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileRenderModule, never>;
|
|
8
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<FileRenderModule, [typeof i1.FileRenderComponent], [typeof
|
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<FileRenderModule, [typeof i1.FileRenderComponent, typeof i2.FilePreviewComponent], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.SvgModule, typeof i5.VerbenaButtonModule, typeof i5.VerbenDialogueModule], [typeof i1.FileRenderComponent, typeof i2.FilePreviewComponent]>;
|
|
9
10
|
static ɵinj: i0.ɵɵInjectorDeclaration<FileRenderModule>;
|
|
10
11
|
}
|
|
@@ -7,16 +7,22 @@ export declare class FileUploadComponent {
|
|
|
7
7
|
accept: string;
|
|
8
8
|
selectedFiles: File[];
|
|
9
9
|
disabled: boolean;
|
|
10
|
+
previewOnUpload: boolean;
|
|
10
11
|
selectedFilesChange: EventEmitter<File[]>;
|
|
11
12
|
fileInput: ElementRef<HTMLInputElement>;
|
|
12
13
|
readonly MAX_FILE_SIZE: number;
|
|
14
|
+
pendingFiles: File[];
|
|
15
|
+
isUploadPreviewVisible: boolean;
|
|
13
16
|
constructor(zone: NgZone);
|
|
14
17
|
onFileSelected(event: any): void;
|
|
15
18
|
onDrop(event: DragEvent): void;
|
|
16
19
|
onDragOver(event: DragEvent): void;
|
|
17
20
|
processFiles(files: File[]): void;
|
|
21
|
+
onUploadPreviewConfirmed(): void;
|
|
22
|
+
onUploadPreviewClosed(): void;
|
|
23
|
+
private commitFiles;
|
|
18
24
|
removeFile(index: number): void;
|
|
19
25
|
trackByFile(index: number, file: File): string;
|
|
20
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileUploadComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "file-upload", never, { "multiple": { "alias": "multiple"; "required": false; }; "label": { "alias": "label"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "selectedFiles": { "alias": "selectedFiles"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, { "selectedFilesChange": "selectedFilesChange"; }, never, never, false, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileUploadComponent, "file-upload", never, { "multiple": { "alias": "multiple"; "required": false; }; "label": { "alias": "label"; "required": false; }; "accept": { "alias": "accept"; "required": false; }; "selectedFiles": { "alias": "selectedFiles"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "previewOnUpload": { "alias": "previewOnUpload"; "required": false; }; }, { "selectedFilesChange": "selectedFilesChange"; }, never, never, false, never>;
|
|
22
28
|
}
|
|
@@ -2,10 +2,11 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./task-history.component";
|
|
3
3
|
import * as i2 from "verben-workflow-ui/src/lib/shared";
|
|
4
4
|
import * as i3 from "verben-workflow-ui/src/lib/components/file-upload";
|
|
5
|
-
import * as i4 from "verben-
|
|
6
|
-
import * as i5 from "verben-
|
|
5
|
+
import * as i4 from "verben-workflow-ui/src/lib/components/file-render";
|
|
6
|
+
import * as i5 from "verben-ng-ui";
|
|
7
|
+
import * as i6 from "verben-workflow-ui/src/lib/components/form-viewer";
|
|
7
8
|
export declare class TaskHistoryModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskHistoryModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskHistoryModule, [typeof i1.TaskHistoryComponent], [typeof i2.SharedModule, typeof i3.FileUploadModule, typeof i4.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskHistoryModule, [typeof i1.TaskHistoryComponent], [typeof i2.SharedModule, typeof i3.FileUploadModule, typeof i4.FileRenderModule, typeof i5.TooltipModule, typeof i6.FormViewerLibModule], [typeof i1.TaskHistoryComponent]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<TaskHistoryModule>;
|
|
11
12
|
}
|