ll-plus 1.0.0 → 2.0.1

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 (255) hide show
  1. package/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
  2. package/es/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
  3. package/es/component.mjs +8 -0
  4. package/es/component.mjs.map +1 -0
  5. package/es/components/icon/index.d.ts +55 -10
  6. package/es/components/icon/index.mjs +10 -0
  7. package/es/components/icon/index.mjs.map +1 -0
  8. package/es/components/icon/src/icon.d.ts +27 -3
  9. package/es/components/icon/src/icon.mjs +34 -0
  10. package/es/components/icon/src/icon.mjs.map +1 -0
  11. package/es/components/icon/src/icon.vue.d.ts +56 -10
  12. package/es/components/icon/src/icon.vue.mjs +8 -0
  13. package/es/components/icon/src/icon.vue.mjs.map +1 -0
  14. package/es/components/icon/src/icon.vue2.mjs +59 -0
  15. package/es/components/icon/src/icon.vue2.mjs.map +1 -0
  16. package/es/components/index.d.ts +1 -0
  17. package/es/components/index.mjs +7 -0
  18. package/es/components/index.mjs.map +1 -0
  19. package/es/components/table/index.d.ts +592 -0
  20. package/es/components/table/index.mjs +10 -0
  21. package/es/components/table/index.mjs.map +1 -0
  22. package/es/components/table/src/components/header-search.vue.d.ts +110 -0
  23. package/es/components/table/src/components/header-search.vue.mjs +8 -0
  24. package/es/components/table/src/components/header-search.vue.mjs.map +1 -0
  25. package/es/components/table/src/components/header-search.vue2.mjs +125 -0
  26. package/es/components/table/src/components/header-search.vue2.mjs.map +1 -0
  27. package/es/components/table/src/components/main-table.vue.d.ts +254 -0
  28. package/es/components/table/src/components/main-table.vue.mjs +8 -0
  29. package/es/components/table/src/components/main-table.vue.mjs.map +1 -0
  30. package/es/components/table/src/components/main-table.vue2.mjs +549 -0
  31. package/es/components/table/src/components/main-table.vue2.mjs.map +1 -0
  32. package/es/components/table/src/components/pagination.vue.d.ts +65 -0
  33. package/es/components/table/src/components/pagination.vue.mjs +8 -0
  34. package/es/components/table/src/components/pagination.vue.mjs.map +1 -0
  35. package/es/components/table/src/components/pagination.vue2.mjs +37 -0
  36. package/es/components/table/src/components/pagination.vue2.mjs.map +1 -0
  37. package/es/components/table/src/table.d.ts +148 -0
  38. package/es/components/table/src/table.mjs +196 -0
  39. package/es/components/table/src/table.mjs.map +1 -0
  40. package/es/components/table/src/table.vue.d.ts +586 -0
  41. package/es/components/table/src/table.vue.mjs +8 -0
  42. package/es/components/table/src/table.vue.mjs.map +1 -0
  43. package/es/components/table/src/table.vue2.mjs +134 -0
  44. package/es/components/table/src/table.vue2.mjs.map +1 -0
  45. package/es/defaults.d.ts +4 -0
  46. package/es/defaults.mjs +8 -0
  47. package/es/defaults.mjs.map +1 -0
  48. package/es/index.d.ts +4 -6
  49. package/es/index.mjs +12 -0
  50. package/es/index.mjs.map +1 -0
  51. package/es/ll-plus/defaults.d.ts +4 -0
  52. package/es/ll-plus/index.d.ts +4 -0
  53. package/es/ll-plus/make-installer.d.ts +4 -0
  54. package/es/locale/index.d.ts +10 -0
  55. package/es/locale/index.mjs +6 -0
  56. package/es/locale/index.mjs.map +1 -0
  57. package/es/locale/lang/en_US.d.ts +144 -0
  58. package/es/locale/lang/en_US.mjs +147 -0
  59. package/es/locale/lang/en_US.mjs.map +1 -0
  60. package/es/locale/lang/zh_CN.d.ts +169 -0
  61. package/es/locale/lang/zh_CN.mjs +172 -0
  62. package/es/locale/lang/zh_CN.mjs.map +1 -0
  63. package/es/locale/lang/zh_TW.d.ts +125 -0
  64. package/es/locale/lang/zh_TW.mjs +128 -0
  65. package/es/locale/lang/zh_TW.mjs.map +1 -0
  66. package/es/make-installer.d.ts +4 -0
  67. package/es/make-installer.mjs +12 -0
  68. package/es/make-installer.mjs.map +1 -0
  69. package/es/utils/add-unit.mjs +7 -0
  70. package/es/utils/add-unit.mjs.map +1 -0
  71. package/es/utils/create-namespace.mjs +40 -0
  72. package/es/utils/create-namespace.mjs.map +1 -0
  73. package/es/utils/index.d.ts +2 -1
  74. package/es/utils/index.mjs +8 -0
  75. package/es/utils/index.mjs.map +1 -0
  76. package/es/utils/props/index.d.ts +3 -0
  77. package/es/utils/props/index.mjs +6 -0
  78. package/es/utils/props/index.mjs.map +1 -0
  79. package/es/utils/props/runtime.d.ts +29 -0
  80. package/es/utils/props/runtime.mjs +53 -0
  81. package/es/utils/props/runtime.mjs.map +1 -0
  82. package/es/utils/props/types.d.ts +120 -0
  83. package/es/utils/props/types.mjs +2 -0
  84. package/es/utils/props/types.mjs.map +1 -0
  85. package/es/utils/props/util.d.ts +8 -0
  86. package/es/utils/props/util.mjs +2 -0
  87. package/es/utils/props/util.mjs.map +1 -0
  88. package/es/utils/types.d.ts +10 -0
  89. package/es/utils/types.mjs +30 -0
  90. package/es/utils/types.mjs.map +1 -0
  91. package/es/utils/with-install.mjs +10 -0
  92. package/es/utils/with-install.mjs.map +1 -0
  93. package/global.d.ts +11 -0
  94. package/index.full.js +8305 -0
  95. package/index.full.min.js +25 -0
  96. package/index.full.min.js.map +1 -0
  97. package/index.full.min.mjs +25 -0
  98. package/index.full.min.mjs.map +1 -0
  99. package/index.full.mjs +8288 -0
  100. package/lib/_virtual/_plugin-vue_export-helper.js +14 -0
  101. package/lib/_virtual/_plugin-vue_export-helper.js.map +1 -0
  102. package/lib/component.js +12 -0
  103. package/lib/component.js.map +1 -0
  104. package/lib/components/icon/index.d.ts +55 -10
  105. package/lib/components/icon/index.js +8 -31
  106. package/lib/components/icon/index.js.map +1 -0
  107. package/lib/components/icon/src/icon.d.ts +27 -3
  108. package/lib/components/icon/src/icon.js +36 -0
  109. package/lib/components/icon/src/icon.js.map +1 -0
  110. package/lib/components/icon/src/icon.vue.d.ts +56 -10
  111. package/lib/components/icon/src/icon.vue.js +12 -0
  112. package/lib/components/icon/src/icon.vue.js.map +1 -0
  113. package/lib/components/icon/src/icon.vue2.js +63 -0
  114. package/lib/components/icon/src/icon.vue2.js.map +1 -0
  115. package/lib/components/index.d.ts +1 -0
  116. package/lib/components/index.js +15 -8
  117. package/lib/components/index.js.map +1 -0
  118. package/lib/components/table/index.d.ts +592 -0
  119. package/lib/components/table/index.js +21 -0
  120. package/lib/components/table/index.js.map +1 -0
  121. package/lib/components/table/src/components/header-search.vue.d.ts +110 -0
  122. package/lib/components/table/src/components/header-search.vue.js +12 -0
  123. package/lib/components/table/src/components/header-search.vue.js.map +1 -0
  124. package/lib/components/table/src/components/header-search.vue2.js +129 -0
  125. package/lib/components/table/src/components/header-search.vue2.js.map +1 -0
  126. package/lib/components/table/src/components/main-table.vue.d.ts +254 -0
  127. package/lib/components/table/src/components/main-table.vue.js +12 -0
  128. package/lib/components/table/src/components/main-table.vue.js.map +1 -0
  129. package/lib/components/table/src/components/main-table.vue2.js +553 -0
  130. package/lib/components/table/src/components/main-table.vue2.js.map +1 -0
  131. package/lib/components/table/src/components/pagination.vue.d.ts +65 -0
  132. package/lib/components/table/src/components/pagination.vue.js +12 -0
  133. package/lib/components/table/src/components/pagination.vue.js.map +1 -0
  134. package/lib/components/table/src/components/pagination.vue2.js +41 -0
  135. package/lib/components/table/src/components/pagination.vue2.js.map +1 -0
  136. package/lib/components/table/src/table.d.ts +148 -0
  137. package/lib/components/table/src/table.js +203 -0
  138. package/lib/components/table/src/table.js.map +1 -0
  139. package/lib/components/table/src/table.vue.d.ts +586 -0
  140. package/lib/components/table/src/table.vue.js +12 -0
  141. package/lib/components/table/src/table.vue.js.map +1 -0
  142. package/lib/components/table/src/table.vue2.js +138 -0
  143. package/lib/components/table/src/table.vue2.js.map +1 -0
  144. package/lib/defaults.d.ts +4 -0
  145. package/lib/defaults.js +12 -0
  146. package/lib/defaults.js.map +1 -0
  147. package/lib/index.d.ts +4 -6
  148. package/lib/index.js +20 -15
  149. package/lib/index.js.map +1 -0
  150. package/lib/ll-plus/component.d.ts +3 -0
  151. package/lib/ll-plus/defaults.d.ts +4 -0
  152. package/lib/ll-plus/index.d.ts +4 -0
  153. package/lib/ll-plus/make-installer.d.ts +4 -0
  154. package/lib/locale/index.d.ts +10 -0
  155. package/lib/locale/index.js +12 -0
  156. package/lib/locale/index.js.map +1 -0
  157. package/lib/locale/lang/en_US.d.ts +144 -0
  158. package/lib/locale/lang/en_US.js +151 -0
  159. package/lib/locale/lang/en_US.js.map +1 -0
  160. package/lib/locale/lang/zh_CN.d.ts +169 -0
  161. package/lib/locale/lang/zh_CN.js +176 -0
  162. package/lib/locale/lang/zh_CN.js.map +1 -0
  163. package/lib/locale/lang/zh_TW.d.ts +125 -0
  164. package/lib/locale/lang/zh_TW.js +132 -0
  165. package/lib/locale/lang/zh_TW.js.map +1 -0
  166. package/lib/make-installer.d.ts +4 -0
  167. package/lib/make-installer.js +14 -0
  168. package/lib/make-installer.js.map +1 -0
  169. package/lib/utils/add-unit.js +9 -0
  170. package/lib/utils/add-unit.js.map +1 -0
  171. package/lib/utils/create-namespace.js +34 -34
  172. package/lib/utils/create-namespace.js.map +1 -0
  173. package/lib/utils/index.d.ts +2 -1
  174. package/lib/utils/index.js +18 -18
  175. package/lib/utils/index.js.map +1 -0
  176. package/lib/utils/props/index.d.ts +3 -0
  177. package/lib/utils/props/index.js +14 -0
  178. package/lib/utils/props/index.js.map +1 -0
  179. package/lib/utils/props/runtime.d.ts +29 -0
  180. package/lib/utils/props/runtime.js +59 -0
  181. package/lib/utils/props/runtime.js.map +1 -0
  182. package/lib/utils/props/types.d.ts +120 -0
  183. package/lib/utils/props/types.js +4 -0
  184. package/lib/utils/props/types.js.map +1 -0
  185. package/lib/utils/props/util.d.ts +8 -0
  186. package/lib/utils/props/util.js +4 -0
  187. package/lib/utils/props/util.js.map +1 -0
  188. package/lib/utils/types.d.ts +10 -0
  189. package/lib/utils/types.js +70 -0
  190. package/lib/utils/types.js.map +1 -0
  191. package/lib/utils/with-install.js +8 -6
  192. package/lib/utils/with-install.js.map +1 -0
  193. package/package.json +39 -3
  194. package/theme-chalk/css/icon.css +1 -1
  195. package/theme-chalk/css/index.css +5 -1
  196. package/theme-chalk/css/table.css +5 -0
  197. package/theme-chalk/fonts/iconfont.js +1 -0
  198. package/theme-chalk/fonts/iconfont.json +1262 -0
  199. package/types/packages/component.d.ts +3 -0
  200. package/types/packages/components/icon/index.d.ts +79 -0
  201. package/types/packages/components/icon/src/icon.d.ts +30 -0
  202. package/types/packages/components/icon/src/icon.vue.d.ts +73 -0
  203. package/types/packages/components/index.d.ts +2 -0
  204. package/types/packages/components/table/index.d.ts +592 -0
  205. package/types/packages/components/table/src/components/header-search.vue.d.ts +110 -0
  206. package/types/packages/components/table/src/components/main-table.vue.d.ts +254 -0
  207. package/types/packages/components/table/src/components/pagination.vue.d.ts +65 -0
  208. package/types/packages/components/table/src/table.d.ts +148 -0
  209. package/types/packages/components/table/src/table.vue.d.ts +586 -0
  210. package/types/packages/defaults.d.ts +4 -0
  211. package/types/packages/index.d.ts +4 -0
  212. package/types/packages/ll-plus/component.d.ts +3 -0
  213. package/types/packages/ll-plus/defaults.d.ts +4 -0
  214. package/types/packages/ll-plus/index.d.ts +4 -0
  215. package/types/packages/ll-plus/make-installer.d.ts +4 -0
  216. package/types/packages/locale/index.d.ts +10 -0
  217. package/types/packages/locale/lang/en_US.d.ts +144 -0
  218. package/types/packages/locale/lang/zh_CN.d.ts +169 -0
  219. package/types/packages/locale/lang/zh_TW.d.ts +125 -0
  220. package/types/packages/make-installer.d.ts +4 -0
  221. package/types/{utils → packages/utils}/index.d.ts +2 -1
  222. package/types/packages/utils/props/index.d.ts +3 -0
  223. package/types/packages/utils/props/runtime.d.ts +29 -0
  224. package/types/packages/utils/props/types.d.ts +120 -0
  225. package/types/packages/utils/props/util.d.ts +8 -0
  226. package/types/packages/utils/types.d.ts +10 -0
  227. package/types/tsconfig.web.tsbuildinfo +1 -0
  228. package/entry/types/index.d.ts +0 -6
  229. package/es/components/icon/index.js +0 -33
  230. package/es/components/index.js +0 -1
  231. package/es/components.js +0 -5
  232. package/es/index.js +0 -11
  233. package/es/utils/add-util.js +0 -3
  234. package/es/utils/create-namespace.js +0 -38
  235. package/es/utils/index.js +0 -3
  236. package/es/utils/with-install.js +0 -6
  237. package/index.esm.js +0 -91
  238. package/index.js +0 -101
  239. package/lib/components.js +0 -9
  240. package/lib/utils/add-util.js +0 -7
  241. package/theme-chalk/fonts/iconfont.ttf +0 -0
  242. package/theme-chalk/fonts/iconfont.woff +0 -0
  243. package/theme-chalk/fonts/iconfont.woff2 +0 -0
  244. package/types/components/icon/index.d.ts +0 -34
  245. package/types/components/icon/src/icon.d.ts +0 -6
  246. package/types/components/icon/src/icon.vue.d.ts +0 -27
  247. package/types/components/index.d.ts +0 -1
  248. /package/{entry/types/components.d.ts → es/component.d.ts} +0 -0
  249. /package/es/{components.d.ts → ll-plus/component.d.ts} +0 -0
  250. /package/es/utils/{add-util.d.ts → add-unit.d.ts} +0 -0
  251. /package/lib/{components.d.ts → component.d.ts} +0 -0
  252. /package/lib/utils/{add-util.d.ts → add-unit.d.ts} +0 -0
  253. /package/types/{utils/add-util.d.ts → packages/utils/add-unit.d.ts} +0 -0
  254. /package/types/{utils → packages/utils}/create-namespace.d.ts +0 -0
  255. /package/types/{utils → packages/utils}/with-install.d.ts +0 -0
