pui9-components 1.17.3 → 2.0.7

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.
Files changed (43) hide show
  1. package/dist/pui9-components.common.js +75007 -52512
  2. package/dist/pui9-components.css +9 -2
  3. package/package-lock.json +6651 -6827
  4. package/package.json +22 -26
  5. package/src/components/PuiCauDialog.vue +192 -0
  6. package/src/components/PuiCheckbox.vue +25 -4
  7. package/src/components/PuiCodeEditor.vue +2 -1
  8. package/src/components/PuiDateField.vue +653 -614
  9. package/src/components/PuiField.vue +1 -1
  10. package/src/components/PuiFileUpload.vue +275 -0
  11. package/src/components/PuiFileUploadGroup.vue +241 -0
  12. package/src/components/PuiFilter.vue +54 -52
  13. package/src/components/PuiFilterGroup.vue +179 -179
  14. package/src/components/PuiFilterRule.vue +481 -162
  15. package/src/components/PuiFormFooter.vue +5 -38
  16. package/src/components/PuiFormTooltip.vue +50 -0
  17. package/src/components/PuiMasterDetail.vue +18 -11
  18. package/src/components/PuiModalDialog.vue +4 -1
  19. package/src/components/PuiModalDialogForm.vue +5 -1
  20. package/src/components/PuiMultiSelect.vue +383 -280
  21. package/src/components/PuiNumberField.vue +216 -285
  22. package/src/components/PuiRichTextEditor.vue +43 -44
  23. package/src/components/PuiSelect.vue +382 -355
  24. package/src/components/PuiSelectDetailDialog.vue +10 -3
  25. package/src/components/PuiSelectorList.vue +169 -0
  26. package/src/components/PuiSort.vue +98 -0
  27. package/src/components/PuiSpinnerField.vue +101 -121
  28. package/src/components/PuiTextField.vue +374 -258
  29. package/src/index.js +8 -0
  30. package/src/main.js +1 -0
  31. package/src/mixins/PuiFormComponentMixin.js +2 -8
  32. package/src/mixins/PuiSortMixin.js +136 -0
  33. package/src/mixins/PuiUtilsNumberMixin.js +15 -5
  34. package/src/plugins/vuetify.js +2 -1
  35. package/src/utils.js +10 -0
  36. package/dist/demo.html +0 -10
  37. package/dist/pui9-components.common.js.map +0 -1
  38. package/dist/pui9-components.umd.js +0 -86432
  39. package/dist/pui9-components.umd.js.map +0 -1
  40. package/dist/pui9-components.umd.min.js +0 -308
  41. package/dist/pui9-components.umd.min.js.map +0 -1
  42. package/src/mixins/PuiFilterMixin.js +0 -157
  43. package/src/mixins/PuiMultiSelectMixin.js +0 -106
@@ -1,273 +1,389 @@
1
1
  <template>
