cloudcc-cli 2.3.2 → 2.3.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/.claude/settings.json +18 -2
- package/.cloudcc-cache.json +17 -1
- package/.cursor/skills/{cloudcc-cli-usage → cloudcc-dev-usage}/SKILL.md +3 -2
- package/README.md +22 -0
- package/bin/index.js +2 -0
- package/build/{component-CCPlugin1774500425584.common.js → component-cc-cc-dd.common.js} +25 -25
- package/build/component-cc-cc-dd.common.js.map +1 -0
- package/build/component-cc-cc-dd.css +1 -0
- package/build/{component-CCPlugin1774500425584.umd.js → component-cc-cc-dd.umd.js} +27 -27
- package/build/component-cc-cc-dd.umd.js.map +1 -0
- package/build/{component-CCPlugin1774500425584.umd.min.js → component-cc-cc-dd.umd.min.js} +3 -3
- package/build/component-cc-cc-dd.umd.min.js.map +1 -0
- package/build/demo.html +1 -1
- package/package.json +3 -2
- package/plugins/cc-cc-dd/cc-cc-dd.vue +32 -0
- package/plugins/cc-cc-dd/components/HelloWorld.vue +11 -0
- package/plugins/cc-cc-dd/config.json +6 -0
- package/src/classes/docs/devguide.md +90 -0
- package/src/fields/create.js +12 -0
- package/src/globalSelectList/docs/devguide.md +0 -59
- package/src/menu/create-object.js +1 -0
- package/src/menu/create-page.js +1 -0
- package/src/menu/create-script.js +1 -0
- package/src/menu/create-site.js +1 -0
- package/src/menu/docs/devguide.md +57 -131
- package/src/object/create.js +2 -1
- package/src/object/docs/devguide.md +1 -5
- package/src/pagelayout/create.js +2 -2
- package/src/pagelayout/delete.js +57 -0
- package/src/pagelayout/docs/devguide.md +17 -229
- package/src/pagelayout/get.js +9 -9
- package/src/pagelayout/index.js +1 -0
- package/src/plugin/docs/devguide.md +90 -17
- package/src/profile/docs/devguide.md +3 -258
- package/src/role/create.js +2 -1
- package/src/role/delete.js +1 -0
- package/src/role/docs/devguide.md +5 -311
- package/src/timer/docs/devguide.md +83 -1
- package/src/triggers/docs/devguide.md +108 -0
- package/src/user/create.js +502 -19
- package/src/user/docs/devguide.md +22 -534
- package/src/validationRule/create.js +153 -0
- package/src/validationRule/delete.js +60 -0
- package/src/validationRule/doc.js +46 -0
- package/src/validationRule/docs/devguide.md +76 -0
- package/src/validationRule/docs/introduction.md +122 -0
- package/src/validationRule/get.js +47 -0
- package/src/validationRule/index.js +10 -0
- package/build/component-CCPlugin1774500425584.common.js.map +0 -1
- package/build/component-CCPlugin1774500425584.css +0 -1
- package/build/component-CCPlugin1774500425584.umd.js.map +0 -1
- package/build/component-CCPlugin1774500425584.umd.min.js.map +0 -1
- package/tmp_customsetting_detail.json +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["component-
|
|
1
|
+
(function(e,t){"object"===typeof exports&&"object"===typeof module?module.exports=t(require("vue")):"function"===typeof define&&define.amd?define([],t):"object"===typeof exports?exports["component-cc-cc-dd"]=t(require("vue")):e["component-cc-cc-dd"]=t(e["Vue"])})("undefined"!==typeof self?self:this,e=>(()=>{"use strict";var t={274(t){t.exports=e}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var c=n[e]={exports:{}};return t[e](c,c.exports,o),c.exports}(()=>{o.n=e=>{var t=e&&e.__esModule?()=>e["default"]:()=>e;return o.d(t,{a:t}),t}})(),(()=>{o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}})(),(()=>{o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)})(),(()=>{o.p=""})();var r={};if("undefined"!==typeof window){var c=window.document.currentScript,a=c&&c.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(o.p=a[1])}var i=o(274),s=o.n(i);function u(e,t){return e.__proto__=t,e}
|
|
2
2
|
/**
|
|
3
3
|
* vue-custom-element v3.3.0
|
|
4
4
|
* (c) 2021 Karol Fabjańczuk
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
|
-
Object.setPrototypeOf=Object.setPrototypeOf||s;s.bind(Object);function l(){return"undefined"!==typeof Symbol&&"undefined"!==typeof Reflect&&"undefined"!==typeof Proxy&&!Object.isSealed(Proxy)}var f=l(),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function m(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!==typeof customElements){if(f){var n=function(e){function n(e){var t;p(this,n);var o=_(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),c=e?HTMLElement.call(e):o;return r.call(c),t=c,_(o,t)}return h(n,e),d(n,null,[{key:"observedAttributes",get:function(){return t.observedAttributes||[]}}]),n}(m);return n.prototype.connectedCallback=c,n.prototype.disconnectedCallback=a,n.prototype.attributeChangedCallback=i,u(e,n),n}var o=function(e){var t=e?HTMLElement.call(e):this;return r.call(t),t};return o.observedAttributes=t.observedAttributes||[],o.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:o}}),o.prototype.connectedCallback=c,o.prototype.disconnectedCallback=a,o.prototype.attributeChangedCallback=i,u(e,o),o}function r(){!0===t.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"===typeof t.constructorCallback&&t.constructorCallback.call(this)}function c(){"function"===typeof t.connectedCallback&&t.connectedCallback.call(this)}function a(){"function"===typeof t.disconnectedCallback&&t.disconnectedCallback.call(this)}function i(e,n,o){"function"===typeof t.attributeChangedCallback&&t.attributeChangedCallback.call(this,e,n,o)}function u(e,t){var n=customElements.get(e);return"undefined"!==typeof n?n:customElements.define(e,t)}}Object.setPrototypeOf(m.prototype,HTMLElement.prototype),Object.setPrototypeOf(m,HTMLElement);var y=/-(\w)/g,b=function(e){return e.replace(y,function(e,t){return t?t.toUpperCase():""})},C=/([^-])([A-Z])/g,w=function(e){return e.replace(C,"$1-$2").replace(C,"$1-$2").toLowerCase()};function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.length-t,o=new Array(n);while(n--)o[n]=e[n+t];return o}var E="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function k(e,t){if(null===e||void 0===e)return t!==Boolean&&void 0;var n=e,o=["true","false"].indexOf(e)>-1,r=parseFloat(n,10),c=!isNaN(r)&&isFinite(n)&&"string"===typeof n&&!n.match(/^0+[^.]\d*$/g);return t&&t!==Boolean&&("undefined"===typeof n?"undefined":E(n))!==t?n=t(e):o||t===Boolean?n=""===n||("true"===n||!0===n):c&&(n=r),n}function T(e,t){if(e&&e.length)e.forEach(function(e){var n=b(e);-1===t.camelCase.indexOf(n)&&t.camelCase.push(n)});else if(e&&"object"===("undefined"===typeof e?"undefined":E(e)))for(var n in e){var o=b(n);-1===t.camelCase.indexOf(o)&&t.camelCase.push(o),e[o]&&e[o].type&&(t.types[n]=[].concat(e[o].type)[0])}}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={camelCase:[],hyphenate:[],types:{}};if(e.mixins&&e.mixins.forEach(function(e){T(e.props,t)}),e.extends&&e.extends.props){var n=e.extends.props;T(n,t)}return T(e.props,t),t.camelCase.forEach(function(e){t.hyphenate.push(w(e))}),t}function O(e,t){t.camelCase.forEach(function(n,o){Object.defineProperty(e,n,{get:function(){return this.__vue_custom_element__[n]},set:function(e){if("object"!==("undefined"===typeof e?"undefined":E(e))&&"function"!==typeof e||!this.__vue_custom_element__){var n=t.types[t.camelCase[o]];this.setAttribute(t.hyphenate[o],k(e,n))}else{var r=t.camelCase[o];this.__vue_custom_element__[r]=e}}})})}function P(e,t,n){var o=t.propsData||{};return n.hyphenate.forEach(function(t,r){var c=n.camelCase[r],a=e.attributes[t]||e[c],i=null;n.types[c]&&(i=n.types[c]),a instanceof Attr?o[c]=k(a.value,i):"undefined"!==typeof a&&(o[c]=a)}),o}function j(e){var t={};return g(e.attributes).forEach(function(e){t["vue-slot"===e.nodeName?"slot":e.nodeName]=e.nodeValue}),t}function N(e){if(e.childNodes.length)return e.childNodes;if(e.content&&e.content.childNodes&&e.content.childNodes.length)return e.content.childNodes;var t=document.createElement("div");return t.innerHTML=e.innerHTML,t.childNodes}function H(e,t,n){var o=N(t),r=g(o).map(function(t){return"#text"===t.nodeName?t.nodeValue:e(t.tagName,{attrs:j(t),domProps:{innerHTML:t.innerHTML}})});return n.slot=t.id,e("template",n,r)}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=[];return g(e).forEach(function(e){if("#text"===e.nodeName)e.nodeValue.trim()&&n.push(t("span",e.nodeValue));else if("#comment"!==e.nodeName){var o=j(e),r={attrs:o,domProps:{innerHTML:""===e.innerHTML?e.innerText:e.innerHTML}};o.slot&&(r.slot=o.slot,o.slot=void 0);var c="TEMPLATE"===e.tagName?H(t,e,r):t(e.tagName,r);n.push(c)}}),n}function M(e,t){var n={bubbles:!1,cancelable:!1,detail:t},o=void 0;return"function"===typeof window.CustomEvent?o=new CustomEvent(e,n):(o=document.createEvent("CustomEvent"),o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail)),o}function $(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var c=M(t,[].concat(o));e.dispatchEvent(c)}function S(e,t,n,o,r){if(e.__vue_custom_element__)return Promise.resolve(e);var c=t.util.extend({},n),a=P(e,c,o),i=t.version&&parseInt(t.version.split(".")[0],10)||0;function u(){this.$emit=function(){for(var t,n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];$.apply(void 0,[e].concat(o)),this.__proto__&&(t=this.__proto__.$emit).call.apply(t,[this].concat(o))}}if(c.beforeCreate=[].concat(c.beforeCreate||[],u),c._compiled){var s={},l=c._Ctor;l&&(s=Object.keys(l).map(function(e){return l[e]})[0].options),s.beforeCreate=c.beforeCreate}var f=void 0;if(i>=2){var d=e.cloneNode(!0).childNodes;f={propsData:a,props:o.camelCase,computed:{reactiveProps:function(){var e=this,t={};return o.camelCase.forEach(function(n){"undefined"!==typeof e[n]&&(t[n]=e[n])}),t}},render:function(e){var t={props:this.reactiveProps};return e(c,t,L(d,e))}}}else if(1===i)f=c,f.propsData=a;else{f=c;var p={};Object.keys(a).forEach(function(e){p[e]={default:a[e]}}),f.props=p}var _=i>=2?"<div></div>":("<div>"+e.innerHTML+"</div>").replace(/vue-slot=/g,"slot=");if(r.shadow&&e.shadowRoot?(e.shadowRoot.innerHTML=_,f.el=e.shadowRoot.children[0]):(e.innerHTML=_,f.el=e.children[0]),r.shadow&&r.shadowCss&&e.shadowRoot){var h=document.createElement("style");h.type="text/css",h.appendChild(document.createTextNode(r.shadowCss)),e.shadowRoot.appendChild(h)}return O(e,o),"function"===typeof r.beforeCreateVueInstance&&(f=r.beforeCreateVueInstance(f)||f),Promise.resolve(f).then(function(n){return e.__vue_custom_element__=new t(n),e.__vue_custom_element_props__=o,e.getVueInstance=function(){var t=e.__vue_custom_element__;return t.$children.length?t.$children[0]:t},e.removeAttribute("vce-cloak"),e.setAttribute("vce-ready",""),$(e,"vce-ready"),e})}function A(e){e.customElement=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="function"===typeof n,c=r&&{props:o.props||[]},a=x(r?c:n),i=v(t,{constructorCallback:function(){"function"===typeof o.constructorCallback&&o.constructorCallback.call(this)},connectedCallback:function(){var c=this,i=r&&n(),u=i&&i.then&&"function"===typeof i.then;if("function"===typeof o.connectedCallback&&o.connectedCallback.call(this),r&&!u)throw new Error("Async component "+t+" do not returns Promise");this.__detached__||(u?i.then(function(t){var n=x(t);S(c,e,t,n,o).then(function(){"function"===typeof o.vueInstanceCreatedCallback&&o.vueInstanceCreatedCallback.call(c)})}):S(this,e,n,a,o).then(function(){"function"===typeof o.vueInstanceCreatedCallback&&o.vueInstanceCreatedCallback.call(c)})),this.__detached__=!1},disconnectedCallback:function(){var e=this;this.__detached__=!0,"function"===typeof o.disconnectedCallback&&o.disconnectedCallback.call(this),null!==o.destroyTimeout&&setTimeout(function(){e.__detached__&&e.__vue_custom_element__&&(e.__detached__=!1,e.__vue_custom_element__.$destroy(!0),delete e.__vue_custom_element__,delete e.__vue_custom_element_props__)},o.destroyTimeout||3e3)},attributeChangedCallback:function(e,t,n){if(this.__vue_custom_element__&&"undefined"!==typeof n){var r=b(e);"function"===typeof o.attributeChangedCallback&&o.attributeChangedCallback.call(this,e,t,n);var c=this.__vue_custom_element_props__.types[r];this.__vue_custom_element__[r]=k(n,c)}},observedAttributes:a.hyphenate,shadow:!!o.shadow&&!!HTMLElement.prototype.attachShadow});return i}}"undefined"!==typeof window&&window.Vue&&(window.Vue.use(A),A.installed&&(A.installed=!1));const R=A;var V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"cc-container"},[n("HelloWorld")],1)},I=[],D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._v("Hello world")])},B=[];const F={},U=F;function q(e,t,n,o,r,c,a,i){var u,s="function"===typeof e?e.options:e;if(t&&(s.render=t,s.staticRenderFns=n,s._compiled=!0),o&&(s.functional=!0),c&&(s._scopeId="data-v-"+c),a?(u=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},s._ssrRegister=u):r&&(u=i?function(){r.call(this,(s.functional?this.parent:this).$root.$options.shadowRoot)}:r),u)if(s.functional){s._injectStyles=u;var l=s.render;s.render=function(e,t){return u.call(t),l(e,t)}}else{var f=s.beforeCreate;s.beforeCreate=f?[].concat(f,u):[u]}return{exports:e,options:s}}var W=q(U,D,B,!1,null,"0ad47a6b",null);const X=W.exports,Z={components:{HelloWorld:X},data(){return{componentInfo:{component:"component-CCPlugin1774500425584",compName:"compName-CCPlugin1774500425584",compDesc:"Component description information"}}}},z=Z;var G=q(z,V,I,!1,null,"45cf9904",null);const J=G.exports;return u().use(R),u().customElement("component-CCPlugin1774500425584",J,{destroyTimeout:12e5}),r})());
|
|
8
|
-
//# sourceMappingURL=component-
|
|
7
|
+
Object.setPrototypeOf=Object.setPrototypeOf||u;u.bind(Object);function l(){return"undefined"!==typeof Symbol&&"undefined"!==typeof Reflect&&"undefined"!==typeof Proxy&&!Object.isSealed(Proxy)}var f=l(),d=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function h(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function m(){return Reflect.construct(HTMLElement,[],this.__proto__.constructor)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("undefined"!==typeof customElements){if(f){var n=function(e){function n(e){var t;p(this,n);var o=_(this,(n.__proto__||Object.getPrototypeOf(n)).call(this)),c=e?HTMLElement.call(e):o;return r.call(c),t=c,_(o,t)}return h(n,e),d(n,null,[{key:"observedAttributes",get:function(){return t.observedAttributes||[]}}]),n}(m);return n.prototype.connectedCallback=c,n.prototype.disconnectedCallback=a,n.prototype.attributeChangedCallback=i,s(e,n),n}var o=function(e){var t=e?HTMLElement.call(e):this;return r.call(t),t};return o.observedAttributes=t.observedAttributes||[],o.prototype=Object.create(HTMLElement.prototype,{constructor:{configurable:!0,writable:!0,value:o}}),o.prototype.connectedCallback=c,o.prototype.disconnectedCallback=a,o.prototype.attributeChangedCallback=i,s(e,o),o}function r(){!0===t.shadow&&HTMLElement.prototype.attachShadow&&this.attachShadow({mode:"open"}),"function"===typeof t.constructorCallback&&t.constructorCallback.call(this)}function c(){"function"===typeof t.connectedCallback&&t.connectedCallback.call(this)}function a(){"function"===typeof t.disconnectedCallback&&t.disconnectedCallback.call(this)}function i(e,n,o){"function"===typeof t.attributeChangedCallback&&t.attributeChangedCallback.call(this,e,n,o)}function s(e,t){var n=customElements.get(e);return"undefined"!==typeof n?n:customElements.define(e,t)}}Object.setPrototypeOf(m.prototype,HTMLElement.prototype),Object.setPrototypeOf(m,HTMLElement);var y=/-(\w)/g,b=function(e){return e.replace(y,function(e,t){return t?t.toUpperCase():""})},C=/([^-])([A-Z])/g,w=function(e){return e.replace(C,"$1-$2").replace(C,"$1-$2").toLowerCase()};function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.length-t,o=new Array(n);while(n--)o[n]=e[n+t];return o}var g="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function k(e,t){if(null===e||void 0===e)return t!==Boolean&&void 0;var n=e,o=["true","false"].indexOf(e)>-1,r=parseFloat(n,10),c=!isNaN(r)&&isFinite(n)&&"string"===typeof n&&!n.match(/^0+[^.]\d*$/g);return t&&t!==Boolean&&("undefined"===typeof n?"undefined":g(n))!==t?n=t(e):o||t===Boolean?n=""===n||("true"===n||!0===n):c&&(n=r),n}function T(e,t){if(e&&e.length)e.forEach(function(e){var n=b(e);-1===t.camelCase.indexOf(n)&&t.camelCase.push(n)});else if(e&&"object"===("undefined"===typeof e?"undefined":g(e)))for(var n in e){var o=b(n);-1===t.camelCase.indexOf(o)&&t.camelCase.push(o),e[o]&&e[o].type&&(t.types[n]=[].concat(e[o].type)[0])}}function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={camelCase:[],hyphenate:[],types:{}};if(e.mixins&&e.mixins.forEach(function(e){T(e.props,t)}),e.extends&&e.extends.props){var n=e.extends.props;T(n,t)}return T(e.props,t),t.camelCase.forEach(function(e){t.hyphenate.push(w(e))}),t}function O(e,t){t.camelCase.forEach(function(n,o){Object.defineProperty(e,n,{get:function(){return this.__vue_custom_element__[n]},set:function(e){if("object"!==("undefined"===typeof e?"undefined":g(e))&&"function"!==typeof e||!this.__vue_custom_element__){var n=t.types[t.camelCase[o]];this.setAttribute(t.hyphenate[o],k(e,n))}else{var r=t.camelCase[o];this.__vue_custom_element__[r]=e}}})})}function j(e,t,n){var o=t.propsData||{};return n.hyphenate.forEach(function(t,r){var c=n.camelCase[r],a=e.attributes[t]||e[c],i=null;n.types[c]&&(i=n.types[c]),a instanceof Attr?o[c]=k(a.value,i):"undefined"!==typeof a&&(o[c]=a)}),o}function N(e){var t={};return E(e.attributes).forEach(function(e){t["vue-slot"===e.nodeName?"slot":e.nodeName]=e.nodeValue}),t}function H(e){if(e.childNodes.length)return e.childNodes;if(e.content&&e.content.childNodes&&e.content.childNodes.length)return e.content.childNodes;var t=document.createElement("div");return t.innerHTML=e.innerHTML,t.childNodes}function P(e,t,n){var o=H(t),r=E(o).map(function(t){return"#text"===t.nodeName?t.nodeValue:e(t.tagName,{attrs:N(t),domProps:{innerHTML:t.innerHTML}})});return n.slot=t.id,e("template",n,r)}function L(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n=[];return E(e).forEach(function(e){if("#text"===e.nodeName)e.nodeValue.trim()&&n.push(t("span",e.nodeValue));else if("#comment"!==e.nodeName){var o=N(e),r={attrs:o,domProps:{innerHTML:""===e.innerHTML?e.innerText:e.innerHTML}};o.slot&&(r.slot=o.slot,o.slot=void 0);var c="TEMPLATE"===e.tagName?P(t,e,r):t(e.tagName,r);n.push(c)}}),n}function M(e,t){var n={bubbles:!1,cancelable:!1,detail:t},o=void 0;return"function"===typeof window.CustomEvent?o=new CustomEvent(e,n):(o=document.createEvent("CustomEvent"),o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail)),o}function $(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),r=2;r<n;r++)o[r-2]=arguments[r];var c=M(t,[].concat(o));e.dispatchEvent(c)}function S(e,t,n,o,r){if(e.__vue_custom_element__)return Promise.resolve(e);var c=t.util.extend({},n),a=j(e,c,o),i=t.version&&parseInt(t.version.split(".")[0],10)||0;function s(){this.$emit=function(){for(var t,n=arguments.length,o=Array(n),r=0;r<n;r++)o[r]=arguments[r];$.apply(void 0,[e].concat(o)),this.__proto__&&(t=this.__proto__.$emit).call.apply(t,[this].concat(o))}}if(c.beforeCreate=[].concat(c.beforeCreate||[],s),c._compiled){var u={},l=c._Ctor;l&&(u=Object.keys(l).map(function(e){return l[e]})[0].options),u.beforeCreate=c.beforeCreate}var f=void 0;if(i>=2){var d=e.cloneNode(!0).childNodes;f={propsData:a,props:o.camelCase,computed:{reactiveProps:function(){var e=this,t={};return o.camelCase.forEach(function(n){"undefined"!==typeof e[n]&&(t[n]=e[n])}),t}},render:function(e){var t={props:this.reactiveProps};return e(c,t,L(d,e))}}}else if(1===i)f=c,f.propsData=a;else{f=c;var p={};Object.keys(a).forEach(function(e){p[e]={default:a[e]}}),f.props=p}var _=i>=2?"<div></div>":("<div>"+e.innerHTML+"</div>").replace(/vue-slot=/g,"slot=");if(r.shadow&&e.shadowRoot?(e.shadowRoot.innerHTML=_,f.el=e.shadowRoot.children[0]):(e.innerHTML=_,f.el=e.children[0]),r.shadow&&r.shadowCss&&e.shadowRoot){var h=document.createElement("style");h.type="text/css",h.appendChild(document.createTextNode(r.shadowCss)),e.shadowRoot.appendChild(h)}return O(e,o),"function"===typeof r.beforeCreateVueInstance&&(f=r.beforeCreateVueInstance(f)||f),Promise.resolve(f).then(function(n){return e.__vue_custom_element__=new t(n),e.__vue_custom_element_props__=o,e.getVueInstance=function(){var t=e.__vue_custom_element__;return t.$children.length?t.$children[0]:t},e.removeAttribute("vce-cloak"),e.setAttribute("vce-ready",""),$(e,"vce-ready"),e})}function A(e){e.customElement=function(t,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r="function"===typeof n,c=r&&{props:o.props||[]},a=x(r?c:n),i=v(t,{constructorCallback:function(){"function"===typeof o.constructorCallback&&o.constructorCallback.call(this)},connectedCallback:function(){var c=this,i=r&&n(),s=i&&i.then&&"function"===typeof i.then;if("function"===typeof o.connectedCallback&&o.connectedCallback.call(this),r&&!s)throw new Error("Async component "+t+" do not returns Promise");this.__detached__||(s?i.then(function(t){var n=x(t);S(c,e,t,n,o).then(function(){"function"===typeof o.vueInstanceCreatedCallback&&o.vueInstanceCreatedCallback.call(c)})}):S(this,e,n,a,o).then(function(){"function"===typeof o.vueInstanceCreatedCallback&&o.vueInstanceCreatedCallback.call(c)})),this.__detached__=!1},disconnectedCallback:function(){var e=this;this.__detached__=!0,"function"===typeof o.disconnectedCallback&&o.disconnectedCallback.call(this),null!==o.destroyTimeout&&setTimeout(function(){e.__detached__&&e.__vue_custom_element__&&(e.__detached__=!1,e.__vue_custom_element__.$destroy(!0),delete e.__vue_custom_element__,delete e.__vue_custom_element_props__)},o.destroyTimeout||3e3)},attributeChangedCallback:function(e,t,n){if(this.__vue_custom_element__&&"undefined"!==typeof n){var r=b(e);"function"===typeof o.attributeChangedCallback&&o.attributeChangedCallback.call(this,e,t,n);var c=this.__vue_custom_element_props__.types[r];this.__vue_custom_element__[r]=k(n,c)}},observedAttributes:a.hyphenate,shadow:!!o.shadow&&!!HTMLElement.prototype.attachShadow});return i}}"undefined"!==typeof window&&window.Vue&&(window.Vue.use(A),A.installed&&(A.installed=!1));const R=A;var V=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"cc-container"},[n("HelloWorld")],1)},I=[],D=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e._v("Hello world")])},B=[];const F={},U=F;function q(e,t,n,o,r,c,a,i){var s,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),o&&(u.functional=!0),c&&(u._scopeId="data-v-"+c),a?(s=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(a)},u._ssrRegister=s):r&&(s=i?function(){r.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:r),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(e,t){return s.call(t),l(e,t)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:e,options:u}}var W=q(U,D,B,!1,null,"eeb0fb48",null);const X=W.exports,Z={components:{HelloWorld:X},data(){return{componentInfo:{component:"component-cc-cc-dd",compName:"compName-cc-cc-dd",compDesc:"Component description information"}}}},z=Z;var G=q(z,V,I,!1,null,"23c4d47c",null);const J=G.exports;return s().use(R),s().customElement("component-cc-cc-dd",J,{destroyTimeout:12e5}),r})());
|
|
8
|
+
//#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6Q,QAAU7Q,KAAK6Q,OAAOC,YAC3B9Q,KAAK+Q,QAAU/Q,KAAK+Q,OAAOF,QAAU7Q,KAAK+Q,OAAOF,OAAOC,WAEtDF,GAA0C,qBAAxBI,sBACrBJ,EAAUI,qBAGRX,GACFA,EAAa7O,KAAKxB,KAAM4Q,GAGtBA,GAAWA,EAAQK,uBACrBL,EAAQK,sBAAsBC,IAAIX,EAEtC,EAGAlM,EAAQ8M,aAAeV,GACdJ,IACTI,EAAOD,EACH,WACEH,EAAa7O,KACXxB,MACCqE,EAAQqM,WAAa1Q,KAAK+Q,OAAS/Q,MAAMoR,MAAMC,SAAS3D,WAE7D,EACA2C,GAGFI,EACF,GAAIpM,EAAQqM,WAAY,CAGtBrM,EAAQiN,cAAgBb,EAExB,IAAIc,EAAiBlN,EAAQgJ,OAC7BhJ,EAAQgJ,OAAS,SAAkCmE,EAAGZ,GAEpD,OADAH,EAAKjP,KAAKoP,GACHW,EAAeC,EAAGZ,EAC3B,CACF,KAAO,CAEL,IAAIa,EAAWpN,EAAQkI,aACvBlI,EAAQkI,aAAekF,EAAW,GAAG1J,OAAO0J,EAAUhB,GAAQ,CAACA,EACjE,CAGF,MAAO,CACL/Q,QAASyQ,EACT9L,QAASA,EAEb,CCxFA,IAAIqN,EAAY,EACd,EACA,EACA,GACA,EACA,KACA,WACA,MAIF,QAAeA,E,QCVf,GACAC,WAAY,CACVC,WAAU,GAEZ,IAAAtE,GACE,MAAO,CACLuE,cAAe,CAEbH,UAAW,qBAEXI,SAAU,oBAEVC,SAAU,qCAGhB,GCvBqK,ICQrK,IAAI,EAAY,EACd,EACA1E,EACA2C,GACA,EACA,KACA,WACA,MAIF,QAAe,E,eChBH,QAAQ,GAGR,kBAAkB,qBAAsB,EAAM,CAAEZ,eAAgB,O","sources":["webpack://component-cc-cc-dd/webpack/universalModuleDefinition","webpack://component-cc-cc-dd/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://component-cc-cc-dd/webpack/bootstrap","webpack://component-cc-cc-dd/webpack/runtime/compat get default export","webpack://component-cc-cc-dd/webpack/runtime/define property getters","webpack://component-cc-cc-dd/webpack/runtime/hasOwnProperty shorthand","webpack://component-cc-cc-dd/webpack/runtime/publicPath","webpack://component-cc-cc-dd/../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://component-cc-cc-dd/./node_modules/vue-custom-element/dist/vue-custom-element.esm.js","webpack://component-cc-cc-dd/./plugins/cc-cc-dd/cc-cc-dd.vue?e95c","webpack://component-cc-cc-dd/./plugins/cc-cc-dd/components/HelloWorld.vue?74c5","webpack://component-cc-cc-dd/plugins/cc-cc-dd/components/HelloWorld.vue","webpack://component-cc-cc-dd/./plugins/cc-cc-dd/components/HelloWorld.vue?89fc","webpack://component-cc-cc-dd/../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://component-cc-cc-dd/./plugins/cc-cc-dd/components/HelloWorld.vue","webpack://component-cc-cc-dd/plugins/cc-cc-dd/cc-cc-dd.vue","webpack://component-cc-cc-dd/./plugins/cc-cc-dd/cc-cc-dd.vue?d668","webpack://component-cc-cc-dd/./plugins/cc-cc-dd/cc-cc-dd.vue","webpack://component-cc-cc-dd/./plugins/plginTemp.js"],"sourcesContent":["(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"vue\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"component-cc-cc-dd\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"component-cc-cc-dd\"] = factory(root[\"Vue\"]);\n})((typeof self !== 'undefined' ? self : this), (__WEBPACK_EXTERNAL_MODULE__274__) => {\nreturn ","module.exports = __WEBPACK_EXTERNAL_MODULE__274__;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","__webpack_require__.p = \"\";","/* eslint-disable no-var */\n// This file is imported into lib/wc client bundles.\n\nif (typeof window !== 'undefined') {\n var currentScript = window.document.currentScript\n if (process.env.NEED_CURRENTSCRIPT_POLYFILL) {\n var getCurrentScript = require('@soda/get-current-script')\n currentScript = getCurrentScript()\n\n // for backward compatibility, because previously we directly included the polyfill\n if (!('currentScript' in document)) {\n Object.defineProperty(document, 'currentScript', { get: getCurrentScript })\n }\n }\n\n var src = currentScript && currentScript.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/)\n if (src) {\n __webpack_public_path__ = src[1] // eslint-disable-line\n }\n}\n\n// Indicate to webpack that this file can be concatenated\nexport default null\n","/**\n * vue-custom-element v3.3.0\n * (c) 2021 Karol Fabjańczuk\n * @license MIT\n */\n/**\n * ES6 Object.getPrototypeOf Polyfill\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf\n */\n\nObject.setPrototypeOf = Object.setPrototypeOf || setPrototypeOf;\n\nfunction setPrototypeOf(obj, proto) {\n obj.__proto__ = proto;\n return obj;\n}\n\nvar setPrototypeOf_1 = setPrototypeOf.bind(Object);\n\nfunction isES2015() {\n if (typeof Symbol === 'undefined' || typeof Reflect === 'undefined' || typeof Proxy === 'undefined' || Object.isSealed(Proxy)) return false;\n\n return true;\n}\n\nvar isES2015$1 = isES2015();\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nfunction _CustomElement() {\n return Reflect.construct(HTMLElement, [], this.__proto__.constructor);\n}\n\n\nObject.setPrototypeOf(_CustomElement.prototype, HTMLElement.prototype);\nObject.setPrototypeOf(_CustomElement, HTMLElement);\nfunction registerCustomElement(tag) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (typeof customElements === 'undefined') {\n return;\n }\n\n function constructorCallback() {\n if (options.shadow === true && HTMLElement.prototype.attachShadow) {\n this.attachShadow({ mode: 'open' });\n }\n typeof options.constructorCallback === 'function' && options.constructorCallback.call(this);\n }\n function connectedCallback() {\n typeof options.connectedCallback === 'function' && options.connectedCallback.call(this);\n }\n\n function disconnectedCallback() {\n typeof options.disconnectedCallback === 'function' && options.disconnectedCallback.call(this);\n }\n\n function attributeChangedCallback(name, oldValue, value) {\n typeof options.attributeChangedCallback === 'function' && options.attributeChangedCallback.call(this, name, oldValue, value);\n }\n\n function define(tagName, CustomElement) {\n var existingCustomElement = customElements.get(tagName);\n return typeof existingCustomElement !== 'undefined' ? existingCustomElement : customElements.define(tagName, CustomElement);\n }\n\n if (isES2015$1) {\n var CustomElement = function (_CustomElement2) {\n _inherits(CustomElement, _CustomElement2);\n\n function CustomElement(self) {\n var _ret;\n\n _classCallCheck(this, CustomElement);\n\n var _this = _possibleConstructorReturn(this, (CustomElement.__proto__ || Object.getPrototypeOf(CustomElement)).call(this));\n\n var me = self ? HTMLElement.call(self) : _this;\n\n constructorCallback.call(me);\n return _ret = me, _possibleConstructorReturn(_this, _ret);\n }\n\n _createClass(CustomElement, null, [{\n key: 'observedAttributes',\n get: function get() {\n return options.observedAttributes || [];\n }\n }]);\n\n return CustomElement;\n }(_CustomElement);\n\n CustomElement.prototype.connectedCallback = connectedCallback;\n CustomElement.prototype.disconnectedCallback = disconnectedCallback;\n CustomElement.prototype.attributeChangedCallback = attributeChangedCallback;\n\n define(tag, CustomElement);\n return CustomElement;\n } else {\n var _CustomElement3 = function _CustomElement3(self) {\n var me = self ? HTMLElement.call(self) : this;\n\n constructorCallback.call(me);\n return me;\n };\n\n _CustomElement3.observedAttributes = options.observedAttributes || [];\n\n _CustomElement3.prototype = Object.create(HTMLElement.prototype, {\n constructor: {\n configurable: true,\n writable: true,\n value: _CustomElement3\n }\n });\n\n _CustomElement3.prototype.connectedCallback = connectedCallback;\n _CustomElement3.prototype.disconnectedCallback = disconnectedCallback;\n _CustomElement3.prototype.attributeChangedCallback = attributeChangedCallback;\n\n define(tag, _CustomElement3);\n return _CustomElement3;\n }\n}\n\nvar camelizeRE = /-(\\w)/g;\nvar camelize = function camelize(str) {\n return str.replace(camelizeRE, function (_, c) {\n return c ? c.toUpperCase() : '';\n });\n};\nvar hyphenateRE = /([^-])([A-Z])/g;\nvar hyphenate = function hyphenate(str) {\n return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase();\n};\n\nfunction toArray(list) {\n var start = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret;\n}\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\nfunction convertAttributeValue(value, overrideType) {\n if (value === null || value === undefined) {\n return overrideType === Boolean ? false : undefined;\n }\n var propsValue = value;\n var isBoolean = ['true', 'false'].indexOf(value) > -1;\n var valueParsed = parseFloat(propsValue, 10);\n var isNumber = !isNaN(valueParsed) && isFinite(propsValue) && typeof propsValue === 'string' && !propsValue.match(/^0+[^.]\\d*$/g);\n\n if (overrideType && overrideType !== Boolean && (typeof propsValue === 'undefined' ? 'undefined' : _typeof(propsValue)) !== overrideType) {\n propsValue = overrideType(value);\n } else if (isBoolean || overrideType === Boolean) {\n propsValue = propsValue === '' ? true : propsValue === 'true' || propsValue === true;\n } else if (isNumber) {\n propsValue = valueParsed;\n }\n\n return propsValue;\n}\n\nfunction extractProps(collection, props) {\n if (collection && collection.length) {\n collection.forEach(function (prop) {\n var camelCaseProp = camelize(prop);\n props.camelCase.indexOf(camelCaseProp) === -1 && props.camelCase.push(camelCaseProp);\n });\n } else if (collection && (typeof collection === 'undefined' ? 'undefined' : _typeof(collection)) === 'object') {\n for (var prop in collection) {\n var camelCaseProp = camelize(prop);\n props.camelCase.indexOf(camelCaseProp) === -1 && props.camelCase.push(camelCaseProp);\n\n if (collection[camelCaseProp] && collection[camelCaseProp].type) {\n props.types[prop] = [].concat(collection[camelCaseProp].type)[0];\n }\n }\n }\n}\n\nfunction getProps() {\n var componentDefinition = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n var props = {\n camelCase: [],\n hyphenate: [],\n types: {}\n };\n\n if (componentDefinition.mixins) {\n componentDefinition.mixins.forEach(function (mixin) {\n extractProps(mixin.props, props);\n });\n }\n\n if (componentDefinition.extends && componentDefinition.extends.props) {\n var parentProps = componentDefinition.extends.props;\n\n\n extractProps(parentProps, props);\n }\n\n extractProps(componentDefinition.props, props);\n\n props.camelCase.forEach(function (prop) {\n props.hyphenate.push(hyphenate(prop));\n });\n\n return props;\n}\n\nfunction reactiveProps(element, props) {\n props.camelCase.forEach(function (name, index) {\n Object.defineProperty(element, name, {\n get: function get() {\n return this.__vue_custom_element__[name];\n },\n set: function set(value) {\n if (((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object' || typeof value === 'function') && this.__vue_custom_element__) {\n var propName = props.camelCase[index];\n this.__vue_custom_element__[propName] = value;\n } else {\n var type = props.types[props.camelCase[index]];\n this.setAttribute(props.hyphenate[index], convertAttributeValue(value, type));\n }\n }\n });\n });\n}\n\nfunction getPropsData(element, componentDefinition, props) {\n var propsData = componentDefinition.propsData || {};\n\n props.hyphenate.forEach(function (name, index) {\n var propCamelCase = props.camelCase[index];\n var propValue = element.attributes[name] || element[propCamelCase];\n\n var type = null;\n if (props.types[propCamelCase]) {\n type = props.types[propCamelCase];\n }\n\n if (propValue instanceof Attr) {\n propsData[propCamelCase] = convertAttributeValue(propValue.value, type);\n } else if (typeof propValue !== 'undefined') {\n propsData[propCamelCase] = propValue;\n }\n });\n\n return propsData;\n}\n\nfunction getAttributes(children) {\n var attributes = {};\n\n toArray(children.attributes).forEach(function (attribute) {\n attributes[attribute.nodeName === 'vue-slot' ? 'slot' : attribute.nodeName] = attribute.nodeValue;\n });\n\n return attributes;\n}\n\nfunction getChildNodes(element) {\n if (element.childNodes.length) return element.childNodes;\n if (element.content && element.content.childNodes && element.content.childNodes.length) {\n return element.content.childNodes;\n }\n\n var placeholder = document.createElement('div');\n\n placeholder.innerHTML = element.innerHTML;\n\n return placeholder.childNodes;\n}\n\nfunction templateElement(createElement, element, elementOptions) {\n var templateChildren = getChildNodes(element);\n\n var vueTemplateChildren = toArray(templateChildren).map(function (child) {\n if (child.nodeName === '#text') return child.nodeValue;\n\n return createElement(child.tagName, {\n attrs: getAttributes(child),\n domProps: {\n innerHTML: child.innerHTML\n }\n });\n });\n\n elementOptions.slot = element.id;\n\n return createElement('template', elementOptions, vueTemplateChildren);\n}\n\nfunction getSlots() {\n var children = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var createElement = arguments[1];\n\n var slots = [];\n toArray(children).forEach(function (child) {\n if (child.nodeName === '#text') {\n if (child.nodeValue.trim()) {\n slots.push(createElement('span', child.nodeValue));\n }\n } else if (child.nodeName !== '#comment') {\n var attributes = getAttributes(child);\n var elementOptions = {\n attrs: attributes,\n domProps: {\n innerHTML: child.innerHTML === '' ? child.innerText : child.innerHTML\n }\n };\n\n if (attributes.slot) {\n elementOptions.slot = attributes.slot;\n attributes.slot = undefined;\n }\n\n var slotVueElement = child.tagName === 'TEMPLATE' ? templateElement(createElement, child, elementOptions) : createElement(child.tagName, elementOptions);\n\n slots.push(slotVueElement);\n }\n });\n\n return slots;\n}\n\nfunction customEvent(eventName, detail) {\n var params = { bubbles: false, cancelable: false, detail: detail };\n var event = void 0;\n if (typeof window.CustomEvent === 'function') {\n event = new CustomEvent(eventName, params);\n } else {\n event = document.createEvent('CustomEvent');\n event.initCustomEvent(eventName, params.bubbles, params.cancelable, params.detail);\n }\n return event;\n}\n\nfunction customEmit(element, eventName) {\n for (var _len = arguments.length, args = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {\n args[_key - 2] = arguments[_key];\n }\n\n var event = customEvent(eventName, [].concat(args));\n element.dispatchEvent(event);\n}\n\nfunction createVueInstance(element, Vue, componentDefinition, props, options) {\n if (element.__vue_custom_element__) {\n return Promise.resolve(element);\n }\n var ComponentDefinition = Vue.util.extend({}, componentDefinition);\n var propsData = getPropsData(element, ComponentDefinition, props);\n var vueVersion = Vue.version && parseInt(Vue.version.split('.')[0], 10) || 0;\n\n function beforeCreate() {\n this.$emit = function emit() {\n var _proto__$$emit;\n\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n customEmit.apply(undefined, [element].concat(args));\n this.__proto__ && (_proto__$$emit = this.__proto__.$emit).call.apply(_proto__$$emit, [this].concat(args));\n };\n }\n ComponentDefinition.beforeCreate = [].concat(ComponentDefinition.beforeCreate || [], beforeCreate);\n\n if (ComponentDefinition._compiled) {\n var constructorOptions = {};\n var _constructor = ComponentDefinition._Ctor;\n if (_constructor) {\n constructorOptions = Object.keys(_constructor).map(function (key) {\n return _constructor[key];\n })[0].options;\n }\n constructorOptions.beforeCreate = ComponentDefinition.beforeCreate;\n }\n\n var rootElement = void 0;\n\n if (vueVersion >= 2) {\n var elementOriginalChildren = element.cloneNode(true).childNodes;\n rootElement = {\n propsData: propsData,\n props: props.camelCase,\n computed: {\n reactiveProps: function reactiveProps$$1() {\n var _this = this;\n\n var reactivePropsList = {};\n props.camelCase.forEach(function (prop) {\n typeof _this[prop] !== 'undefined' && (reactivePropsList[prop] = _this[prop]);\n });\n\n return reactivePropsList;\n }\n },\n render: function render(createElement) {\n var data = {\n props: this.reactiveProps\n };\n\n return createElement(ComponentDefinition, data, getSlots(elementOriginalChildren, createElement));\n }\n };\n } else if (vueVersion === 1) {\n rootElement = ComponentDefinition;\n rootElement.propsData = propsData;\n } else {\n rootElement = ComponentDefinition;\n var propsWithDefault = {};\n Object.keys(propsData).forEach(function (prop) {\n propsWithDefault[prop] = { default: propsData[prop] };\n });\n rootElement.props = propsWithDefault;\n }\n\n var elementInnerHtml = vueVersion >= 2 ? '<div></div>' : ('<div>' + element.innerHTML + '</div>').replace(/vue-slot=/g, 'slot=');\n if (options.shadow && element.shadowRoot) {\n element.shadowRoot.innerHTML = elementInnerHtml;\n rootElement.el = element.shadowRoot.children[0];\n } else {\n element.innerHTML = elementInnerHtml;\n rootElement.el = element.children[0];\n }\n\n if (options.shadow && options.shadowCss && element.shadowRoot) {\n var style = document.createElement('style');\n style.type = 'text/css';\n style.appendChild(document.createTextNode(options.shadowCss));\n\n element.shadowRoot.appendChild(style);\n }\n\n reactiveProps(element, props);\n\n if (typeof options.beforeCreateVueInstance === 'function') {\n rootElement = options.beforeCreateVueInstance(rootElement) || rootElement;\n }\n\n return Promise.resolve(rootElement).then(function (vueOpts) {\n element.__vue_custom_element__ = new Vue(vueOpts);\n element.__vue_custom_element_props__ = props;\n element.getVueInstance = function () {\n var vueInstance = element.__vue_custom_element__;\n return vueInstance.$children.length ? vueInstance.$children[0] : vueInstance;\n };\n\n element.removeAttribute('vce-cloak');\n element.setAttribute('vce-ready', '');\n customEmit(element, 'vce-ready');\n return element;\n });\n}\n\nfunction install(Vue) {\n Vue.customElement = function vueCustomElement(tag, componentDefinition) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n var isAsyncComponent = typeof componentDefinition === 'function';\n var optionsProps = isAsyncComponent && { props: options.props || [] };\n var props = getProps(isAsyncComponent ? optionsProps : componentDefinition);\n\n var CustomElement = registerCustomElement(tag, {\n constructorCallback: function constructorCallback() {\n typeof options.constructorCallback === 'function' && options.constructorCallback.call(this);\n },\n connectedCallback: function connectedCallback() {\n var _this = this;\n\n var asyncComponentPromise = isAsyncComponent && componentDefinition();\n var isAsyncComponentPromise = asyncComponentPromise && asyncComponentPromise.then && typeof asyncComponentPromise.then === 'function';\n\n typeof options.connectedCallback === 'function' && options.connectedCallback.call(this);\n\n if (isAsyncComponent && !isAsyncComponentPromise) {\n throw new Error('Async component ' + tag + ' do not returns Promise');\n }\n if (!this.__detached__) {\n if (isAsyncComponentPromise) {\n asyncComponentPromise.then(function (lazyComponent) {\n var lazyProps = getProps(lazyComponent);\n createVueInstance(_this, Vue, lazyComponent, lazyProps, options).then(function () {\n typeof options.vueInstanceCreatedCallback === 'function' && options.vueInstanceCreatedCallback.call(_this);\n });\n });\n } else {\n createVueInstance(this, Vue, componentDefinition, props, options).then(function () {\n typeof options.vueInstanceCreatedCallback === 'function' && options.vueInstanceCreatedCallback.call(_this);\n });\n }\n }\n\n this.__detached__ = false;\n },\n disconnectedCallback: function disconnectedCallback() {\n var _this2 = this;\n\n this.__detached__ = true;\n typeof options.disconnectedCallback === 'function' && options.disconnectedCallback.call(this);\n\n options.destroyTimeout !== null && setTimeout(function () {\n if (_this2.__detached__ && _this2.__vue_custom_element__) {\n _this2.__detached__ = false;\n _this2.__vue_custom_element__.$destroy(true);\n delete _this2.__vue_custom_element__;\n delete _this2.__vue_custom_element_props__;\n }\n }, options.destroyTimeout || 3000);\n },\n attributeChangedCallback: function attributeChangedCallback(name, oldValue, value) {\n if (this.__vue_custom_element__ && typeof value !== 'undefined') {\n var nameCamelCase = camelize(name);\n typeof options.attributeChangedCallback === 'function' && options.attributeChangedCallback.call(this, name, oldValue, value);\n var type = this.__vue_custom_element_props__.types[nameCamelCase];\n this.__vue_custom_element__[nameCamelCase] = convertAttributeValue(value, type);\n }\n },\n\n\n observedAttributes: props.hyphenate,\n\n shadow: !!options.shadow && !!HTMLElement.prototype.attachShadow\n });\n\n return CustomElement;\n };\n}\n\nif (typeof window !== 'undefined' && window.Vue) {\n window.Vue.use(install);\n if (install.installed) {\n install.installed = false;\n }\n}\n\nexport default install;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"cc-container\"},[_c('HelloWorld')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._v(\"Hello world\")])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n<template>\n <div>Hello world</div>\n</template>\n\n<script>\nexport default {};\n</script>\n\n<style lang=\"scss\" scoped>\n</style>\n","import mod from \"-!../../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HelloWorld.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./HelloWorld.vue?vue&type=script&lang=js\"","/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","import { render, staticRenderFns } from \"./HelloWorld.vue?vue&type=template&id=eeb0fb48&scoped=true\"\nimport script from \"./HelloWorld.vue?vue&type=script&lang=js\"\nexport * from \"./HelloWorld.vue?vue&type=script&lang=js\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"eeb0fb48\",\n null\n \n)\n\nexport default component.exports","<template>\n <div class=\"cc-container\">\n <HelloWorld />\n </div>\n</template>\n\n<script>\nimport HelloWorld from \"./components/HelloWorld.vue\";\nexport default {\ncomponents: {\n HelloWorld,\n},\ndata() {\n return {\n componentInfo: {\n \n component: \"component-cc-cc-dd\",\n \n compName: \"compName-cc-cc-dd\",\n \n compDesc: \"Component description information\",\n }\n };\n},\n};\n</script>\n<style lang=\"scss\" scoped>\n.cc-container {\n text-align: center;\n padding: 8px;\n}\n</style>","import mod from \"-!../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./cc-cc-dd.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./cc-cc-dd.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./cc-cc-dd.vue?vue&type=template&id=23c4d47c&scoped=true\"\nimport script from \"./cc-cc-dd.vue?vue&type=script&lang=js\"\nexport * from \"./cc-cc-dd.vue?vue&type=script&lang=js\"\nimport style0 from \"./cc-cc-dd.vue?vue&type=style&index=0&id=23c4d47c&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"23c4d47c\",\n null\n \n)\n\nexport default component.exports"," \n import Vue from \"vue\"\n import VueCustomElement from \"vue-custom-element\"\n Vue.use(VueCustomElement);\n \n import index from \"./cc-cc-dd/cc-cc-dd.vue\"\n Vue.customElement('component-cc-cc-dd', index,{ destroyTimeout: 1200000 });\n "],"names":["root","factory","exports","module","require","define","amd","self","this","__WEBPACK_EXTERNAL_MODULE__274__","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","d","a","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","p","window","currentScript","document","src","match","setPrototypeOf","proto","__proto__","bind","isES2015","Symbol","Reflect","Proxy","isSealed","isES2015$1","_createClass","defineProperties","target","props","i","length","descriptor","configurable","writable","Constructor","protoProps","staticProps","_classCallCheck","instance","TypeError","_possibleConstructorReturn","ReferenceError","_inherits","subClass","superClass","create","constructor","value","_CustomElement","construct","HTMLElement","registerCustomElement","tag","options","arguments","customElements","CustomElement","_CustomElement2","_ret","_this","getPrototypeOf","me","constructorCallback","observedAttributes","connectedCallback","disconnectedCallback","attributeChangedCallback","_CustomElement3","shadow","attachShadow","mode","name","oldValue","tagName","existingCustomElement","camelizeRE","camelize","str","replace","_","c","toUpperCase","hyphenateRE","hyphenate","toLowerCase","toArray","list","start","ret","Array","_typeof","iterator","convertAttributeValue","overrideType","Boolean","propsValue","isBoolean","indexOf","valueParsed","parseFloat","isNumber","isNaN","isFinite","extractProps","collection","forEach","camelCaseProp","camelCase","push","type","types","concat","getProps","componentDefinition","mixins","mixin","extends","parentProps","reactiveProps","element","index","__vue_custom_element__","set","setAttribute","propName","getPropsData","propsData","propCamelCase","propValue","attributes","Attr","getAttributes","children","attribute","nodeName","nodeValue","getChildNodes","childNodes","content","placeholder","createElement","innerHTML","templateElement","elementOptions","templateChildren","vueTemplateChildren","map","child","attrs","domProps","slot","id","getSlots","slots","trim","innerText","slotVueElement","customEvent","eventName","detail","params","bubbles","cancelable","event","CustomEvent","createEvent","initCustomEvent","customEmit","_len","args","_key","dispatchEvent","createVueInstance","Vue","Promise","resolve","ComponentDefinition","util","extend","vueVersion","version","parseInt","split","beforeCreate","$emit","_proto__$$emit","apply","_compiled","constructorOptions","_constructor","_Ctor","keys","rootElement","elementOriginalChildren","cloneNode","computed","reactivePropsList","render","data","propsWithDefault","default","elementInnerHtml","shadowRoot","el","shadowCss","style","appendChild","createTextNode","beforeCreateVueInstance","then","vueOpts","__vue_custom_element_props__","getVueInstance","vueInstance","$children","removeAttribute","install","customElement","isAsyncComponent","optionsProps","asyncComponentPromise","isAsyncComponentPromise","Error","__detached__","lazyComponent","lazyProps","vueInstanceCreatedCallback","_this2","destroyTimeout","setTimeout","$destroy","nameCamelCase","use","installed","_vm","_h","$createElement","_c","_self","staticClass","staticRenderFns","_v","normalizeComponent","scriptExports","functionalTemplate","injectStyles","scopeId","moduleIdentifier","shadowMode","hook","functional","_scopeId","context","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","$root","$options","_injectStyles","originalRender","h","existing","component","components","HelloWorld","componentInfo","compName","compDesc"],"ignoreList":[],"sourceRoot":""}
|
package/build/demo.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><meta charset="utf-8"><title>component-
|
|
1
|
+
<!doctype html><meta charset="utf-8"><title>component-cc-cc-dd demo</title><script src="./component-cc-cc-dd.umd.js"></script><link rel="stylesheet" href="./component-cc-cc-dd.css"><script>console.log(component-cc-cc-dd)</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcc-cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"description": "cloudcc-cli",
|
|
5
5
|
"author": "cloudcc",
|
|
6
6
|
"license": "ISC",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"test-cli-one": "node --test test/globalSelectList.cli.test.js",
|
|
20
20
|
"test-cli-all": "node --test ",
|
|
21
21
|
"cc-pull": "git fetch --tags -f && git pull",
|
|
22
|
-
"
|
|
22
|
+
"npm-login": "npm login --registry https://registry.npmmirror.com",
|
|
23
|
+
"npm-publish": "npm publish --registry https://registry.npmjs.org && git add . && git commit -m 'update' && git push && curl https://npmmirror.com/sync/cloudcc-cli",
|
|
23
24
|
"package-jar": "mvn clean && mvn package",
|
|
24
25
|
"fetch-dev-env": "node src/mcp/tools/dev-env/fetcher.js",
|
|
25
26
|
"fetch-key-guide": "node src/mcp/tools/key-guide/fetcher.js",
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="cc-container">
|
|
3
|
+
<HelloWorld />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script>
|
|
8
|
+
import HelloWorld from "./components/HelloWorld.vue";
|
|
9
|
+
export default {
|
|
10
|
+
components: {
|
|
11
|
+
HelloWorld,
|
|
12
|
+
},
|
|
13
|
+
data() {
|
|
14
|
+
return {
|
|
15
|
+
componentInfo: {
|
|
16
|
+
|
|
17
|
+
component: "component-cc-cc-dd",
|
|
18
|
+
|
|
19
|
+
compName: "compName-cc-cc-dd",
|
|
20
|
+
|
|
21
|
+
compDesc: "Component description information",
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
},
|
|
25
|
+
};
|
|
26
|
+
</script>
|
|
27
|
+
<style lang="scss" scoped>
|
|
28
|
+
.cc-container {
|
|
29
|
+
text-align: center;
|
|
30
|
+
padding: 8px;
|
|
31
|
+
}
|
|
32
|
+
</style>
|
|
@@ -8,6 +8,93 @@
|
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
+
## 0. 必须使用 CLI 管理本地类文件
|
|
12
|
+
|
|
13
|
+
自定义类在本项目中的目录结构、`config.json`、主类中的 `// @SOURCE_CONTENT_START`
|
|
14
|
+
… `// @SOURCE_CONTENT_END` 区域,均与 **cloudcc-cli**
|
|
15
|
+
的创建、发布、拉取逻辑绑定。**必须通过下列命令**
|
|
16
|
+
完成新建目录、与服务器同步、发布与删除;不要手工新建
|
|
17
|
+
`classes/<类名>/`、不要复制粘贴整套类文件夹、不要私自篡改 `config.json` 里的
|
|
18
|
+
`id` 或破坏版本字段,否则容易导致发布失败、拉取覆盖异常或与线上一致性不一致。
|
|
19
|
+
|
|
20
|
+
**允许的做法**:在 CLI 已生成的主类 `*.java` 中,仅在上述 SOURCE
|
|
21
|
+
标记之间编写与修改业务代码;其余与平台同步相关的操作一律走命令。
|
|
22
|
+
|
|
23
|
+
执行命令前请确认:已完成 `cc doc project devguide`
|
|
24
|
+
中的环境初始化,项目根目录配置可用且包含 `accessToken`。
|
|
25
|
+
|
|
26
|
+
### 0.1 命令总览(以代码实现为准)
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
cc create classes <name>
|
|
30
|
+
cc publish classes <name>
|
|
31
|
+
cc pull classes <name>
|
|
32
|
+
cc get classes [listQueryJson] [projectPath]
|
|
33
|
+
cc detail classes <name>
|
|
34
|
+
cc detail classes "" <id>
|
|
35
|
+
cc pullList classes <id> <projectPath>
|
|
36
|
+
cc delete classes <nameOrId> [projectPath]
|
|
37
|
+
cc doc classes <introduction|devguide>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
参数约定:
|
|
41
|
+
|
|
42
|
+
- `name`:Java 类名,与 `classes/<name>/` 目录名一致。
|
|
43
|
+
- `listQueryJson`:可选;列表查询条件的 JSON 经 `encodeURI(JSON.stringify(...))`
|
|
44
|
+
编码后传入。不传时使用默认分页参数。
|
|
45
|
+
- `projectPath`:项目根路径,可选;不传则使用当前工作目录。
|
|
46
|
+
- `id`:线上类 ID。`detail`
|
|
47
|
+
在仅查服务器时可将类名置空:`cc detail classes "" <id>`。`pullList` 用 ID
|
|
48
|
+
将线上类落到指定项目的 `classes/` 下。
|
|
49
|
+
- `nameOrId`:本地目录名,或类 ID。若本地存在 `config.json` 且含
|
|
50
|
+
`id`,删除时会优先用其中的服务器 ID。
|
|
51
|
+
|
|
52
|
+
### 0.2 命令说明摘要
|
|
53
|
+
|
|
54
|
+
| 命令 | 作用 |
|
|
55
|
+
| ---------- | ----------------------------------------------------------------------------------- |
|
|
56
|
+
| `create` | 在 `classes/<name>/` 生成主类、测试类、`config.json` 模板 |
|
|
57
|
+
| `publish` | 将本地 SOURCE 区域源码提交到服务器;首次成功后会写回 `config.json` 的 `id` |
|
|
58
|
+
| `pull` | 按本地 `config.json` 的 `id` 从服务器拉取源码,覆盖主类中 SOURCE 区域(需已发布过) |
|
|
59
|
+
| `get` | 查询线上类列表(JSON 输出) |
|
|
60
|
+
| `detail` | 按类名优先读本地;或仅按 `id` 读服务器详情 |
|
|
61
|
+
| `pullList` | 按类 `id` 将线上类拉取到指定 `projectPath` 下的 `classes/<类名>/` |
|
|
62
|
+
| `delete` | 调用接口删除服务器上的类;参数可为本地类名或类 ID |
|
|
63
|
+
| `doc` | 输出 `introduction` 或 `devguide`(`devguide` 含附录 SDK 速查) |
|
|
64
|
+
|
|
65
|
+
### 0.3 推荐操作顺序
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
# 1) 查看线上已有类(可选,避免重名或确认 ID)
|
|
69
|
+
cc get classes
|
|
70
|
+
|
|
71
|
+
# 2) 新建类(仅通过 create 生成目录与文件)
|
|
72
|
+
cc create classes MyClass
|
|
73
|
+
|
|
74
|
+
# 3) 编辑 classes/MyClass/MyClass.java 中 SOURCE 区域后发布
|
|
75
|
+
cc publish classes MyClass
|
|
76
|
+
|
|
77
|
+
# 4) 需要与服务器对齐时,拉取覆盖本地 SOURCE 区域
|
|
78
|
+
cc pull classes MyClass
|
|
79
|
+
|
|
80
|
+
# 5) 按已知线上类 ID 拉到指定项目(迁移、批量)
|
|
81
|
+
cc pullList classes <线上类ID> <projectPath>
|
|
82
|
+
|
|
83
|
+
# 6) 不再使用时删除线上类
|
|
84
|
+
cc delete classes MyClass
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### 0.4 文档子命令
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
cc doc classes introduction
|
|
91
|
+
cc doc classes devguide
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
仅支持 `introduction` 与 `devguide`,其他子命令会报错。
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
11
98
|
## 1. 概念与使用场景
|
|
12
99
|
|
|
13
100
|
### 1.1 什么是自定义类
|
|
@@ -438,6 +525,9 @@ new PageClsInvoker(userInfo).invoker("Hello", "test3", null, arglist);
|
|
|
438
525
|
|
|
439
526
|
## 6. 自定义类开发 Checklist
|
|
440
527
|
|
|
528
|
+
- [ ] 类目录与平台同步仅通过 `cc create` / `cc pull` / `cc pullList` /
|
|
529
|
+
`cc publish` / `cc delete` 等命令操作,不手工造目录或改 `config.json` 的
|
|
530
|
+
`id`
|
|
441
531
|
- [ ] 类名、方法名与调用方(按钮/触发器/组件/定时作业)约定一致
|
|
442
532
|
- [ ] 构造函数正确接收 `UserInfo` 并实例化 `CCService` 等依赖
|
|
443
533
|
- [ ] 所有 `CCService` 操作(`insert`/`update`/`delete`/`cquery`)使用正确的对象
|
package/src/fields/create.js
CHANGED
|
@@ -180,6 +180,18 @@ async function create(argvs) {
|
|
|
180
180
|
let lookupObj = argvs[6];
|
|
181
181
|
fieldData = M(objid, nameLabel, apiname, lookupObj, briefData.data);
|
|
182
182
|
}
|
|
183
|
+
// 查询页面布局列表,取第一个绑定到字段
|
|
184
|
+
if (fieldData) {
|
|
185
|
+
const layoutRes = await postClass(
|
|
186
|
+
config.setupSvc + "/api/layout/newpage",
|
|
187
|
+
{ objid: objid },
|
|
188
|
+
config.accessToken
|
|
189
|
+
);
|
|
190
|
+
if (layoutRes && layoutRes.result && Array.isArray(layoutRes.data) && layoutRes.data.length > 0) {
|
|
191
|
+
fieldData.layoutIds = layoutRes.data[0].id;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
fieldData.remark = "auto created by cloudcc-cli ai agent";
|
|
183
195
|
// 发送请求到服务器
|
|
184
196
|
const result = await postClass(
|
|
185
197
|
config.setupSvc + "/api/fieldSetup/save",
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# CloudCC 全局选项列表操作指南
|
|
2
2
|
|
|
3
|
-
> 参考文档:[全局选项列表值集](https://help.cloudcc.cn/product02/quan-ju-xuan-xiang-lie-biao-zhi-ji/)
|
|
4
|
-
|
|
5
3
|
---
|
|
6
4
|
|
|
7
5
|
## 1. 入口与列表页
|
|
@@ -152,61 +150,4 @@ cc doc globalSelectList introduction
|
|
|
152
150
|
cc doc globalSelectList devguide
|
|
153
151
|
```
|
|
154
152
|
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
## 7. API 参考
|
|
158
|
-
|
|
159
|
-
### 7.1 查询列表
|
|
160
|
-
|
|
161
|
-
- **接口**:`POST /api/globalSelectSetup/queryList`
|
|
162
|
-
- **请求体**:
|
|
163
|
-
|
|
164
|
-
```json
|
|
165
|
-
{
|
|
166
|
-
"pageNum": "1",
|
|
167
|
-
"pageSize": "10000"
|
|
168
|
-
}
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
- **响应**:`data.globalSelectList`(数组)
|
|
172
|
-
|
|
173
|
-
### 7.2 新建
|
|
174
|
-
|
|
175
|
-
- **接口**:`POST /api/globalSelectSetup/save`
|
|
176
|
-
- **请求体**:
|
|
177
|
-
|
|
178
|
-
```json
|
|
179
|
-
{
|
|
180
|
-
"label": "test2",
|
|
181
|
-
"name": "test2",
|
|
182
|
-
"description": "描述",
|
|
183
|
-
"ptext": "值1\r\n值2\r\n值3",
|
|
184
|
-
"isPicklistSorted": "1",
|
|
185
|
-
"isFirstDefault": "1"
|
|
186
|
-
}
|
|
187
|
-
```
|
|
188
|
-
|
|
189
|
-
- **响应**:`data` 为新建记录的 ID 字符串
|
|
190
|
-
|
|
191
|
-
### 7.3 删除
|
|
192
|
-
|
|
193
|
-
- **接口**:`POST /api/globalSelectSetup/delete`
|
|
194
|
-
- **请求体**:
|
|
195
|
-
|
|
196
|
-
```json
|
|
197
|
-
{
|
|
198
|
-
"id": "<id>",
|
|
199
|
-
"deleteFromDisk": "false"
|
|
200
|
-
}
|
|
201
|
-
```
|
|
202
|
-
|
|
203
|
-
| 参数 | 说明 |
|
|
204
|
-
|------------------|--------------------------------------------------------|
|
|
205
|
-
| `id` | 全局选项列表 ID |
|
|
206
|
-
| `deleteFromDisk` | `"false"` 软删除(可恢复);`"true"` 彻底删除(不可恢复)|
|
|
207
|
-
|
|
208
|
-
### 7.4 详情
|
|
209
153
|
|
|
210
|
-
- **接口**:`POST /api/globalSelectSetup/detail`
|
|
211
|
-
- **请求体**:`{ "id": "<id>" }`
|
|
212
|
-
- **响应**:`data` 包含 `globalSelect`、`enabledList`、`disabledList`、`useList` 四个字段(详见第 4 节)
|
package/src/menu/create-page.js
CHANGED