@cmeslib/components 0.1.0

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 (39) hide show
  1. package/es/components/DemoButton/index.mjs +7 -0
  2. package/es/components/DemoButton/index.mjs.map +1 -0
  3. package/es/components/DemoButton/src/button.vue.mjs +6 -0
  4. package/es/components/DemoButton/src/button.vue.mjs.map +1 -0
  5. package/es/components/DemoButton/src/button.vue2.mjs +30 -0
  6. package/es/components/DemoButton/src/button.vue2.mjs.map +1 -0
  7. package/es/components/DemoPanel/index.mjs +7 -0
  8. package/es/components/DemoPanel/index.mjs.map +1 -0
  9. package/es/components/DemoPanel/src/panel.vue.mjs +7 -0
  10. package/es/components/DemoPanel/src/panel.vue.mjs.map +1 -0
  11. package/es/components/DemoPanel/src/panel.vue2.mjs +30 -0
  12. package/es/components/DemoPanel/src/panel.vue2.mjs.map +1 -0
  13. package/es/components/index.mjs +5 -0
  14. package/es/components/index.mjs.map +1 -0
  15. package/es/directives/index.mjs +6 -0
  16. package/es/directives/index.mjs.map +1 -0
  17. package/es/index.css +7 -0
  18. package/es/index.mjs +6 -0
  19. package/es/index.mjs.map +1 -0
  20. package/lib/components/DemoButton/index.js +12 -0
  21. package/lib/components/DemoButton/index.js.map +1 -0
  22. package/lib/components/DemoButton/src/button.vue.js +10 -0
  23. package/lib/components/DemoButton/src/button.vue.js.map +1 -0
  24. package/lib/components/DemoButton/src/button.vue2.js +34 -0
  25. package/lib/components/DemoButton/src/button.vue2.js.map +1 -0
  26. package/lib/components/DemoPanel/index.js +12 -0
  27. package/lib/components/DemoPanel/index.js.map +1 -0
  28. package/lib/components/DemoPanel/src/panel.vue.js +11 -0
  29. package/lib/components/DemoPanel/src/panel.vue.js.map +1 -0
  30. package/lib/components/DemoPanel/src/panel.vue2.js +34 -0
  31. package/lib/components/DemoPanel/src/panel.vue2.js.map +1 -0
  32. package/lib/components/index.js +12 -0
  33. package/lib/components/index.js.map +1 -0
  34. package/lib/directives/index.js +8 -0
  35. package/lib/directives/index.js.map +1 -0
  36. package/lib/index.css +7 -0
  37. package/lib/index.js +14 -0
  38. package/lib/index.js.map +1 -0
  39. package/package.json +27 -0