2
- <!-- DESKTOP - TABLET -->
3
- <div v-if="!isMobile">
4
- <div v-if="toplabel || !hasLabel" class="ml-1 mr-1">
5
- <v-layout v-if="hasLabel">
6
- <v-flex xs12>
7
- <label v-if="getLabel === '$nbsp;'">&nbsp;</label>
8
- <label v-else :class="getLabelRequiredClass">{{ getLabel }}</label>
9
- <v-tooltip top v-if="showTooltip">
10
- <template v-slot:activator="{ on }">
11
- <v-icon class="info-tooltip" size="14" v-on="on">fas fa-info-circle info-tooltip</v-icon>
12
- </template>
13
- <span>
14
- <span v-if="this.description !== ''">
15
- {{ this.description }}
16
- <hr v-if="this.infoTooltipMessages.length > 0" />
17
- </span>
18
- <ul>
19
- <li v-for="(message, index) in this.infoTooltipMessages" :key="index">{{ message }}</li>
20
- </ul>
21
- </span>
22
- </v-tooltip>
23
- </v-flex>
24
- </v-layout>
25
- <v-layout>
26
- <v-flex xs12>
27
- <v-text-field
28
- v-model="internalModel"
29
- v-bind="allProps"
30
- :class="getEditedClass"
31
- :rules="getRules"
32
- solo
33
- outlined
34
- flat
35
- @blur="updateValueLazy"
36
- @input="updateValueRealtime"
37
- :placeholder="getPlaceholder"
38
- :error="internalError"
39
- v-on="$listeners"
40
- ></v-text-field>
41
- </v-flex>
42
- </v-layout>
43
- </div>
44
- <div v-else class="ml-1 mr-1">
45
- <v-layout>
46
- <v-flex :class="labelColumnStyles ? labelColumnStyles : 'xs12 sm6 md4 xl3'">
47
- <label :class="getLabelRequiredClass">{{ getLabel }}</label>
48
- <v-tooltip top v-if="showTooltip">
49
- <template v-slot:activator="{ on }">
50
- <v-icon class="info-tooltip" size="14" v-on="on">fas fa-info-circle info-tooltip</v-icon>
51
- </template>
52
- <span>
53
- <span v-if="this.description !== ''">
54
- {{ this.description }}
55
- <hr v-if="this.infoTooltipMessages.length > 0" />
56
- </span>
57
- <ul>
58
- <li v-for="(message, index) in this.infoTooltipMessages" :key="index">{{ message }}</li>
59
- </ul>
60
- </span>
61
- </v-tooltip>
62
- </v-flex>
63
- <v-flex :class="valueColumnStyles ? valueColumnStyles : 'xs12 sm6 md8 xl9'">
64
- <v-text-field
65
- v-model="internalModel"
66
- v-bind="allProps"
67
- :class="getEditedClass"
68
- :rules="getRules"
69
- solo
70
- outlined
71
- flat
72
- @blur="updateValueLazy"
73
- @input="updateValueRealtime"
74
- :placeholder="getPlaceholder"
75
- :error="internalError"
76
- v-on="$listeners"
77
- ></v-text-field>
78
- </v-flex>
79
- </v-layout>
80
- </div>
81
- </div>
82
- <!-- MOBILE -->
83
- <div v-else>
84
- <v-layout>
85
- <v-flex xs12>
86
- <v-text-field
87
- v-model="internalModel"
88
- v-bind="allProps"
89
- :label="getLabel"
90
- :class="getMobileClass"
91
- :rules="getRules"
92
- class="v-text-field--mobile"
93
- flat
94
- @blur="updateValueLazy"
95
- @input="updateValueRealtime"
96
- :placeholder="getPlaceholder"
97
- :error="internalError"
98
- v-on="$listeners"
99
- ></v-text-field>
100
- </v-flex>
101
- </v-layout>
102
- </div>
2
+ <!-- DESKTOP - TABLET -->
3
+ <div v-if="!isMobile">
4
+ <div v-if="toplabel || !hasLabel" class="ml-1 mr-1">
5
+ <v-layout v-if="hasLabel">
6
+ <v-flex xs12>
7
+ <label v-if="getLabel === '$nbsp;'">&nbsp;</label>
8
+ <label v-else :class="getLabelRequiredClass">{{ getLabel }}</label>
9
+ <pui-form-tooltip v-bind="{ tooltipDescription, tooltipIcon }" v-if="showTooltip" ref="tooltip"></pui-form-tooltip>
10
+ </v-flex>
11
+ </v-layout>
12
+ <v-layout>
13
+ <v-flex xs12>
14
+ <v-text-field
15
+ v-model="internalModel"
16
+ v-bind="allProps"
17
+ :class="getEditedClass"
18
+ :rules="getRules"
19
+ solo
20
+ outlined
21
+ flat
22
+ @blur="updateValueLazy"
23
+ @input="updateValueRealtime"
24
+ :placeholder="getPlaceholder"
25
+ :error="internalError"
26
+ v-on="$listeners"
27
+ ></v-text-field>
28
+ </v-flex>
29
+ </v-layout>
30
+ </div>
31
+ <div v-else class="ml-1 mr-1">
32
+ <v-layout>
33
+ <v-flex :class="labelColumnStyles ? labelColumnStyles : 'xs12 sm6 md4 xl3'">
34
+ <label :class="getLabelRequiredClass">{{ getLabel }}</label>
35
+ <pui-form-tooltip v-bind="{ tooltipDescription, tooltipIcon }" v-if="showTooltip" ref="tooltip"></pui-form-tooltip>
36
+ </v-flex>
37
+ <v-flex :class="valueColumnStyles ? valueColumnStyles : 'xs12 sm6 md8 xl9'">
38
+ <v-text-field
39
+ v-model="internalModel"
40
+ v-bind="allProps"
41
+ :class="getEditedClass"
42
+ :rules="getRules"
43
+ solo
44
+ outlined
45
+ flat
46
+ @blur="updateValueLazy"
47
+ @input="updateValueRealtime"
48
+ :placeholder="getPlaceholder"
49
+ :error="internalError"
50
+ v-on="$listeners"
51
+ ></v-text-field>
52
+ </v-flex>
53
+ </v-layout>
54
+ </div>
55
+ </div>
56
+ <!-- MOBILE -->
57
+ <div v-else>
58
+ <v-layout>
59
+ <v-flex xs12>
60
+ <v-text-field
61
+ v-model="internalModel"
62
+ v-bind="allProps"
63
+ :label="getLabel"
64
+ :class="getMobileClass"
65
+ :rules="getRules"
66
+ class="v-text-field--mobile"
67
+ flat
68
+ @blur="updateValueLazy"
69
+ @input="updateValueRealtime"
70
+ :placeholder="getPlaceholder"
71
+ :error="internalError"
72
+ v-on="$listeners"
73
+ ></v-text-field>
74
+ </v-flex>
75
+ </v-layout>
76
+ </div>
103
77
  </template>
