cloudcc-cli 2.3.1 → 2.3.3
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 +25 -0
- package/.cloudcc-cache.json +21 -4
- package/.cursor/skills/cloudcc-cli-dev.zip +0 -0
- package/.cursor/skills/cloudcc-cli-usage/SKILL.md +68 -0
- package/README.md +22 -0
- package/bin/cc.js +13 -8
- package/bin/index.js +9 -2
- package/bin/mcp.js +1 -1
- package/build/component-CCPlugin1774500425584.common.js +831 -0
- package/build/component-CCPlugin1774500425584.common.js.map +1 -0
- package/build/component-CCPlugin1774500425584.css +1 -0
- package/build/component-CCPlugin1774500425584.umd.js +874 -0
- package/build/component-CCPlugin1774500425584.umd.js.map +1 -0
- package/build/component-CCPlugin1774500425584.umd.min.js +8 -0
- package/build/component-CCPlugin1774500425584.umd.min.js.map +1 -0
- package/build/demo.html +1 -0
- package/{src/mcp → mcp}/tools/Class Editor Guide/handler.js +12 -4
- package/{src/mcp → mcp}/tools/Component Editor Guide/handler.js +15 -14
- package/{src/mcp → mcp}/tools/Trigger Editor Guide/handler.js +8 -2
- package/package.json +3 -2
- package/src/application/doc.js +46 -0
- package/src/application/docs/devguide.md +173 -0
- package/src/application/docs/introduction.md +81 -0
- package/src/application/index.js +1 -0
- package/src/brief/get.js +1 -1
- package/src/classes/create.js +6 -1
- package/src/classes/delete.js +7 -1
- package/src/classes/detail.js +8 -1
- package/src/classes/doc.js +49 -472
- package/src/classes/docs/devguide.md +541 -0
- package/src/classes/get.js +9 -2
- package/src/classes/index.js +2 -1
- package/src/classes/publish.js +6 -1
- package/src/classes/pull.js +6 -1
- package/src/classes/pullList.js +6 -3
- package/src/config/doc.js +31 -0
- package/src/config/docs/devguide.md +100 -0
- package/src/config/index.js +5 -0
- package/src/customPage/create.js +52 -19
- package/src/customPage/doc.js +46 -0
- package/src/customPage/docs/devguide.md +200 -0
- package/{.cursor/skills/cloudcc-cli-dev/docs//350/207/252/345/256/232/344/271/211/351/241/265/351/235/242.md → src/customPage/docs/introduction.md} +1 -5
- package/src/customPage/index.js +1 -0
- package/src/customSetting/create.js +9 -0
- package/src/customSetting/delete.js +10 -1
- package/src/customSetting/deleteCustomSettingField.js +43 -0
- package/src/customSetting/detail.js +10 -1
- package/src/customSetting/doc.js +22 -179
- package/src/customSetting/docs/devguide.md +181 -0
- package/src/customSetting/docs/introduction.md +3 -0
- package/src/customSetting/editCustomSettingField.js +34 -0
- package/src/customSetting/get.js +9 -0
- package/src/customSetting/index.js +6 -1
- package/src/customSetting/modify.js +30 -0
- package/src/customSetting/saveCustomSettingField.js +46 -0
- package/src/fields/doc.js +45 -0
- package/src/fields/docs/devguide.md +224 -0
- package/src/fields/docs/introduction.md +217 -0
- package/src/fields/index.js +1 -0
- package/src/globalSelectList/create.js +51 -0
- package/src/globalSelectList/delete.js +56 -0
- package/src/globalSelectList/detail.js +45 -0
- package/src/globalSelectList/doc.js +52 -0
- package/src/globalSelectList/docs/devguide.md +153 -0
- package/src/globalSelectList/docs/introduction.md +82 -0
- package/src/globalSelectList/get.js +31 -0
- package/src/globalSelectList/index.js +16 -0
- package/src/menu/create-page.js +43 -6
- package/src/menu/create-script.js +67 -19
- package/src/menu/doc.js +57 -0
- package/src/menu/docs/devguide.md +129 -0
- package/src/menu/docs/introduction.md +99 -0
- package/src/menu/index.js +1 -0
- package/src/menu/validator.js +80 -0
- package/src/object/doc.js +45 -0
- package/src/object/docs/devguide.md +112 -0
- package/src/object/docs/introduction.md +187 -0
- package/src/object/get.js +1 -23
- package/src/object/index.js +1 -0
- package/src/pagelayout/create.js +123 -0
- package/src/pagelayout/delete.js +57 -0
- package/src/pagelayout/doc.js +46 -0
- package/src/pagelayout/docs/devguide.md +83 -0
- package/src/pagelayout/docs/introduction.md +44 -0
- package/src/pagelayout/get.js +46 -0
- package/src/pagelayout/index.js +10 -0
- package/src/plugin/doc.js +43 -863
- package/src/plugin/docs/devguide.md +996 -0
- package/src/profile/create.js +108 -0
- package/src/profile/delete.js +59 -0
- package/src/profile/doc.js +46 -0
- package/src/profile/docs/devguide.md +77 -0
- package/src/profile/docs/introduction.md +123 -0
- package/src/profile/get.js +55 -0
- package/src/profile/index.js +14 -0
- package/src/project/doc.js +39 -372
- package/src/project/docs/devguide.md +359 -0
- package/src/project/docs/introduction.md +3 -0
- package/src/recordType/create.js +77 -0
- package/src/recordType/delete.js +52 -0
- package/src/recordType/doc.js +36 -0
- package/src/recordType/docs/devguide.md +160 -0
- package/src/recordType/docs/introduction.md +53 -0
- package/src/recordType/editInfo.js +39 -0
- package/src/recordType/editSave.js +47 -0
- package/src/recordType/getList.js +31 -0
- package/src/recordType/index.js +16 -3
- package/src/recordType/newInfo.js +39 -0
- package/src/recordType/validDelete.js +91 -0
- package/src/res.md +66 -0
- package/src/role/create.js +153 -0
- package/src/role/delete.js +59 -0
- package/src/role/doc.js +46 -0
- package/src/role/docs/devguide.md +81 -0
- package/src/role/docs/introduction.md +124 -0
- package/src/role/get.js +57 -0
- package/src/role/index.js +10 -0
- package/src/scheduleJob/doc.js +49 -0
- package/src/scheduleJob/docs/devguide.md +79 -0
- package/src/scheduleJob/docs/introduction.md +101 -0
- package/src/scheduleJob/index.js +5 -0
- package/src/script/delete.js +112 -0
- package/src/script/doc.js +31 -245
- package/src/script/docs/devguide.md +290 -0
- package/src/script/docs/introduction.md +48 -0
- package/src/script/index.js +1 -0
- package/src/staticResource/count.js +31 -10
- package/src/staticResource/create.js +97 -0
- package/src/staticResource/delete.js +30 -8
- package/src/staticResource/detail.js +32 -10
- package/src/staticResource/doc.js +21 -88
- package/src/staticResource/docs/devguide.md +157 -0
- package/src/staticResource/docs/introduction.md +3 -0
- package/src/staticResource/get.js +31 -8
- package/src/staticResource/index.js +2 -1
- package/src/timer/create.js +6 -1
- package/src/timer/delete.js +7 -1
- package/src/timer/detail.js +5 -5
- package/src/timer/doc.js +57 -0
- package/{.cursor/skills/cloudcc-cli-dev/docs/cloudcc/345/256/232/346/227/266/344/275/234/344/270/232.md → src/timer/docs/devguide.md} +83 -1
- package/src/timer/get.js +7 -1
- package/src/timer/index.js +3 -1
- package/src/timer/publish.js +6 -1
- package/src/timer/pull.js +6 -1
- package/src/timer/pullList.js +5 -3
- package/src/triggers/detail.js +5 -5
- package/src/triggers/doc.js +49 -364
- package/src/triggers/docs/devguide.md +442 -0
- package/src/triggers/get.js +7 -3
- package/src/triggers/index.js +1 -4
- package/src/triggers/pullList.js +7 -7
- package/src/user/create.js +50 -0
- package/src/user/delete.js +59 -0
- package/src/user/doc.js +46 -0
- package/src/user/docs/devguide.md +122 -0
- package/src/user/docs/introduction.md +124 -0
- package/src/user/get.js +112 -0
- package/src/user/index.js +12 -0
- package/src/user/update.js +96 -0
- package/src/user/view.js +60 -0
- package/test/classes.cli.test.js +7 -4
- package/test/customPage.cli.test.js +96 -0
- package/test/globalSelectList.cli.test.js +94 -0
- package/test/menu-script.cli.test.js +147 -0
- package/test/menu.cli.test.js +8 -1
- package/test/plugin.cli.test.js +5 -3
- package/test/timer.cli.test.js +15 -8
- package/test/trigger.cli.test.js +5 -3
- package/.cursor/skills/cloudcc-cli-dev/BACKEND_CLASS.md +0 -111
- package/.cursor/skills/cloudcc-cli-dev/BACKEND_SCHEDULE.md +0 -152
- package/.cursor/skills/cloudcc-cli-dev/BACKEND_TRIGGER.md +0 -150
- package/.cursor/skills/cloudcc-cli-dev/CLI_CHEATSHEET.md +0 -372
- package/.cursor/skills/cloudcc-cli-dev/CUSTOM-SETTING-API.md +0 -62
- package/.cursor/skills/cloudcc-cli-dev/INSTALL_AND_BOOTSTRAP.md +0 -62
- package/.cursor/skills/cloudcc-cli-dev/OBJECTS_AND_FIELDS.md +0 -214
- package/.cursor/skills/cloudcc-cli-dev/REQUIREMENTS_BREAKDOWN.md +0 -113
- package/.cursor/skills/cloudcc-cli-dev/SKILL.md +0 -66
- package/.cursor/skills/cloudcc-cli-dev/STATIC-RESOURCE-API.md +0 -60
- package/.cursor/skills/cloudcc-cli-dev/VUE_CUSTOM_COMPONENT.md +0 -151
- package/.cursor/skills/cloudcc-cli-dev/VUE_CUSTOM_PAGE.md +0 -216
- package/src/approval/approve.js +0 -105
- package/src/approval/get.js +0 -245
- package/src/approval/index.js +0 -11
- package/src/approval/reject.js +0 -105
- package/src/plugin/readme.md +0 -7
- /package/{src/mcp → mcp}/cliRunner.js +0 -0
- /package/{src/mcp → mcp}/index.js +0 -0
- /package/{src/mcp → mcp}/readme.md +0 -0
- /package/{src/mcp → mcp}/tools/Application Creator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Approval/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Class Creator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Class Detail Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Class List Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Class Publisher/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Class Puller/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Client Script Detail Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Client Script Editor Guide/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Client Script List Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Client Script Publisher/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Client Script Puller/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/CloudCC Development Overview/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Component Creator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Component Detail Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Component List Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Component Publisher/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Component Puller/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Dev Environment Creator/fetcher.js +0 -0
- /package/{src/mcp → mcp}/tools/Dev Environment Creator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Dev Environment Validator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Developer Key Setup Guide/fetcher.js +0 -0
- /package/{src/mcp → mcp}/tools/Developer Key Setup Guide/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/JSP Migrator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Menu Creator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Object Creator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Object Fields Creator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Object Fields Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Object List Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Scheduled Class Creator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Scheduled Class Detail Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Scheduled Class List Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Scheduled Class Publisher/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Scheduled Class Puller/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Trigger Creator/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Trigger Detail Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Trigger List Retriever/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Trigger Publisher/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/Trigger Puller/handler.js +0 -0
- /package/{src/mcp → mcp}/tools/index.js +0 -0
- /package/{.cursor/skills/cloudcc-cli-dev/docs//350/207/252/345/256/232/344/271/211/347/261/273.md" → src/classes/docs/introduction.md} +0 -0
- /package/{.cursor/skills/cloudcc-cli-dev/docs/CloudCC/350/207/252/345/256/232/344/271/211/347/273/204/344/273/266/344/275/277/347/224/250/350/257/264/346/230/216.md" → src/plugin/docs/introduction.md} +0 -0
- /package/{.cursor/skills/cloudcc-cli-dev/docs/cloudcc/345/256/232/346/227/266/347/261/273.md" → src/timer/docs/introduction.md} +0 -0
- /package/{.cursor/skills/cloudcc-cli-dev/docs//350/247/246/345/217/221/345/231/250/347/261/273.md" → src/triggers/docs/introduction.md} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-CCPlugin1774500425584.umd.js","mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD,O;;;;;;;ACVA,kD;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA,E;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA,wF;;;;;WCAA,2B;;;;;;;ACAA;AACA;;AAEA;AACA;AACA,MAAM,KAAuC,EAAE;AAAA,yBAQ5C;;AAEH;AACA;AACA,IAAI,qBAAuB;AAC3B;AACA;;AAEA;AACA,oDAAe,IAAI;;;;;;ACtBnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA,iCAAiC,2CAA2C,gBAAgB,kBAAkB,OAAO,2BAA2B,wDAAwD,gCAAgC,uDAAuD,+DAA+D,yDAAyD,qEAAqE,6DAA6D,wBAAwB;;AAEjjB,kDAAkD,0CAA0C;;AAE5F,kDAAkD,aAAa,yFAAyF;;AAExJ,2CAA2C,+DAA+D,uGAAuG,yEAAyE,eAAe,0EAA0E,GAAG;;AAEtX;AACA;AACA;;;AAGA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,0BAA0B,cAAc;AACxC;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;;AAEP;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qGAAqG,qBAAqB,mBAAmB;;AAE7I;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,IAAI;AACJ;AACA,IAAI;AACJ;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;;;AAGA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,UAAU;AACV;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,MAAM;AACN;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;;AAEA;AACA,iBAAiB;AACjB;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;;AAEA;AACA,qFAAqF,aAAa;AAClG;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;;AAEA;AACA;AACA;;AAEA,sEAAsE,aAAa;AACnF;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,WAAW;;AAEX;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA,iCAAiC;AACjC,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;AACA,6CAA6C;AAC7C;;AAEA;AACA;AACA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf,aAAa;AACb,YAAY;AACZ;AACA;AACA,aAAa;AACb;AACA;;AAEA;AACA,OAAO;AACP;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;;;AAGP;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA,6DAAe,OAAO,EAAC;;;ACziBvB,0BAA0B,aAAa,0BAA0B,wBAAwB,iBAAiB,2BAA2B;AACrI;;;;ACDA,IAAI,0DAAM,gBAAgB,aAAa,0BAA0B,wBAAwB;AACzF,IAAI,mEAAe;;;;;;;;;;ACKnB,wEAAe,EAAE,EAAC;;;ACNuJ,CAAC,mFAAe,iCAAG,EAAC,C;;ACA7L;;AAEA;AACA;AACA;;AAEe;AACf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AC/FoG;AACvC;AACL;;;AAGxD;AACA,CAAuI;AACvI,gBAAgB,kBAAU;AAC1B,EAAE,4CAAM;AACR,EAAE,0DAAM;AACR,EAAE,mEAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,iDAAe,iB;;;;;;;;;ACXsC;AACrD,mFAAe;AACf;AACA,YAAY;AACZ;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,CAAC,EAAC;;;ACxB+K,CAAC,yGAAe,4CAAG,EAAC,C;;ACArM;;;;;AEA+G;AACvC;AACL;AACnE,CAA8G;;;AAG9G;AACoI;AACpI,IAAI,+BAAS,GAAG,kBAAU;AAC1B,EAAE,kEAAM;AACR,EAAE,MAAM;AACR,EAAE,eAAe;AACjB;AACA;AACA;AACA;AACA;AACA;;AAEA,4DAAe,+BAAS,Q;;ACnBxB;AACA,YAAiC;AACjC,YAA6D;AAC7D,YAAY,0DAAO,CAAC,sBAAgB;AACpC;AACA,YAAiF;AACjF,YAAY,oEAAiB,oCAAoC,qBAAK,GAAG,yBAAyB;AAClG,Q;;ACPwB;AACF","sources":["webpack://component-CCPlugin1774500425584/webpack/universalModuleDefinition","webpack://component-CCPlugin1774500425584/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://component-CCPlugin1774500425584/webpack/bootstrap","webpack://component-CCPlugin1774500425584/webpack/runtime/compat get default export","webpack://component-CCPlugin1774500425584/webpack/runtime/define property getters","webpack://component-CCPlugin1774500425584/webpack/runtime/hasOwnProperty shorthand","webpack://component-CCPlugin1774500425584/webpack/runtime/publicPath","webpack://component-CCPlugin1774500425584/../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://component-CCPlugin1774500425584/./node_modules/vue-custom-element/dist/vue-custom-element.esm.js","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue?9833","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/components/HelloWorld.vue?3b55","webpack://component-CCPlugin1774500425584/plugins/CCPlugin1774500425584/components/HelloWorld.vue","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/components/HelloWorld.vue?6d6c","webpack://component-CCPlugin1774500425584/../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/components/HelloWorld.vue","webpack://component-CCPlugin1774500425584/plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue?85a6","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue?c035","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue?114b","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue","webpack://component-CCPlugin1774500425584/./plugins/plginTemp.js","webpack://component-CCPlugin1774500425584/../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/cli-service/lib/commands/build/entry-lib-no-default.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-CCPlugin1774500425584\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"component-CCPlugin1774500425584\"] = 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=0ad47a6b&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 \"0ad47a6b\",\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-CCPlugin1774500425584\",\n \n compName: \"compName-CCPlugin1774500425584\",\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!./CCPlugin1774500425584.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!./CCPlugin1774500425584.vue?vue&type=script&lang=js\"","// extracted by mini-css-extract-plugin\nexport {};","export * from \"-!../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-61.use[0]!../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/css-loader/dist/cjs.js??clonedRuleSet-61.use[1]!../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-61.use[2]!../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-61.use[3]!../../../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CCPlugin1774500425584.vue?vue&type=style&index=0&id=45cf9904&prod&lang=scss&scoped=true\"","import { render, staticRenderFns } from \"./CCPlugin1774500425584.vue?vue&type=template&id=45cf9904&scoped=true\"\nimport script from \"./CCPlugin1774500425584.vue?vue&type=script&lang=js\"\nexport * from \"./CCPlugin1774500425584.vue?vue&type=script&lang=js\"\nimport style0 from \"./CCPlugin1774500425584.vue?vue&type=style&index=0&id=45cf9904&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 \"45cf9904\",\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 \"./CCPlugin1774500425584/CCPlugin1774500425584.vue\"\n Vue.customElement('component-CCPlugin1774500425584', index,{ destroyTimeout: 1200000 });\n ","import './setPublicPath'\nexport * from '~entry'\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
|
@@ -0,0 +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-CCPlugin1774500425584"]=t(require("vue")):e["component-CCPlugin1774500425584"]=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),u=o.n(i);function s(e,t){return e.__proto__=t,e}
|
|
2
|
+
/**
|
|
3
|
+
* vue-custom-element v3.3.0
|
|
4
|
+
* (c) 2021 Karol Fabjańczuk
|
|
5
|
+
* @license MIT
|
|
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-CCPlugin1774500425584.umd.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-CCPlugin1774500425584.umd.min.js","mappings":"CAAA,SAA2CA,EAAMC,GAC1B,kBAAZC,SAA0C,kBAAXC,OACxCA,OAAOD,QAAUD,EAAQG,QAAQ,QACR,oBAAXC,QAAyBA,OAAOC,IAC9CD,OAAO,GAAIJ,GACe,kBAAZC,QACdA,QAAQ,mCAAqCD,EAAQG,QAAQ,QAE7DJ,EAAK,mCAAqCC,EAAQD,EAAK,OACxD,EATD,CASoB,qBAATO,KAAuBA,KAAOC,KAAQC,G,iCCTjDN,EAAOD,QAAUO,C,GCCbC,EAA2B,CAAC,EAGhC,SAASC,EAAoBC,GAE5B,IAAIC,EAAeH,EAAyBE,GAC5C,QAAqBE,IAAjBD,EACH,OAAOA,EAAaX,QAGrB,IAAIC,EAASO,EAAyBE,GAAY,CAGjDV,QAAS,CA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W,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,kCAEXI,SAAU,iCAEVC,SAAU,qCAGhB,GCvBkL,ICQlL,IAAI,EAAY,EACd,EACA1E,EACA2C,GACA,EACA,KACA,WACA,MAIF,QAAe,E,eChBH,QAAQ,GAGR,kBAAkB,kCAAmC,EAAM,CAAEZ,eAAgB,O","sources":["webpack://component-CCPlugin1774500425584/webpack/universalModuleDefinition","webpack://component-CCPlugin1774500425584/external umd {\"commonjs\":\"vue\",\"commonjs2\":\"vue\",\"root\":\"Vue\"}","webpack://component-CCPlugin1774500425584/webpack/bootstrap","webpack://component-CCPlugin1774500425584/webpack/runtime/compat get default export","webpack://component-CCPlugin1774500425584/webpack/runtime/define property getters","webpack://component-CCPlugin1774500425584/webpack/runtime/hasOwnProperty shorthand","webpack://component-CCPlugin1774500425584/webpack/runtime/publicPath","webpack://component-CCPlugin1774500425584/../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js","webpack://component-CCPlugin1774500425584/./node_modules/vue-custom-element/dist/vue-custom-element.esm.js","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue?9833","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/components/HelloWorld.vue?3b55","webpack://component-CCPlugin1774500425584/plugins/CCPlugin1774500425584/components/HelloWorld.vue","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/components/HelloWorld.vue?6d6c","webpack://component-CCPlugin1774500425584/../../.npm/_npx/14f5bcddd9f17f34/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/components/HelloWorld.vue","webpack://component-CCPlugin1774500425584/plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue?85a6","webpack://component-CCPlugin1774500425584/./plugins/CCPlugin1774500425584/CCPlugin1774500425584.vue","webpack://component-CCPlugin1774500425584/./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-CCPlugin1774500425584\"] = factory(require(\"vue\"));\n\telse\n\t\troot[\"component-CCPlugin1774500425584\"] = 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=0ad47a6b&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 \"0ad47a6b\",\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-CCPlugin1774500425584\",\n \n compName: \"compName-CCPlugin1774500425584\",\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!./CCPlugin1774500425584.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!./CCPlugin1774500425584.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CCPlugin1774500425584.vue?vue&type=template&id=45cf9904&scoped=true\"\nimport script from \"./CCPlugin1774500425584.vue?vue&type=script&lang=js\"\nexport * from \"./CCPlugin1774500425584.vue?vue&type=script&lang=js\"\nimport style0 from \"./CCPlugin1774500425584.vue?vue&type=style&index=0&id=45cf9904&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 \"45cf9904\",\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 \"./CCPlugin1774500425584/CCPlugin1774500425584.vue\"\n Vue.customElement('component-CCPlugin1774500425584', 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
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<!doctype html><meta charset="utf-8"><title>component-CCPlugin1774500425584 demo</title><script src="./component-CCPlugin1774500425584.umd.js"></script><link rel="stylesheet" href="./component-CCPlugin1774500425584.css"><script>console.log(component-CCPlugin1774500425584)</script>
|
|
@@ -12,11 +12,13 @@ const { runCcCommand, buildRunDetail } = require('../../cliRunner');
|
|
|
12
12
|
/**
|
|
13
13
|
* 获取编辑指南
|
|
14
14
|
* @param {Object} options - 参数对象
|
|
15
|
-
* @param {string} options.topic - 指南主题(可选,默认为 'overview')
|
|
15
|
+
* @param {string} options.topic - 指南主题(可选,默认为 'devguide';兼容旧值 'overview')
|
|
16
16
|
* @returns {Object} MCP 格式的响应对象
|
|
17
17
|
*
|
|
18
18
|
* 主题说明:
|
|
19
|
-
* -
|
|
19
|
+
* - devguide (默认): 📋 开发指导(含附录 SDK)
|
|
20
|
+
* - introduction: 📋 概念与适用场景
|
|
21
|
+
* - overview: 兼容旧参数,等同于 devguide
|
|
20
22
|
* - ccservice: 📖 CCService 数据操作 API 详细文档
|
|
21
23
|
* - object: 📖 CCObject 对象操作 API 详细文档
|
|
22
24
|
* - email: 📖 SendEmail 邮件服务 API 详细文档
|
|
@@ -25,9 +27,15 @@ const { runCcCommand, buildRunDetail } = require('../../cliRunner');
|
|
|
25
27
|
* - logger: 📖 DevLogger 日志输出 API 详细文档
|
|
26
28
|
* - scenarios: 💡 常见编辑场景示例
|
|
27
29
|
*/
|
|
28
|
-
|
|
30
|
+
function normalizeDocTopic(topic) {
|
|
31
|
+
const t = String(topic || '').trim().toLowerCase();
|
|
32
|
+
if (!t || t === 'overview') return 'devguide';
|
|
33
|
+
return t;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
async function editClass({ topic = 'devguide' } = {}) {
|
|
29
37
|
try {
|
|
30
|
-
const run = runCcCommand(['doc', 'classes', topic]);
|
|
38
|
+
const run = runCcCommand(['doc', 'classes', normalizeDocTopic(topic)]);
|
|
31
39
|
if (!run.success) {
|
|
32
40
|
return {
|
|
33
41
|
content: [{
|
|
@@ -11,24 +11,25 @@ const { runCcCommand, buildRunDetail } = require('../../cliRunner');
|
|
|
11
11
|
/**
|
|
12
12
|
* 获取编辑指南
|
|
13
13
|
* @param {Object} options - 参数对象
|
|
14
|
-
* @param {string} options.topic - 指南主题(可选,默认为 'overview')
|
|
14
|
+
* @param {string} options.topic - 指南主题(可选,默认为 'devguide';兼容旧值 'overview')
|
|
15
15
|
* @returns {Object} MCP 格式的响应对象
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
* -
|
|
19
|
-
* -
|
|
20
|
-
* -
|
|
21
|
-
*
|
|
22
|
-
* - style-scoped: 样式作用域最佳实践
|
|
23
|
-
* - publish-workflow: 发布流程详解
|
|
24
|
-
* - dependency: 依赖收集机制
|
|
25
|
-
* - api: API 参考文档
|
|
26
|
-
* - bestpractices: 最佳实践
|
|
27
|
-
* - faq: 常见问题
|
|
17
|
+
* 主题说明(与 CLI 对齐):
|
|
18
|
+
* - devguide (默认): 开发指导(含附录 CCDK SDK)
|
|
19
|
+
* - introduction: 概念与适用场景
|
|
20
|
+
* - overview: 兼容旧参数,等同于 devguide
|
|
21
|
+
* 其他历史 topic 名称将回退为 devguide。
|
|
28
22
|
*/
|
|
29
|
-
|
|
23
|
+
function normalizePluginTopic(topic) {
|
|
24
|
+
const t = String(topic || "").trim().toLowerCase();
|
|
25
|
+
if (!t || t === "overview") return "devguide";
|
|
26
|
+
if (t === "introduction") return "introduction";
|
|
27
|
+
return "devguide";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
async function editComponent({ topic = "devguide" } = {}) {
|
|
30
31
|
try {
|
|
31
|
-
const run = runCcCommand([
|
|
32
|
+
const run = runCcCommand(["doc", "plugin", normalizePluginTopic(topic)]);
|
|
32
33
|
if (!run.success) {
|
|
33
34
|
return {
|
|
34
35
|
content: [{
|
|
@@ -11,9 +11,15 @@ const { runCcCommand, buildRunDetail } = require('../../cliRunner');
|
|
|
11
11
|
* @param {Object} params - 参数对象
|
|
12
12
|
* @param {string} params.topic - 编辑指南主题
|
|
13
13
|
*/
|
|
14
|
-
|
|
14
|
+
function normalizeDocTopic(topic) {
|
|
15
|
+
const t = String(topic || '').trim().toLowerCase();
|
|
16
|
+
if (!t || t === 'overview') return 'devguide';
|
|
17
|
+
return t;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
async function editTrigger({ topic = 'devguide' }) {
|
|
15
21
|
try {
|
|
16
|
-
const run = runCcCommand(['doc', 'triggers', topic]);
|
|
22
|
+
const run = runCcCommand(['doc', 'triggers', normalizeDocTopic(topic)]);
|
|
17
23
|
if (!run.success) {
|
|
18
24
|
return { content: [{ type: 'text', text: `✗ 获取触发器编辑指南失败: ${buildRunDetail(run) || 'cc 命令执行失败'}` }] };
|
|
19
25
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcc-cli",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "cloudcc-cli",
|
|
5
5
|
"author": "cloudcc",
|
|
6
6
|
"license": "ISC",
|
|
@@ -16,9 +16,10 @@
|
|
|
16
16
|
"cc-mcp": "bin/mcp.js"
|
|
17
17
|
},
|
|
18
18
|
"scripts": {
|
|
19
|
-
"test-cli-one": "node --test test/
|
|
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
|
+
"npm-login": "npm login --registry https://registry.npmmirror.com",
|
|
22
23
|
"publish-lib": "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",
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* application 文档入口:正文均在 `docs/` 目录。
|
|
3
|
+
*/
|
|
4
|
+
const fs = require("fs");
|
|
5
|
+
const path = require("path");
|
|
6
|
+
|
|
7
|
+
const DOCS_DIR = path.join(__dirname, "docs");
|
|
8
|
+
|
|
9
|
+
function readDocFile(basename) {
|
|
10
|
+
return fs.readFileSync(path.join(DOCS_DIR, `${basename}.md`), "utf8");
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/** 介绍文档:应用能力、定位与场景 */
|
|
14
|
+
function getIntroductionDoc() {
|
|
15
|
+
return readDocFile("introduction");
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** 开发指导:CLI 创建/查询/删除应用 */
|
|
19
|
+
function getDevGuideDoc() {
|
|
20
|
+
return readDocFile("devguide");
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* cc doc application <introduction|devguide>
|
|
25
|
+
* @param {string[]} argvs [doc, type, introduction|devguide, ...]
|
|
26
|
+
*/
|
|
27
|
+
function doc(argvs) {
|
|
28
|
+
const subType = argvs[2];
|
|
29
|
+
const key = String(subType || "").trim().toLowerCase();
|
|
30
|
+
if (!key) {
|
|
31
|
+
throw new Error("cc doc application 需要子命令:introduction 或 devguide");
|
|
32
|
+
}
|
|
33
|
+
if (key === "introduction") {
|
|
34
|
+
const content = getIntroductionDoc();
|
|
35
|
+
console.log(content);
|
|
36
|
+
return content;
|
|
37
|
+
}
|
|
38
|
+
if (key === "devguide") {
|
|
39
|
+
const content = getDevGuideDoc();
|
|
40
|
+
console.log(content);
|
|
41
|
+
return content;
|
|
42
|
+
}
|
|
43
|
+
throw new Error(`doc 不支持的子命令: ${subType},请使用 introduction 或 devguide`);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
module.exports = doc;
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
# CloudCC 应用开发指南
|
|
2
|
+
|
|
3
|
+
## 1. 模块定位
|
|
4
|
+
|
|
5
|
+
`application` 模块用于通过 CLI 管理 CloudCC 应用,当前提供:
|
|
6
|
+
|
|
7
|
+
- 创建应用:`cc create application ...`
|
|
8
|
+
- 查询应用:`cc get application ...`
|
|
9
|
+
- 删除应用:`cc delete application ...`
|
|
10
|
+
- 文档查看:`cc doc application introduction|devguide`
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## 2. 开发前准备
|
|
15
|
+
|
|
16
|
+
执行命令前请确认:
|
|
17
|
+
|
|
18
|
+
- 已完成 `cc doc project devguide` 的环境初始化
|
|
19
|
+
- 项目根目录存在可用配置,且包含 `accessToken`
|
|
20
|
+
- 已准备应用名称、应用代码
|
|
21
|
+
- 若需自定义菜单挂载,已准备菜单 ID 列表
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## 3. 命令总览(以代码实现为准)
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
cc create application <path> <p1> <p2> [duel1]
|
|
29
|
+
cc get application <projectPath> [encodedCondJson]
|
|
30
|
+
cc delete application <projectPath> <appId>
|
|
31
|
+
cc doc application <introduction|devguide>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
参数约定:
|
|
35
|
+
|
|
36
|
+
- `path` / `projectPath`:项目路径
|
|
37
|
+
- `p1`:应用名称
|
|
38
|
+
- `p2`:应用代码
|
|
39
|
+
- `duel1`:菜单 ID 列表(逗号分隔,可选)
|
|
40
|
+
- `encodedCondJson`:URI 编码后的 JSON 查询条件
|
|
41
|
+
- `appId`:应用 ID
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 4. 创建应用
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
cc create application <path> <p1> <p2> [duel1]
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 4.1 参数说明
|
|
52
|
+
|
|
53
|
+
- `path`:项目路径,推荐传 `.` 表示当前目录
|
|
54
|
+
- `p1`:应用名称(例如 `销售工作台`)
|
|
55
|
+
- `p2`:应用代码(例如 `sales_workbench`)
|
|
56
|
+
- `duel1`:菜单 ID 列表,多个 ID 以逗号分隔
|
|
57
|
+
|
|
58
|
+
### 4.2 默认行为与自动补全
|
|
59
|
+
|
|
60
|
+
- 若未传 `duel1`,CLI 会默认使用 `acf000001`
|
|
61
|
+
- 若传入 `duel1` 但不包含 `acf000001`,CLI 会自动补入该 ID
|
|
62
|
+
- 创建过程中会自动查询角色列表并注入权限参数
|
|
63
|
+
|
|
64
|
+
### 4.3 示例
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
# 使用默认菜单 ID
|
|
68
|
+
cc create application . "销售工作台" sales_workbench
|
|
69
|
+
|
|
70
|
+
# 指定菜单 ID(可多个)
|
|
71
|
+
cc create application . "销售工作台" sales_workbench "acf000001,a0I9D000000XXXXUAI"
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
### 4.4 常见报错
|
|
75
|
+
|
|
76
|
+
- 缺少参数:
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
Error: 缺少必需参数
|
|
80
|
+
用法: cc create application <path> <p1> <p2> [duel1]
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
- 角色列表获取失败(依赖 `brief/get`):
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
获取角色列表失败
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
---
|
|
90
|
+
|
|
91
|
+
## 5. 查询应用
|
|
92
|
+
|
|
93
|
+
```bash
|
|
94
|
+
cc get application <projectPath> [encodedCondJson]
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
说明:
|
|
98
|
+
|
|
99
|
+
- 不传条件时,返回应用列表
|
|
100
|
+
- 传条件时需使用 `encodeURI(JSON.stringify(...))` 编码
|
|
101
|
+
|
|
102
|
+
示例:
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
# 查询全部应用
|
|
106
|
+
cc get application .
|
|
107
|
+
|
|
108
|
+
# 按条件查询(示例)
|
|
109
|
+
cc get application . '%7B%22appType%22%3A%22app%22%7D'
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
若条件 JSON 无法解析,会报错:
|
|
113
|
+
|
|
114
|
+
```text
|
|
115
|
+
Get Application List Failed: encodedCondJson 解析失败,请传 encodeURI(JSON.stringify(...))
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## 6. 删除应用
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
cc delete application <projectPath> <appId>
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
参数说明:
|
|
127
|
+
|
|
128
|
+
- `projectPath`:项目路径
|
|
129
|
+
- `appId`:应用 ID(必填)
|
|
130
|
+
|
|
131
|
+
示例:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
cc delete application . a0L9D000000XXXXUAI
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
缺少 `appId` 时会报错:
|
|
138
|
+
|
|
139
|
+
```text
|
|
140
|
+
Error: 缺少应用 ID
|
|
141
|
+
用法: cc delete application <projectPath> <appId>
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
## 7. 文档命令
|
|
147
|
+
|
|
148
|
+
```bash
|
|
149
|
+
cc doc application introduction
|
|
150
|
+
cc doc application devguide
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
仅支持 `introduction` 与 `devguide`,其他子命令会抛错。
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
## 8. 推荐操作顺序
|
|
158
|
+
|
|
159
|
+
```bash
|
|
160
|
+
# 1) 先查现有应用,避免重名
|
|
161
|
+
cc get application .
|
|
162
|
+
|
|
163
|
+
# 2) 创建应用
|
|
164
|
+
cc create application . "销售工作台" sales_workbench
|
|
165
|
+
|
|
166
|
+
# 3) 再次查询确认已创建
|
|
167
|
+
cc get application .
|
|
168
|
+
|
|
169
|
+
# 4) 如需回滚,按 appId 删除
|
|
170
|
+
cc delete application . <appId>
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
---
|