@timus-networks/theme 2.4.32 → 2.4.33
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/development/example.link.vue +1 -1
- package/dist/runtime/composables/useBreadcrumb.d.ts +2 -3
- package/dist/runtime/composables/useBreadcrumb.mjs +16 -28
- package/dist/runtime/public/scss/element-plus/form.css +1 -0
- package/dist/runtime/public/scss/element-plus/form.scss +1 -0
- package/dist/runtime/public/scss/element-plus/index.css +16 -3
- package/dist/runtime/public/scss/element-plus/link.css +11 -3
- package/dist/runtime/public/scss/element-plus/link.scss +12 -12
- package/dist/runtime/public/scss/element-plus/select-v2.css +4 -0
- package/dist/runtime/public/scss/element-plus/select.css +4 -0
- package/dist/runtime/public/scss/element-plus/select.scss +1 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -11,7 +11,7 @@ const __filename = __cjs_url__.fileURLToPath(import.meta.url);
|
|
|
11
11
|
const __dirname = __cjs_path__.dirname(__filename);
|
|
12
12
|
const require = __cjs_mod__.createRequire(import.meta.url);
|
|
13
13
|
const name = "@timus-networks/theme";
|
|
14
|
-
const version = "2.4.
|
|
14
|
+
const version = "2.4.33";
|
|
15
15
|
const description = "A comprehensive Nuxt.js module providing a tailored theme experience with integrated TailwindCSS support for applications.";
|
|
16
16
|
const type = "module";
|
|
17
17
|
const exports = {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
<h2>Underline</h2>
|
|
33
33
|
<p>Underline of link</p>
|
|
34
34
|
<div class="flex gap-2">
|
|
35
|
-
<el-link :underline="false">Without Underline</el-link>
|
|
35
|
+
Some text, <el-link :underline="false">Without Underline</el-link> no - underline....
|
|
36
36
|
<el-link>With Underline</el-link>
|
|
37
37
|
</div>
|
|
38
38
|
</div>
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { TabsPaneContext } from 'element-plus';
|
|
2
2
|
export declare function useBreadcrumb(): {
|
|
3
|
-
activeTab: import("vue").Ref<
|
|
4
|
-
tabChanged: (tab: TabsPaneContext
|
|
5
|
-
setActiveTab: (tab: string, initial?: boolean) => void;
|
|
3
|
+
activeTab: import("vue").Ref<string, string>;
|
|
4
|
+
tabChanged: (tab: TabsPaneContext) => void;
|
|
6
5
|
setupBreadcrumbs: (tabs: string[]) => void;
|
|
7
6
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { onUnmounted, ref
|
|
1
|
+
import { onUnmounted, ref } from "vue";
|
|
2
2
|
import { useRoute, useRouter } from "#app";
|
|
3
3
|
export function useBreadcrumb() {
|
|
4
4
|
const route = useRoute();
|
|
@@ -11,44 +11,32 @@ export function useBreadcrumb() {
|
|
|
11
11
|
clearTimeout(breadcrumbTimeout.value);
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
-
const tabChanged = (tab
|
|
14
|
+
const tabChanged = (tab) => {
|
|
15
15
|
if (breadcrumbTimeout.value) {
|
|
16
16
|
clearTimeout(breadcrumbTimeout.value);
|
|
17
17
|
}
|
|
18
|
-
router.push({
|
|
19
|
-
path: route.path,
|
|
20
|
-
query: {
|
|
21
|
-
...route.query,
|
|
22
|
-
...tab.paneName && { tab: tab.paneName },
|
|
23
|
-
...route.query.page && { page: route.query?.tab !== tab.paneName ? 1 : route.query.page }
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
};
|
|
27
|
-
const setActiveTab = (tab, initial = true) => {
|
|
28
18
|
breadcrumbTimeout.value = setTimeout(() => {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
19
|
+
router.push({
|
|
20
|
+
path: route.path,
|
|
21
|
+
query: {
|
|
22
|
+
...route.query,
|
|
23
|
+
tab: tab.paneName,
|
|
24
|
+
page: route.query.tab !== tab.paneName ? 1 : route.query.page
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
}, 0);
|
|
28
|
+
};
|
|
29
|
+
const setActiveTab = (tab) => {
|
|
30
|
+
activeTab.value = tabList.value.includes(tab) ? tab : tabList.value[0];
|
|
31
|
+
tabChanged({ paneName: activeTab.value });
|
|
33
32
|
};
|
|
34
33
|
const setupBreadcrumbs = (tabs) => {
|
|
35
|
-
console.log("CpMS");
|
|
36
34
|
tabList.value = tabs;
|
|
37
|
-
|
|
35
|
+
setActiveTab(activeTab.value);
|
|
38
36
|
};
|
|
39
|
-
watch(
|
|
40
|
-
() => route.query,
|
|
41
|
-
(current, before) => {
|
|
42
|
-
if (before && current.tab && before.tab && current.tab !== before.tab) {
|
|
43
|
-
setActiveTab(current.tab, false);
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
{ deep: true, immediate: true }
|
|
47
|
-
);
|
|
48
37
|
return {
|
|
49
38
|
activeTab,
|
|
50
39
|
tabChanged,
|
|
51
|
-
setActiveTab,
|
|
52
40
|
setupBreadcrumbs
|
|
53
41
|
};
|
|
54
42
|
}
|
|
@@ -478,6 +478,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
478
478
|
.el-form-item.is-error .el-select__wrapper:focus,
|
|
479
479
|
.el-form-item.is-error .el-select__wrapper.is-focus {
|
|
480
480
|
box-shadow: 0 0 0 1px var(--el-color-danger) inset;
|
|
481
|
+
z-index: 1;
|
|
481
482
|
}
|
|
482
483
|
.el-form-item.is-error .el-input-group__append .el-input__wrapper,
|
|
483
484
|
.el-form-item.is-error .el-input-group__prepend .el-input__wrapper {
|
|
@@ -8890,6 +8890,7 @@ heights > $common-component-size
|
|
|
8890
8890
|
.el-form-item.is-error .el-select__wrapper:focus,
|
|
8891
8891
|
.el-form-item.is-error .el-select__wrapper.is-focus {
|
|
8892
8892
|
box-shadow: 0 0 0 1px var(--el-color-danger) inset;
|
|
8893
|
+
z-index: 1;
|
|
8893
8894
|
}
|
|
8894
8895
|
.el-form-item.is-error .el-input-group__append .el-input__wrapper,
|
|
8895
8896
|
.el-form-item.is-error .el-input-group__prepend .el-input__wrapper {
|
|
@@ -9813,16 +9814,24 @@ heights > $common-component-size
|
|
|
9813
9814
|
font-size: var(--el-link-font-size);
|
|
9814
9815
|
font-weight: var(--el-link-font-weight);
|
|
9815
9816
|
color: var(--el-link-text-color);
|
|
9816
|
-
border-bottom: 1px solid transparent;
|
|
9817
|
-
line-height: normal;
|
|
9818
9817
|
}
|
|
9819
9818
|
.el-link:hover {
|
|
9820
9819
|
color: var(--el-link-hover-text-color);
|
|
9821
|
-
border-bottom: 1px solid var(--el-link-hover-text-color);
|
|
9822
9820
|
}
|
|
9823
9821
|
.el-link:active {
|
|
9824
9822
|
color: var(--el-link-active-text-color);
|
|
9825
9823
|
}
|
|
9824
|
+
.el-link.is-underline:hover::after {
|
|
9825
|
+
content: "";
|
|
9826
|
+
position: absolute;
|
|
9827
|
+
left: 0;
|
|
9828
|
+
right: 0;
|
|
9829
|
+
bottom: 2px;
|
|
9830
|
+
border-bottom-width: 1px;
|
|
9831
|
+
border-color: var(--el-color-primary-light-4);
|
|
9832
|
+
border-style: solid;
|
|
9833
|
+
}
|
|
9834
|
+
|
|
9826
9835
|
.el-link.is-disabled {
|
|
9827
9836
|
color: var(--el-link-disabled-text-color);
|
|
9828
9837
|
cursor: not-allowed;
|
|
@@ -12524,6 +12533,7 @@ heights > $common-component-size
|
|
|
12524
12533
|
gap: 8px;
|
|
12525
12534
|
padding: 10px 12px;
|
|
12526
12535
|
min-height: 40px;
|
|
12536
|
+
height: 40px;
|
|
12527
12537
|
line-height: 20px;
|
|
12528
12538
|
font-size: 14px;
|
|
12529
12539
|
}
|
|
@@ -12551,6 +12561,7 @@ heights > $common-component-size
|
|
|
12551
12561
|
gap: 8px;
|
|
12552
12562
|
padding: 8px 12px;
|
|
12553
12563
|
min-height: 36px;
|
|
12564
|
+
height: 36px;
|
|
12554
12565
|
font-size: 14px;
|
|
12555
12566
|
}
|
|
12556
12567
|
|
|
@@ -12573,6 +12584,7 @@ heights > $common-component-size
|
|
|
12573
12584
|
gap: 4px;
|
|
12574
12585
|
padding: 6px 12px;
|
|
12575
12586
|
min-height: 30px;
|
|
12587
|
+
height: 30px;
|
|
12576
12588
|
line-height: 20px;
|
|
12577
12589
|
font-size: 12px;
|
|
12578
12590
|
}
|
|
@@ -12600,6 +12612,7 @@ heights > $common-component-size
|
|
|
12600
12612
|
gap: 4px;
|
|
12601
12613
|
padding: 5px 12px;
|
|
12602
12614
|
min-height: 28px;
|
|
12615
|
+
height: 28px;
|
|
12603
12616
|
font-size: 12px;
|
|
12604
12617
|
}
|
|
12605
12618
|
|
|
@@ -324,16 +324,24 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
324
324
|
font-size: var(--el-link-font-size);
|
|
325
325
|
font-weight: var(--el-link-font-weight);
|
|
326
326
|
color: var(--el-link-text-color);
|
|
327
|
-
border-bottom: 1px solid transparent;
|
|
328
|
-
line-height: normal;
|
|
329
327
|
}
|
|
330
328
|
.el-link:hover {
|
|
331
329
|
color: var(--el-link-hover-text-color);
|
|
332
|
-
border-bottom: 1px solid var(--el-link-hover-text-color);
|
|
333
330
|
}
|
|
334
331
|
.el-link:active {
|
|
335
332
|
color: var(--el-link-active-text-color);
|
|
336
333
|
}
|
|
334
|
+
.el-link.is-underline:hover::after {
|
|
335
|
+
content: "";
|
|
336
|
+
position: absolute;
|
|
337
|
+
left: 0;
|
|
338
|
+
right: 0;
|
|
339
|
+
bottom: 2px;
|
|
340
|
+
border-bottom-width: 1px;
|
|
341
|
+
border-color: var(--el-color-primary-light-4);
|
|
342
|
+
border-style: solid;
|
|
343
|
+
}
|
|
344
|
+
|
|
337
345
|
.el-link.is-disabled {
|
|
338
346
|
color: var(--el-link-disabled-text-color);
|
|
339
347
|
cursor: not-allowed;
|
|
@@ -24,12 +24,11 @@
|
|
|
24
24
|
font-size: getCssVar('link', 'font-size');
|
|
25
25
|
font-weight: getCssVar('link', 'font-weight');
|
|
26
26
|
color: getCssVar('link', 'text-color');
|
|
27
|
-
border-bottom: 1px solid transparent;
|
|
28
|
-
line-height: normal;
|
|
27
|
+
// border-bottom: 1px solid transparent;
|
|
29
28
|
|
|
30
29
|
&:hover {
|
|
31
30
|
color: getCssVar('link', 'hover-text-color');
|
|
32
|
-
border-bottom: 1px solid getCssVar('link', 'hover-text-color');
|
|
31
|
+
// border-bottom: 1px solid getCssVar('link', 'hover-text-color');
|
|
33
32
|
}
|
|
34
33
|
|
|
35
34
|
&:active {
|
|
@@ -37,15 +36,16 @@
|
|
|
37
36
|
}
|
|
38
37
|
|
|
39
38
|
@include when(underline) {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
39
|
+
&:hover::after {
|
|
40
|
+
content: '';
|
|
41
|
+
position: absolute;
|
|
42
|
+
left: 0;
|
|
43
|
+
right: 0;
|
|
44
|
+
bottom: 2px;
|
|
45
|
+
border-bottom-width: 1px;
|
|
46
|
+
border-color: getCssVar('color', 'primary', 'light-4');
|
|
47
|
+
border-style: solid;
|
|
48
|
+
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
@include when(disabled) {
|
|
@@ -670,6 +670,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
670
670
|
gap: 8px;
|
|
671
671
|
padding: 10px 12px;
|
|
672
672
|
min-height: 40px;
|
|
673
|
+
height: 40px;
|
|
673
674
|
line-height: 20px;
|
|
674
675
|
font-size: 14px;
|
|
675
676
|
}
|
|
@@ -697,6 +698,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
697
698
|
gap: 8px;
|
|
698
699
|
padding: 8px 12px;
|
|
699
700
|
min-height: 36px;
|
|
701
|
+
height: 36px;
|
|
700
702
|
font-size: 14px;
|
|
701
703
|
}
|
|
702
704
|
|
|
@@ -719,6 +721,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
719
721
|
gap: 4px;
|
|
720
722
|
padding: 6px 12px;
|
|
721
723
|
min-height: 30px;
|
|
724
|
+
height: 30px;
|
|
722
725
|
line-height: 20px;
|
|
723
726
|
font-size: 12px;
|
|
724
727
|
}
|
|
@@ -746,6 +749,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
746
749
|
gap: 4px;
|
|
747
750
|
padding: 5px 12px;
|
|
748
751
|
min-height: 28px;
|
|
752
|
+
height: 28px;
|
|
749
753
|
font-size: 12px;
|
|
750
754
|
}
|
|
751
755
|
|
|
@@ -670,6 +670,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
670
670
|
gap: 8px;
|
|
671
671
|
padding: 10px 12px;
|
|
672
672
|
min-height: 40px;
|
|
673
|
+
height: 40px;
|
|
673
674
|
line-height: 20px;
|
|
674
675
|
font-size: 14px;
|
|
675
676
|
}
|
|
@@ -697,6 +698,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
697
698
|
gap: 8px;
|
|
698
699
|
padding: 8px 12px;
|
|
699
700
|
min-height: 36px;
|
|
701
|
+
height: 36px;
|
|
700
702
|
font-size: 14px;
|
|
701
703
|
}
|
|
702
704
|
|
|
@@ -719,6 +721,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
719
721
|
gap: 4px;
|
|
720
722
|
padding: 6px 12px;
|
|
721
723
|
min-height: 30px;
|
|
724
|
+
height: 30px;
|
|
722
725
|
line-height: 20px;
|
|
723
726
|
font-size: 12px;
|
|
724
727
|
}
|
|
@@ -746,6 +749,7 @@ Bununla selectorun içerisine variable ekleyebiliyorsun
|
|
|
746
749
|
gap: 4px;
|
|
747
750
|
padding: 5px 12px;
|
|
748
751
|
min-height: 28px;
|
|
752
|
+
height: 28px;
|
|
749
753
|
font-size: 12px;
|
|
750
754
|
}
|
|
751
755
|
|
|
@@ -249,6 +249,7 @@
|
|
|
249
249
|
gap: map.get($select-item-gap, $size);
|
|
250
250
|
padding: map.get($select-wrapper-padding, $size);
|
|
251
251
|
min-height: map.get($input-height, $size);
|
|
252
|
+
height: map.get($input-height, $size);
|
|
252
253
|
line-height: map.get($select-item-height, $size);
|
|
253
254
|
font-size: map.get($input-font-size, $size);
|
|
254
255
|
}
|
package/package.json
CHANGED