104
78
 
105
79
  <script>
106
80
  import PuiFormComponentMixin from '../mixins/PuiFormComponentMixin';
107
81
 
108
82
  export default {
109
- name: 'PuiTextField',
110
- mixins: [PuiFormComponentMixin],
111
- data: () => ({
112
- infoTooltipMessages: []
113
- }),
114
- props: {
115
- value: {
116
- type: [String, Number],
117
- required: false
118
- },
119
- tooltip: {
120
- type: Boolean,
121
- required: false,
122
- default: false
123
- },
124
- description: {
125
- type: String,
126
- required: false,
127
- default: ''
128
- },
129
- realtime: {
130
- type: Boolean,
131
- required: false,
132
- default: false
133
- },
134
- placeholder: {
135
- type: String,
136
- required: false,
137
- default: ' '
138
- },
139
- noLazyModel: {
140
- type: Boolean,
141
- required: false,
142
- default: false
143
- },
144
- readonly: {
145
- type: Boolean,
146
- required: false,
147
- default: false
148
- },
149
- rules: {
150
- type: Array,
151
- default: () => {
152
- return [];
153
- }
154
- },
155
- maxlength: {
156
- type: [Number, String],
157
- required: false
158
- },
159
- labelColumnStyles: {
83
+ name: 'PuiTextField',
84
+ mixins: [PuiFormComponentMixin],
85
+ props: {
86
+ value: {
87
+ type: [String, Number],
88
+ required: false
89
+ },
90
+ tooltip: {
91
+ type: Boolean,
92
+ required: false,
93
+ default: false
94
+ },
95
+ tooltipDescription: {
160
96
  type: String,
161
97
  required: false
162
98
  },
163
- valueColumnStyles: {
99
+ tooltipIcon: {
164
100
  type: String,
165
- required: false
166
- }
167
- },
168
- computed: {
169
- getMobileClass() {
170
- return { 'v-text-field--edited': this.isEdited, 'v-text-field--required': this.required };
171
- },
172
- getLabelRequiredClass() {
173
- return { 'v-label--required': this.required };
174
- },
175
- getEditedClass() {
176
- return { 'v-text-field--edited': this.isEdited };
177
- },
178
- getRules() {
179
- const rules = [...this.rules];
180
- if (this.required) {
181
- var func = (value) => !!value || this.requiredMessage;
182
- var func2 = () => !this.internalError;
183
- var func3 = () => {
184
- if (this.internalModel === '' || this.internalModel === null) {
185
- return this.requiredMessage;
186
- }
187
- return true;
188
- };
189
- rules.push(func, func2, func3);
190
- }
191
- return rules;
192
- },
193
- compPlaceholder() {
194
- if (this.placeholder && this.placeholder.length > 0) {
195
- return this.placeholder;
196
- }
197
- return ' ';
198
- },
199
- showTooltip() {
200
- if (!this.tooltip || this.getLabel === '' || this.getLabel === null) {
201
- return false;
202
- }
203
- return (this.infoTooltipMessages.length > 0 || this.description !== '') && this.tooltip;
204
- }
205
- },
206
- watch: {
207
- value(val) {
208
- if (!this.noLazyModel && !this.firstLazyLoad) {
209
- this.initializeModel(val);
210
- this.firstLazyLoad = true;
211
- } else {
212
- this.internalModel = val;
213
- }
214
- }
215
- },
216
- created() {
217
- if (this.noLazyModel) {
218
- this.firstLazyLoad = true;
219
- }
220
- this.initialValue = this.value;
221
- this.initializeModel(this.value);
222
-
223
- this.getInfoTooltip();
224
- },
225
- methods: {
226
- getInfoTooltip() {
227
- if (this.maxlength) {
228
- this.infoTooltipMessages.push(`${this.$t('pui9.error.field_maxlength')} ${this.maxlength}`);
229
- }
230
- },
231
- updateValueLazy() {
232
- this.checkValue();
233
- if (!this.realtime) {
234
- this.internalModel = this.sanitizePuiFormHtmlText(this.internalModel);
235
- if (this.internalModel === '' || this.internalModel === 'null' || this.internalModel === 'undefined') {
236
- this.internalModel = undefined;
237
- }
238
- this.$emit('input', this.internalModel);
239
- }
240
- },
241
- updateValueRealtime() {
242
- this.checkValue();
243
- if (this.realtime) {
244
- this.internalModel = this.sanitizePuiFormHtmlText(this.internalModel);
245
- if (this.internalModel === '' || this.internalModel === 'null' || this.internalModel === 'undefined') {
246
- this.internalModel = undefined;
247
- }
248
- this.$emit('input', this.internalModel);
249
- }
250
- },
251
- initializeModel(value) {
252
- this.internalModel = value;
253
- if (value !== null && !this.firstLazyLoad) {
254
- this.firstLazyLoad = true;
255
- }
256
- },
257
- checkValue() {
258
- this.clearMessages();
259
- if (this.required) {
260
- if (this.internalModel === '' || this.internalModel === null) {
261
- this.showErrorMessage();
262
- }
263
- }
264
- },
265
- clearMessages() {
266
- this.internalError = false;
101
+ required: false,
267
102
  },
268
- showErrorMessage() {
269
- this.internalError = true;
103
+ realtime: {
104
+ type: Boolean,
105
+ required: false,
106
+ default: false
107
+ },
108
+ placeholder: {
109
+ type: String,
110
+ required: false,
111
+ default: ' '
112
+ },
113
+ noLazyModel: {
114
+ type: Boolean,
115
+ required: false,
116
+ default: false
117
+ },
118
+ readonly: {
119
+ type: Boolean,
120
+ required: false,
121
+ default: false
122
+ },
123
+ rules: {
124
+ type: Array,
125
+ default: () => {
126
+ return [];
127
+ }
128
+ },
129
+ emailMask: {
130
+ type: Boolean,
131
+ required: false,
132
+ default: false
133
+ },
134
+ nifMask: {
135
+ type: Boolean,
136
+ required: false,
137
+ default: false
138
+ },
139
+ nieMask: {
140
+ type: Boolean,
141
+ required: false,
142
+ default: false
143
+ },
144
+ cifMask: {
145
+ type: Boolean,
146
+ required: false,
147
+ default: false
148
+ },
149
+ passportMask: {
150
+ type: Boolean,
151
+ required: false,
152
+ default: false
153
+ },
154
+ maxlength: {
155
+ type: [Number, String],
156
+ required: false
157
+ },
158
+ labelColumnStyles: {
159
+ type: String,
160
+ required: false
161
+ },
162
+ valueColumnStyles: {
163
+ type: String,
164
+ required: false
165
+ }
166
+ },
167
+ computed: {
168
+ getMobileClass() {
169
+ return { 'v-text-field--edited': this.isEdited, 'v-text-field--required': this.required };
170
+ },
171
+ getLabelRequiredClass() {
172
+ return { 'v-label--required': this.required };
173
+ },
174
+ getEditedClass() {
175
+ return { 'v-text-field--edited': this.isEdited };
176
+ },
177
+ getRules() {
178
+ const rules = [...this.rules];
179
+ if (this.required) {
180
+ var func = (value) => !!value || this.requiredMessage;
181
+ var func2 = () => !this.internalError;
182
+ var func3 = () => {
183
+ if (this.internalModel === '' || this.internalModel === null) {
184
+ return this.requiredMessage;
185
+ }
186
+ return true;
187
+ };
188
+ rules.push(func, func2, func3);
189
+ }
190
+ if (this.emailMask) {
191
+ var checkEmail = (value) => {
192
+ if (!value) {
193
+ return true;
194
+ }
195
+ if (value.length > 0) {
196
+ const pattern = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
197
+ return pattern.test(value) || this.$t('form.puialertconfiguration.emails_invalid');
198
+ }
199
+ return false;
200
+ }
201
+ rules.push(checkEmail);
202
+ }
203
+ if (this.nifMask) {
204
+ var checkNif = (value) => {
205
+ if (!value) {
206
+ return true;
207
+ }
208
+ value = value.toUpperCase();
209
+ if (value.length > 0) {
210
+ const pattern = /^(\d{8})([A-Z]{1})$/;
211
+ var letters = "TRWAGMYFPDXBNJZSQVHLCKE";
212
+ if (pattern.test(value)) {
213
+ console.log("letters.charAt(value.substring(0, 8) % 23)",letters.charAt(value.substring(0, 8) % 23));
214
+ console.log("value.charAt(8)",value.charAt(8));
215
+ if (letters.charAt(value.substring(0, 8) % 23) === value.charAt(8)){
216
+ return true;
217
+ } else{
218
+ return this.$t('form.puialertconfiguration.nifs_invalid');
219
+ }
220
+ } else {
221
+ return this.$t('form.puialertconfiguration.nifs_invalid');
222
+ }
223
+ }
224
+ return false;
225
+ }
226
+ rules.push(checkNif);
227
+ }
228
+ if (this.nieMask) {
229
+ var checkNie = (value) => {
230
+ if (!value) {
231
+ return true;
232
+ }
233
+ value = value.toUpperCase();
234
+ if (value.length > 0) {
235
+ const pattern = /^([XYZ]{1})(\d{7})([A-Z]{1})$/;
236
+ var letters = "TRWAGMYFPDXBNJZSQVHLCKE";
237
+ if (pattern.test(value)) {
238
+ if (value.startsWith('X')) {
239
+ value = value.replace('X', '0');
240
+ } else if (value.startsWith('Y')) {
241
+ value = value.replace('Y', '1');
242
+ } else if (value.startsWith('Z')) {
243
+ value = value.replace('Z', '2');
244
+ }
245
+ if (letters.charAt(value.substring(0, 8) % 23) == value.charAt(8)){
246
+ return true;
247
+ } else{
248
+ return this.$t('form.puialertconfiguration.nies_invalid');
249
+ }
250
+ } else {
251
+ return this.$t('form.puialertconfiguration.nies_invalid');
252
+ }
253
+ }
254
+ return false;
255
+ }
256
+ rules.push(checkNie);
257
+ }
258
+ if (this.cifMask) {
259
+ var checkCif = (value) => {
260
+ if (!value) {
261
+ return true;
262
+ }
263
+ value = value.toUpperCase();
264
+ if (value.length > 0) {
265
+ const pattern = /^([ABCDEFGHJKLMNPQRSUVW])(\d{7})([0-9A-J])$/;
266
+ return pattern.test(value) || this.$t('form.puialertconfiguration.cifs_invalid');
267
+ }
268
+ var v1 = new Array(0, 2, 4, 6, 8, 1, 3, 5, 7, 9);
269
+ var temp = 0;
270
+ var dc;
271
+ var i;
272
+ for (i = 2; i <= 6; i += 2) {
273
+ temp = temp + v1[parseInt(value.substr(i - 1, 1))];
274
+ temp = temp + parseInt(value.substr(i, 1));
275
+ }
276
+ temp = temp + v1[parseInt(value.substr(7, 1))];
277
+ temp = (10 - (temp % 10));
278
+ if (temp == 10) {
279
+ temp = 0;
280
+ }
281
+ dc = value.toUpperCase().charAt(8);
282
+ if ((dc == temp) || (temp == 1 && dc == 'A') || (temp == 2 && dc == 'B') || (temp == 3 && dc == 'C') || (temp == 4 && dc == 'D') || (temp == 5 && dc == 'E') || (temp == 6 && dc == 'F') || (temp == 7 && dc == 'G') || (temp == 8 && dc == 'H') || (temp == 9 && dc == 'I') || (temp == 0 && dc == 'J')){
283
+ return true;
284
+ } else {
285
+ return this.$t('form.puialertconfiguration.cifs_invalid');
286
+ }
287
+ }
288
+ rules.push(checkCif);
289
+ }
290
+ if (this.passportMask) {
291
+ var checkPassport = (value) => {
292
+ if (!value) {
293
+ return true;
294
+ }
295
+ value = value.toUpperCase();
296
+ if (value.length > 0) {
297
+ const pattern = /[A-Z]{3}[0-9]{6}/;
298
+ return pattern.test(value) || this.$t('form.puialertconfiguration.passports_invalid');
299
+ }
300
+ return false;
301
+ }
302
+ rules.push(checkPassport);
303
+ }
304
+ return rules;
305
+ },
306
+ compPlaceholder() {
307
+ if (this.placeholder && this.placeholder.length > 0) {
308
+ return this.placeholder;
309
+ }
310
+ return ' ';
311
+ },
312
+ showTooltip() {
313
+ if (this.getLabel === '' || this.getLabel === null) {
314
+ return false;
315
+ }
316
+ return this.tooltipDescription || this.tooltip;
317
+ }
318
+ },
319
+ watch: {
320
+ value(val) {
321
+ if (!this.noLazyModel && !this.firstLazyLoad) {
322
+ this.initializeModel(val);
323
+ this.firstLazyLoad = true;
324
+ } else {
325
+ this.internalModel = val;
326
+ }
327
+ }
328
+ },
329
+ created() {
330
+ if (this.noLazyModel) {
331
+ this.firstLazyLoad = true;
332
+ }
333
+ this.initialValue = this.value;
334
+ this.initializeModel(this.value);
335
+ },
336
+ mounted() {
337
+ if (this.tooltip && this.$refs.tooltip) {
338
+ this.setTooltip();
270
339
  }
271
- }
340
+ },
341
+ methods: {
342
+ setTooltip() {
343
+ if (this.maxlength) {
344
+ this.$refs.tooltip.pushMessage(`${this.$t('pui9.error.field_maxlength')} ${this.maxlength}`);
345
+ }
346
+ },
347
+ updateValueLazy() {
348
+ this.checkValue();
349
+ if (!this.realtime) {
350
+ this.internalModel = this.sanitizePuiFormHtmlText(this.internalModel);
351
+ if (this.internalModel === '' || this.internalModel === 'null' || this.internalModel === 'undefined') {
352
+ this.internalModel = undefined;
353
+ }
354
+ this.$emit('input', this.internalModel);
355
+ }
356
+ },
357
+ updateValueRealtime() {
358
+ this.checkValue();
359
+ if (this.realtime) {
360
+ this.internalModel = this.sanitizePuiFormHtmlText(this.internalModel);
361
+ if (this.internalModel === '' || this.internalModel === 'null' || this.internalModel === 'undefined') {
362
+ this.internalModel = undefined;
363
+ }
364
+ this.$emit('input', this.internalModel);
365
+ }
366
+ },
367
+ initializeModel(value) {
368
+ this.internalModel = value;
369
+ if (value !== null && !this.firstLazyLoad) {
370
+ this.firstLazyLoad = true;
371
+ }
372
+ },
373
+ checkValue() {
374
+ this.clearMessages();
375
+ if (this.required) {
376
+ if (this.internalModel === '' || this.internalModel === null) {
377
+ this.showErrorMessage();
378
+ }
379
+ }
380
+ },
381
+ clearMessages() {
382
+ this.internalError = false;
383
+ },
384
+ showErrorMessage() {
385
+ this.internalError = true;
386
+ }
387
+ }
272
388
  };
273
389
  </script>
package/src/index.js CHANGED
@@ -1,12 +1,16 @@
1
1
  import PuiAutocomplete from './components/PuiAutocomplete';
2
+ import PuiCauDialog from './components/PuiCauDialog';
2
3
  import PuiCheckbox from './components/PuiCheckbox';
3
4
  import PuiCodeEditor from './components/PuiCodeEditor';
4
5
  import PuiDateField from './components/PuiDateField';
5
6
  import PuiField from './components/PuiField';
6
7
  import PuiFieldSet from './components/PuiFieldSet';
8
+ import PuiFileUpload from './components/PuiFileUpload';
9
+ import PuiFileUploadGroup from './components/PuiFileUploadGroup';
7
10
  import PuiFilter from './components/PuiFilter';
8
11
  import PuiFilterGroup from './components/PuiFilterGroup';
9
12
  import PuiFilterRule from './components/PuiFilterRule';
13
+ import PuiFormTooltip from './components/PuiFormTooltip';
10
14
  import PuiMultiSelect from './components/PuiMultiSelect';
11
15
  import PuiNumberField from './components/PuiNumberField';
12
16
  import PuiPasswordField from './components/PuiPasswordField';
@@ -37,13 +41,17 @@ import Utils from './utils';
37
41
  const Components = {
38
42
  PuiAutocomplete,
39
43
  PuiCheckbox,
44
+ PuiCauDialog,
40
45
  PuiCodeEditor,
41
46
  PuiDateField,
42
47
  PuiField,
43
48
  PuiFieldSet,
44
49
  PuiFilter,
50
+ PuiFileUpload,
51
+ PuiFileUploadGroup,
45
52
  PuiFilterGroup,
46
53
  PuiFilterRule,
54
+ PuiFormTooltip,
47
55
  PuiMultiSelect,
48
56
  PuiNumberField,
49
57
  PuiPasswordField,
package/src/main.js CHANGED
@@ -6,6 +6,7 @@ import App from './App.vue';
6
6
 
7
7
  import '@fortawesome/fontawesome-pro/css/all.css';
8
8
  import 'vuetify/dist/vuetify.min.css';
9
+
9
10
  import '../../pui9-styles/pui9.css';
10
11
 
11
12
  import storeObj from '../../pui9-store';