ll-plus 2.8.12 → 2.8.14

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 (51) hide show
  1. package/es/component.mjs +2 -0
  2. package/es/component.mjs.map +1 -1
  3. package/es/components/index.d.ts +3 -4
  4. package/es/components/qr-code/index.d.ts +63 -0
  5. package/es/components/qr-code/src/qr-code.d.ts +23 -0
  6. package/es/components/qr-code/src/qr-code.vue.d.ts +56 -0
  7. package/es/index.mjs +6 -4
  8. package/es/index.mjs.map +1 -1
  9. package/es/packages/components/index.mjs +6 -4
  10. package/es/packages/components/index.mjs.map +1 -1
  11. package/es/packages/components/qr-code/index.mjs +10 -0
  12. package/es/packages/components/qr-code/index.mjs.map +1 -0
  13. package/es/packages/components/qr-code/src/qr-code.mjs +45 -0
  14. package/es/packages/components/qr-code/src/qr-code.mjs.map +1 -0
  15. package/es/packages/components/qr-code/src/qr-code.vue.mjs +8 -0
  16. package/es/packages/components/qr-code/src/qr-code.vue.mjs.map +1 -0
  17. package/es/packages/components/qr-code/src/qr-code.vue2.mjs +26 -0
  18. package/es/packages/components/qr-code/src/qr-code.vue2.mjs.map +1 -0
  19. package/es/packages/components/tooltip/src/tooltip.vue2.mjs +10 -8
  20. package/es/packages/components/tooltip/src/tooltip.vue2.mjs.map +1 -1
  21. package/index.full.js +287 -220
  22. package/index.full.min.js +22 -22
  23. package/index.full.min.js.map +1 -1
  24. package/index.full.min.mjs +21 -21
  25. package/index.full.min.mjs.map +1 -1
  26. package/index.full.mjs +285 -221
  27. package/lib/component.js +103 -101
  28. package/lib/component.js.map +1 -1
  29. package/lib/components/index.d.ts +3 -4
  30. package/lib/components/qr-code/index.d.ts +63 -0
  31. package/lib/components/qr-code/src/qr-code.d.ts +23 -0
  32. package/lib/components/qr-code/src/qr-code.vue.d.ts +56 -0
  33. package/lib/index.js +99 -94
  34. package/lib/index.js.map +1 -1
  35. package/lib/packages/components/index.js +87 -82
  36. package/lib/packages/components/index.js.map +1 -1
  37. package/lib/packages/components/qr-code/index.js +17 -0
  38. package/lib/packages/components/qr-code/index.js.map +1 -0
  39. package/lib/packages/components/qr-code/src/qr-code.js +48 -0
  40. package/lib/packages/components/qr-code/src/qr-code.js.map +1 -0
  41. package/lib/packages/components/qr-code/src/qr-code.vue.js +12 -0
  42. package/lib/packages/components/qr-code/src/qr-code.vue.js.map +1 -0
  43. package/lib/packages/components/qr-code/src/qr-code.vue2.js +30 -0
  44. package/lib/packages/components/qr-code/src/qr-code.vue2.js.map +1 -0
  45. package/lib/packages/components/tooltip/src/tooltip.vue2.js +9 -7
  46. package/lib/packages/components/tooltip/src/tooltip.vue2.js.map +1 -1
  47. package/package.json +1 -1
  48. package/types/packages/components/index.d.ts +3 -4
  49. package/types/packages/components/qr-code/index.d.ts +63 -0
  50. package/types/packages/components/qr-code/src/qr-code.d.ts +23 -0
  51. package/types/packages/components/qr-code/src/qr-code.vue.d.ts +56 -0
