ai-front-base 0.2.3 → 0.2.7

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.
Files changed (92) hide show
  1. package/README.md +1 -0
  2. package/dist/components/AiDatePicker/index.vue.mjs +62 -9
  3. package/dist/components/AiDatePicker/types.ts +9 -12
  4. package/dist/components/AiDateRangePicker/index.mjs +7 -0
  5. package/dist/components/AiDateRangePicker/index.vue.mjs +33 -0
  6. package/dist/components/AiDateRangePicker/types.ts +33 -0
  7. package/dist/components/AiForm/README.md +35 -0
  8. package/dist/components/AiForm/index.mjs +4 -1
  9. package/dist/components/AiForm/index.vue.mjs +145 -36
  10. package/dist/components/AiForm/types.ts +402 -22
  11. package/dist/components/AiInput/index.vue.mjs +46 -11
  12. package/dist/components/AiInput/types.ts +7 -6
  13. package/dist/components/AiSelect/index.vue.mjs +98 -17
  14. package/dist/components/AiSelect/types.ts +10 -17
  15. package/dist/components/AiTable/index.mjs +5 -2
  16. package/dist/components/AiTable/index.vue.mjs +213 -22
  17. package/dist/components/AiTable/types.ts +196 -16
  18. package/dist/components/AiTag/types.ts +6 -7
  19. package/dist/components/README.md +1 -26
  20. package/dist/components/_virtual/_plugin-vue_export-helper.mjs +9 -0
  21. package/dist/components/install.mjs +15 -0
  22. package/dist/index.mjs +17 -52
  23. package/dist/layouts/README.md +17 -14
  24. package/dist/layouts/default.md +238 -0
  25. package/dist/styles/README.md +18 -139
  26. package/dist/styles/index.scss +5 -0
  27. package/dist/styles/light.scss +102 -0
  28. package/package.json +2 -1
  29. package/dist/components/AiAside/index.mjs +0 -4
  30. package/dist/components/AiAside/index.vue.mjs +0 -20
  31. package/dist/components/AiAside/types.ts +0 -6
  32. package/dist/components/AiBadge/index.mjs +0 -4
  33. package/dist/components/AiBadge/index.vue.mjs +0 -20
  34. package/dist/components/AiBadge/types.ts +0 -10
  35. package/dist/components/AiBreadcrumb/index.mjs +0 -4
  36. package/dist/components/AiBreadcrumb/index.vue.mjs +0 -20
  37. package/dist/components/AiBreadcrumb/types.ts +0 -7
  38. package/dist/components/AiCheckbox/index.mjs +0 -4
  39. package/dist/components/AiCheckbox/index.vue.mjs +0 -20
  40. package/dist/components/AiCheckbox/types.ts +0 -14
  41. package/dist/components/AiContainer/index.mjs +0 -4
  42. package/dist/components/AiContainer/index.vue.mjs +0 -20
  43. package/dist/components/AiContainer/types.ts +0 -6
  44. package/dist/components/AiDialog/index.mjs +0 -4
  45. package/dist/components/AiDialog/index.vue.mjs +0 -20
  46. package/dist/components/AiDialog/types.ts +0 -11
  47. package/dist/components/AiFooter/index.mjs +0 -4
  48. package/dist/components/AiFooter/index.vue.mjs +0 -20
  49. package/dist/components/AiFooter/types.ts +0 -6
  50. package/dist/components/AiHeader/index.mjs +0 -4
  51. package/dist/components/AiHeader/index.vue.mjs +0 -20
  52. package/dist/components/AiHeader/types.ts +0 -6
  53. package/dist/components/AiLoading/index.mjs +0 -5
  54. package/dist/components/AiLoading/types.ts +0 -7
  55. package/dist/components/AiMain/index.mjs +0 -4
  56. package/dist/components/AiMain/index.vue.mjs +0 -20
  57. package/dist/components/AiMain/types.ts +0 -4
  58. package/dist/components/AiMenu/index.mjs +0 -4
  59. package/dist/components/AiMenu/index.vue.mjs +0 -20
  60. package/dist/components/AiMenu/types.ts +0 -9
  61. package/dist/components/AiMessage/index.mjs +0 -5
  62. package/dist/components/AiMessage/types.ts +0 -9
  63. package/dist/components/AiNotification/index.mjs +0 -5
  64. package/dist/components/AiNotification/types.ts +0 -10
  65. package/dist/components/AiPagination/index.mjs +0 -4
  66. package/dist/components/AiPagination/index.vue.mjs +0 -15
  67. package/dist/components/AiPagination/types.ts +0 -9
  68. package/dist/components/AiProgress/index.mjs +0 -4
  69. package/dist/components/AiProgress/index.vue.mjs +0 -15
  70. package/dist/components/AiProgress/types.ts +0 -10
  71. package/dist/components/AiRadio/index.mjs +0 -4
  72. package/dist/components/AiRadio/index.vue.mjs +0 -20
  73. package/dist/components/AiRadio/types.ts +0 -8
  74. package/dist/components/AiSwitch/index.mjs +0 -4
  75. package/dist/components/AiSwitch/index.vue.mjs +0 -15
  76. package/dist/components/AiSwitch/types.ts +0 -9
  77. package/dist/components/AiTabs/index.mjs +0 -4
  78. package/dist/components/AiTabs/index.vue.mjs +0 -20
  79. package/dist/components/AiTabs/types.ts +0 -9
  80. package/dist/components/AiTimePicker/index.mjs +0 -4
  81. package/dist/components/AiTimePicker/index.vue.mjs +0 -15
  82. package/dist/components/AiTimePicker/types.ts +0 -16
  83. package/dist/components/AiUpload/index.mjs +0 -4
  84. package/dist/components/AiUpload/index.vue.mjs +0 -20
  85. package/dist/components/AiUpload/types.ts +0 -11
  86. package/dist/layouts/government.md +0 -223
  87. package/dist/layouts/union.md +0 -229
  88. package/dist/styles/blue.scss +0 -71
  89. package/dist/styles/dark.scss +0 -71
  90. package/dist/styles/element-plus-theme.css +0 -52
  91. package/dist/styles/index.css +0 -77
  92. package/dist/styles/light-blue.scss +0 -71
