ll-plus 2.1.2 → 2.1.4
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/es/component.mjs +2 -0
- package/es/component.mjs.map +1 -1
- package/es/components/icon-picker/index.d.ts +146 -0
- package/es/components/icon-picker/index.mjs +13 -0
- package/es/components/icon-picker/index.mjs.map +1 -0
- package/es/components/icon-picker/src/components/modal.vue.d.ts +70 -0
- package/es/components/icon-picker/src/components/modal.vue.mjs +8 -0
- package/es/components/icon-picker/src/components/modal.vue.mjs.map +1 -0
- package/es/components/icon-picker/src/components/modal.vue2.mjs +158 -0
- package/es/components/icon-picker/src/components/modal.vue2.mjs.map +1 -0
- package/es/components/icon-picker/src/components/search.vue.d.ts +30 -0
- package/es/components/icon-picker/src/components/search.vue.mjs +8 -0
- package/es/components/icon-picker/src/components/search.vue.mjs.map +1 -0
- package/es/components/icon-picker/src/components/search.vue2.mjs +58 -0
- package/es/components/icon-picker/src/components/search.vue2.mjs.map +1 -0
- package/es/components/icon-picker/src/config/icon-picker.d.ts +20 -0
- package/es/components/icon-picker/src/config/icon-picker.mjs +23 -0
- package/es/components/icon-picker/src/config/icon-picker.mjs.map +1 -0
- package/es/components/icon-picker/src/config/index.d.ts +3 -0
- package/es/components/icon-picker/src/config/index.mjs +6 -0
- package/es/components/icon-picker/src/config/index.mjs.map +1 -0
- package/es/components/icon-picker/src/config/modal.d.ts +24 -0
- package/es/components/icon-picker/src/config/modal.mjs +30 -0
- package/es/components/icon-picker/src/config/modal.mjs.map +1 -0
- package/es/components/icon-picker/src/config/search.d.ts +15 -0
- package/es/components/icon-picker/src/config/search.mjs +19 -0
- package/es/components/icon-picker/src/config/search.mjs.map +1 -0
- package/es/components/icon-picker/src/icon-picker.vue.d.ts +139 -0
- package/es/components/icon-picker/src/icon-picker.vue.mjs +8 -0
- package/es/components/icon-picker/src/icon-picker.vue.mjs.map +1 -0
- package/es/components/icon-picker/src/icon-picker.vue2.mjs +59 -0
- package/es/components/icon-picker/src/icon-picker.vue2.mjs.map +1 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +4 -0
- package/es/components/index.mjs.map +1 -1
- package/es/index.mjs +4 -0
- package/es/index.mjs.map +1 -1
- package/index.full.js +358 -40
- package/index.full.min.js +17 -17
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +20 -20
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +353 -41
- package/lib/component.js +50 -48
- package/lib/component.js.map +1 -1
- package/lib/components/icon-picker/index.d.ts +146 -0
- package/lib/components/icon-picker/index.js +23 -0
- package/lib/components/icon-picker/index.js.map +1 -0
- package/lib/components/icon-picker/src/components/modal.vue.d.ts +70 -0
- package/lib/components/icon-picker/src/components/modal.vue.js +12 -0
- package/lib/components/icon-picker/src/components/modal.vue.js.map +1 -0
- package/lib/components/icon-picker/src/components/modal.vue2.js +162 -0
- package/lib/components/icon-picker/src/components/modal.vue2.js.map +1 -0
- package/lib/components/icon-picker/src/components/search.vue.d.ts +30 -0
- package/lib/components/icon-picker/src/components/search.vue.js +12 -0
- package/lib/components/icon-picker/src/components/search.vue.js.map +1 -0
- package/lib/components/icon-picker/src/components/search.vue2.js +62 -0
- package/lib/components/icon-picker/src/components/search.vue2.js.map +1 -0
- package/lib/components/icon-picker/src/config/icon-picker.d.ts +20 -0
- package/lib/components/icon-picker/src/config/icon-picker.js +25 -0
- package/lib/components/icon-picker/src/config/icon-picker.js.map +1 -0
- package/lib/components/icon-picker/src/config/index.d.ts +3 -0
- package/lib/components/icon-picker/src/config/index.js +14 -0
- package/lib/components/icon-picker/src/config/index.js.map +1 -0
- package/lib/components/icon-picker/src/config/modal.d.ts +24 -0
- package/lib/components/icon-picker/src/config/modal.js +33 -0
- package/lib/components/icon-picker/src/config/modal.js.map +1 -0
- package/lib/components/icon-picker/src/config/search.d.ts +15 -0
- package/lib/components/icon-picker/src/config/search.js +22 -0
- package/lib/components/icon-picker/src/config/search.js.map +1 -0
- package/lib/components/icon-picker/src/icon-picker.vue.d.ts +139 -0
- package/lib/components/icon-picker/src/icon-picker.vue.js +12 -0
- package/lib/components/icon-picker/src/icon-picker.vue.js.map +1 -0
- package/lib/components/icon-picker/src/icon-picker.vue2.js +63 -0
- package/lib/components/icon-picker/src/icon-picker.vue2.js.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +60 -50
- package/lib/components/index.js.map +1 -1
- package/lib/index.js +60 -50
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/css/button.css +1 -1
- package/theme-chalk/css/icon-picker.css +1 -0
- package/theme-chalk/css/index.css +1 -1
- package/types/packages/components/icon-picker/index.d.ts +146 -0
- package/types/packages/components/icon-picker/src/components/modal.vue.d.ts +70 -0
- package/types/packages/components/icon-picker/src/components/search.vue.d.ts +30 -0
- package/types/packages/components/icon-picker/src/config/icon-picker.d.ts +20 -0
- package/types/packages/components/icon-picker/src/config/index.d.ts +3 -0
- package/types/packages/components/icon-picker/src/config/modal.d.ts +24 -0
- package/types/packages/components/icon-picker/src/config/search.d.ts +15 -0
- package/types/packages/components/icon-picker/src/icon-picker.vue.d.ts +139 -0
- package/types/packages/components/index.d.ts +1 -0
package/index.full.js
CHANGED
|
@@ -1644,7 +1644,7 @@
|
|
|
1644
1644
|
const _hoisted_2$4 = [
|
|
1645
1645
|
_hoisted_1$9
|
|
1646
1646
|
];
|
|
1647
|
-
var _sfc_main$
|
|
1647
|
+
var _sfc_main$S = /* @__PURE__ */ require$$0.defineComponent({
|
|
1648
1648
|
...{ name: "LlAdvancedFilteringParams" },
|
|
1649
1649
|
__name: "advanced-filtering-params",
|
|
1650
1650
|
props: advancedFilteringParamsProps,
|
|
@@ -1757,7 +1757,7 @@
|
|
|
1757
1757
|
return target;
|
|
1758
1758
|
};
|
|
1759
1759
|
|
|
1760
|
-
var AdvancedFilteringParams = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
1760
|
+
var AdvancedFilteringParams = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__file", "advanced-filtering-params.vue"]]);
|
|
1761
1761
|
|
|
1762
1762
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
1763
1763
|
|
|
@@ -2102,7 +2102,7 @@
|
|
|
2102
2102
|
const _hoisted_4 = [
|
|
2103
2103
|
_hoisted_3$2
|
|
2104
2104
|
];
|
|
2105
|
-
var _sfc_main$
|
|
2105
|
+
var _sfc_main$R = /* @__PURE__ */ require$$0.defineComponent({
|
|
2106
2106
|
...{ name: "LlAdvancedFilteringTags" },
|
|
2107
2107
|
__name: "advanced-filtering-tags",
|
|
2108
2108
|
props: advancedFilteringProps,
|
|
@@ -2317,7 +2317,7 @@
|
|
|
2317
2317
|
}
|
|
2318
2318
|
});
|
|
2319
2319
|
|
|
2320
|
-
var AdvancedFilteringTags = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2320
|
+
var AdvancedFilteringTags = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__file", "advanced-filtering-tags.vue"]]);
|
|
2321
2321
|
|
|
2322
2322
|
const _hoisted_1$7 = /* @__PURE__ */ require$$0.createElementVNode(
|
|
2323
2323
|
"span",
|
|
@@ -2326,7 +2326,7 @@
|
|
|
2326
2326
|
-1
|
|
2327
2327
|
/* HOISTED */
|
|
2328
2328
|
);
|
|
2329
|
-
var _sfc_main$
|
|
2329
|
+
var _sfc_main$Q = /* @__PURE__ */ require$$0.defineComponent({
|
|
2330
2330
|
...{ name: "LlAdvancedFiltering" },
|
|
2331
2331
|
__name: "advanced-filtering",
|
|
2332
2332
|
props: advancedFilteringProps,
|
|
@@ -2423,7 +2423,7 @@
|
|
|
2423
2423
|
}
|
|
2424
2424
|
});
|
|
2425
2425
|
|
|
2426
|
-
var AdvancedFiltering = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2426
|
+
var AdvancedFiltering = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["__file", "advanced-filtering.vue"]]);
|
|
2427
2427
|
|
|
2428
2428
|
const LlAdvancedFiltering = withInstall(AdvancedFiltering);
|
|
2429
2429
|
const LlAdvancedFilteringParams = withInstall(AdvancedFilteringParams);
|
|
@@ -2475,7 +2475,7 @@
|
|
|
2475
2475
|
click: (item, index) => !!item || index
|
|
2476
2476
|
};
|
|
2477
2477
|
|
|
2478
|
-
var _sfc_main$
|
|
2478
|
+
var _sfc_main$P = /* @__PURE__ */ require$$0.defineComponent({
|
|
2479
2479
|
...{ name: "LlAvatar" },
|
|
2480
2480
|
__name: "avatar",
|
|
2481
2481
|
props: avatarProps,
|
|
@@ -2645,7 +2645,7 @@
|
|
|
2645
2645
|
}
|
|
2646
2646
|
});
|
|
2647
2647
|
|
|
2648
|
-
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2648
|
+
var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["__file", "avatar.vue"]]);
|
|
2649
2649
|
|
|
2650
2650
|
const LlAvatar = withInstall(Avatar);
|
|
2651
2651
|
|
|
@@ -2671,7 +2671,7 @@
|
|
|
2671
2671
|
});
|
|
2672
2672
|
|
|
2673
2673
|
const _hoisted_1$6 = { key: 0 };
|
|
2674
|
-
var _sfc_main$
|
|
2674
|
+
var _sfc_main$O = /* @__PURE__ */ require$$0.defineComponent({
|
|
2675
2675
|
...{ name: "LlButton" },
|
|
2676
2676
|
__name: "button",
|
|
2677
2677
|
props: buttonProps,
|
|
@@ -2730,11 +2730,11 @@
|
|
|
2730
2730
|
}
|
|
2731
2731
|
});
|
|
2732
2732
|
|
|
2733
|
-
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2733
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["__file", "button.vue"]]);
|
|
2734
2734
|
|
|
2735
2735
|
const LlButton = withInstall(Button);
|
|
2736
2736
|
|
|
2737
|
-
var _sfc_main$
|
|
2737
|
+
var _sfc_main$N = /* @__PURE__ */ require$$0.defineComponent({
|
|
2738
2738
|
...{ name: "LlCascader" },
|
|
2739
2739
|
__name: "cascader",
|
|
2740
2740
|
setup(__props) {
|
|
@@ -2761,11 +2761,11 @@
|
|
|
2761
2761
|
}
|
|
2762
2762
|
});
|
|
2763
2763
|
|
|
2764
|
-
var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2764
|
+
var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__file", "cascader.vue"]]);
|
|
2765
2765
|
|
|
2766
2766
|
const LlCascader = withInstall(Cascader);
|
|
2767
2767
|
|
|
2768
|
-
var _sfc_main$
|
|
2768
|
+
var _sfc_main$M = /* @__PURE__ */ require$$0.defineComponent({
|
|
2769
2769
|
...{ name: "LlCheckbox" },
|
|
2770
2770
|
__name: "checkbox",
|
|
2771
2771
|
setup(__props, { expose: __expose }) {
|
|
@@ -2805,7 +2805,7 @@
|
|
|
2805
2805
|
}
|
|
2806
2806
|
});
|
|
2807
2807
|
|
|
2808
|
-
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2808
|
+
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__file", "checkbox.vue"]]);
|
|
2809
2809
|
|
|
2810
2810
|
const checkboxGroupProps = buildProps({
|
|
2811
2811
|
options: {
|
|
@@ -2819,7 +2819,7 @@
|
|
|
2819
2819
|
}
|
|
2820
2820
|
});
|
|
2821
2821
|
|
|
2822
|
-
var _sfc_main$
|
|
2822
|
+
var _sfc_main$L = /* @__PURE__ */ require$$0.defineComponent({
|
|
2823
2823
|
...{ name: "LlCheckboxGroup" },
|
|
2824
2824
|
__name: "checkbox-group",
|
|
2825
2825
|
props: checkboxGroupProps,
|
|
@@ -2888,12 +2888,12 @@
|
|
|
2888
2888
|
}
|
|
2889
2889
|
});
|
|
2890
2890
|
|
|
2891
|
-
var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2891
|
+
var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__file", "checkbox-group.vue"]]);
|
|
2892
2892
|
|
|
2893
2893
|
const LlCheckbox = withInstall(Checkbox);
|
|
2894
2894
|
const LlCheckboxGroup = withInstall(CheckboxGroup);
|
|
2895
2895
|
|
|
2896
|
-
var _sfc_main$
|
|
2896
|
+
var _sfc_main$K = /* @__PURE__ */ require$$0.defineComponent({
|
|
2897
2897
|
...{
|
|
2898
2898
|
name: "LlConfigProvider"
|
|
2899
2899
|
},
|
|
@@ -2916,11 +2916,11 @@
|
|
|
2916
2916
|
}
|
|
2917
2917
|
});
|
|
2918
2918
|
|
|
2919
|
-
var ConfigProvider = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2919
|
+
var ConfigProvider = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "config-provider.vue"]]);
|
|
2920
2920
|
|
|
2921
2921
|
const LlConfigProvider = withInstall(ConfigProvider);
|
|
2922
2922
|
|
|
2923
|
-
var _sfc_main$
|
|
2923
|
+
var _sfc_main$J = /* @__PURE__ */ require$$0.defineComponent({
|
|
2924
2924
|
...{ name: "LlDatePicker" },
|
|
2925
2925
|
__name: "date-picker",
|
|
2926
2926
|
setup(__props) {
|
|
@@ -2946,11 +2946,11 @@
|
|
|
2946
2946
|
}
|
|
2947
2947
|
});
|
|
2948
2948
|
|
|
2949
|
-
var DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2949
|
+
var DatePicker = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "date-picker.vue"]]);
|
|
2950
2950
|
|
|
2951
2951
|
const LlDatePicker = withInstall(DatePicker);
|
|
2952
2952
|
|
|
2953
|
-
var _sfc_main$
|
|
2953
|
+
var _sfc_main$I = /* @__PURE__ */ require$$0.defineComponent({
|
|
2954
2954
|
...{ name: "LlDateRange" },
|
|
2955
2955
|
__name: "date-range",
|
|
2956
2956
|
setup(__props) {
|
|
@@ -2976,7 +2976,7 @@
|
|
|
2976
2976
|
}
|
|
2977
2977
|
});
|
|
2978
2978
|
|
|
2979
|
-
var DateRange = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
2979
|
+
var DateRange = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "date-range.vue"]]);
|
|
2980
2980
|
|
|
2981
2981
|
const LlDateRange = withInstall(DateRange);
|
|
2982
2982
|
|
|
@@ -2991,7 +2991,7 @@
|
|
|
2991
2991
|
}
|
|
2992
2992
|
});
|
|
2993
2993
|
|
|
2994
|
-
var _sfc_main$
|
|
2994
|
+
var _sfc_main$H = /* @__PURE__ */ require$$0.defineComponent({
|
|
2995
2995
|
...{ name: "LlDescriptions" },
|
|
2996
2996
|
__name: "descriptions",
|
|
2997
2997
|
props: descriptionsProps,
|
|
@@ -3066,7 +3066,7 @@
|
|
|
3066
3066
|
}
|
|
3067
3067
|
});
|
|
3068
3068
|
|
|
3069
|
-
var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3069
|
+
var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "descriptions.vue"]]);
|
|
3070
3070
|
|
|
3071
3071
|
const LlDescriptions = withInstall(Descriptions);
|
|
3072
3072
|
|
|
@@ -3081,7 +3081,7 @@
|
|
|
3081
3081
|
}
|
|
3082
3082
|
});
|
|
3083
3083
|
|
|
3084
|
-
var _sfc_main$
|
|
3084
|
+
var _sfc_main$G = /* @__PURE__ */ require$$0.defineComponent({
|
|
3085
3085
|
...{ name: "LlDescriptionsItem" },
|
|
3086
3086
|
__name: "descriptions-item",
|
|
3087
3087
|
props: descriptionsItemProps,
|
|
@@ -3111,7 +3111,7 @@
|
|
|
3111
3111
|
}
|
|
3112
3112
|
});
|
|
3113
3113
|
|
|
3114
|
-
var DescriptionsItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3114
|
+
var DescriptionsItem = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "descriptions-item.vue"]]);
|
|
3115
3115
|
|
|
3116
3116
|
const LlDescriptionsItem = withInstall(DescriptionsItem);
|
|
3117
3117
|
|
|
@@ -3243,7 +3243,7 @@
|
|
|
3243
3243
|
onCancel: Function
|
|
3244
3244
|
});
|
|
3245
3245
|
|
|
3246
|
-
var _sfc_main$
|
|
3246
|
+
var _sfc_main$F = /* @__PURE__ */ require$$0.defineComponent({
|
|
3247
3247
|
...{ name: "LlSecondConfirmation" },
|
|
3248
3248
|
__name: "second-confirmation",
|
|
3249
3249
|
props: secondConfirmationProps,
|
|
@@ -3321,7 +3321,7 @@
|
|
|
3321
3321
|
}
|
|
3322
3322
|
});
|
|
3323
3323
|
|
|
3324
|
-
var SecondConfirmation = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3324
|
+
var SecondConfirmation = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__file", "second-confirmation.vue"]]);
|
|
3325
3325
|
|
|
3326
3326
|
const useSecondConfirmation = (options) => {
|
|
3327
3327
|
const { title, message, confirmText, cancelText, icon = null } = options;
|
|
@@ -3354,7 +3354,7 @@
|
|
|
3354
3354
|
|
|
3355
3355
|
const LlSecondConfirmation = withInstall(SecondConfirmation);
|
|
3356
3356
|
|
|
3357
|
-
var _sfc_main$
|
|
3357
|
+
var _sfc_main$E = /* @__PURE__ */ require$$0.defineComponent({
|
|
3358
3358
|
...{ name: "LlDrawer" },
|
|
3359
3359
|
__name: "drawer",
|
|
3360
3360
|
props: drawerProps,
|
|
@@ -3512,7 +3512,7 @@
|
|
|
3512
3512
|
}
|
|
3513
3513
|
});
|
|
3514
3514
|
|
|
3515
|
-
var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3515
|
+
var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__file", "drawer.vue"]]);
|
|
3516
3516
|
|
|
3517
3517
|
const LlDrawer = withInstall(Drawer);
|
|
3518
3518
|
|
|
@@ -3542,7 +3542,7 @@
|
|
|
3542
3542
|
});
|
|
3543
3543
|
|
|
3544
3544
|
const _hoisted_1$5 = ["src"];
|
|
3545
|
-
var _sfc_main$
|
|
3545
|
+
var _sfc_main$D = /* @__PURE__ */ require$$0.defineComponent({
|
|
3546
3546
|
...{ name: "LlEmpty" },
|
|
3547
3547
|
__name: "empty",
|
|
3548
3548
|
props: emptyProps,
|
|
@@ -3602,7 +3602,7 @@
|
|
|
3602
3602
|
}
|
|
3603
3603
|
});
|
|
3604
3604
|
|
|
3605
|
-
var Empty = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3605
|
+
var Empty = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["__file", "empty.vue"]]);
|
|
3606
3606
|
|
|
3607
3607
|
const LlEmpty = withInstall(Empty);
|
|
3608
3608
|
|
|
@@ -3650,7 +3650,7 @@
|
|
|
3650
3650
|
|
|
3651
3651
|
const checkedType = ["radio", "checkbox", "switch"];
|
|
3652
3652
|
|
|
3653
|
-
var _sfc_main$
|
|
3653
|
+
var _sfc_main$C = /* @__PURE__ */ require$$0.defineComponent({
|
|
3654
3654
|
...{ name: "LlForm" },
|
|
3655
3655
|
__name: "form",
|
|
3656
3656
|
props: formProps,
|
|
@@ -3817,11 +3817,11 @@
|
|
|
3817
3817
|
}
|
|
3818
3818
|
});
|
|
3819
3819
|
|
|
3820
|
-
var Form = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3820
|
+
var Form = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__file", "form.vue"]]);
|
|
3821
3821
|
|
|
3822
3822
|
const LlForm = withInstall(Form);
|
|
3823
3823
|
|
|
3824
|
-
var _sfc_main$
|
|
3824
|
+
var _sfc_main$B = /* @__PURE__ */ require$$0.defineComponent({
|
|
3825
3825
|
...{ name: "LlFormItem" },
|
|
3826
3826
|
__name: "form-item",
|
|
3827
3827
|
setup(__props) {
|
|
@@ -3847,7 +3847,7 @@
|
|
|
3847
3847
|
}
|
|
3848
3848
|
});
|
|
3849
3849
|
|
|
3850
|
-
var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3850
|
+
var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__file", "form-item.vue"]]);
|
|
3851
3851
|
|
|
3852
3852
|
const LlFormItem = withInstall(FormItem);
|
|
3853
3853
|
|
|
@@ -3875,7 +3875,7 @@
|
|
|
3875
3875
|
|
|
3876
3876
|
const _hoisted_1$4 = { "aria-hidden": "true" };
|
|
3877
3877
|
const _hoisted_2$2 = ["xlink:href"];
|
|
3878
|
-
var _sfc_main$
|
|
3878
|
+
var _sfc_main$A = /* @__PURE__ */ require$$0.defineComponent({
|
|
3879
3879
|
...{
|
|
3880
3880
|
name: "LlIcon"
|
|
3881
3881
|
},
|
|
@@ -3917,7 +3917,7 @@
|
|
|
3917
3917
|
}
|
|
3918
3918
|
});
|
|
3919
3919
|
|
|
3920
|
-
var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
3920
|
+
var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "icon.vue"]]);
|
|
3921
3921
|
|
|
3922
3922
|
const LlIcon = withInstall(Icon);
|
|
3923
3923
|
|
|
@@ -3982,7 +3982,7 @@
|
|
|
3982
3982
|
}
|
|
3983
3983
|
});
|
|
3984
3984
|
|
|
3985
|
-
var _sfc_main$
|
|
3985
|
+
var _sfc_main$z = /* @__PURE__ */ require$$0.defineComponent({
|
|
3986
3986
|
...{
|
|
3987
3987
|
name: "LlIconBase"
|
|
3988
3988
|
},
|
|
@@ -4084,10 +4084,321 @@
|
|
|
4084
4084
|
}
|
|
4085
4085
|
});
|
|
4086
4086
|
|
|
4087
|
-
var IconBase = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
4087
|
+
var IconBase = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "icon-base.vue"]]);
|
|
4088
4088
|
|
|
4089
4089
|
const LlIconBase = withInstall(IconBase);
|
|
4090
4090
|
|
|
4091
|
+
const iconPickerProps = buildProps({
|
|
4092
|
+
// buildProps和defineprops一样
|
|
4093
|
+
/**
|
|
4094
|
+
* @description 选中的icon
|
|
4095
|
+
*/
|
|
4096
|
+
value: {
|
|
4097
|
+
type: String
|
|
4098
|
+
},
|
|
4099
|
+
/**
|
|
4100
|
+
* @description 模态框的icon列表
|
|
4101
|
+
*/
|
|
4102
|
+
iconList: {
|
|
4103
|
+
type: definePropType(Array),
|
|
4104
|
+
default: () => []
|
|
4105
|
+
}
|
|
4106
|
+
});
|
|
4107
|
+
|
|
4108
|
+
const iconPickerModalProps = buildProps({
|
|
4109
|
+
// buildProps和defineprops一样
|
|
4110
|
+
/**
|
|
4111
|
+
* @description icon的value
|
|
4112
|
+
*/
|
|
4113
|
+
value: {
|
|
4114
|
+
type: String
|
|
4115
|
+
},
|
|
4116
|
+
/**
|
|
4117
|
+
* @description modal的visible
|
|
4118
|
+
*/
|
|
4119
|
+
visible: {
|
|
4120
|
+
type: Boolean
|
|
4121
|
+
},
|
|
4122
|
+
data: {
|
|
4123
|
+
type: definePropType(Array),
|
|
4124
|
+
default: () => []
|
|
4125
|
+
}
|
|
4126
|
+
});
|
|
4127
|
+
const iconPickerModalEmits = {
|
|
4128
|
+
"update:visible": () => true,
|
|
4129
|
+
changeIconValue: (value) => value
|
|
4130
|
+
};
|
|
4131
|
+
|
|
4132
|
+
const iconPickerSearchProps = buildProps({
|
|
4133
|
+
// buildProps和defineprops一样
|
|
4134
|
+
/**
|
|
4135
|
+
* @description icon的value
|
|
4136
|
+
*/
|
|
4137
|
+
value: {
|
|
4138
|
+
type: String
|
|
4139
|
+
}
|
|
4140
|
+
});
|
|
4141
|
+
const iconPickerSearchEmits = {
|
|
4142
|
+
handleModalVisible: (bool) => !!bool
|
|
4143
|
+
};
|
|
4144
|
+
|
|
4145
|
+
var _sfc_main$y = /* @__PURE__ */ require$$0.defineComponent({
|
|
4146
|
+
...{
|
|
4147
|
+
name: "LlIconPickerSearch"
|
|
4148
|
+
},
|
|
4149
|
+
__name: "search",
|
|
4150
|
+
props: iconPickerSearchProps,
|
|
4151
|
+
emits: iconPickerSearchEmits,
|
|
4152
|
+
setup(__props, { emit: __emit }) {
|
|
4153
|
+
const props = __props;
|
|
4154
|
+
const emits = __emit;
|
|
4155
|
+
const attrs = require$$0.useAttrs();
|
|
4156
|
+
const handleCloseModalVisible = () => emits("handleModalVisible", true);
|
|
4157
|
+
return (_ctx, _cache) => {
|
|
4158
|
+
const _component_ll_icon = require$$0.resolveComponent("ll-icon");
|
|
4159
|
+
const _component_a_input = require$$0.resolveComponent("a-input");
|
|
4160
|
+
const _component_a_button = require$$0.resolveComponent("a-button");
|
|
4161
|
+
const _component_a_input_group = require$$0.resolveComponent("a-input-group");
|
|
4162
|
+
return require$$0.openBlock(), require$$0.createBlock(_component_a_input_group, { compact: "" }, {
|
|
4163
|
+
default: require$$0.withCtx(() => [
|
|
4164
|
+
require$$0.createVNode(_component_a_input, require$$0.mergeProps({
|
|
4165
|
+
value: props.value,
|
|
4166
|
+
readonly: ""
|
|
4167
|
+
}, require$$0.unref(attrs), { style: { "width": "calc(100% - 60px)" } }), {
|
|
4168
|
+
suffix: require$$0.withCtx(() => [
|
|
4169
|
+
require$$0.createVNode(_component_ll_icon, {
|
|
4170
|
+
"icon-name": "icon-" + _ctx.value
|
|
4171
|
+
}, null, 8, ["icon-name"])
|
|
4172
|
+
]),
|
|
4173
|
+
_: 1
|
|
4174
|
+
/* STABLE */
|
|
4175
|
+
}, 16, ["value"]),
|
|
4176
|
+
require$$0.renderSlot(_ctx.$slots, "rightButton", {}, () => [
|
|
4177
|
+
require$$0.createVNode(_component_a_button, {
|
|
4178
|
+
type: "primary",
|
|
4179
|
+
onClick: handleCloseModalVisible
|
|
4180
|
+
}, {
|
|
4181
|
+
default: require$$0.withCtx(() => [
|
|
4182
|
+
require$$0.createTextVNode("\u56FE\u6807")
|
|
4183
|
+
]),
|
|
4184
|
+
_: 1
|
|
4185
|
+
/* STABLE */
|
|
4186
|
+
})
|
|
4187
|
+
])
|
|
4188
|
+
]),
|
|
4189
|
+
_: 3
|
|
4190
|
+
/* FORWARDED */
|
|
4191
|
+
});
|
|
4192
|
+
};
|
|
4193
|
+
}
|
|
4194
|
+
});
|
|
4195
|
+
|
|
4196
|
+
var search = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "search.vue"]]);
|
|
4197
|
+
|
|
4198
|
+
var _sfc_main$x = /* @__PURE__ */ require$$0.defineComponent({
|
|
4199
|
+
...{
|
|
4200
|
+
name: "LlIconPickerModal"
|
|
4201
|
+
},
|
|
4202
|
+
__name: "modal",
|
|
4203
|
+
props: iconPickerModalProps,
|
|
4204
|
+
emits: iconPickerModalEmits,
|
|
4205
|
+
setup(__props, { emit: __emit }) {
|
|
4206
|
+
const props = __props;
|
|
4207
|
+
const emits = __emit;
|
|
4208
|
+
const searchIconValue = require$$0.ref("");
|
|
4209
|
+
const selectIcon = require$$0.ref("");
|
|
4210
|
+
const iconList = require$$0.ref([]);
|
|
4211
|
+
const bem = createNamespace("icon-picker-modal");
|
|
4212
|
+
const handleOk = () => {
|
|
4213
|
+
emits("changeIconValue", selectIcon.value);
|
|
4214
|
+
emits("update:visible");
|
|
4215
|
+
};
|
|
4216
|
+
const handleCancel = () => emits("update:visible");
|
|
4217
|
+
const handleSelectIcon = (icon) => selectIcon.value = icon?.font_class;
|
|
4218
|
+
require$$0.watch(
|
|
4219
|
+
() => props.visible,
|
|
4220
|
+
(newVisible) => {
|
|
4221
|
+
if (newVisible)
|
|
4222
|
+
searchIconValue.value = "";
|
|
4223
|
+
}
|
|
4224
|
+
);
|
|
4225
|
+
require$$0.watch(
|
|
4226
|
+
() => props.value,
|
|
4227
|
+
(newV) => {
|
|
4228
|
+
if (newV)
|
|
4229
|
+
selectIcon.value = newV;
|
|
4230
|
+
}
|
|
4231
|
+
);
|
|
4232
|
+
require$$0.watch(
|
|
4233
|
+
() => props.data,
|
|
4234
|
+
(newData) => {
|
|
4235
|
+
iconList.value = [...newData];
|
|
4236
|
+
},
|
|
4237
|
+
{
|
|
4238
|
+
immediate: true
|
|
4239
|
+
}
|
|
4240
|
+
);
|
|
4241
|
+
require$$0.watch(searchIconValue, () => {
|
|
4242
|
+
iconList.value = props.data.filter(
|
|
4243
|
+
(ele) => ~ele.font_class.indexOf(searchIconValue.value)
|
|
4244
|
+
);
|
|
4245
|
+
});
|
|
4246
|
+
return (_ctx, _cache) => {
|
|
4247
|
+
const _component_ll_icon = require$$0.resolveComponent("ll-icon");
|
|
4248
|
+
const _component_a_input = require$$0.resolveComponent("a-input");
|
|
4249
|
+
const _component_a_button = require$$0.resolveComponent("a-button");
|
|
4250
|
+
const _component_a_space = require$$0.resolveComponent("a-space");
|
|
4251
|
+
const _component_ll_modal = require$$0.resolveComponent("ll-modal");
|
|
4252
|
+
return require$$0.openBlock(), require$$0.createBlock(_component_ll_modal, {
|
|
4253
|
+
open: _ctx.visible,
|
|
4254
|
+
title: "\u56FE\u6807\u9009\u62E9",
|
|
4255
|
+
class: "icon-picker-modal-wrapper",
|
|
4256
|
+
width: "776px",
|
|
4257
|
+
keyboard: false,
|
|
4258
|
+
"mask-closable": false,
|
|
4259
|
+
onOk: handleOk,
|
|
4260
|
+
onCancel: handleCancel
|
|
4261
|
+
}, {
|
|
4262
|
+
default: require$$0.withCtx(() => [
|
|
4263
|
+
require$$0.createElementVNode(
|
|
4264
|
+
"div",
|
|
4265
|
+
{
|
|
4266
|
+
class: require$$0.normalizeClass(require$$0.unref(bem).b())
|
|
4267
|
+
},
|
|
4268
|
+
[
|
|
4269
|
+
require$$0.createElementVNode(
|
|
4270
|
+
"div",
|
|
4271
|
+
{
|
|
4272
|
+
class: require$$0.normalizeClass(require$$0.unref(bem).e("input-container"))
|
|
4273
|
+
},
|
|
4274
|
+
[
|
|
4275
|
+
require$$0.createVNode(_component_a_input, {
|
|
4276
|
+
value: searchIconValue.value,
|
|
4277
|
+
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => searchIconValue.value = $event),
|
|
4278
|
+
class: require$$0.normalizeClass(require$$0.unref(bem).e("input")),
|
|
4279
|
+
"allow-clear": "",
|
|
4280
|
+
placeholder: "\u641C\u7D22..."
|
|
4281
|
+
}, {
|
|
4282
|
+
prefix: require$$0.withCtx(() => [
|
|
4283
|
+
require$$0.createVNode(_component_ll_icon, { "icon-name": "icon-search" })
|
|
4284
|
+
]),
|
|
4285
|
+
_: 1
|
|
4286
|
+
/* STABLE */
|
|
4287
|
+
}, 8, ["value", "class"])
|
|
4288
|
+
],
|
|
4289
|
+
2
|
|
4290
|
+
/* CLASS */
|
|
4291
|
+
),
|
|
4292
|
+
require$$0.createElementVNode(
|
|
4293
|
+
"div",
|
|
4294
|
+
{
|
|
4295
|
+
class: require$$0.normalizeClass(require$$0.unref(bem).e("list"))
|
|
4296
|
+
},
|
|
4297
|
+
[
|
|
4298
|
+
require$$0.createVNode(_component_a_space, {
|
|
4299
|
+
size: [16, 16],
|
|
4300
|
+
wrap: "",
|
|
4301
|
+
class: require$$0.normalizeClass(require$$0.unref(bem).e("space"))
|
|
4302
|
+
}, {
|
|
4303
|
+
default: require$$0.withCtx(() => [
|
|
4304
|
+
(require$$0.openBlock(true), require$$0.createElementBlock(
|
|
4305
|
+
require$$0.Fragment,
|
|
4306
|
+
null,
|
|
4307
|
+
require$$0.renderList(iconList.value, (item) => {
|
|
4308
|
+
return require$$0.openBlock(), require$$0.createBlock(_component_a_button, {
|
|
4309
|
+
key: item.icon_id,
|
|
4310
|
+
type: selectIcon.value === item.font_class ? "primary" : "default",
|
|
4311
|
+
class: require$$0.normalizeClass(require$$0.unref(bem).e("button")),
|
|
4312
|
+
onClick: ($event) => handleSelectIcon(item)
|
|
4313
|
+
}, {
|
|
4314
|
+
icon: require$$0.withCtx(() => [
|
|
4315
|
+
require$$0.createVNode(_component_ll_icon, {
|
|
4316
|
+
"icon-name": "icon-" + item.font_class,
|
|
4317
|
+
style: { "font-size": "28px" }
|
|
4318
|
+
}, null, 8, ["icon-name"])
|
|
4319
|
+
]),
|
|
4320
|
+
_: 2
|
|
4321
|
+
/* DYNAMIC */
|
|
4322
|
+
}, 1032, ["type", "class", "onClick"]);
|
|
4323
|
+
}),
|
|
4324
|
+
128
|
|
4325
|
+
/* KEYED_FRAGMENT */
|
|
4326
|
+
))
|
|
4327
|
+
]),
|
|
4328
|
+
_: 1
|
|
4329
|
+
/* STABLE */
|
|
4330
|
+
}, 8, ["class"])
|
|
4331
|
+
],
|
|
4332
|
+
2
|
|
4333
|
+
/* CLASS */
|
|
4334
|
+
)
|
|
4335
|
+
],
|
|
4336
|
+
2
|
|
4337
|
+
/* CLASS */
|
|
4338
|
+
)
|
|
4339
|
+
]),
|
|
4340
|
+
_: 1
|
|
4341
|
+
/* STABLE */
|
|
4342
|
+
}, 8, ["open"]);
|
|
4343
|
+
};
|
|
4344
|
+
}
|
|
4345
|
+
});
|
|
4346
|
+
|
|
4347
|
+
var modal = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "modal.vue"]]);
|
|
4348
|
+
|
|
4349
|
+
var _sfc_main$w = /* @__PURE__ */ require$$0.defineComponent({
|
|
4350
|
+
...{
|
|
4351
|
+
name: "LlIconPicker"
|
|
4352
|
+
},
|
|
4353
|
+
__name: "icon-picker",
|
|
4354
|
+
props: iconPickerProps,
|
|
4355
|
+
setup(__props) {
|
|
4356
|
+
const props = __props;
|
|
4357
|
+
const attrs = require$$0.useAttrs();
|
|
4358
|
+
const iconValue = require$$0.ref("");
|
|
4359
|
+
const visible = require$$0.ref(false);
|
|
4360
|
+
const bem = createNamespace("icon-picker");
|
|
4361
|
+
const handleModalVisible = (bool) => visible.value = bool;
|
|
4362
|
+
const handleChangeValue = (value) => iconValue.value = value;
|
|
4363
|
+
require$$0.watch(
|
|
4364
|
+
() => props.value,
|
|
4365
|
+
(newValue) => {
|
|
4366
|
+
if (newValue)
|
|
4367
|
+
iconValue.value = newValue;
|
|
4368
|
+
}
|
|
4369
|
+
);
|
|
4370
|
+
return (_ctx, _cache) => {
|
|
4371
|
+
return require$$0.openBlock(), require$$0.createElementBlock(
|
|
4372
|
+
"div",
|
|
4373
|
+
{
|
|
4374
|
+
class: require$$0.normalizeClass(require$$0.unref(bem).b())
|
|
4375
|
+
},
|
|
4376
|
+
[
|
|
4377
|
+
require$$0.createCommentVNode(" input\u7EC4\u5408 "),
|
|
4378
|
+
require$$0.createVNode(search, require$$0.mergeProps(require$$0.unref(attrs), {
|
|
4379
|
+
value: iconValue.value,
|
|
4380
|
+
onHandleModalVisible: handleModalVisible
|
|
4381
|
+
}), null, 16, ["value"]),
|
|
4382
|
+
require$$0.createCommentVNode(" icon\u5F39\u7A97 "),
|
|
4383
|
+
require$$0.createVNode(modal, {
|
|
4384
|
+
visible: visible.value,
|
|
4385
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = ($event) => visible.value = $event),
|
|
4386
|
+
value: iconValue.value,
|
|
4387
|
+
data: _ctx.iconList,
|
|
4388
|
+
onChangeIconValue: handleChangeValue
|
|
4389
|
+
}, null, 8, ["visible", "value", "data"])
|
|
4390
|
+
],
|
|
4391
|
+
2
|
|
4392
|
+
/* CLASS */
|
|
4393
|
+
);
|
|
4394
|
+
};
|
|
4395
|
+
}
|
|
4396
|
+
});
|
|
4397
|
+
|
|
4398
|
+
var IconPicker = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "icon-picker.vue"]]);
|
|
4399
|
+
|
|
4400
|
+
const LlIconPicker = withInstall(IconPicker);
|
|
4401
|
+
|
|
4091
4402
|
const inputProps = buildProps({
|
|
4092
4403
|
/**
|
|
4093
4404
|
* @description 带有前缀图标的 input
|
|
@@ -20236,6 +20547,7 @@
|
|
|
20236
20547
|
LlFormItem,
|
|
20237
20548
|
LlIcon,
|
|
20238
20549
|
LlIconBase,
|
|
20550
|
+
LlIconPicker,
|
|
20239
20551
|
LlInput,
|
|
20240
20552
|
LlInputNumber,
|
|
20241
20553
|
LlModal,
|
|
@@ -20291,6 +20603,7 @@
|
|
|
20291
20603
|
exports.LlFormItem = LlFormItem;
|
|
20292
20604
|
exports.LlIcon = LlIcon;
|
|
20293
20605
|
exports.LlIconBase = LlIconBase;
|
|
20606
|
+
exports.LlIconPicker = LlIconPicker;
|
|
20294
20607
|
exports.LlInput = LlInput;
|
|
20295
20608
|
exports.LlInputNumber = LlInputNumber;
|
|
20296
20609
|
exports.LlModal = LlModal;
|
|
@@ -20341,6 +20654,11 @@
|
|
|
20341
20654
|
exports.emptyProps = emptyProps;
|
|
20342
20655
|
exports.formProps = formProps;
|
|
20343
20656
|
exports.iconBaseProps = iconBaseProps;
|
|
20657
|
+
exports.iconPickerModalEmits = iconPickerModalEmits;
|
|
20658
|
+
exports.iconPickerModalProps = iconPickerModalProps;
|
|
20659
|
+
exports.iconPickerProps = iconPickerProps;
|
|
20660
|
+
exports.iconPickerSearchEmits = iconPickerSearchEmits;
|
|
20661
|
+
exports.iconPickerSearchProps = iconPickerSearchProps;
|
|
20344
20662
|
exports.iconProps = iconProps;
|
|
20345
20663
|
exports.iconTypes = iconTypes;
|
|
20346
20664
|
exports.inputNumberEmits = inputNumberEmits;
|