@vunk/form 2.13.2 → 2.14.1

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.
@@ -0,0 +1,7 @@
1
+ import { VueComponentPropsType } from '@vunk/shared';
2
+ import Core from './index.vue';
3
+ import { BasicSource } from '@vunk/form/shared';
4
+ export interface Source<P = string> extends VueComponentPropsType<typeof Core>, BasicSource {
5
+ prop?: P;
6
+ templateType: 'VkfInputArray';
7
+ }
package/index.css CHANGED
@@ -283,6 +283,21 @@
283
283
  user-select: text;
284
284
  }
285
285
 
286
+ .vkf-input-array-delete{
287
+ cursor: pointer;
288
+ }
289
+ .vkf-input-array-options{
290
+ width: 100%;
291
+ display: flex;
292
+ justify-content: flex-end;
293
+ }
294
+ .vkf-input-array-fieldset > .el-form-item:not(:last-child) {
295
+ margin-bottom: 8px;
296
+ }
297
+ .vkf-input-array-fieldset .el-form-item__content{
298
+ flex-wrap: initial;
299
+ }
300
+
286
301
  .vkf-input-collection-options{
287
302
  width: 100%;
288
303
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "2.13.2",
3
+ "version": "2.14.1",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {
@@ -200,6 +200,11 @@
200
200
  "types": "./components/input-collection/index.d.ts",
201
201
  "require": "./components/input-collection/index.cjs"
202
202
  },
203
+ "./components/input-array": {
204
+ "import": "./components/input-array/index.mjs",
205
+ "types": "./components/input-array/index.d.ts",
206
+ "require": "./components/input-array/index.cjs"
207
+ },
203
208
  "./components/input": {
204
209
  "import": "./components/input/index.mjs",
205
210
  "types": "./components/input/index.d.ts",
@@ -362,6 +367,9 @@
362
367
  "./components/input-collection/index.css": {
363
368
  "import": "./components/input-collection/index.css"
364
369
  },
370
+ "./components/input-array/index.css": {
371
+ "import": "./components/input-array/index.css"
372
+ },
365
373
  "./components/information-templates-default/index.css": {
366
374
  "import": "./components/information-templates-default/index.css"
367
375
  },