@@ -0,0 +1,17 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ require('../../utils/index.js');
6
+ var qrCode$1 = require('./src/qr-code.vue.js');
7
+ var qrCode = require('./src/qr-code.js');
8
+ var withInstall = require('../../utils/with-install.js');
9
+
10
+ "use strict";
11
+ const LlQrCode = withInstall.withInstall(qrCode$1.default);
12
+
13
+ exports.qrCodeProps = qrCode.qrCodeProps;
14
+ exports.qrCodeType = qrCode.qrCodeType;
15
+ exports.LlQrCode = LlQrCode;
16
+ exports.default = LlQrCode;
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/qr-code/index.ts"],"sourcesContent":["import { withInstall } from '@ll-plus/utils'\n\nimport QrCode from './src/qr-code.vue'\n\nexport const LlQrCode = withInstall(QrCode)\nexport default LlQrCode\nexport * from './src/qr-code'\n\n// 把ZIcon组件类型合并带全局组件中 到时候使用时有提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n LlQrCode: typeof QrCode\n }\n}\n"],"names":["withInstall","QrCode"],"mappings":";;;;;;;;;;AAIa,MAAA,QAAA,GAAWA,wBAAYC,gBAAM;;;;;;;"}
@@ -0,0 +1,48 @@
1
+ 'use strict';
2
+
3
+ require('../../../utils/index.js');
4
+ var runtime = require('../../../utils/props/runtime.js');
5
+
6
+ "use strict";
7
+ const qrCodeType = ["canvas", "svg"];
8
+ const qrCodeProps = runtime.buildProps({
9
+ // buildProps和defineprops一样
10
+ /**
11
+ * @description 扫描后的地址
12
+ */
13
+ value: {
14
+ type: String
15
+ },
16
+ /**
17
+ * @description 渲染类型
18
+ */
19
+ type: {
20
+ type: String,
21
+ value: qrCodeType,
22
+ default: "canvas"
23
+ },
24
+ /**
25
+ * @description 二维码中图片的地址(目前只支持图片地址)
26
+ */
27
+ icon: {
28
+ type: String
29
+ },
30
+ /**
31
+ * @description 二维码大小
32
+ */
33
+ size: {
34
+ type: Number,
35
+ default: 160
36
+ },
37
+ /**
38
+ * @description 二维码中图片的大小
39
+ */
40
+ iconSize: {
41
+ type: Number,
42
+ default: 40
43
+ }
44
+ });
45
+
46
+ exports.qrCodeProps = qrCodeProps;
47
+ exports.qrCodeType = qrCodeType;
48
+ //# sourceMappingURL=qr-code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qr-code.js","sources":["../../../../../../packages/components/qr-code/src/qr-code.ts"],"sourcesContent":["import { buildProps } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type QrCode from './qr-code.vue'\n\nexport const qrCodeType = ['canvas', 'svg'] as const\nexport const qrCodeProps = buildProps({\n // buildProps和defineprops一样\n /**\n * @description 扫描后的地址\n */\n value: {\n type: String\n },\n /**\n * @description 渲染类型\n */\n type: {\n type: String,\n value: qrCodeType,\n default: 'canvas'\n },\n /**\n * @description 二维码中图片的地址(目前只支持图片地址)\n */\n icon: {\n type: String\n },\n /**\n * @description 二维码大小\n */\n size: {\n type: Number,\n default: 160\n },\n /**\n * @description 二维码中图片的大小\n */\n iconSize: {\n type: Number,\n default: 40\n }\n} as const)\n\n// props\nexport type QrCodeProps = ExtractPropTypes<typeof qrCodeProps> // ExtractPropTypes和defineCpmponent类似\nexport type QrCodeType = QrCodeProps['value']\n// instance\nexport type QrCodeInstance = InstanceType<typeof QrCode>\n"],"names":["buildProps"],"mappings":";;;;;;AAKa,MAAA,UAAA,GAAa,CAAC,QAAA,EAAU,KAAK,EAAA;AACnC,MAAM,cAAcA,kBAAW,CAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAKpC,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,KAAO,EAAA,UAAA;AAAA,IACP,OAAS,EAAA,QAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,GAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AACF,CAAU;;;;;"}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var qrCode_vue_vue_type_script_setup_true_lang = require('./qr-code.vue2.js');
6
+ var _pluginVue_exportHelper = require('../../../../_virtual/_plugin-vue_export-helper.js');
7
+
8
+ "use strict";
9
+ var QrCode = /* @__PURE__ */ _pluginVue_exportHelper.default(qrCode_vue_vue_type_script_setup_true_lang.default, [["__file", "qr-code.vue"]]);
10
+
11
+ exports.default = QrCode;
12
+ //# sourceMappingURL=qr-code.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qr-code.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ require('../../../utils/index.js');
7
+ var qrCode = require('./qr-code.js');
8
+ var createNamespace = require('../../../utils/create-namespace.js');
9
+
10
+ "use strict";
11
+ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
12
+ ...{
13
+ name: "LlQrCode"
14
+ },
15
+ __name: "qr-code",
16
+ props: qrCode.qrCodeProps,
17
+ setup(__props) {
18
+ const props = __props;
19
+ const bem = createNamespace.createNamespace("qrcode");
20
+ return (_ctx, _cache) => {
21
+ const _component_a_qrcode = vue.resolveComponent("a-qrcode");
22
+ return vue.openBlock(), vue.createBlock(_component_a_qrcode, vue.mergeProps(props, {
23
+ class: vue.unref(bem).b()
24
+ }), null, 16, ["class"]);
25
+ };
26
+ }
27
+ });
28
+
29
+ exports.default = _sfc_main;
30
+ //# sourceMappingURL=qr-code.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"qr-code.vue2.js","sources":["../../../../../../packages/components/qr-code/src/qr-code.vue"],"sourcesContent":["<template>\n <a-qrcode v-bind=\"props\" :class=\"bem.b()\" />\n</template>\n<script lang=\"ts\" setup>\nimport { createNamespace } from '@ll-plus/utils'\nimport { qrCodeProps } from './qr-code'\n\n// 1.defineOptions\ndefineOptions({\n name: 'LlQrCode'\n})\n\nconst props = defineProps(qrCodeProps)\n\nconst bem = createNamespace('qrcode')\n</script>\n"],"names":["createNamespace"],"mappings":";;;;;;;;;;;;;;;;;AAYA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAM,MAAA,GAAA,GAAMA,gCAAgB,QAAQ,CAAA,CAAA;;;;;;;;;;;;"}
@@ -49,13 +49,15 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
49
49
  "overlay-class-name": getOverlayClass.value
