@robot-admin/naive-ui-components 0.13.7 → 0.13.8
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/CHANGELOG.md +8 -0
- package/README.md +1 -1
- package/README_EN.md +1 -1
- package/dist/C_Loading.css +54 -71
- package/dist/C_Loading2.cjs +1 -1
- package/dist/C_Loading2.js +1 -1
- package/dist/C_Table.base.css +166 -183
- package/dist/C_Table.css +166 -183
- package/dist/constants2.d.cts +3 -3
- package/dist/constants2.d.ts +3 -3
- package/dist/constants3.d.cts +4 -4
- package/dist/constants3.d.ts +4 -4
- package/dist/constants4.d.cts +3 -3
- package/dist/constants4.d.ts +3 -3
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +8 -8
- package/dist/data.d.ts +8 -8
- package/dist/index.vue.d.cts +3 -3
- package/dist/index.vue.d.ts +3 -3
- package/dist/index10.vue.d.cts +3 -3
- package/dist/index10.vue.d.ts +2 -2
- package/dist/index11.vue.d.cts +2 -2
- package/dist/index11.vue.d.ts +5 -5
- package/dist/index12.vue.d.cts +5 -5
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index14.vue.d.cts +2 -2
- package/dist/index14.vue.d.ts +4 -4
- package/dist/index15.vue.d.cts +4 -4
- package/dist/index15.vue.d.ts +1 -1
- package/dist/index16.vue.d.cts +1 -1
- package/dist/index17.vue.d.ts +1 -1
- package/dist/index18.vue.d.cts +1 -1
- package/dist/index18.vue.d.ts +2 -2
- package/dist/index19.vue.d.cts +2 -2
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index21.vue.d.cts +2 -2
- package/dist/index21.vue.d.ts +2 -2
- package/dist/index23.vue.d.cts +2 -2
- package/dist/index23.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +1 -1
- package/dist/index25.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index28.vue.d.cts +1 -1
- package/dist/index28.vue.d.ts +1 -1
- package/dist/index3.vue.d.cts +3 -3
- package/dist/index3.vue.d.ts +3 -3
- package/dist/index4.vue.d.cts +1 -1
- package/dist/index6.vue.d.ts +3 -3
- package/dist/index7.vue.d.cts +3 -3
- package/dist/index8.vue.d.ts +3 -3
- package/dist/index9.vue.d.cts +3 -3
- package/dist/index9.vue.d.ts +3 -3
- package/dist/mapUtils.d.cts +1 -1
- package/dist/mapUtils.d.ts +1 -1
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/style.css +166 -183
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +2 -2
- package/dist/useCollapsePanel.d.ts +2 -2
- package/dist/useCropperCore.d.cts +7 -7
- package/dist/useCropperCore.d.ts +7 -7
- package/dist/useDraggableLayout.d.cts +6 -6
- package/dist/useDraggableLayout.d.ts +6 -6
- package/dist/useDynamicFormState.d.cts +2 -2
- package/dist/useDynamicFormState.d.ts +2 -2
- package/dist/useEdgeInteraction.d.cts +3 -3
- package/dist/useEdgeInteraction.d.ts +3 -3
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +1 -1
- package/dist/useQRCode.d.ts +1 -1
- package/dist/useSearchState.d.cts +24 -24
- package/dist/useSearchState.d.ts +24 -24
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +1 -1
- package/dist/useSplitResize.d.ts +1 -1
- package/dist/useTableQuery.cjs +2 -2
- package/dist/useTableQuery.d.cts +7 -3
- package/dist/useTableQuery.d.ts +7 -3
- package/dist/useTableQuery.js +2 -2
- package/dist/useTimeSelection.d.cts +1 -1
- package/dist/useTimeSelection.d.ts +1 -1
- package/dist/useTreeOperations.d.cts +2 -2
- package/dist/useTreeOperations.d.ts +2 -2
- package/dist/useWorkflowValidation.d.cts +3 -3
- package/dist/useWorkflowValidation.d.ts +3 -3
- package/dist/verification.d.cts +1 -1
- package/dist/verification.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @robot-admin/naive-ui-components
|
|
2
2
|
|
|
3
|
+
## 0.13.8
|
|
4
|
+
|
|
5
|
+
- 表格内置子表与主表统一默认居中;列类型保留 Naive UI 普通列的排序、筛选和单元格配置,原生表格迁移后不丢交互能力。
|
|
6
|
+
- `C_Loading` 改为渐变数据光环 SVG:双层轨道、数据芯片与细光束组合,参考柔和卡片风格;各实例使用独立渐变 ID,保留主题适配、尺寸、文案和颜色接口,无定时器或新增依赖,减少动态效果模式关闭所有动画。
|
|
7
|
+
- `C_Table` 用 `aria-busy` 同步真实加载状态,读屏可识别等待阶段;页面无需重复配置动画。
|
|
8
|
+
- `C_Table` 内置异步展开行复用统一加载组件,状态引擎通过可选 `renderLoading` 接收 UI 内容,保持可独立调用;自定义展开内容与已有请求、选择、分页行为不变。
|
|
9
|
+
- 异步展开行立即展示等待内容,不再等到数据返回后才展开;保留请求去重与收起优先,迟到响应不能重新打开已收起的行。
|
|
10
|
+
|
|
3
11
|
## 0.13.7
|
|
4
12
|
|
|
5
13
|
- `C_Form` 正式集成 `@robot-admin/form-validate@3.4.2`,统一消费原生规则、验证库规则和 `RuleSpec`,并通过表单入口导出已适配的 `PRESET_RULES`、`NAIVE_COMBOS` 与 `SPEC_RULES`。
|
package/README.md
CHANGED
|
@@ -470,7 +470,7 @@ const config = defineTableConfig({
|
|
|
470
470
|
|
|
471
471
|
### 表格加载态
|
|
472
472
|
|
|
473
|
-
`C_Table`
|
|
473
|
+
`C_Table` 默认显示跟随主题主色的数据光环 SVG 加载动画:环形轨道、数据行和细光束提示等待状态,保留已有数据,并遵循系统减少动态效果设置,无需页面配置。内置异步展开行同样复用 `C_Loading`;自定义展开内容仍由使用侧决定展示。可通过 `loading` 插槽替换默认内容。独立的 `C_Loading` 支持 `size`(16–120,默认 48)、`label`(可选说明)和 `color`(可选颜色);原生 `NSpin` 使用时请关闭旋转,避免 SVG 整体转动:
|
|
474
474
|
|
|
475
475
|
```vue
|
|
476
476
|
<NSpin :show="loading" :size="48" :rotate="false">
|
package/README_EN.md
CHANGED
|
@@ -411,7 +411,7 @@ With `require-server-verification`, a successful response must include a server
|
|
|
411
411
|
|
|
412
412
|
### Table loading
|
|
413
413
|
|
|
414
|
-
`C_Table` uses a
|
|
414
|
+
`C_Table` uses a data-orbit SVG indicator in the theme's primary color, with an orbit, data rows, and a subtle beam to indicate waiting. It retains existing data and respects reduced-motion preferences without page configuration. Built-in asynchronous expansion also uses `C_Loading`; custom expansion renderers retain control of their content. Override the `loading` slot for custom content. The standalone `C_Loading` accepts `size` (16–120, default 48), optional `label`, and optional `color`. Disable rotation when using it with native `NSpin`:
|
|
415
415
|
|
|
416
416
|
```vue
|
|
417
417
|
<NSpin :show="loading" :size="48" :rotate="false">
|
package/dist/C_Loading.css
CHANGED
|
@@ -1,119 +1,102 @@
|
|
|
1
1
|
/* unplugin-vue-components disabled *//*
|
|
2
2
|
* @Author: ChenYu ycyplus@gmail.com
|
|
3
|
-
* @Date: 2026-10-
|
|
3
|
+
* @Date: 2026-10-07
|
|
4
4
|
* @FilePath: \naive-ui-components\src\components\C_Loading\index.scss
|
|
5
|
-
* @Description:
|
|
5
|
+
* @Description: 数据光环与细光束动画,作用域隔离并支持减少动态效果
|
|
6
6
|
* Copyright (c) 2026 by CHENY, All Rights Reserved 😎.
|
|
7
7
|
*/
|
|
8
|
-
.c-loading[data-v-
|
|
8
|
+
.c-loading[data-v-c6727905] {
|
|
9
9
|
display: inline-flex;
|
|
10
|
-
flex-direction: column;
|
|
11
10
|
align-items: center;
|
|
12
11
|
justify-content: center;
|
|
13
|
-
gap: 6px;
|
|
14
12
|
vertical-align: middle;
|
|
15
13
|
line-height: 1;
|
|
16
14
|
pointer-events: none;
|
|
17
15
|
}
|
|
18
|
-
.c-loading--labeled[data-v-
|
|
19
|
-
|
|
20
|
-
gap:
|
|
16
|
+
.c-loading--labeled[data-v-c6727905] {
|
|
17
|
+
position: relative;
|
|
18
|
+
gap: 10px;
|
|
21
19
|
max-width: 100%;
|
|
22
|
-
padding: 8px
|
|
20
|
+
padding: 8px 16px 9px 10px;
|
|
23
21
|
box-sizing: border-box;
|
|
24
22
|
border: 1px solid var(--c-loading-border);
|
|
25
|
-
border-radius:
|
|
23
|
+
border-radius: 16px;
|
|
26
24
|
background: var(--c-loading-surface);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
background-image: linear-gradient(135deg, color-mix(in srgb, currentColor 4%, var(--c-loading-surface)), var(--c-loading-surface));
|
|
26
|
+
box-shadow: inset 0 1px 0 color-mix(in srgb, currentColor 4%, transparent), 0 8px 28px rgba(0, 0, 0, 0.06);
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
.c-loading--labeled[data-v-c6727905]::after {
|
|
30
|
+
content: "";
|
|
31
|
+
position: absolute;
|
|
32
|
+
bottom: 0;
|
|
33
|
+
left: 0;
|
|
34
|
+
width: 50%;
|
|
35
|
+
height: 2px;
|
|
36
|
+
background: linear-gradient(90deg, transparent, currentColor, transparent);
|
|
37
|
+
opacity: 0.5;
|
|
38
|
+
animation: c-loading-beam-c6727905 1.8s ease-in-out infinite;
|
|
39
|
+
}
|
|
40
|
+
.c-loading__glyph[data-v-c6727905] {
|
|
30
41
|
width: var(--c-loading-size, 48px);
|
|
31
42
|
height: var(--c-loading-size, 48px);
|
|
32
43
|
flex-shrink: 0;
|
|
33
|
-
overflow: visible;
|
|
34
|
-
}
|
|
35
|
-
.c-loading__frame[data-v-48232aaa] {
|
|
36
|
-
opacity: 0.35;
|
|
37
|
-
animation: c-loading-frame-48232aaa 2.4s ease-in-out infinite;
|
|
38
44
|
}
|
|
39
|
-
.c-
|
|
40
|
-
|
|
41
|
-
animation: c-loading-scan-48232aaa 2.4s ease-in-out infinite;
|
|
42
|
-
}
|
|
43
|
-
.c-loading__eyes[data-v-48232aaa] {
|
|
44
|
-
transform-box: fill-box;
|
|
45
|
+
.c-loading__orbit[data-v-c6727905] {
|
|
46
|
+
transform-box: view-box;
|
|
45
47
|
transform-origin: center;
|
|
46
|
-
animation: c-loading-
|
|
48
|
+
animation: c-loading-orbit-c6727905 1.6s linear infinite;
|
|
47
49
|
}
|
|
48
|
-
.c-
|
|
49
|
-
|
|
50
|
-
animation:
|
|
50
|
+
.c-loading__orbit--inner[data-v-c6727905] {
|
|
51
|
+
animation-duration: 3.2s;
|
|
52
|
+
animation-direction: reverse;
|
|
51
53
|
}
|
|
52
|
-
.c-
|
|
53
|
-
|
|
54
|
+
.c-loading__row[data-v-c6727905] {
|
|
55
|
+
opacity: 0.75;
|
|
56
|
+
animation: c-loading-row-c6727905 1.6s ease-in-out infinite;
|
|
54
57
|
}
|
|
55
|
-
.c-loading__label[data-v-
|
|
58
|
+
.c-loading__label[data-v-c6727905] {
|
|
59
|
+
min-width: 0;
|
|
56
60
|
color: var(--c-loading-text, currentColor);
|
|
57
61
|
font-size: 12px;
|
|
58
62
|
font-weight: 500;
|
|
59
63
|
letter-spacing: 0.03em;
|
|
60
64
|
line-height: 1.6;
|
|
65
|
+
overflow-wrap: anywhere;
|
|
61
66
|
}
|
|
62
67
|
@media (prefers-reduced-motion: reduce) {
|
|
63
|
-
.c-
|
|
68
|
+
.c-loading__orbit[data-v-c6727905], .c-loading__row[data-v-c6727905], .c-loading--labeled[data-v-c6727905]::after {
|
|
64
69
|
animation: none;
|
|
65
70
|
}
|
|
66
|
-
.c-
|
|
71
|
+
.c-loading--labeled[data-v-c6727905]::after {
|
|
67
72
|
display: none;
|
|
68
73
|
}
|
|
69
|
-
.c-loading__frame[data-v-48232aaa], .c-loading__packet[data-v-48232aaa] {
|
|
70
|
-
opacity: 0.55;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
@keyframes c-loading-scan-48232aaa {
|
|
74
|
-
0%, 12% {
|
|
75
|
-
transform: translateY(0);
|
|
76
|
-
opacity: 0;
|
|
77
|
-
}
|
|
78
|
-
25% {
|
|
79
|
-
opacity: 0.2;
|
|
80
|
-
}
|
|
81
|
-
70% {
|
|
82
|
-
transform: translateY(14px);
|
|
83
|
-
opacity: 0.2;
|
|
84
74
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
75
|
+
@keyframes c-loading-orbit-c6727905 {
|
|
76
|
+
to {
|
|
77
|
+
transform: rotate(360deg);
|
|
88
78
|
}
|
|
89
79
|
}
|
|
90
|
-
@keyframes c-loading-
|
|
80
|
+
@keyframes c-loading-row-c6727905 {
|
|
91
81
|
0%, 100% {
|
|
92
|
-
opacity: 0.
|
|
82
|
+
opacity: 0.4;
|
|
93
83
|
}
|
|
94
|
-
|
|
95
|
-
opacity:
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
@keyframes c-loading-eyes-48232aaa {
|
|
99
|
-
0%, 72%, 82%, 100% {
|
|
100
|
-
transform: scaleY(1);
|
|
101
|
-
}
|
|
102
|
-
77% {
|
|
103
|
-
transform: scaleY(0.25);
|
|
84
|
+
40%, 60% {
|
|
85
|
+
opacity: 1;
|
|
104
86
|
}
|
|
105
87
|
}
|
|
106
|
-
@keyframes c-loading-
|
|
107
|
-
|
|
108
|
-
|
|
88
|
+
@keyframes c-loading-beam-c6727905 {
|
|
89
|
+
from {
|
|
90
|
+
transform: translateX(-100%);
|
|
109
91
|
}
|
|
110
|
-
|
|
111
|
-
|
|
92
|
+
to {
|
|
93
|
+
transform: translateX(200%);
|
|
112
94
|
}
|
|
113
95
|
}
|
|
114
96
|
/* unplugin-vue-components disabled */
|
|
115
97
|
/* layer: default */
|
|
116
|
-
.
|
|
117
|
-
.
|
|
118
|
-
.
|
|
98
|
+
.ms[data-v-c6727905]{margin-inline-start:1rem;}
|
|
99
|
+
.table[data-v-c6727905]{display:table;}
|
|
100
|
+
.px[data-v-c6727905]{padding-left:1rem;padding-right:1rem;}
|
|
101
|
+
.filter[data-v-c6727905]{filter:var(--un-blur) var(--un-brightness) var(--un-contrast) var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate) var(--un-invert) var(--un-saturate) var(--un-sepia);}
|
|
119
102
|
|
package/dist/C_Loading2.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
require(`./chunk.cjs`);const e=require(`./config.cjs`),t=require(`./export-helper.cjs`);let n=require(`vue`),r=require(`naive-ui`);const i=[`aria-label`],a={key:0,class:`c-loading__label`},
|
|
1
|
+
require(`./chunk.cjs`);const e=require(`./config.cjs`),t=require(`./export-helper.cjs`);let n=require(`vue`),r=require(`naive-ui`);const i=[`aria-label`],a={class:`c-loading__glyph`,viewBox:`0 0 64 64`,fill:`none`,"aria-hidden":`true`,focusable:`false`},o=[`stroke`],s=[`fill`],c=[`cy`],l=[`y`,`width`],u={key:0,class:`c-loading__label`},d=(0,n.defineComponent)({name:`C_Loading`,__name:`index`,props:{size:{default:48},label:{default:``},color:{}},setup(t){let d=t,f=(0,r.useThemeVars)(),p=(0,n.useId)(),m=`c-loading-orbit-${p}`,h=`c-loading-surface-${p}`,{t:g}=e.i(),_=(0,n.computed)(()=>Number.isFinite(d.size)?Math.min(120,Math.max(16,d.size)):48);return(e,r)=>((0,n.openBlock)(),(0,n.createElementBlock)(`span`,{class:(0,n.normalizeClass)([`c-loading`,{"c-loading--labeled":!!t.label}]),role:`status`,"aria-live":`polite`,"aria-atomic":`true`,"aria-label":t.label||(0,n.unref)(g)(`common.loading`),style:(0,n.normalizeStyle)({"--c-loading-size":`${_.value}px`,"--c-loading-surface":(0,n.unref)(f).cardColor,"--c-loading-border":(0,n.unref)(f).dividerColor,"--c-loading-text":(0,n.unref)(f).textColor2,color:t.color||(0,n.unref)(f).primaryColor})},[((0,n.openBlock)(),(0,n.createElementBlock)(`svg`,a,[(0,n.createElementVNode)(`defs`,null,[(0,n.createElementVNode)(`linearGradient`,{id:m,x1:`8`,y1:`8`,x2:`56`,y2:`56`,gradientUnits:`userSpaceOnUse`},[...r[0]||=[(0,n.createElementVNode)(`stop`,{"stop-color":`currentColor`,"stop-opacity":`.06`},null,-1),(0,n.createElementVNode)(`stop`,{offset:`.5`,"stop-color":`currentColor`,"stop-opacity":`.45`},null,-1),(0,n.createElementVNode)(`stop`,{offset:`1`,"stop-color":`currentColor`},null,-1)]]),(0,n.createElementVNode)(`linearGradient`,{id:h,x1:`16`,y1:`16`,x2:`48`,y2:`48`,gradientUnits:`userSpaceOnUse`},[...r[1]||=[(0,n.createElementVNode)(`stop`,{"stop-color":`currentColor`,"stop-opacity":`.13`},null,-1),(0,n.createElementVNode)(`stop`,{offset:`1`,"stop-color":`currentColor`,"stop-opacity":`.03`},null,-1)]])]),r[3]||=(0,n.createElementVNode)(`circle`,{cx:`32`,cy:`32`,r:`24`,stroke:`currentColor`,"stroke-width":`1.5`,opacity:`.1`},null,-1),(0,n.createElementVNode)(`g`,{class:`c-loading__orbit`,stroke:`url(#${m})`,"stroke-width":`2.25`,"stroke-linecap":`round`},[...r[2]||=[(0,n.createElementVNode)(`path`,{d:`M8 32a24 24 0 1 1 24 24`},null,-1),(0,n.createElementVNode)(`circle`,{cx:`32`,cy:`56`,r:`2.5`,fill:`currentColor`,stroke:`none`},null,-1)]],8,o),r[4]||=(0,n.createElementVNode)(`g`,{class:`c-loading__orbit c-loading__orbit--inner`},[(0,n.createElementVNode)(`path`,{d:`M18 46a20 20 0 0 1 0-28`,stroke:`currentColor`,"stroke-width":`1`,"stroke-linecap":`round`,opacity:`.18`})],-1),(0,n.createElementVNode)(`rect`,{x:`16`,y:`16`,width:`32`,height:`32`,rx:`11`,fill:`url(#${h})`,stroke:`currentColor`,"stroke-opacity":`.16`},null,8,s),((0,n.openBlock)(),(0,n.createElementBlock)(n.Fragment,null,(0,n.renderList)([25,32,39],(e,t)=>(0,n.createElementVNode)(`g`,{key:e,class:`c-loading__row`,style:(0,n.normalizeStyle)({animationDelay:`${t*160}ms`}),fill:`currentColor`},[(0,n.createElementVNode)(`circle`,{cx:`24`,cy:e,r:`1.5`},null,8,c),(0,n.createElementVNode)(`rect`,{x:`29`,y:e-1.25,width:t===1?8:12,height:`2.5`,rx:`1.25`},null,8,l)],4)),64))])),t.label?((0,n.openBlock)(),(0,n.createElementBlock)(`span`,u,(0,n.toDisplayString)(t.label),1)):(0,n.createCommentVNode)(`v-if`,!0)],14,i))}});var f=t.t(d,[[`__scopeId`,`data-v-c6727905`]]);Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return f}});
|
package/dist/C_Loading2.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{i as e}from"./config.js";import{t}from"./export-helper.js";import{
|
|
1
|
+
import{i as e}from"./config.js";import{t}from"./export-helper.js";import{Fragment as n,computed as r,createCommentVNode as i,createElementBlock as a,createElementVNode as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,renderList as d,toDisplayString as f,unref as p,useId as m}from"vue";import{useThemeVars as h}from"naive-ui";const g=[`aria-label`],_={class:`c-loading__glyph`,viewBox:`0 0 64 64`,fill:`none`,"aria-hidden":`true`,focusable:`false`},v=[`stroke`],y=[`fill`],b=[`cy`],x=[`y`,`width`],S={key:0,class:`c-loading__label`};var C=t(s({name:`C_Loading`,__name:`index`,props:{size:{default:48},label:{default:``},color:{}},setup(t){let s=t,C=h(),w=m(),T=`c-loading-orbit-${w}`,E=`c-loading-surface-${w}`,{t:D}=e(),O=r(()=>Number.isFinite(s.size)?Math.min(120,Math.max(16,s.size)):48);return(e,r)=>(u(),a(`span`,{class:c([`c-loading`,{"c-loading--labeled":!!t.label}]),role:`status`,"aria-live":`polite`,"aria-atomic":`true`,"aria-label":t.label||p(D)(`common.loading`),style:l({"--c-loading-size":`${O.value}px`,"--c-loading-surface":p(C).cardColor,"--c-loading-border":p(C).dividerColor,"--c-loading-text":p(C).textColor2,color:t.color||p(C).primaryColor})},[(u(),a(`svg`,_,[o(`defs`,null,[o(`linearGradient`,{id:T,x1:`8`,y1:`8`,x2:`56`,y2:`56`,gradientUnits:`userSpaceOnUse`},[...r[0]||=[o(`stop`,{"stop-color":`currentColor`,"stop-opacity":`.06`},null,-1),o(`stop`,{offset:`.5`,"stop-color":`currentColor`,"stop-opacity":`.45`},null,-1),o(`stop`,{offset:`1`,"stop-color":`currentColor`},null,-1)]]),o(`linearGradient`,{id:E,x1:`16`,y1:`16`,x2:`48`,y2:`48`,gradientUnits:`userSpaceOnUse`},[...r[1]||=[o(`stop`,{"stop-color":`currentColor`,"stop-opacity":`.13`},null,-1),o(`stop`,{offset:`1`,"stop-color":`currentColor`,"stop-opacity":`.03`},null,-1)]])]),r[3]||=o(`circle`,{cx:`32`,cy:`32`,r:`24`,stroke:`currentColor`,"stroke-width":`1.5`,opacity:`.1`},null,-1),o(`g`,{class:`c-loading__orbit`,stroke:`url(#${T})`,"stroke-width":`2.25`,"stroke-linecap":`round`},[...r[2]||=[o(`path`,{d:`M8 32a24 24 0 1 1 24 24`},null,-1),o(`circle`,{cx:`32`,cy:`56`,r:`2.5`,fill:`currentColor`,stroke:`none`},null,-1)]],8,v),r[4]||=o(`g`,{class:`c-loading__orbit c-loading__orbit--inner`},[o(`path`,{d:`M18 46a20 20 0 0 1 0-28`,stroke:`currentColor`,"stroke-width":`1`,"stroke-linecap":`round`,opacity:`.18`})],-1),o(`rect`,{x:`16`,y:`16`,width:`32`,height:`32`,rx:`11`,fill:`url(#${E})`,stroke:`currentColor`,"stroke-opacity":`.16`},null,8,y),(u(),a(n,null,d([25,32,39],(e,t)=>o(`g`,{key:e,class:`c-loading__row`,style:l({animationDelay:`${t*160}ms`}),fill:`currentColor`},[o(`circle`,{cx:`24`,cy:e,r:`1.5`},null,8,b),o(`rect`,{x:`29`,y:e-1.25,width:t===1?8:12,height:`2.5`,rx:`1.25`},null,8,x)],4)),64))])),t.label?(u(),a(`span`,S,f(t.label),1)):i(`v-if`,!0)],14,g))}}),[[`__scopeId`,`data-v-c6727905`]]);export{C as t};
|