@@ -0,0 +1,7 @@
1
+ import './src/button.vue.mjs';
2
+ import script from './src/button.vue2.mjs';
3
+
4
+
5
+
6
+ export { script as DemoButton, script as default };
7
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,6 @@
1
+ import script from './button.vue2.mjs';
2
+
3
+ script.__file = "packages/cmeslib-components/components/DemoButton/src/button.vue";
4
+
5
+ export { script as default };
6
+ //# sourceMappingURL=button.vue.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -0,0 +1,30 @@
1
+ import { defineComponent, createBlock, openBlock, unref, withCtx, createTextVNode } from 'vue';
2
+ import { ElButton } from 'element-plus';
3
+
4
+ var script = /* @__PURE__ */ defineComponent({
5
+ __name: "button",
6
+ props: {
7
+ type: { type: String, required: false }
8
+ },
9
+ setup(__props) {
10
+ const handleClick = () => {
11
+ console.log("Button clicked");
12
+ };
13
+ return (_ctx, _cache) => {
14
+ return openBlock(), createBlock(unref(ElButton), { onClick: handleClick }, {
15
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
16
+ createTextVNode(
17
+ "this is ele-button",
18
+ -1
19
+ /* CACHED */
20
+ )
21
+ ])]),
22
+ _: 1
23
+ /* STABLE */
24
+ });
25
+ };
26
+ }
27
+ });
28
+
29
+ export { script as default };
30
+ //# sourceMappingURL=button.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.vue2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,7 @@
1
+ import './src/panel.vue.mjs';
2
+ import script from './src/panel.vue2.mjs';
3
+
4
+
5
+
6
+ export { script as DemoPanel, script as default };
7
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -0,0 +1,7 @@
1
+ import script from './panel.vue2.mjs';
2
+
3
+ script.__scopeId = "data-v-0760eaf7";
4
+ script.__file = "packages/cmeslib-components/components/DemoPanel/src/panel.vue";
5
+
6
+ export { script as default };
7
+ //# sourceMappingURL=panel.vue.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panel.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -0,0 +1,30 @@
1
+ import { defineComponent, createElementBlock, openBlock, createVNode, unref, withCtx, createTextVNode } from 'vue';
2
+ import { ElButton } from 'element-plus';
3
+
4
+ const _hoisted_1 = { class: "content" };
5
+ var script = /* @__PURE__ */ defineComponent({
6
+ __name: "panel",
7
+ props: {
8
+ type: { type: String, required: false }
9
+ },
10
+ setup(__props) {
11
+ return (_ctx, _cache) => {
12
+ return openBlock(), createElementBlock("div", _hoisted_1, [
13
+ createVNode(unref(ElButton), null, {
14
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [
15
+ createTextVNode(
16
+ "Demo Panel Button",
17
+ -1
18
+ /* CACHED */
19
+ )
20
+ ])]),
21
+ _: 1
22
+ /* STABLE */
23
+ })
24
+ ]);
25
+ };
26
+ }
27
+ });
28
+
29
+ export { script as default };
30
+ //# sourceMappingURL=panel.vue2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panel.vue2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,5 @@
1
+ import './DemoButton/src/button.vue.mjs';
2
+ export { default as DemoButton } from './DemoButton/src/button.vue2.mjs';
3
+ import './DemoPanel/src/panel.vue.mjs';
4
+ export { default as DemoPanel } from './DemoPanel/src/panel.vue2.mjs';
5
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
@@ -0,0 +1,6 @@
1
+ function DemoDirective() {
2
+ console.log("DemoDirective initialized");
3
+ }
4
+
5
+ export { DemoDirective };
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
package/es/index.css ADDED
@@ -0,0 +1,7 @@
1
+ .content {
2
+ color: red;
3
+ }
4
+
5
+ .content[data-v-0760eaf7] {
6
+ padding: 16px;
7
+ }
package/es/index.mjs ADDED
@@ -0,0 +1,6 @@
1
+ export { DemoDirective } from './directives/index.mjs';
2
+ import './components/DemoButton/src/button.vue.mjs';
3
+ export { default as DemoButton } from './components/DemoButton/src/button.vue2.mjs';
4
+ import './components/DemoPanel/src/panel.vue.mjs';
5
+ export { default as DemoPanel } from './components/DemoPanel/src/panel.vue2.mjs';
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ require('./src/button.vue.js');
6
+ var button_vue_vue_type_script_setup_true_lang = require('./src/button.vue2.js');
7
+
8
+
9
+
10
+ exports.DemoButton = button_vue_vue_type_script_setup_true_lang.default;
11
+ exports.default = button_vue_vue_type_script_setup_true_lang.default;
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -0,0 +1,10 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var button_vue_vue_type_script_setup_true_lang = require('./button.vue2.js');
6
+
7
+ button_vue_vue_type_script_setup_true_lang.default.__file = "packages/cmeslib-components/components/DemoButton/src/button.vue";
8
+
9
+ exports.default = button_vue_vue_type_script_setup_true_lang.default;
10
+ //# sourceMappingURL=button.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -0,0 +1,34 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var elementPlus = require('element-plus');
7
+
8
+ var script = /* @__PURE__ */ vue.defineComponent({
9
+ __name: "button",
10
+ props: {
11
+ type: { type: String, required: false }
12
+ },
13
+ setup(__props) {
14
+ const handleClick = () => {
15
+ console.log("Button clicked");
16
+ };
17
+ return (_ctx, _cache) => {
18
+ return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElButton), { onClick: handleClick }, {
19
+ default: vue.withCtx(() => [..._cache[0] || (_cache[0] = [
20
+ vue.createTextVNode(
21
+ "this is ele-button",
22
+ -1
23
+ /* CACHED */
24
+ )
25
+ ])]),
26
+ _: 1
27
+ /* STABLE */
28
+ });
29
+ };
30
+ }
31
+ });
32
+
33
+ exports.default = script;
34
+ //# sourceMappingURL=button.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ require('./src/panel.vue.js');
6
+ var panel_vue_vue_type_script_setup_true_lang = require('./src/panel.vue2.js');
7
+
8
+
9
+
10
+ exports.DemoPanel = panel_vue_vue_type_script_setup_true_lang.default;
11
+ exports.default = panel_vue_vue_type_script_setup_true_lang.default;
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -0,0 +1,11 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var panel_vue_vue_type_script_setup_true_lang = require('./panel.vue2.js');
6
+
7
+ panel_vue_vue_type_script_setup_true_lang.default.__scopeId = "data-v-0760eaf7";
8
+ panel_vue_vue_type_script_setup_true_lang.default.__file = "packages/cmeslib-components/components/DemoPanel/src/panel.vue";
9
+
10
+ exports.default = panel_vue_vue_type_script_setup_true_lang.default;
11
+ //# sourceMappingURL=panel.vue.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panel.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
@@ -0,0 +1,34 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var vue = require('vue');
6
+ var elementPlus = require('element-plus');
7
+
8
+ const _hoisted_1 = { class: "content" };
9
+ var script = /* @__PURE__ */ vue.defineComponent({
10
+ __name: "panel",
11
+ props: {
12
+ type: { type: String, required: false }
13
+ },
14
+ setup(__props) {
15
+ return (_ctx, _cache) => {
16
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
17
+ vue.createVNode(vue.unref(elementPlus.ElButton), null, {
18
+ default: vue.withCtx(() => [..._cache[0] || (_cache[0] = [
19
+ vue.createTextVNode(
20
+ "Demo Panel Button",
21
+ -1
22
+ /* CACHED */
23
+ )
24
+ ])]),
25
+ _: 1
26
+ /* STABLE */
27
+ })
28
+ ]);
29
+ };
30
+ }
31
+ });
32
+
33
+ exports.default = script;
34
+ //# sourceMappingURL=panel.vue2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"panel.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ require('./DemoButton/src/button.vue.js');
4
+ var button_vue_vue_type_script_setup_true_lang = require('./DemoButton/src/button.vue2.js');
5
+ require('./DemoPanel/src/panel.vue.js');
6
+ var panel_vue_vue_type_script_setup_true_lang = require('./DemoPanel/src/panel.vue2.js');
7
+
8
+
9
+
10
+ exports.DemoButton = button_vue_vue_type_script_setup_true_lang.default;
11
+ exports.DemoPanel = panel_vue_vue_type_script_setup_true_lang.default;
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ function DemoDirective() {
4
+ console.log("DemoDirective initialized");
5
+ }
6
+
7
+ exports.DemoDirective = DemoDirective;
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/lib/index.css ADDED
@@ -0,0 +1,7 @@
1
+ .content {
2
+ color: red;
3
+ }
4
+
5
+ .content[data-v-0760eaf7] {
6
+ padding: 16px;
7
+ }
package/lib/index.js ADDED
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var index = require('./directives/index.js');
4
+ require('./components/DemoButton/src/button.vue.js');
5
+ var button_vue_vue_type_script_setup_true_lang = require('./components/DemoButton/src/button.vue2.js');
6
+ require('./components/DemoPanel/src/panel.vue.js');
7
+ var panel_vue_vue_type_script_setup_true_lang = require('./components/DemoPanel/src/panel.vue2.js');
8
+
9
+
10
+
11
+ exports.DemoDirective = index.DemoDirective;
12
+ exports.DemoButton = button_vue_vue_type_script_setup_true_lang.default;
13
+ exports.DemoPanel = panel_vue_vue_type_script_setup_true_lang.default;
14
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
package/package.json ADDED
@@ -0,0 +1,27 @@
1
+ {
2
+ "name": "@cmeslib/components",
3
+ "version": "0.1.0",
4
+ "description": "",
5
+ "main": "lib/index.js",
6
+ "module": "es/index.mjs",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./es/index.mjs",
10
+ "require": "./lib/index.js"
11
+ }
12
+ },
13
+ "keywords": [],
14
+ "author": "",
15
+ "license": "ISC",
16
+ "devDependencies": {
17
+ "element-plus": "2.11.1",
18
+ "vue": "3.2.47"
19
+ },
20
+ "peerDependencies": {
21
+ "element-plus": "2.11.1",
22
+ "vue": "3.2.47"
23
+ },
24
+ "scripts": {
25
+ "test": "echo \"Error: no test specified\" && exit 1"
26
+ }
27
+ }