@@ -1,38 +0,0 @@
1
- const _bem = (prefixedName, blockSuffix, element, modifier) => {
2
- if (blockSuffix) {
3
- prefixedName += `-${blockSuffix}`;
4
- }
5
- if (element) {
6
- prefixedName += `__${element}`;
7
- }
8
- if (modifier) {
9
- prefixedName += `--${modifier}`;
10
- }
11
- return prefixedName;
12
- };
13
- function createBEM(prefixedName) {
14
- const b = (blockSuffix = '') => _bem(prefixedName, blockSuffix, '', '');
15
- const e = (element = '') => element ? _bem(prefixedName, '', element, '') : '';
16
- const m = (modifier = '') => modifier ? _bem(prefixedName, '', '', modifier) : '';
17
- const be = (blockSuffix = '', element = '') => blockSuffix && element ? _bem(prefixedName, blockSuffix, element, '') : '';
18
- const em = (element, modifier) => element && modifier ? _bem(prefixedName, '', element, modifier) : '';
19
- const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(prefixedName, blockSuffix, '', modifier) : '';
20
- const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier
21
- ? _bem(prefixedName, blockSuffix, element, modifier)
22
- : '';
23
- const is = (name = '') => (name ? `is-${name}` : '');
24
- return {
25
- b,
26
- e,
27
- m,
28
- be,
29
- em,
30
- bm,
31
- bem,
32
- is
33
- };
34
- }
35
- export function createNamespace(name) {
36
- const prefixedName = `ll-${name}`;
37
- return createBEM(prefixedName);
38
- }
package/es/utils/index.js DELETED
@@ -1,3 +0,0 @@
1
- export * from './add-util';
2
- export * from './create-namespace';
3
- export * from './with-install';
@@ -1,6 +0,0 @@
1
- export const withInstall = (comp) => {
2
- comp.install = function (app) {
3
- app.component(comp.name, comp);
4
- };
5
- return comp;
6
- };
package/index.esm.js DELETED
@@ -1,91 +0,0 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot } from 'vue';
2
-
3
- const addUnit = (val) => {
4
- return typeof val === 'string' ? val : val + 'px';
5
- };
6
-
7
- const _bem = (prefixedName, blockSuffix, element, modifier) => {
8
- if (blockSuffix) {
9
- prefixedName += `-${blockSuffix}`;
10
- }
11
- if (element) {
12
- prefixedName += `__${element}`;
13
- }
14
- if (modifier) {
15
- prefixedName += `--${modifier}`;
16
- }
17
- return prefixedName;
18
- };
19
- function createBEM(prefixedName) {
20
- const b = (blockSuffix = '') => _bem(prefixedName, blockSuffix, '', '');
21
- const e = (element = '') => element ? _bem(prefixedName, '', element, '') : '';
22
- const m = (modifier = '') => modifier ? _bem(prefixedName, '', '', modifier) : '';
23
- const be = (blockSuffix = '', element = '') => blockSuffix && element ? _bem(prefixedName, blockSuffix, element, '') : '';
24
- const em = (element, modifier) => element && modifier ? _bem(prefixedName, '', element, modifier) : '';
25
- const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(prefixedName, blockSuffix, '', modifier) : '';
26
- const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier
27
- ? _bem(prefixedName, blockSuffix, element, modifier)
28
- : '';
29
- const is = (name = '') => (name ? `is-${name}` : '');
30
- return {
31
- b,
32
- e,
33
- m,
34
- be,
35
- em,
36
- bm,
37
- bem,
38
- is
39
- };
40
- }
41
- function createNamespace(name) {
42
- const prefixedName = `ll-${name}`;
43
- return createBEM(prefixedName);
44
- }
45
-
46
- const withInstall = (comp) => {
47
- comp.install = function (app) {
48
- app.component(comp.name, comp);
49
- };
50
- return comp;
51
- };
52
-
53
- const iconProps = {
54
- size: [Number, String],
55
- color: String
56
- };
57
-
58
- var script = defineComponent(Object.assign({
59
- name: 'LlIcon'
60
- }, { __name: 'icon', props: iconProps, setup(__props) {
61
- const props = __props;
62
- const bem = createNamespace('icon');
63
- const style = computed(() => {
64
- if (!props.color && !props.size)
65
- return {};
66
- return Object.assign(Object.assign({}, (props.color ? { color: props.color } : {})), (props.size ? { 'font-size': addUnit(props.size) } : {}));
67
- });
68
- return (_ctx, _cache) => {
69
- return (openBlock(), createElementBlock("i", {
70
- class: normalizeClass(unref(bem).b()),
71
- style: normalizeStyle(style.value)
72
- }, [
73
- renderSlot(_ctx.$slots, "default")
74
- ], 6));
75
- };
76
- } }));
77
-
78
- script.__file = "packages/components/icon/src/icon.vue";
79
-
80
- const LlIcon = withInstall(script);
81
-
82
- var components = [LlIcon];
83
-
84
- const install = (app) => {
85
- components.forEach(component => app.use(component));
86
- };
87
- var index = {
88
- install
89
- };
90
-
91
- export { LlIcon, index as default, iconProps };
package/index.js DELETED
@@ -1,101 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'vue'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.LlPlus = {}, global.Vue));
5
- })(this, (function (exports, vue) { 'use strict';
6
-
7
- const addUnit = (val) => {
8
- return typeof val === 'string' ? val : val + 'px';
9
- };
10
-
11
- const _bem = (prefixedName, blockSuffix, element, modifier) => {
12
- if (blockSuffix) {
13
- prefixedName += `-${blockSuffix}`;
14
- }
15
- if (element) {
16
- prefixedName += `__${element}`;
17
- }
18
- if (modifier) {
19
- prefixedName += `--${modifier}`;
20
- }
21
- return prefixedName;
22
- };
23
- function createBEM(prefixedName) {
24
- const b = (blockSuffix = '') => _bem(prefixedName, blockSuffix, '', '');
25
- const e = (element = '') => element ? _bem(prefixedName, '', element, '') : '';
26
- const m = (modifier = '') => modifier ? _bem(prefixedName, '', '', modifier) : '';
27
- const be = (blockSuffix = '', element = '') => blockSuffix && element ? _bem(prefixedName, blockSuffix, element, '') : '';
28
- const em = (element, modifier) => element && modifier ? _bem(prefixedName, '', element, modifier) : '';
29
- const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(prefixedName, blockSuffix, '', modifier) : '';
30
- const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier
31
- ? _bem(prefixedName, blockSuffix, element, modifier)
32
- : '';
33
- const is = (name = '') => (name ? `is-${name}` : '');
34
- return {
35
- b,
36
- e,
37
- m,
38
- be,
39
- em,
40
- bm,
41
- bem,
42
- is
43
- };
44
- }
45
- function createNamespace(name) {
46
- const prefixedName = `ll-${name}`;
47
- return createBEM(prefixedName);
48
- }
49
-
50
- const withInstall = (comp) => {
51
- comp.install = function (app) {
52
- app.component(comp.name, comp);
53
- };
54
- return comp;
55
- };
56
-
57
- const iconProps = {
58
- size: [Number, String],
59
- color: String
60
- };
61
-
62
- var script = vue.defineComponent(Object.assign({
63
- name: 'LlIcon'
64
- }, { __name: 'icon', props: iconProps, setup(__props) {
65
- const props = __props;
66
- const bem = createNamespace('icon');
67
- const style = vue.computed(() => {
68
- if (!props.color && !props.size)
69
- return {};
70
- return Object.assign(Object.assign({}, (props.color ? { color: props.color } : {})), (props.size ? { 'font-size': addUnit(props.size) } : {}));
71
- });
72
- return (_ctx, _cache) => {
73
- return (vue.openBlock(), vue.createElementBlock("i", {
74
- class: vue.normalizeClass(vue.unref(bem).b()),
75
- style: vue.normalizeStyle(style.value)
76
- }, [
77
- vue.renderSlot(_ctx.$slots, "default")
78
- ], 6));
79
- };
80
- } }));
81
-
82
- script.__file = "packages/components/icon/src/icon.vue";
83
-
84
- const LlIcon = withInstall(script);
85
-
86
- var components = [LlIcon];
87
-
88
- const install = (app) => {
89
- components.forEach(component => app.use(component));
90
- };
91
- var index = {
92
- install
93
- };
94
-
95
- exports.LlIcon = LlIcon;
96
- exports.default = index;
97
- exports.iconProps = iconProps;
98
-
99
- Object.defineProperty(exports, '__esModule', { value: true });
100
-
101
- }));
package/lib/components.js DELETED
@@ -1,9 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var components$1 = require('ll-plus/lib/components');
6
-
7
- var components = [components$1.LlIcon];
8
-
9
- exports.default = components;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.addUnit = void 0;
4
- const addUnit = (val) => {
5
- return typeof val === 'string' ? val : val + 'px';
6
- };
7
- exports.addUnit = addUnit;
Binary file
Binary file
Binary file
@@ -1,34 +0,0 @@
1
- import Icon from './src/icon.vue';
2
- export declare const LlIcon: import("ll-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
3
- readonly size: import("vue").PropType<string | number>;
4
- readonly color: StringConstructor;
5
- }, {
6
- props: import("@vue/shared").LooseRequired<{
7
- readonly size?: string | number;
8
- readonly color?: string;
9
- } & {}>;
10
- bem: {
11
- b: (blockSuffix?: string) => string;
12
- e: (element?: string) => string;
13
- m: (modifier?: string) => string;
14
- be: (blockSuffix?: string, element?: string) => string;
15
- em: (element: string, modifier: string) => string;
16
- bm: (blockSuffix: string, modifier: string) => string;
17
- bem: (blockSuffix: string, element: string, modifier: string) => string;
18
- is: (name?: string) => string;
19
- };
20
- style: import("vue").ComputedRef<{
21
- 'font-size'?: string;
22
- color?: string;
23
- }>;
24
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
- readonly size: import("vue").PropType<string | number>;
26
- readonly color: StringConstructor;
27
- }>>, {}, {}>>;
28
- export default LlIcon;
29
- export * from './src/icon';
30
- declare module 'vue' {
31
- interface GlobalComponents {
32
- LlIcon: typeof Icon;
33
- }
34
- }
@@ -1,6 +0,0 @@
1
- import { ExtractPropTypes, PropType } from 'vue';
2
- export declare const iconProps: {
3
- readonly size: PropType<string | number>;
4
- readonly color: StringConstructor;
5
- };
6
- export type IconProps = ExtractPropTypes<typeof iconProps>;
@@ -1,27 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- readonly size: import("vue").PropType<string | number>;
3
- readonly color: StringConstructor;
4
- }, {
5
- props: import("@vue/shared").LooseRequired<{
6
- readonly size?: string | number;
7
- readonly color?: string;
8
- } & {}>;
9
- bem: {
10
- b: (blockSuffix?: string) => string;
11
- e: (element?: string) => string;
12
- m: (modifier?: string) => string;
13
- be: (blockSuffix?: string, element?: string) => string;
14
- em: (element: string, modifier: string) => string;
15
- bm: (blockSuffix: string, modifier: string) => string;
16
- bem: (blockSuffix: string, element: string, modifier: string) => string;
17
- is: (name?: string) => string;
18
- };
19
- style: import("vue").ComputedRef<{
20
- 'font-size'?: string;
21
- color?: string;
22
- }>;
23
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
- readonly size: import("vue").PropType<string | number>;
25
- readonly color: StringConstructor;
26
- }>>, {}, {}>;
27
- export default _default;
@@ -1 +0,0 @@
1
- export * from './icon';
File without changes
File without changes
File without changes
File without changes