@neovici/cosmoz-form 1.1.1 → 2.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Props as DialogProps } from '@neovici/cosmoz-dialog
|
|
2
|
-
import '@neovici/cosmoz-dialog
|
|
1
|
+
import { Props as DialogProps } from '@neovici/cosmoz-dialog';
|
|
2
|
+
import '@neovici/cosmoz-dialog/loading';
|
|
3
3
|
import { Props as AddProps } from '../use-validated-form$';
|
|
4
4
|
import '@neovici/cosmoz-spinner';
|
|
5
5
|
import { Renderable, Resolvable } from '../types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../src/form-dialog/form-dialog.ts"],"names":[],"mappings":"AAMA,OAAO,EAAU,KAAK,IAAI,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"form-dialog.d.ts","sourceRoot":"","sources":["../../src/form-dialog/form-dialog.ts"],"names":[],"mappings":"AAMA,OAAO,EAAU,KAAK,IAAI,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,gCAAgC,CAAC;AAIxC,OAAO,EAAqB,KAAK,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC9E,OAAO,yBAAyB,CAAC;AAIjC,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAElD,UAAU,KAAK,CAAC,CAAC,SAAS,MAAM,CAAE,SAAQ,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC;IACjE,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,UAAU,CAAC;IACzB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB;AA2CD,MAAM,WAAW,MAAM,CAAC,CAAC,SAAS,MAAM,CAAE,SAAQ,KAAK,CAAC,CAAC,CAAC;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,MAAM,EAAE,QAAQ,MAAM,CAAC,CAAC,CAAC,KAAG,UAoBhE,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,MAAM,EAAE,QAAQ,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;;;;EAIzE,CAAC"}
|
|
@@ -4,8 +4,8 @@ import { when } from 'lit-html/directives/when.js';
|
|
|
4
4
|
import { ifDefined } from 'lit-html/directives/if-defined.js';
|
|
5
5
|
import { _ } from '@neovici/cosmoz-i18next';
|
|
6
6
|
import { portal } from '@neovici/cosmoz-utils/directives/portal';
|
|
7
|
-
import { dialog } from '@neovici/cosmoz-dialog
|
|
8
|
-
import '@neovici/cosmoz-dialog
|
|
7
|
+
import { dialog } from '@neovici/cosmoz-dialog';
|
|
8
|
+
import '@neovici/cosmoz-dialog/loading';
|
|
9
9
|
import buttonStyles from '../styles/button';
|
|
10
10
|
import { renderFields, renderStyles } from '../render';
|
|
11
11
|
import { renderFailure$, renderButton$ } from '../add/render';
|
package/package.json
CHANGED
|
@@ -1,99 +1,101 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
2
|
+
"name": "@neovici/cosmoz-form",
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "A pionjs component",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"web-components",
|
|
7
|
+
"form",
|
|
8
|
+
"pion",
|
|
9
|
+
"lit-html"
|
|
10
|
+
],
|
|
11
|
+
"homepage": "https://github.com/Neovici/cosmoz-form#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/Neovici/cosmoz-form/issues"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/Neovici/cosmoz-form.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "Apache-2.0",
|
|
20
|
+
"author": "",
|
|
21
|
+
"main": "dist/index.js",
|
|
22
|
+
"type": "module",
|
|
23
|
+
"directories": {
|
|
24
|
+
"test": "test"
|
|
25
|
+
},
|
|
26
|
+
"scripts": {
|
|
27
|
+
"lint": "tsc && eslint --cache .",
|
|
28
|
+
"build": "tsc -p tsconfig.build.json",
|
|
29
|
+
"start": "wds",
|
|
30
|
+
"test": "wtr --coverage",
|
|
31
|
+
"test:watch": "wtr --watch",
|
|
32
|
+
"check:duplicates": "check-duplicate-components",
|
|
33
|
+
"dev": "npm run storybook:start",
|
|
34
|
+
"storybook:start": "storybook dev -p 8000",
|
|
35
|
+
"storybook:build": "storybook build",
|
|
36
|
+
"storybook:deploy": "storybook-to-ghpages",
|
|
37
|
+
"storybook:preview": "npm run storybook:build && http-server -d ./storybook-static/",
|
|
38
|
+
"prepare": "husky"
|
|
39
|
+
},
|
|
40
|
+
"release": {
|
|
41
|
+
"plugins": [
|
|
42
|
+
"@semantic-release/commit-analyzer",
|
|
43
|
+
"@semantic-release/release-notes-generator",
|
|
44
|
+
"@semantic-release/changelog",
|
|
45
|
+
"@semantic-release/github",
|
|
46
|
+
"@semantic-release/npm",
|
|
47
|
+
"@semantic-release/git"
|
|
48
|
+
],
|
|
49
|
+
"branch": "master",
|
|
50
|
+
"preset": "conventionalcommits"
|
|
51
|
+
},
|
|
52
|
+
"publishConfig": {
|
|
53
|
+
"access": "public"
|
|
54
|
+
},
|
|
55
|
+
"files": [
|
|
56
|
+
"dist/",
|
|
57
|
+
"types"
|
|
58
|
+
],
|
|
59
|
+
"exports": {
|
|
60
|
+
".": "./dist/index.js"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"@lit-labs/virtualizer": "^2.1.1",
|
|
64
|
+
"@neovici/cosmoz-autocomplete": "^10.10.4 || ^11.0.0 || ^12.0.0 || ^13.0.0",
|
|
65
|
+
"@neovici/cosmoz-dialog": "^4.0.0",
|
|
66
|
+
"@neovici/cosmoz-i18next": "^3.5.1",
|
|
67
|
+
"@neovici/cosmoz-icons": "^1.3.0",
|
|
68
|
+
"@neovici/cosmoz-input": "^5.5.0",
|
|
69
|
+
"@neovici/cosmoz-spinner": "^1.0.2",
|
|
70
|
+
"@neovici/cosmoz-utils": "^6.17.0",
|
|
71
|
+
"@pionjs/pion": "^2.5.2",
|
|
72
|
+
"date-fns": "^4.1.0",
|
|
73
|
+
"lit-html": "^3.3.1"
|
|
74
|
+
},
|
|
75
|
+
"devDependencies": {
|
|
76
|
+
"@commitlint/cli": "^20.0.0",
|
|
77
|
+
"@commitlint/config-conventional": "^20.0.0",
|
|
78
|
+
"@neovici/cfg": "^2.8.0",
|
|
79
|
+
"lint-staged": "^15.4.3",
|
|
80
|
+
"@neovici/testing": "^2.0.0",
|
|
81
|
+
"@open-wc/testing": "^4.0.0",
|
|
82
|
+
"@open-wc/testing-helpers": "^3.0.1",
|
|
83
|
+
"@semantic-release/changelog": "^6.0.0",
|
|
84
|
+
"@semantic-release/git": "^10.0.0",
|
|
85
|
+
"@storybook/addon-links": "^10.0.0",
|
|
86
|
+
"@storybook/web-components": "^10.0.0",
|
|
87
|
+
"@storybook/web-components-vite": "^10.0.0",
|
|
88
|
+
"@types/mocha": "^10.0.0",
|
|
89
|
+
"@types/node": "^24.0.0",
|
|
90
|
+
"esbuild": "^0.27.0",
|
|
91
|
+
"http-server": "^14.1.1",
|
|
92
|
+
"husky": "^9.0.11",
|
|
93
|
+
"semantic-release": "^25.0.0",
|
|
94
|
+
"sinon": "^19.0.0",
|
|
95
|
+
"storybook": "^10.0.0"
|
|
96
|
+
},
|
|
97
|
+
"overrides": {
|
|
98
|
+
"conventional-changelog-conventionalcommits": ">= 8.0.0",
|
|
99
|
+
"@polymer/polymer": "^3.5.2"
|
|
100
|
+
}
|
|
99
101
|
}
|