@neovici/cosmoz-queue 2.6.0 → 2.7.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-more.d.ts","sourceRoot":"","sources":["../../../src/list/more/use-more.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAgC,MAAM,cAAc,CAAC;AAE1E,MAAM,WAAW,MAAM,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,SAAS,MAAM;IACnE,CAAC,KAAK,EAAE;QACP,MAAM,EAAE,OAAO,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;KACjB,GAAG,WAAW,CAAC;QAAE,KAAK,EAAE,KAAK,EAAE,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD;AAED,UAAU,OAAO,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,SAAS,MAAM;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC9B,iBAAiB,EAAE,YAAY,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD;AASD,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,MAAM,EAAE,KAAK,SAAS,MAAM,EAAE,0DAKnE,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC;;;
|
|
1
|
+
{"version":3,"file":"use-more.d.ts","sourceRoot":"","sources":["../../../src/list/more/use-more.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAgC,MAAM,cAAc,CAAC;AAE1E,MAAM,WAAW,MAAM,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,SAAS,MAAM;IACnE,CAAC,KAAK,EAAE;QACP,MAAM,EAAE,OAAO,CAAC;QAChB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;KACjB,GAAG,WAAW,CAAC;QAAE,KAAK,EAAE,KAAK,EAAE,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACnD;AAED,UAAU,OAAO,CAAC,OAAO,SAAS,MAAM,EAAE,KAAK,SAAS,MAAM;IAC7D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC9B,iBAAiB,EAAE,YAAY,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD;AASD,eAAO,MAAM,OAAO,GAAI,OAAO,SAAS,MAAM,EAAE,KAAK,SAAS,MAAM,EAAE,0DAKnE,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC;;;CAsDzB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-tabs.d.ts","sourceRoot":"","sources":["../../src/queue/use-tabs.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-tabs.d.ts","sourceRoot":"","sources":["../../src/queue/use-tabs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAW,MAAM,oCAAoC,CAAC;AAMxE,MAAM,WAAW,OAAO,CAAC,CAAC;IACzB,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CACzC;AAED,MAAM,WAAW,GAAI,SAAQ,SAAS;IACrC,OAAO,EAAE,OAAO,CAAC;CACjB;yBAEe,CAAC,GAAG,OAAO,EAAE,qDAM1B,OAAO,CAAC,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AANb,wBA4CE"}
|
package/dist/queue/use-tabs.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { useMemo } from '@pionjs/pion';
|
|
2
1
|
import { useTabs } from '@neovici/cosmoz-tabs/next/index.js';
|
|
3
|
-
import {
|
|
2
|
+
import { useMemo } from '@pionjs/pion';
|
|
3
|
+
import { t } from 'i18next';
|
|
4
4
|
import * as icons from './icons';
|
|
5
5
|
export default ({ items, hashParam, mobile, fallback, onActivate, }) => {
|
|
6
6
|
const tabs = useMemo(() => [
|
|
7
7
|
{
|
|
8
8
|
name: 'overview',
|
|
9
|
-
title:
|
|
9
|
+
title: t('List'),
|
|
10
10
|
disabled: false,
|
|
11
11
|
content: icons.list,
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
name: 'split',
|
|
15
15
|
disabled: mobile || !(items.length > 0),
|
|
16
|
-
title:
|
|
16
|
+
title: t('Split'),
|
|
17
17
|
content: icons.split,
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
name: 'queue',
|
|
21
21
|
disabled: !(items.length > 0),
|
|
22
|
-
title:
|
|
22
|
+
title: t('Queue'),
|
|
23
23
|
content: icons.queue,
|
|
24
24
|
},
|
|
25
25
|
].map((tab) => tab.name === fallback ? { ...tab, fallback: true } : tab), [items.length, mobile, fallback]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-queue",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.1",
|
|
4
4
|
"description": "A reusable queue component for master-detail views with list, split, and queue modes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -75,14 +75,13 @@
|
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
77
|
"@neovici/cosmoz-form": "^1.0.1 || ^2.0.0 || ^3.0.0",
|
|
78
|
-
"@neovici/cosmoz-i18next": "^3.5.1",
|
|
79
78
|
"@neovici/cosmoz-omnitable": "^16.0.3 || ^17.0.0 || ^18.0.0",
|
|
80
79
|
"@neovici/cosmoz-router": "^11.2.8",
|
|
81
80
|
"@neovici/cosmoz-slider": "^5.2.1",
|
|
82
81
|
"@neovici/cosmoz-tabs": "^9.3.2",
|
|
83
82
|
"@neovici/cosmoz-utils": "^6.14.2",
|
|
84
83
|
"@pionjs/pion": "^2.10.0",
|
|
85
|
-
"i18next": "
|
|
84
|
+
"i18next": ">=23.0.0 <27.0.0",
|
|
86
85
|
"lit-html": "^3.3.1",
|
|
87
86
|
"split.js": "^1.6.5"
|
|
88
87
|
},
|
|
@@ -90,7 +89,7 @@
|
|
|
90
89
|
"@commitlint/cli": "^20.0.0",
|
|
91
90
|
"@commitlint/config-conventional": "^20.0.0",
|
|
92
91
|
"@eslint/eslintrc": "^2.0.0",
|
|
93
|
-
"@neovici/cfg": "^2.
|
|
92
|
+
"@neovici/cfg": "^2.11.0",
|
|
94
93
|
"@neovici/testing": "^2.2.0",
|
|
95
94
|
"@semantic-release/changelog": "^6.0.0",
|
|
96
95
|
"@semantic-release/git": "^10.0.0",
|
|
@@ -114,7 +113,6 @@
|
|
|
114
113
|
"vitest": "^4.0.0"
|
|
115
114
|
},
|
|
116
115
|
"overrides": {
|
|
117
|
-
"conventional-changelog-conventionalcommits": ">= 8.0.0"
|
|
118
|
-
"@polymer/polymer": "^3.5.2"
|
|
116
|
+
"conventional-changelog-conventionalcommits": ">= 8.0.0"
|
|
119
117
|
}
|
|
120
118
|
}
|