@varlet/ui 3.2.12-alpha.1717078222679 → 3.2.13

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/README.md CHANGED
@@ -87,6 +87,10 @@ import '@varlet/ui/es/style'
87
87
  createApp(App).use(Varlet).mount('#app')
88
88
  ```
89
89
 
90
+ ### AI Agent for documentation
91
+
92
+ You can get more information about `varlet` by asking in [AI Agent for documentation](https://gpt.qilepan.com/chat/share?shareId=y3ytky9ifjgl6fxtva1ai16h). Thanks to [qile AI](https://ai.qilepan.com/auth?type=register&invite=MjM0) for providing service support.
93
+
90
94
  ### Official Ecosystem
91
95
 
92
96
  The following projects are maintained by the official team for a long time.
package/README.zh-CN.md CHANGED
@@ -87,6 +87,10 @@ import '@varlet/ui/es/style'
87
87
  createApp(App).use(Varlet).mount('#app')
88
88
  ```
89
89
 
90
+ ### AI 文档助手
91
+
92
+ 在 [AI 文档助手](https://gpt.qilepan.com/chat/share?shareId=y3ytky9ifjgl6fxtva1ai16h) 中可通过问询的方式获得 `varlet` 的更多信息, 感谢 [qile AI](https://ai.qilepan.com/auth?type=register&invite=MjM0) 提供服务支持.
93
+
90
94
  ### 官方生态
91
95
 
92
96
  以下项目由官方团队长期维护。
package/es/cell/cell.css CHANGED
@@ -1 +1 @@
1
- :root { --cell-color: var(--color-text); --cell-font-size: var(--font-size-md); --cell-description-font-size: var(--font-size-sm); --cell-description-color: rgba(0, 0, 0, 0.6); --cell-description-margin-top: 4px; --cell-padding: 10px 12px; --cell-min-height: 40px; --cell-border-color: var(--color-outline); --cell-border-left: 12px; --cell-border-right: 12px; --cell-icon-right: 8px; --cell-extra-left: 8px;}.var-cell { align-items: center; display: flex; min-height: var(--cell-min-height); outline: none; width: 100%; padding: var(--cell-padding); position: relative; box-sizing: border-box; font-size: var(--cell-font-size); color: var(--cell-color);}.var-cell--border::after { position: absolute; box-sizing: border-box; content: ' '; pointer-events: none; bottom: 0; right: var(--cell-border-right); left: var(--cell-border-left); border-bottom: 1px solid var(--cell-border-color); transform: scaleY(0.5); transition: border 0.25s;}.var-cell__icon { margin-right: var(--cell-icon-right); flex: 0;}.var-cell__content { flex: 1; min-width: 0;}.var-cell__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}.var-cell__description { font-size: var(--cell-description-font-size); color: var(--cell-description-color); margin-top: var(--cell-description-margin-top);}.var-cell__extra { flex: 0; margin-left: var(--cell-extra-left);}.var-cell--cursor { cursor: pointer;}
1
+ :root { --cell-color: var(--color-text); --cell-font-size: var(--font-size-md); --cell-description-font-size: var(--font-size-sm); --cell-description-color: rgba(0, 0, 0, 0.6); --cell-description-margin-top: 4px; --cell-padding: 10px 12px; --cell-min-height: 40px; --cell-border-color: var(--color-outline); --cell-border-left: 12px; --cell-border-right: 12px; --cell-icon-right: 8px; --cell-extra-left: 8px;}.var-cell { align-items: center; display: flex; min-height: var(--cell-min-height); outline: none; width: 100%; padding: var(--cell-padding); position: relative; box-sizing: border-box; font-size: var(--cell-font-size); color: var(--cell-color); -webkit-tap-highlight-color: transparent;}.var-cell--border::after { position: absolute; box-sizing: border-box; content: ' '; pointer-events: none; bottom: 0; right: var(--cell-border-right); left: var(--cell-border-left); border-bottom: 1px solid var(--cell-border-color); transform: scaleY(0.5); transition: border 0.25s;}.var-cell__icon { margin-right: var(--cell-icon-right); flex: 0;}.var-cell__content { flex: 1; min-width: 0;}.var-cell__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}.var-cell__description { font-size: var(--cell-description-font-size); color: var(--cell-description-color); margin-top: var(--cell-description-margin-top);}.var-cell__extra { flex: 0; margin-left: var(--cell-extra-left);}.var-cell--cursor { cursor: pointer;}
@@ -1,10 +1,13 @@
1
1
  import { createVNode as _createVNode } from "vue";
2
2
  import { defineComponent } from "vue";
3
- import Checkbox from "../checkbox/index.mjs";
4
3
  import { isFunction } from "@varlet/shared";
5
-
4
+ import { createNamespace } from "../utils/components.mjs";
5
+ import Checkbox from "../checkbox/index.mjs";
6
+ const {
7
+ name
8
+ } = createNamespace("checkbox-group-option");
6
9
  var stdin_default = defineComponent({
7
- name: "CheckboxGroupOption",
10
+ name,
8
11
  props: {
9
12
  labelKey: {
10
13
  type: String,
@@ -14,20 +17,25 @@ var stdin_default = defineComponent({
14
17
  type: String,
15
18
  required: true
16
19
  },
17
- option: Object
20
+ option: {
21
+ type: Object,
22
+ required: true
23
+ }
18
24
  },
19
25
  setup(props) {
20
26
  return () => {
21
- if (props.option == null) {
22
- return;
23
- }
27
+ const {
28
+ option,
29
+ labelKey,
30
+ valueKey
31
+ } = props;
24
32
  return _createVNode(Checkbox, {
25
- "checkedValue": props.option[props.valueKey],
26
- "disabled": props.option.disabled
33
+ "checkedValue": option[valueKey],
34
+ "disabled": option.disabled
27
35
  }, {
28
36
  default: ({
29
37
  checked
30
- }) => isFunction(props.option[props.labelKey]) ? props.option[props.labelKey](props.option, checked) : props.option[props.labelKey]
38
+ }) => isFunction(option[labelKey]) ? option[labelKey](option, checked) : option[labelKey]
31
39
  });
32
40
  };
33
41
  }
@@ -1,5 +1,5 @@
1
- import '../../checkbox/checkbox.css'
2
1
  import '../../styles/common.css'
3
2
  import '../../form-details/formDetails.css'
3
+ import '../../checkbox/checkbox.css'
4
4
  import '../checkboxGroup.css'
5
5
  import '../CheckboxGroupSfc.css'
@@ -262,7 +262,7 @@ import './tooltip/style/index.mjs'
262
262
  import './uploader/style/index.mjs'
263
263
  import './watermark/style/index.mjs'
264
264
 
265
- const version = '3.2.12-alpha.1717078222679'
265
+ const version = '3.2.13'
266
266
 
267
267
  function install(app) {
268
268
  ActionSheet.install && app.use(ActionSheet)
package/es/index.mjs CHANGED
@@ -174,7 +174,7 @@ export * from './tooltip/index.mjs'
174
174
  export * from './uploader/index.mjs'
175
175
  export * from './watermark/index.mjs'
176
176
 
177
- const version = '3.2.12-alpha.1717078222679'
177
+ const version = '3.2.13'
178
178
 
179
179
  function install(app) {
180
180
  ActionSheet.install && app.use(ActionSheet)