@neovici/cosmoz-omnitable 14.21.1 → 14.21.3
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/dist/cosmoz-omnitable-styles.js +13 -0
- package/dist/lib/render-list.d.ts.map +1 -1
- package/dist/lib/render-list.js +4 -1
- package/package.json +143 -134
|
@@ -251,6 +251,9 @@ exports.default = (0, cosmoz_utils_1.tagged) `
|
|
|
251
251
|
position: relative;
|
|
252
252
|
flex: auto;
|
|
253
253
|
}
|
|
254
|
+
.tableContent:has(.tableContent-empty.spinner) {
|
|
255
|
+
opacity: 0.3;
|
|
256
|
+
}
|
|
254
257
|
|
|
255
258
|
/* Empty data set styling */
|
|
256
259
|
.tableContent-empty {
|
|
@@ -584,5 +587,15 @@ exports.default = (0, cosmoz_utils_1.tagged) `
|
|
|
584
587
|
:host([mini]) cosmoz-omnitable-settings::part(columns) {
|
|
585
588
|
display:none;
|
|
586
589
|
}
|
|
590
|
+
|
|
591
|
+
cz-spinner {
|
|
592
|
+
width: 48px;
|
|
593
|
+
height: 48px;
|
|
594
|
+
position: absolute;
|
|
595
|
+
top: 40%;
|
|
596
|
+
right: 50%;
|
|
597
|
+
border-color: rgba(0, 0, 0, 0.2);
|
|
598
|
+
border-top-color: #000;
|
|
599
|
+
}
|
|
587
600
|
`;
|
|
588
601
|
//# sourceMappingURL=cosmoz-omnitable-styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render-list.d.ts","sourceRoot":"","sources":["../../src/lib/render-list.js"],"names":[],"mappings":"AAMO,
|
|
1
|
+
{"version":3,"file":"render-list.d.ts","sourceRoot":"","sources":["../../src/lib/render-list.js"],"names":[],"mappings":"AAMO,oIAiFN"}
|
package/dist/lib/render-list.js
CHANGED
|
@@ -23,11 +23,14 @@ const renderList = (header, list) => {
|
|
|
23
23
|
<p>${(0, cosmoz_i18next_1._)('No matches for selection')}</p>
|
|
24
24
|
</div>
|
|
25
25
|
</div>`)}
|
|
26
|
-
${(0, when_js_1.when)(loading, () => (0, lit_html_1.html) `<div class="tableContent-empty overlay">
|
|
26
|
+
${(0, when_js_1.when)(loading && !processedItems.length, () => (0, lit_html_1.html) `<div class="tableContent-empty overlay">
|
|
27
27
|
<cosmoz-omnitable-skeleton
|
|
28
28
|
.settingsConfig=${settingsConfig}
|
|
29
29
|
></cosmoz-omnitable-skeleton>
|
|
30
30
|
</div>`)}
|
|
31
|
+
${(0, when_js_1.when)(loading && processedItems.length, () => (0, lit_html_1.html) `<div class="tableContent-empty overlay spinner">
|
|
32
|
+
<cz-spinner></cz-spinner>
|
|
33
|
+
</div>`)}
|
|
31
34
|
${(0, when_js_1.when)(error, () => (0, lit_html_1.html) `<div class="tableContent-empty overlay">
|
|
32
35
|
<iron-icon icon="icons:error"></iron-icon>
|
|
33
36
|
<div class="tableContent-empty-message">
|
package/package.json
CHANGED
|
@@ -1,136 +1,145 @@
|
|
|
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
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
2
|
+
"name": "@neovici/cosmoz-omnitable",
|
|
3
|
+
"version": "14.21.3",
|
|
4
|
+
"description": "[](https://travis-ci.org/Neovici/cosmoz-omnitable)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"web-components"
|
|
7
|
+
],
|
|
8
|
+
"homepage": "https://github.com/neovici/cosmoz-omnitable#readme",
|
|
9
|
+
"bugs": {
|
|
10
|
+
"url": "https://github.com/neovici/cosmoz-omnitable/issues"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/neovici/cosmoz-omnitable.git"
|
|
15
|
+
},
|
|
16
|
+
"license": "Apache-2.0",
|
|
17
|
+
"author": "Neovici Development",
|
|
18
|
+
"main": "dist/cosmoz-omnitable.js",
|
|
19
|
+
"types": "dist/cosmoz-omnitable.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./cosmoz-omnitable.js": {
|
|
22
|
+
"types": "./dist/cosmoz-omnitable.d.ts",
|
|
23
|
+
"default": "./dist/cosmoz-omnitable.js"
|
|
24
|
+
},
|
|
25
|
+
"./cosmoz-omnitable-*.js": {
|
|
26
|
+
"types": "./dist/cosmoz-omnitable-*.d.ts",
|
|
27
|
+
"default": "./dist/cosmoz-omnitable-*.js"
|
|
28
|
+
},
|
|
29
|
+
"./lib/*.js": {
|
|
30
|
+
"types": "./dist/lib/*.d.ts",
|
|
31
|
+
"default": "./dist/lib/*.js"
|
|
32
|
+
},
|
|
33
|
+
"./lib/settings/*.js": {
|
|
34
|
+
"types": "./dist/lib/settings/*.d.ts",
|
|
35
|
+
"default": "./dist/lib/settings/*.js"
|
|
36
|
+
},
|
|
37
|
+
"./lib/settings/drivers/*.js": {
|
|
38
|
+
"types": "./dist/lib/settings/drivers/*.d.ts",
|
|
39
|
+
"default": "./dist/lib/settings/drivers/*.js"
|
|
40
|
+
},
|
|
41
|
+
"./grouped-list/*.js": {
|
|
42
|
+
"types": "./dist/grouped-list/*.d.ts",
|
|
43
|
+
"default": "./dist/grouped-list/*.js"
|
|
44
|
+
},
|
|
45
|
+
"./ui-helpers/*.js": {
|
|
46
|
+
"types": "./dist/ui-helpers/*.d.ts",
|
|
47
|
+
"default": "./dist/ui-helpers/*.js"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"directories": {
|
|
51
|
+
"test": "test"
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"dist/**/*.js",
|
|
55
|
+
"dist/**/*.d.ts",
|
|
56
|
+
"dist/**/*.d.ts.map"
|
|
57
|
+
],
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "tsc",
|
|
60
|
+
"build:watch": "tsc --watch",
|
|
61
|
+
"lint": "eslint --cache --ext .js,.ts src/",
|
|
62
|
+
"start": "wds",
|
|
63
|
+
"test": "wtr --coverage",
|
|
64
|
+
"test:watch": "wtr --watch",
|
|
65
|
+
"storybook:start": "storybook dev -p 8000",
|
|
66
|
+
"storybook:build": "storybook build",
|
|
67
|
+
"storybook:deploy": "storybook-to-ghpages",
|
|
68
|
+
"storybook:preview": "npm run storybook:build && web-dev-server --root-dir ./storybook-static/ --open",
|
|
69
|
+
"prepare": "husky"
|
|
70
|
+
},
|
|
71
|
+
"release": {
|
|
72
|
+
"plugins": [
|
|
73
|
+
"@semantic-release/commit-analyzer",
|
|
74
|
+
"@semantic-release/release-notes-generator",
|
|
75
|
+
"@semantic-release/changelog",
|
|
76
|
+
"@semantic-release/github",
|
|
77
|
+
"@semantic-release/npm",
|
|
78
|
+
"@semantic-release/git"
|
|
79
|
+
],
|
|
80
|
+
"branch": "master"
|
|
81
|
+
},
|
|
82
|
+
"publishConfig": {
|
|
83
|
+
"access": "public"
|
|
84
|
+
},
|
|
85
|
+
"commitlint": {
|
|
86
|
+
"extends": [
|
|
87
|
+
"@commitlint/config-conventional"
|
|
88
|
+
],
|
|
89
|
+
"rules": {
|
|
90
|
+
"body-max-line-length": [
|
|
91
|
+
1,
|
|
92
|
+
"always",
|
|
93
|
+
600
|
|
94
|
+
],
|
|
95
|
+
"footer-max-line-length": [
|
|
96
|
+
1,
|
|
97
|
+
"always",
|
|
98
|
+
600
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"dependencies": {
|
|
103
|
+
"@lit-labs/virtualizer": "^2.1.0",
|
|
104
|
+
"@neovici/cosmoz-autocomplete": "^10.0.0",
|
|
105
|
+
"@neovici/cosmoz-bottom-bar": "^9.0.5",
|
|
106
|
+
"@neovici/cosmoz-collapse": "^1.1.0",
|
|
107
|
+
"@neovici/cosmoz-datetime-input": "^4.0.1",
|
|
108
|
+
"@neovici/cosmoz-dropdown": "^6.0.0",
|
|
109
|
+
"@neovici/cosmoz-i18next": "^3.1.1",
|
|
110
|
+
"@neovici/cosmoz-input": "^5.0.0",
|
|
111
|
+
"@neovici/cosmoz-router": "^11.0.0",
|
|
112
|
+
"@neovici/cosmoz-spinner": "^1.0.1",
|
|
113
|
+
"@neovici/cosmoz-utils": "^6.14.2",
|
|
114
|
+
"@neovici/nullxlsx": "^3.0.0",
|
|
115
|
+
"@pionjs/pion": "^2.0.0",
|
|
116
|
+
"@polymer/iron-icon": "^3.0.0",
|
|
117
|
+
"@polymer/iron-icons": "^3.0.0",
|
|
118
|
+
"@polymer/paper-dropdown-menu": "^3.2.0",
|
|
119
|
+
"@polymer/polymer": "^3.3.0",
|
|
120
|
+
"file-saver-es": "^2.0.0",
|
|
121
|
+
"lit-html": "^2.0.0 || ^3.0.0"
|
|
122
|
+
},
|
|
123
|
+
"devDependencies": {
|
|
124
|
+
"@commitlint/cli": "^19.0.0",
|
|
125
|
+
"@commitlint/config-conventional": "^19.0.0",
|
|
126
|
+
"@neovici/cfg": "^2.5.1",
|
|
127
|
+
"@neovici/cosmoz-viewinfo": "^4.0.0",
|
|
128
|
+
"@open-wc/testing": "^4.0.0",
|
|
129
|
+
"@polymer/iron-test-helpers": "^3.0.0",
|
|
130
|
+
"@polymer/paper-button": "^3.0.0",
|
|
131
|
+
"@polymer/paper-item": "^3.0.0",
|
|
132
|
+
"@polymer/paper-listbox": "^3.0.0",
|
|
133
|
+
"@polymer/paper-toggle-button": "^3.0.0",
|
|
134
|
+
"@semantic-release/changelog": "^6.0.0",
|
|
135
|
+
"@semantic-release/git": "^10.0.0",
|
|
136
|
+
"@storybook/web-components-vite": "^9.1.3",
|
|
137
|
+
"@types/file-saver": "^2.0.0",
|
|
138
|
+
"@web/dev-server-esbuild": "^1.0.4",
|
|
139
|
+
"husky": "^9.0.0",
|
|
140
|
+
"semantic-release": "^24.0.0",
|
|
141
|
+
"sinon": "^20.0.0",
|
|
142
|
+
"storybook": "^9.1.3",
|
|
143
|
+
"typescript": "^5.0.0"
|
|
144
|
+
}
|
|
136
145
|
}
|