50
50
  }), {
51
51
  title: vue.withCtx(() => [
52
- vue.createElementVNode(
53
- "span",
54
- null,
55
- vue.toDisplayString(_ctx.tip),
56
- 1
57
- /* TEXT */
58
- )
52
+ vue.renderSlot(_ctx.$slots, "title", {}, () => [
53
+ vue.createElementVNode(
54
+ "span",
55
+ null,
56
+ vue.toDisplayString(_ctx.tip),
57
+ 1
58
+ /* TEXT */
59
+ )
60
+ ])
59
61
  ]),
60
62
  default: vue.withCtx(() => [
61
63
  _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock(
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.vue2.js","sources":["../../../../../../packages/components/tooltip/src/tooltip.vue"],"sourcesContent":["<template>\n <a-tooltip\n v-bind=\"attrs\"\n :placement=\"placement\"\n :overlay-style=\"getOverlayStyle\"\n :overlay-class-name=\"getOverlayClass\"\n >\n <!-- title插槽 -->\n <template #title>\n <span>{{ tip }}</span>\n </template>\n <!-- 默认插槽 -->\n <div\n v-if=\"$slots.default\"\n :class=\"getContainerClass\"\n :style=\"getContainerStyle\"\n >\n <slot>\n <ll-icon icon-name=\"icon-question\" />\n </slot>\n </div>\n <slot v-else>\n <ll-icon icon-name=\"icon-question\" />\n </slot>\n </a-tooltip>\n</template>\n\n<script setup lang=\"ts\">\nimport { useAttrs } from 'vue'\nimport { addUnit, createNamespace } from '@ll-plus/utils'\n\nimport { tooltipProps } from './tooltip'\nimport { computed } from 'vue'\n\n// 1.defineOptions\ndefineOptions({ name: 'LlTooltip' })\n\n// 2.props\nconst props = defineProps(tooltipProps)\nconst attrs = useAttrs()\n\n// 3.computes/const\nconst bem = createNamespace('tooltip')\nconst bemContainer = createNamespace('container-tooltip')\n// 根据ellipsis设置设置插槽容器的文字超出样式\nconst getContainerClass = computed(() => {\n const ellipsisClass = props.ellipsis ? bemContainer.m('ellipsis') : ''\n return `${bemContainer.b()} ${ellipsisClass}`\n})\n// 设置插槽容器的宽度\nconst getContainerStyle = computed(() => {\n const width = addUnit(props.width)\n return {\n width: width ? width : ''\n }\n})\n// 根据ellipsis/width设置设置tip弹窗的类名\nconst getOverlayClass = computed(() => {\n const ellipsisClass = props.tipEllipsis ? bem.m('ellipsis') : ''\n return `${bem.b()} ${ellipsisClass} ${props.overlayClassName}`\n})\n// 根据ellipsis/width设置设置tip弹窗的样式\nconst getOverlayStyle = computed(() => {\n const maxWidth = addUnit(props.maxWidth)\n return {\n WebkitLineClamp: props.tipEllipsis ? props.tipEllipsisLine : 'none',\n 'max-width': maxWidth,\n ...props.overlayStyle\n }\n})\n</script>\n"],"names":["useAttrs","createNamespace","computed","addUnit"],"mappings":";;;;;;;;;;;;;;;;AAsCA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,QAAQA,YAAS,EAAA,CAAA;AAGvB,IAAM,MAAA,GAAA,GAAMC,gCAAgB,SAAS,CAAA,CAAA;AACrC,IAAM,MAAA,YAAA,GAAeA,gCAAgB,mBAAmB,CAAA,CAAA;AAExD,IAAM,MAAA,iBAAA,GAAoBC,aAAS,MAAM;AACvC,MAAA,MAAM,gBAAgB,KAAM,CAAA,QAAA,GAAW,YAAa,CAAA,CAAA,CAAE,UAAU,CAAI,GAAA,EAAA,CAAA;AACpE,MAAA,OAAO,CAAG,EAAA,YAAA,CAAa,CAAE,EAAC,IAAI,aAAa,CAAA,CAAA,CAAA;AAAA,KAC5C,CAAA,CAAA;AAED,IAAM,MAAA,iBAAA,GAAoBA,aAAS,MAAM;AACvC,MAAM,MAAA,KAAA,GAAQC,eAAQ,CAAA,KAAA,CAAM,KAAK,CAAA,CAAA;AACjC,MAAO,OAAA;AAAA,QACL,KAAA,EAAO,QAAQ,KAAQ,GAAA,EAAA;AAAA,OACzB,CAAA;AAAA,KACD,CAAA,CAAA;AAED,IAAM,MAAA,eAAA,GAAkBD,aAAS,MAAM;AACrC,MAAA,MAAM,gBAAgB,KAAM,CAAA,WAAA,GAAc,GAAI,CAAA,CAAA,CAAE,UAAU,CAAI,GAAA,EAAA,CAAA;AAC9D,MAAO,OAAA,CAAA,EAAG,IAAI,CAAE,EAAC,IAAI,aAAa,CAAA,CAAA,EAAI,MAAM,gBAAgB,CAAA,CAAA,CAAA;AAAA,KAC7D,CAAA,CAAA;AAED,IAAM,MAAA,eAAA,GAAkBA,aAAS,MAAM;AACrC,MAAM,MAAA,QAAA,GAAWC,eAAQ,CAAA,KAAA,CAAM,QAAQ,CAAA,CAAA;AACvC,MAAO,OAAA;AAAA,QACL,eAAiB,EAAA,KAAA,CAAM,WAAc,GAAA,KAAA,CAAM,eAAkB,GAAA,MAAA;AAAA,QAC7D,WAAa,EAAA,QAAA;AAAA,QACb,GAAG,KAAM,CAAA,YAAA;AAAA,OACX,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"tooltip.vue2.js","sources":["../../../../../../packages/components/tooltip/src/tooltip.vue"],"sourcesContent":["<template>\n <a-tooltip\n v-bind=\"attrs\"\n :placement=\"placement\"\n :overlay-style=\"getOverlayStyle\"\n :overlay-class-name=\"getOverlayClass\"\n >\n <!-- title插槽 -->\n <template #title>\n <slot name=\"title\">\n <span>{{ tip }}</span>\n </slot>\n </template>\n <!-- 默认插槽 -->\n <div\n v-if=\"$slots.default\"\n :class=\"getContainerClass\"\n :style=\"getContainerStyle\"\n >\n <slot>\n <ll-icon icon-name=\"icon-question\" />\n </slot>\n </div>\n <slot v-else>\n <ll-icon icon-name=\"icon-question\" />\n </slot>\n </a-tooltip>\n</template>\n\n<script setup lang=\"ts\">\nimport { addUnit, createNamespace } from '@ll-plus/utils'\nimport { useAttrs } from 'vue'\n\nimport { computed } from 'vue'\nimport { tooltipProps } from './tooltip'\n\n// 1.defineOptions\ndefineOptions({ name: 'LlTooltip' })\n\n// 2.props\nconst props = defineProps(tooltipProps)\nconst attrs = useAttrs()\n\n// 3.computes/const\nconst bem = createNamespace('tooltip')\nconst bemContainer = createNamespace('container-tooltip')\n// 根据ellipsis设置设置插槽容器的文字超出样式\nconst getContainerClass = computed(() => {\n const ellipsisClass = props.ellipsis ? bemContainer.m('ellipsis') : ''\n return `${bemContainer.b()} ${ellipsisClass}`\n})\n// 设置插槽容器的宽度\nconst getContainerStyle = computed(() => {\n const width = addUnit(props.width)\n return {\n width: width ? width : ''\n }\n})\n// 根据ellipsis/width设置设置tip弹窗的类名\nconst getOverlayClass = computed(() => {\n const ellipsisClass = props.tipEllipsis ? bem.m('ellipsis') : ''\n return `${bem.b()} ${ellipsisClass} ${props.overlayClassName}`\n})\n// 根据ellipsis/width设置设置tip弹窗的样式\nconst getOverlayStyle = computed(() => {\n const maxWidth = addUnit(props.maxWidth)\n return {\n WebkitLineClamp: props.tipEllipsis ? props.tipEllipsisLine : 'none',\n 'max-width': maxWidth,\n ...props.overlayStyle\n }\n})\n</script>\n"],"names":["useAttrs","createNamespace","computed","addUnit"],"mappings":";;;;;;;;;;;;;;;;AAwCA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,QAAQA,YAAS,EAAA,CAAA;AAGvB,IAAM,MAAA,GAAA,GAAMC,gCAAgB,SAAS,CAAA,CAAA;AACrC,IAAM,MAAA,YAAA,GAAeA,gCAAgB,mBAAmB,CAAA,CAAA;AAExD,IAAM,MAAA,iBAAA,GAAoBC,aAAS,MAAM;AACvC,MAAA,MAAM,gBAAgB,KAAM,CAAA,QAAA,GAAW,YAAa,CAAA,CAAA,CAAE,UAAU,CAAI,GAAA,EAAA,CAAA;AACpE,MAAA,OAAO,CAAG,EAAA,YAAA,CAAa,CAAE,EAAC,IAAI,aAAa,CAAA,CAAA,CAAA;AAAA,KAC5C,CAAA,CAAA;AAED,IAAM,MAAA,iBAAA,GAAoBA,aAAS,MAAM;AACvC,MAAM,MAAA,KAAA,GAAQC,eAAQ,CAAA,KAAA,CAAM,KAAK,CAAA,CAAA;AACjC,MAAO,OAAA;AAAA,QACL,KAAA,EAAO,QAAQ,KAAQ,GAAA,EAAA;AAAA,OACzB,CAAA;AAAA,KACD,CAAA,CAAA;AAED,IAAM,MAAA,eAAA,GAAkBD,aAAS,MAAM;AACrC,MAAA,MAAM,gBAAgB,KAAM,CAAA,WAAA,GAAc,GAAI,CAAA,CAAA,CAAE,UAAU,CAAI,GAAA,EAAA,CAAA;AAC9D,MAAO,OAAA,CAAA,EAAG,IAAI,CAAE,EAAC,IAAI,aAAa,CAAA,CAAA,EAAI,MAAM,gBAAgB,CAAA,CAAA,CAAA;AAAA,KAC7D,CAAA,CAAA;AAED,IAAM,MAAA,eAAA,GAAkBA,aAAS,MAAM;AACrC,MAAM,MAAA,QAAA,GAAWC,eAAQ,CAAA,KAAA,CAAM,QAAQ,CAAA,CAAA;AACvC,MAAO,OAAA;AAAA,QACL,eAAiB,EAAA,KAAA,CAAM,WAAc,GAAA,KAAA,CAAM,eAAkB,GAAA,MAAA;AAAA,QAC7D,WAAa,EAAA,QAAA;AAAA,QACb,GAAG,KAAM,CAAA,YAAA;AAAA,OACX,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ll-plus",
3
- "version": "2.8.12",
3
+ "version": "2.8.14",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.mjs",
@@ -16,13 +16,10 @@ export * from './descriptions-item';
16
16
  export * from './drawer';
17
17
  export * from './dropdown';
18
18
  export * from './dropdown-button-simple';
19
- export * from './new-drawer';
20
19
  export * from './easy-cron';
21
20
  export * from './empty';
22
21
  export * from './form';
23
22
  export * from './form-item';
24
- export * from './form';
25
- export * from './form-item';
26
23
  export * from './icon';
27
24
  export * from './icon-base';
28
25
  export * from './icon-picker';
@@ -32,10 +29,12 @@ export * from './input-number';
32
29
  export * from './key-value';
33
30
  export * from './markdown-editor';
34
31
  export * from './modal';
32
+ export * from './new-drawer';
35
33
  export * from './new-modal';
36
34
  export * from './number-range';
37
35
  export * from './operate-icon';
38
36
  export * from './operate-tree';
37
+ export * from './qr-code';
39
38
  export * from './radio';
40
39
  export * from './rich-text-editor';
41
40
  export * from './segmented';
@@ -51,8 +50,8 @@ export * from './textarea';
51
50
  export * from './time-picker';
52
51
  export * from './time-range';
53
52
  export * from './tooltip';
54
- export * from './tree-search';
55
53
  export * from './tree';
54
+ export * from './tree-search';
56
55
  export * from './upload-drag';
57
56
  export * from './upload-image';
58
57
  export * from './uri-input';
@@ -0,0 +1,63 @@
1
+ import QrCode from './src/qr-code.vue';
2
+ export declare const LlQrCode: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
3
+ readonly value: {
4
+ readonly type: import("vue").PropType<string>;
5
+ readonly required: false;
6
+ readonly validator: ((val: unknown) => boolean) | undefined;
7
+ __epPropKey: true;
8
+ };
9
+ readonly type: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "canvas", boolean>;
10
+ readonly icon: {
11
+ readonly type: import("vue").PropType<string>;
12
+ readonly required: false;
13
+ readonly validator: ((val: unknown) => boolean) | undefined;
14
+ __epPropKey: true;
15
+ };
16
+ readonly size: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 160, boolean>;
17
+ readonly iconSize: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 40, boolean>;
18
+ }, {
19
+ props: import("@vue/shared").LooseRequired<{
20
+ readonly type: string;
21
+ readonly size: number;
22
+ readonly iconSize: number;
23
+ readonly value?: string | undefined;
24
+ readonly icon?: string | undefined;
25
+ } & {}>;
26
+ bem: {
27
+ b: (blockSuffix?: string) => string;
28
+ e: (element?: string) => string;
29
+ m: (modifier?: string) => string;
30
+ be: (blockSuffix?: string, element?: string) => string;
31
+ em: (element: string, modifier: string) => string;
32
+ bm: (blockSuffix: string, modifier: string) => string;
33
+ bem: (blockSuffix: string, element: string, modifier: string) => string;
34
+ is: (name?: string) => string;
35
+ };
36
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
+ readonly value: {
38
+ readonly type: import("vue").PropType<string>;
39
+ readonly required: false;
40
+ readonly validator: ((val: unknown) => boolean) | undefined;
41
+ __epPropKey: true;
42
+ };
43
+ readonly type: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "canvas", boolean>;
44
+ readonly icon: {
45
+ readonly type: import("vue").PropType<string>;
46
+ readonly required: false;
47
+ readonly validator: ((val: unknown) => boolean) | undefined;
48
+ __epPropKey: true;
49
+ };
50
+ readonly size: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 160, boolean>;
51
+ readonly iconSize: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 40, boolean>;
52
+ }>>, {
53
+ readonly type: string;
54
+ readonly size: number;
55
+ readonly iconSize: number;
56
+ }, {}>>;
57
+ export default LlQrCode;
58
+ export * from './src/qr-code';
59
+ declare module 'vue' {
60
+ interface GlobalComponents {
61
+ LlQrCode: typeof QrCode;
62
+ }
63
+ }
@@ -0,0 +1,23 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ import type QrCode from './qr-code.vue';
3
+ export declare const qrCodeType: readonly ["canvas", "svg"];
4
+ export declare const qrCodeProps: {
5
+ readonly value: {
6
+ readonly type: import("vue").PropType<string>;
7
+ readonly required: false;
8
+ readonly validator: ((val: unknown) => boolean) | undefined;
9
+ __epPropKey: true;
10
+ };
11
+ readonly type: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "canvas", boolean>;
12
+ readonly icon: {
13
+ readonly type: import("vue").PropType<string>;
14
+ readonly required: false;
15
+ readonly validator: ((val: unknown) => boolean) | undefined;
16
+ __epPropKey: true;
17
+ };
18
+ readonly size: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 160, boolean>;
19
+ readonly iconSize: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 40, boolean>;
20
+ };
21
+ export type QrCodeProps = ExtractPropTypes<typeof qrCodeProps>;
22
+ export type QrCodeType = QrCodeProps['value'];
23
+ export type QrCodeInstance = InstanceType<typeof QrCode>;
@@ -0,0 +1,56 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ readonly value: {
3
+ readonly type: import("vue").PropType<string>;
4
+ readonly required: false;
5
+ readonly validator: ((val: unknown) => boolean) | undefined;
6
+ __epPropKey: true;
7
+ };
8
+ readonly type: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "canvas", boolean>;
9
+ readonly icon: {
10
+ readonly type: import("vue").PropType<string>;
11
+ readonly required: false;
12
+ readonly validator: ((val: unknown) => boolean) | undefined;
13
+ __epPropKey: true;
14
+ };
15
+ readonly size: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 160, boolean>;
16
+ readonly iconSize: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 40, boolean>;
17
+ }, {
18
+ props: import("@vue/shared").LooseRequired<{
19
+ readonly type: string;
20
+ readonly size: number;
21
+ readonly iconSize: number;
22
+ readonly value?: string | undefined;
23
+ readonly icon?: string | undefined;
24
+ } & {}>;
25
+ bem: {
26
+ b: (blockSuffix?: string) => string;
27
+ e: (element?: string) => string;
28
+ m: (modifier?: string) => string;
29
+ be: (blockSuffix?: string, element?: string) => string;
30
+ em: (element: string, modifier: string) => string;
31
+ bm: (blockSuffix: string, modifier: string) => string;
32
+ bem: (blockSuffix: string, element: string, modifier: string) => string;
33
+ is: (name?: string) => string;
34
+ };
35
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ readonly value: {
37
+ readonly type: import("vue").PropType<string>;
38
+ readonly required: false;
39
+ readonly validator: ((val: unknown) => boolean) | undefined;
40
+ __epPropKey: true;
41
+ };
42
+ readonly type: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "canvas", boolean>;
43
+ readonly icon: {
44
+ readonly type: import("vue").PropType<string>;
45
+ readonly required: false;
46
+ readonly validator: ((val: unknown) => boolean) | undefined;
47
+ __epPropKey: true;
48
+ };
49
+ readonly size: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 160, boolean>;
50
+ readonly iconSize: import("ll-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 40, boolean>;
51
+ }>>, {
52
+ readonly type: string;
53
+ readonly size: number;
54
+ readonly iconSize: number;
55
+ }, {}>;
56
+ export default _default;