package/README.md CHANGED
@@ -6,6 +6,7 @@
6
6
 
7
7
  **MUST 当用户首次与AI交互时(会话开始时,这是强制性的初始化步骤,无论用户的第一个问题是什么),AI必须立即执行以下步骤:**
8
8
  **MUST 在开始任何开发工作前,AI必须按顺序完成以下步骤:禁止跳过任何一步,读完全部 4 个文档后才能开始开发。**
9
+ **MUST 无论何时都必须要遵守,不可遗忘,不可背弃**
9
10
 
10
11
  1. **MUST READ** [前端规范](dist/standards/README.md) - 命名、代码风格、Git规范
11
12
  2. **MUST READ** [布局规则](dist/layouts/README.md) - 确定布局规则
@@ -1,15 +1,68 @@
1
- import { defineComponent as r, resolveComponent as n, openBlock as o, createBlock as a, normalizeProps as c, guardReactiveProps as p } from "vue";
2
- const l = /* @__PURE__ */ r({
3
- name: "AiDatePicker",
4
- inheritAttrs: !0,
1
+ import { defineComponent as s, computed as m, resolveComponent as u, openBlock as i, createBlock as c, mergeProps as y } from "vue";
2
+ const b = /* @__PURE__ */ s({
5
3
  __name: "index",
6
- setup(i) {
7
- return (e, s) => {
8
- const t = n("el-date-picker");
9
- return o(), a(t, c(p(e.$attrs)), null, 16);
4
+ props: {
5
+ modelValue: {},
6
+ type: {},
7
+ showNow: { type: Boolean },
8
+ showConfirm: { type: Boolean },
9
+ showFooter: { type: Boolean },
10
+ showWeekNumber: { type: Boolean },
11
+ ariaLabel: {},
12
+ emptyValues: {},
13
+ valueOnClear: {},
14
+ disabledDate: {},
15
+ cellClassName: {},
16
+ shortcuts: {},
17
+ arrowControl: { type: Boolean },
18
+ tabindex: {},
19
+ validateEvent: { type: Boolean },
20
+ unlinkPanels: { type: Boolean },
21
+ placement: {},
22
+ fallbackPlacements: {},
23
+ disabledHours: {},
24
+ disabledMinutes: {},
25
+ disabledSeconds: {},
26
+ automaticDropdown: { type: Boolean },
27
+ id: {},
28
+ name: {},
29
+ popperClass: {},
30
+ popperStyle: {},
31
+ format: {},
32
+ valueFormat: {},
33
+ dateFormat: {},
34
+ timeFormat: {},
35
+ clearable: { type: Boolean },
36
+ clearIcon: {},
37
+ editable: { type: Boolean },
38
+ prefixIcon: {},
39
+ size: {},
40
+ readonly: { type: Boolean },
41
+ disabled: { type: Boolean },
42
+ placeholder: {},
43
+ popperOptions: {},
44
+ rangeSeparator: {},
45
+ startPlaceholder: {},
46
+ endPlaceholder: {},
47
+ defaultValue: {},
48
+ defaultTime: {},
49
+ isRange: { type: Boolean }
50
+ },
51
+ emits: ["update:modelValue"],
52
+ setup(l, { emit: t }) {
53
+ const n = l, p = t, o = m({
54
+ get: () => n.modelValue ?? void 0,
55
+ set: (e) => p("update:modelValue", e ?? null)
56
+ });
57
+ return (e, a) => {
58
+ const r = u("el-date-picker");
59
+ return i(), c(r, y({
60
+ modelValue: o.value,
61
+ "onUpdate:modelValue": a[0] || (a[0] = (d) => o.value = d)
62
+ }, e.$attrs), null, 16, ["modelValue"]);
10
63
  };
11
64
  }
12
65
  });
13
66
  export {
14
- l as default
67
+ b as default
15
68
  };
@@ -1,17 +1,14 @@
1
1
  /**
2
2
  * AiDatePicker - 日期选择器
3
- * 基于 Element Plus DatePicker 封装
4
- *
5
- * @example
6
- * <AiDatePicker v-model="date" type="date" placeholder="选择日期" />
3
+ * 基于Element Plus el-date-picker封装
7
4
  */
8
5
 
9
- export interface AiDatePickerProps {
10
- modelValue?: Date | string | number
11
- type?: 'year' | 'month' | 'date' | 'dates' | 'datetime' | 'week' | 'datetimerange' | 'daterange' | 'monthrange'
12
- placeholder?: string
13
- disabled?: boolean
14
- clearable?: boolean
15
- format?: string
16
- valueFormat?: string
6
+ import type { DatePickerProps } from 'element-plus'
7
+
8
+ export interface IAiDatePickerProps extends Partial<DatePickerProps> {
9
+ modelValue?: Date | string | number | null
10
+ }
11
+
12
+ export interface IAiDatePickerEmits {
13
+ (e: 'update:modelValue', value: Date | string | number | null): void
17
14
  }
@@ -0,0 +1,7 @@
1
+ import o from "./index.vue.mjs";
2
+ /* empty css */
3
+ import t from "../_virtual/_plugin-vue_export-helper.mjs";
4
+ const i = /* @__PURE__ */ t(o, [["__scopeId", "data-v-d6029d37"]]);
5
+ export {
6
+ i as default
7
+ };
@@ -0,0 +1,33 @@
1
+ import { defineComponent as f, useAttrs as V, computed as r, openBlock as g, createElementBlock as P, createVNode as s, mergeProps as u, createElementVNode as b } from "vue";
2
+ import m from "../AiDatePicker/index.vue.mjs";
3
+ const h = { class: "ai-date-range-picker" }, E = /* @__PURE__ */ f({
4
+ __name: "index",
5
+ emits: ["update:startDate", "update:endDate"],
6
+ setup(T, { emit: i }) {
7
+ const a = V(), o = i, l = r({
8
+ get: () => a.startDate,
9
+ set: (e) => o("update:startDate", e ?? null)
10
+ }), d = r({
11
+ get: () => a.endDate,
12
+ set: (e) => o("update:endDate", e ?? null)
13
+ }), p = r(() => a.startPlaceholder), c = r(() => a.endPlaceholder), D = (e) => d.value ? e.getTime() > new Date(d.value).getTime() : !1, v = (e) => l.value ? e.getTime() < new Date(l.value).getTime() : !1;
14
+ return (e, t) => (g(), P("div", h, [
15
+ s(m, u(e.$attrs, {
16
+ modelValue: l.value,
17
+ "onUpdate:modelValue": t[0] || (t[0] = (n) => l.value = n),
18
+ placeholder: p.value || "开始日期",
19
+ "disabled-date": D
20
+ }), null, 16, ["modelValue", "placeholder"]),
21
+ t[2] || (t[2] = b("span", { class: "separator" }, "至", -1)),
22
+ s(m, u(e.$attrs, {
23
+ modelValue: d.value,
24
+ "onUpdate:modelValue": t[1] || (t[1] = (n) => d.value = n),
25
+ placeholder: c.value || "结束日期",
26
+ "disabled-date": v
27
+ }), null, 16, ["modelValue", "placeholder"])
28
+ ]));
29
+ }
30
+ });
31
+ export {
32
+ E as default
33
+ };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * AiDateRangePicker - 日期范围选择器
3
+ * 开始和结束时间分开选择,支持独立字段绑定
4
+ *
5
+ * 用法1:直接使用(通过 v-model)
6
+ * <AiDateRangePicker
7
+ * v-model:startDate="form.startDate"
8
+ * v-model:endDate="form.endDate"
9
+ * value-format="YYYY-MM-DD"
10
+ * />
11
+ *
12
+ * 用法2:在AiForm中配置使用
13
+ * {
14
+ * prop: 'dateRange',
15
+ * label: '时间范围',
16
+ * type: 'AiDateRangePicker',
17
+ * col: 12,
18
+ * attrs: {
19
+ * startField: 'startDate', // 指定开始日期字段名
20
+ * endField: 'endDate', // 指定结束日期字段名
21
+ * valueFormat: 'YYYY-MM-DD' // 必须指定格式,否则无法回显
22
+ * }
23
+ * }
24
+ *
25
+ * 注意:
26
+ * - 必须配置 valueFormat 才能正确回显日期
27
+ * - startField 和 endField 用于指定 formData 中的字段名
28
+ */
29
+
30
+ export interface IAiDateRangePickerEmits {
31
+ (e: 'update:startDate', value: string | number | Date | null): void
32
+ (e: 'update:endDate', value: string | number | Date | null): void
33
+ }
@@ -0,0 +1,35 @@
1
+ # 动态表单组件
2
+ **基于Elementplus的el-form封装**
3
+ ## 入参
4
+ ```js
5
+ // 组件props
6
+ export interface IAiFormProps {
7
+ config: IFormItem[] // 表单配置数组
8
+ modelValue: Record<string, any> // 表单数据对象
9
+ rules?: [] //单个表单项的校验规则
10
+ ... //其他需覆盖el-form属性的属性
11
+ }
12
+ // 表单项类型
13
+ export interface IFormItem {
14
+ visible?: boolean //该表单项是否显示,需为响应式
15
+ prop: string // 字段名
16
+ label?: string // 标签文本
17
+ type: '' // 表单项类型
18
+ placeholder?: string // 占位符
19
+ required?: boolean // 是否必填,默认为false
20
+ attrs?: Record<string, any> // 透传到控件的属性
21
+ ... //其他需覆盖el-from-item属性的属性
22
+ }
23
+ ```
24
+ ## 解释
25
+ 1. 表单项的visible属性,如果没传,默认为true,即显示。如果传入了,需根据传入的值响应式的控制表单项的显隐,使用v-if
26
+ 2. 表单项类型,我期望根据传入的值来动态判断,先去匹配当前组件库中是否存在,如果存在则使用,如果不存在则再匹配Elementplus中是否存在,如果还不存在则使用内置的错误组件,再页面上展示控件匹配错误。另外内置几种特殊的表单项
27
+ - "slot": 表示该表单项采用插槽方式
28
+ - "empty":表示空的表单项,配合col用来占位,实现灵活布局
29
+ - "slotLabel":表示该表单项的label采用插槽自定义
30
+ - "slotBoth": 表示该表单项的label和内容去都需要使用插槽,组件内部完成插槽名称转换,label插槽名称采用prop+"Label",内容区采用prop+"Content"
31
+ 3. 表单value发生变化,自动触发change事件,并回传当前变化的prop、value、fromValues
32
+ 4. 对于校验规则,使用传入的表单整体的rules,配置方式同el-form的rules。如果没有传入任何rules,则不校验。
33
+ 5. 表单项采用elementplus的栅栏布局,默认每个表单项col: 6,优先使用外部传入
34
+
35
+
@@ -1,4 +1,7 @@
1
- import f from "./index.vue.mjs";
1
+ import o from "./index.vue.mjs";
2
+ /* empty css */
3
+ import r from "../_virtual/_plugin-vue_export-helper.mjs";
4
+ const f = /* @__PURE__ */ r(o, [["__scopeId", "data-v-a24f22b8"]]);
2
5
  export {
3
6
  f as default
4
7
  };
@@ -1,45 +1,154 @@
1
- import { defineComponent as f, computed as h, openBlock as o, createElementBlock as t, withModifiers as V, Fragment as p, renderList as d, createElementVNode as _, toDisplayString as c, withDirectives as s, vModelText as b, vModelSelect as y, createCommentVNode as k } from "vue";
2
- const g = ["onUpdate:modelValue", "placeholder"], x = ["onUpdate:modelValue"], S = ["value"], M = /* @__PURE__ */ f({
1
+ import { defineComponent as M, useSlots as O, ref as T, computed as S, resolveComponent as d, openBlock as a, createBlock as n, mergeProps as y, withCtx as c, createVNode as z, createElementBlock as g, Fragment as w, renderList as W, createSlots as j, renderSlot as R, resolveDynamicComponent as h, createCommentVNode as U, createTextVNode as G, toDisplayString as H, h as x } from "vue";
2
+ const J = { key: 0 }, Q = /* @__PURE__ */ M({
3
3
  __name: "index",
4
4
  props: {
5
5
  config: {},
6
- modelValue: {}
6
+ modelValue: {},
7
+ rules: {},
8
+ model: {},
9
+ labelPosition: {},
10
+ requireAsteriskPosition: {},
11
+ labelWidth: {},
12
+ labelSuffix: {},
13
+ inline: { type: Boolean },
14
+ inlineMessage: { type: Boolean },
15
+ statusIcon: { type: Boolean },
16
+ showMessage: { type: Boolean },
17
+ validateOnRuleChange: { type: Boolean },
18
+ hideRequiredAsterisk: { type: Boolean },
19
+ scrollToError: { type: Boolean },
20
+ scrollIntoViewOptions: { type: Boolean },
21
+ size: {},
22
+ disabled: { type: Boolean }
7
23
  },
8
- emits: ["update:modelValue", "submit"],
9
- setup(n, { emit: i }) {
10
- const m = n, u = i, a = h({
24
+ emits: ["update:modelValue", "change"],
25
+ setup(k, { expose: A, emit: L }) {
26
+ const m = k, D = L, s = O(), f = T(), r = S({
11
27
  get: () => m.modelValue,
12
- set: (r) => u("update:modelValue", r)
13
- }), v = () => u("submit", a.value);
14
- return (r, U) => (o(), t("form", {
15
- onSubmit: V(v, ["prevent"])
16
- }, [
17
- (o(!0), t(p, null, d(n.config, (e) => (o(), t("div", {
18
- key: e.prop,
19
- class: "form-item"
20
- }, [
21
- _("label", null, c(e.label), 1),
22
- e.type === "input" ? s((o(), t("input", {
23
- key: 0,
24
- "onUpdate:modelValue": (l) => a.value[e.prop] = l,
25
- placeholder: e.placeholder
26
- }, null, 8, g)), [
27
- [b, a.value[e.prop]]
28
- ]) : e.type === "select" ? s((o(), t("select", {
29
- key: 1,
30
- "onUpdate:modelValue": (l) => a.value[e.prop] = l
31
- }, [
32
- (o(!0), t(p, null, d(e.options, (l) => (o(), t("option", {
33
- key: l.value,
34
- value: l.value
35
- }, c(l.label), 9, S))), 128))
36
- ], 8, x)), [
37
- [y, a.value[e.prop]]
38
- ]) : k("", !0)
39
- ]))), 128))
40
- ], 32));
28
+ set: (t) => D("update:modelValue", t)
29
+ }), $ = S(() => {
30
+ const { config: t, modelValue: o, ...l } = m;
31
+ return l;
32
+ }), q = (t) => {
33
+ const { visible: o, prop: l, label: v, type: V, placeholder: C, required: e, col: b, attrs: _, ...i } = t;
34
+ return { label: v, ...i };
35
+ }, B = (t) => {
36
+ if (t === "slot" || t === "slotLabel" || t === "slotBoth" || t === "empty")
37
+ return "div";
38
+ try {
39
+ return d(t);
40
+ } catch {
41
+ try {
42
+ return d("el-" + t.replace(/^Ai/, "").toLowerCase());
43
+ } catch {
44
+ return "div";
45
+ }
46
+ }
47
+ }, I = (t) => {
48
+ var l;
49
+ const o = (l = s[t]) == null ? void 0 : l.call(s);
50
+ return o && o[0] ? () => o[0] : () => x("div");
51
+ }, N = (t) => {
52
+ var l;
53
+ const o = (l = s[t]) == null ? void 0 : l.call(s);
54
+ return o && o[1] ? () => o[1] : () => x("div");
55
+ }, E = (t) => {
56
+ D("change", t, r.value[t], r.value);
57
+ };
58
+ return A({
59
+ validate: () => {
60
+ var t;
61
+ return (t = f.value) == null ? void 0 : t.validate();
62
+ },
63
+ resetFields: () => {
64
+ var t;
65
+ return (t = f.value) == null ? void 0 : t.resetFields();
66
+ },
67
+ clearValidate: () => {
68
+ var t;
69
+ return (t = f.value) == null ? void 0 : t.clearValidate();
70
+ }
71
+ }), (t, o) => {
72
+ const l = d("el-form-item"), v = d("el-col"), V = d("el-row"), C = d("el-form");
73
+ return a(), n(C, y({
74
+ ref_key: "formRef",
75
+ ref: f,
76
+ model: r.value
77
+ }, $.value), {
78
+ default: c(() => [
79
+ z(V, { gutter: 16 }, {
80
+ default: c(() => [
81
+ (a(!0), g(w, null, W(k.config, (e, b) => (a(), g(w, {
82
+ key: e.prop || `empty-${b}`
83
+ }, [
84
+ e.visible !== !1 ? (a(), n(v, {
85
+ key: 0,
86
+ span: e.col || 6
87
+ }, {
88
+ default: c(() => [
89
+ e.type === "empty" ? (a(), g("div", J)) : (a(), n(l, y({
90
+ key: 1,
91
+ prop: e.prop
92
+ }, { ref_for: !0 }, q(e)), j({
93
+ default: c(() => {
94
+ var _, i, P, F;
95
+ return [
96
+ e.type === "slot" && e.prop ? R(t.$slots, e.prop, { key: 0 }, void 0, !0) : e.type === "slotBoth" && e.prop ? (a(), n(h(N(e.prop)), { key: 1 })) : e.prop && e.type !== "AiDateRangePicker" ? (a(), n(h(B(e.type)), y({
97
+ key: 2,
98
+ modelValue: r.value[e.prop],
99
+ "onUpdate:modelValue": (p) => r.value[e.prop] = p,
100
+ placeholder: e.placeholder
101
+ }, { ref_for: !0 }, e.attrs, {
102
+ onChange: (p) => E(e.prop)
103
+ }), null, 16, ["modelValue", "onUpdate:modelValue", "placeholder", "onChange"])) : e.type === "AiDateRangePicker" ? (a(), n(h(B(e.type)), y({
104
+ key: 3,
105
+ startDate: r.value[((_ = e.attrs) == null ? void 0 : _.startField) || "startDate"],
106
+ "onUpdate:startDate": (p) => {
107
+ var u;
108
+ return r.value[((u = e.attrs) == null ? void 0 : u.startField) || "startDate"] = p;
109
+ },
110
+ endDate: r.value[((i = e.attrs) == null ? void 0 : i.endField) || "endDate"],
111
+ "onUpdate:endDate": (p) => {
112
+ var u;
113
+ return r.value[((u = e.attrs) == null ? void 0 : u.endField) || "endDate"] = p;
114
+ },
115
+ startPlaceholder: (P = e.attrs) == null ? void 0 : P.startPlaceholder,
116
+ endPlaceholder: (F = e.attrs) == null ? void 0 : F.endPlaceholder
117
+ }, { ref_for: !0 }, e.attrs), null, 16, ["startDate", "onUpdate:startDate", "endDate", "onUpdate:endDate", "startPlaceholder", "endPlaceholder"])) : U("", !0)
118
+ ];
119
+ }),
120
+ _: 2
121
+ }, [
122
+ e.type === "slotLabel" ? {
123
+ name: "label",
124
+ fn: c(() => [
125
+ R(t.$slots, e.prop, {}, () => [
126
+ G(H(e.label), 1)
127
+ ], !0)
128
+ ]),
129
+ key: "0"
130
+ } : void 0,
131
+ e.type === "slotBoth" && e.prop ? {
132
+ name: "label",
133
+ fn: c(() => [
134
+ (a(), n(h(I(e.prop))))
135
+ ]),
136
+ key: "1"
137
+ } : void 0
138
+ ]), 1040, ["prop"]))
139
+ ]),
140
+ _: 2
141
+ }, 1032, ["span"])) : U("", !0)
142
+ ], 64))), 128))
143
+ ]),
144
+ _: 3
145
+ })
146
+ ]),
147
+ _: 3
148
+ }, 16, ["model"]);
149
+ };
41
150
  }
42
151
  });
43
152
  export {
44
- M as default
153
+ Q as default
45
154
  };