@maxelms/create-plugin-cli 1.1.5 → 1.1.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxelms/create-plugin-cli",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "main": "./bin/index.js",
5
5
  "author": "jackc_001",
6
6
  "bin": {
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8" />
5
- <title>欢迎使用 Maxelms APaaS 扩展脚本</title>
5
+ <title>欢迎使用 Maxelms 扩展脚本</title>
6
6
  </head>
7
7
  <body>
8
8
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "<%= pluginName %>",
3
3
  "version": "1.0.0",
4
- "description": "Maxelms APaaS 自定义主题样式模版",
4
+ "description": "Maxelms 自定义主题样式模版",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "start": "serve -p 8703 & watchlessc -p 8799"
@@ -5,9 +5,9 @@ import styles from './index.less'
5
5
 
6
6
 
7
7
  const Home = () => {
8
- /** APaaS 平台传递给微应用的状态数据 */
8
+ /** 平台传递给微应用的状态数据 */
9
9
  const props = React.useContext(MasterContext)
10
- /** 当组件运行在 APaaS 基座应用时才存在 props 属性 */
10
+ /** 当组件运行在 系统应用时才存在 props 属性 */
11
11
  const { configurations } = props || {}
12
12
  /** configurations 是组件的配置项信息 */
13
13
  const {
@@ -5,7 +5,7 @@ import './style.less';
5
5
  const prefixCls = 'maxelms-customize-component-<%= timestamp %>'
6
6
 
7
7
  const App = (props: any) => {
8
- /** 当组件运行在 APaaS 基座应用时才存在 props 属性 */
8
+ /** 当组件运行在 系统应用时才存在 props 属性 */
9
9
  const { configurations, value, onChange, readOnly } = props
10
10
  /** configurations 是组件的配置项信息 */
11
11
  const {
@@ -8,7 +8,7 @@ const prefixCls = 'maxelms-customize-component-<%= timestamp %>'
8
8
 
9
9
  const App = (props: any) => {
10
10
  const masterProps = useMasterProps();
11
- /** 当组件运行在 APaaS 基座应用时才存在 props 属性 */
11
+ /** 当组件运行在 系统应用时才存在 props 属性 */
12
12
  const { configurations, value, onChange, readOnly } = masterProps
13
13
  /** configurations 是组件的配置项信息 */
14
14
  const {
@@ -5,7 +5,7 @@ import './style.less';
5
5
  const prefixCls = 'maxelms-customize-component-<%= timestamp %>'
6
6
 
7
7
  const App = (props: any) => {
8
- /** 当组件运行在 APaaS 基座应用时才存在 props 属性 */
8
+ /** 当组件运行在 系统应用时才存在 props 属性 */
9
9
  /** configurations 是组件的配置项信息 */
10
10
  const { configurations } = props
11
11
  const {
@@ -51,7 +51,7 @@ if (!window.__POWERED_BY_QIANKUN__) {
51
51
  }
52
52
 
53
53
  /**
54
- * 以下生命周期将会在 apaas 基座环境中被调用
54
+ * 以下生命周期将会在 系统环境中被调用
55
55
  * 是基座应用与微应用通信的桥梁
56
56
  * 开发者可以根据业务需求在不同的生命周期中编写业务代码
57
57
  */
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <div id="app">
3
- <!-- 集成在 apaas 中时会走该逻辑 -->
3
+ <!-- 集成在 系统 中时会走该逻辑 -->
4
4
  <span v-if="buttonName" @click="visible = true">{{buttonName}}</span>
5
- <!-- 由于独立开发时没有 apaas 传递的上下文数据,会渲染一个按钮辅助开发 -->
5
+ <!-- 由于独立开发时没有 系统 传递的上下文数据,会渲染一个按钮辅助开发 -->
6
6
  <button v-if="!buttonName" @click="visible = true">自定义按钮</button>
7
7
  <el-dialog
8
8
  append-to-body