diff --git a/ace/ace_standard/src/main/js/default/pages/animate/prop/index.js b/ace/ace_standard/src/main/js/default/pages/animate/prop/index.js index fdcc1d20144b7bcf474cb23f98e9fa1e6e139a83..65a3a874f1783149127c8b5b0c6c378f2af4e36d 100644 --- a/ace/ace_standard/src/main/js/default/pages/animate/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/animate/prop/index.js @@ -115,6 +115,5 @@ export default { this.toPropNone = this.$element("toPropNone").getInspector() this.valuesProp = this.$element("valuesProp").getInspector() this.valuesPropNone = this.$element("valuesPropNone").getInspector() - return }, } diff --git a/ace/ace_standard/src/main/js/default/pages/animateMotion/prop/index.js b/ace/ace_standard/src/main/js/default/pages/animateMotion/prop/index.js index 55fdc258ac93eda444418d1d9280444be193d811..c6e6990ab777eeba287fcdd882a4dfad2c601086 100644 --- a/ace/ace_standard/src/main/js/default/pages/animateMotion/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/animateMotion/prop/index.js @@ -131,6 +131,5 @@ export default { this.rotatePropRotate = this.$element("rotatePropRotate").getInspector() this.rotatePropAutoReverse = this.$element("rotatePropAutoReverse").getInspector() this.rotatePropNumber = this.$element("rotatePropNumber").getInspector() - return }, } diff --git a/ace/ace_standard/src/main/js/default/pages/animateTransform/prop/index.js b/ace/ace_standard/src/main/js/default/pages/animateTransform/prop/index.js index 7ccb0659d720e38d8369619120cba6883861cb80..9d0179f86c1b0eaccb43ab9a5e79362a1c5daa7b 100644 --- a/ace/ace_standard/src/main/js/default/pages/animateTransform/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/animateTransform/prop/index.js @@ -130,6 +130,5 @@ export default { this.typePropRotate = this.$element("typePropRotate").getInspector() this.typePropSkewX = this.$element("typePropSkewX").getInspector() this.typePropSkewY = this.$element("typePropSkewY").getInspector() - return }, } diff --git a/ace/ace_standard/src/main/js/default/pages/input/router/index.hml b/ace/ace_standard/src/main/js/default/pages/input/router/index.hml index 221e11528bf41ba7655a8dde2b3826d2cad908f3..018b2a137010579de8927436c83ab037e2f5f61b 100644 --- a/ace/ace_standard/src/main/js/default/pages/input/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/input/router/index.hml @@ -224,7 +224,7 @@ + onaccessibility="onAccessibility">
diff --git a/ace/ace_standard/src/main/js/default/pages/input/router/index.js b/ace/ace_standard/src/main/js/default/pages/input/router/index.js index 26f025dc927d0ae038cc75476aa3fa8d803a3181..1dda543004a6d05d2fac15cf35fbed7c04e07179 100644 --- a/ace/ace_standard/src/main/js/default/pages/input/router/index.js +++ b/ace/ace_standard/src/main/js/default/pages/input/router/index.js @@ -514,9 +514,10 @@ export default { }); }, - accessibility(event){ - prompt.showToast({ - message: JSON.stringify(event) - }); + onAccessibility(event) { + if (event.eventType == 1) { + console.log('abc'); + } + console.log("onAccessibility" + JSON.stringify(event)); } } diff --git a/ace/ace_standard/src/main/js/default/pages/obj_CanvasGradient/style/index.js b/ace/ace_standard/src/main/js/default/pages/obj_CanvasGradient/style/index.js index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a45d3eb108b49649154e73122e0614943ed7f7e 100644 --- a/ace/ace_standard/src/main/js/default/pages/obj_CanvasGradient/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/obj_CanvasGradient/style/index.js @@ -0,0 +1,14 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file diff --git a/ace/ace_standard/src/main/js/default/pages/obj_CanvasRenderingContext2D/style/index.js b/ace/ace_standard/src/main/js/default/pages/obj_CanvasRenderingContext2D/style/index.js index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a45d3eb108b49649154e73122e0614943ed7f7e 100644 --- a/ace/ace_standard/src/main/js/default/pages/obj_CanvasRenderingContext2D/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/obj_CanvasRenderingContext2D/style/index.js @@ -0,0 +1,14 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file diff --git a/ace/ace_standard/src/main/js/default/pages/obj_Image/style/index.js b/ace/ace_standard/src/main/js/default/pages/obj_Image/style/index.js index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a45d3eb108b49649154e73122e0614943ed7f7e 100644 --- a/ace/ace_standard/src/main/js/default/pages/obj_Image/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/obj_Image/style/index.js @@ -0,0 +1,14 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file diff --git a/ace/ace_standard/src/main/js/default/pages/obj_ImageBitmap/style/index.js b/ace/ace_standard/src/main/js/default/pages/obj_ImageBitmap/style/index.js index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a45d3eb108b49649154e73122e0614943ed7f7e 100644 --- a/ace/ace_standard/src/main/js/default/pages/obj_ImageBitmap/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/obj_ImageBitmap/style/index.js @@ -0,0 +1,14 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file diff --git a/ace/ace_standard/src/main/js/default/pages/obj_ImageData/style/index.js b/ace/ace_standard/src/main/js/default/pages/obj_ImageData/style/index.js index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a45d3eb108b49649154e73122e0614943ed7f7e 100644 --- a/ace/ace_standard/src/main/js/default/pages/obj_ImageData/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/obj_ImageData/style/index.js @@ -0,0 +1,14 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file diff --git a/ace/ace_standard/src/main/js/default/pages/obj_OffscreenCanvas/style/index.js b/ace/ace_standard/src/main/js/default/pages/obj_OffscreenCanvas/style/index.js index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a45d3eb108b49649154e73122e0614943ed7f7e 100644 --- a/ace/ace_standard/src/main/js/default/pages/obj_OffscreenCanvas/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/obj_OffscreenCanvas/style/index.js @@ -0,0 +1,14 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file diff --git a/ace/ace_standard/src/main/js/default/pages/obj_OffscreenCanvasRenderingContext2D/style/index.js b/ace/ace_standard/src/main/js/default/pages/obj_OffscreenCanvasRenderingContext2D/style/index.js index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a45d3eb108b49649154e73122e0614943ed7f7e 100644 --- a/ace/ace_standard/src/main/js/default/pages/obj_OffscreenCanvasRenderingContext2D/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/obj_OffscreenCanvasRenderingContext2D/style/index.js @@ -0,0 +1,14 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file diff --git a/ace/ace_standard/src/main/js/default/pages/obj_Path2D/style/index.js b/ace/ace_standard/src/main/js/default/pages/obj_Path2D/style/index.js index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4a45d3eb108b49649154e73122e0614943ed7f7e 100644 --- a/ace/ace_standard/src/main/js/default/pages/obj_Path2D/style/index.js +++ b/ace/ace_standard/src/main/js/default/pages/obj_Path2D/style/index.js @@ -0,0 +1,14 @@ +/** + * Copyright (c) 2022 Shenzhen Kaihong Digital Industry Development Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ \ No newline at end of file diff --git a/ace/ace_standard/src/main/js/default/pages/pickerView/prop/index.js b/ace/ace_standard/src/main/js/default/pages/pickerView/prop/index.js index 72b53e8a7262b72b8ee70875e5a746d76da1964f..ade2654a53a4798762521520330e689cc18ab482 100644 --- a/ace/ace_standard/src/main/js/default/pages/pickerView/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/pickerView/prop/index.js @@ -60,7 +60,6 @@ export default { onShow(){ this.getCommonPropValues(); -// this.getSpecificPropValues(); globalThis.value = { idProp : this.idProp, classProp : this.classProp, @@ -129,12 +128,5 @@ export default { this.showPropTrue = this.$element("showPropTrue").getInspector() this.showPropFalse = this.$element("showPropFalse").getInspector() this.showPropNone = this.$element("showPropNone").getInspector() - }, - getSpecificPropValues () { -// this.pickerViewViewText = this.$element("pickerViewViewText").getInspector() -// this.pickerViewViewDate = this.$element("pickerViewViewDate").getInspector() -// this.pickerViewViewTime = this.$element("pickerViewViewTime").getInspector() -// this.pickerViewViewDatetime = this.$element("pickerViewViewDatetime").getInspector() -// this.pickerViewViewMultiText = this.$element("pickerViewViewMultiText").getInspector() } } diff --git a/ace/ace_standard/src/main/js/default/pages/qrcode/router/index.hml b/ace/ace_standard/src/main/js/default/pages/qrcode/router/index.hml index 717cacc1bb061870d76ec42c1f260b2c730c114c..5d0b5ce933269abd6a717b2619f3d6843487c9c4 100644 --- a/ace/ace_standard/src/main/js/default/pages/qrcode/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/qrcode/router/index.hml @@ -193,13 +193,13 @@ ondragend="dragEnd" ondragenter="dragEnter" ondragover="dragOver" ondragleave="dragLeave" ondrop="drop" value="value" - onaccessibility="accessibility"> + onaccessibility="onAccessibility"> qrcode特有事件1 + onaccessibility="onAccessibility">
diff --git a/ace/ace_standard/src/main/js/default/pages/qrcode/router/index.js b/ace/ace_standard/src/main/js/default/pages/qrcode/router/index.js index 4e591f67ca69cffb86838044925dcf4bf27495ce..fe036589839703d252ede41d78452673e52bea07 100644 --- a/ace/ace_standard/src/main/js/default/pages/qrcode/router/index.js +++ b/ace/ace_standard/src/main/js/default/pages/qrcode/router/index.js @@ -451,9 +451,10 @@ export default { }, 1500) }, - accessibility(event){ - prompt.showToast({ - message: JSON.stringify(event) - }); + onAccessibility(event) { + if (event.eventType == 1) { + console.log('abc'); + } + console.log("onAccessibility" + JSON.stringify(event)); } } diff --git a/ace/ace_standard/src/main/js/default/pages/rating/router/index.hml b/ace/ace_standard/src/main/js/default/pages/rating/router/index.hml index 63e0fdeb7c3526560f6ff49037ee92d7cef5f522..bf94b0cebadebe621a6623f65285424e7f5a3bc8 100644 --- a/ace/ace_standard/src/main/js/default/pages/rating/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/rating/router/index.hml @@ -192,7 +192,7 @@ rating="1" stepsize="1" onchange="change" - onaccessibility="accessibility"> + onaccessibility="onAccessibility">
diff --git a/ace/ace_standard/src/main/js/default/pages/rating/router/index.js b/ace/ace_standard/src/main/js/default/pages/rating/router/index.js index 1a66abfee5337155b2d271c5021f793886d6c60f..650a3211a5dd7eddad2aa1c3f2680dd4b9894096 100644 --- a/ace/ace_standard/src/main/js/default/pages/rating/router/index.js +++ b/ace/ace_standard/src/main/js/default/pages/rating/router/index.js @@ -457,9 +457,10 @@ export default { }); }, - accessibility(event){ - prompt.showToast({ - message: JSON.stringify(event) - }); + onAccessibility(event) { + if (event.eventType == 1) { + console.log('abc'); + } + console.log("onAccessibility" + JSON.stringify(event)); } } diff --git a/ace/ace_standard/src/main/js/default/pages/richtext/prop/index.js b/ace/ace_standard/src/main/js/default/pages/richtext/prop/index.js index be25b6efaa2ee3f67aaf5a0e8816cbcf45d8d4ed..3981aa4fc0d7f09220ba52e73be8cd072fca06d2 100644 --- a/ace/ace_standard/src/main/js/default/pages/richtext/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/richtext/prop/index.js @@ -18,7 +18,8 @@ import prompt from '@system.prompt'; export default { data:{ content: ` -
+

h1

文本测试(h1测试)

diff --git a/ace/ace_standard/src/main/js/default/pages/richtext/router/index.hml b/ace/ace_standard/src/main/js/default/pages/richtext/router/index.hml index 197b1c21a0e8dea1e9b4e79818a41df3f2e4134a..31d49e0119df1a8cea0c633ad5c186487e0b62ad 100644 --- a/ace/ace_standard/src/main/js/default/pages/richtext/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/richtext/router/index.hml @@ -122,7 +122,7 @@
+ onaccessibility="onAccessibility">
diff --git a/ace/ace_standard/src/main/js/default/pages/richtext/router/index.js b/ace/ace_standard/src/main/js/default/pages/richtext/router/index.js index 8b0f71a0c68cf780fa735db3eb0bf4b8e33c488a..1de1287017e31f9b34fef937269939ac69e4c0b2 100644 --- a/ace/ace_standard/src/main/js/default/pages/richtext/router/index.js +++ b/ace/ace_standard/src/main/js/default/pages/richtext/router/index.js @@ -391,9 +391,10 @@ export default { }); }, - accessibility(event){ - prompt.showToast({ - message: JSON.stringify(event) - }); + onAccessibility(event) { + if (event.eventType == 1) { + console.log('abc'); + } + console.log("onAccessibility" + JSON.stringify(event)); } } diff --git a/ace/ace_standard/src/main/js/default/pages/select/router/index.hml b/ace/ace_standard/src/main/js/default/pages/select/router/index.hml index 13ecf5a4df0c561b2105d5f3a3a877fa3c94ab8a..d08982bede47fbb8ad6a22684f50b191168fc283 100644 --- a/ace/ace_standard/src/main/js/default/pages/select/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/select/router/index.hml @@ -154,7 +154,7 @@
diff --git a/ace/ace_standard/src/main/js/default/pages/select/router/index.js b/ace/ace_standard/src/main/js/default/pages/select/router/index.js index 1a66abfee5337155b2d271c5021f793886d6c60f..650a3211a5dd7eddad2aa1c3f2680dd4b9894096 100644 --- a/ace/ace_standard/src/main/js/default/pages/select/router/index.js +++ b/ace/ace_standard/src/main/js/default/pages/select/router/index.js @@ -457,9 +457,10 @@ export default { }); }, - accessibility(event){ - prompt.showToast({ - message: JSON.stringify(event) - }); + onAccessibility(event) { + if (event.eventType == 1) { + console.log('abc'); + } + console.log("onAccessibility" + JSON.stringify(event)); } } diff --git a/ace/ace_standard/src/main/js/default/pages/slider/router/index.hml b/ace/ace_standard/src/main/js/default/pages/slider/router/index.hml index c03b085677eb8b8900ee22b2c6bce5b13b0c6ca8..d66e119547afc5ef737df4f0c5f66541d85e2116 100644 --- a/ace/ace_standard/src/main/js/default/pages/slider/router/index.hml +++ b/ace/ace_standard/src/main/js/default/pages/slider/router/index.hml @@ -203,7 +203,7 @@ + onaccessibility="onAccessibility">
diff --git a/ace/ace_standard/src/main/js/default/pages/slider/router/index.js b/ace/ace_standard/src/main/js/default/pages/slider/router/index.js index 1a66abfee5337155b2d271c5021f793886d6c60f..650a3211a5dd7eddad2aa1c3f2680dd4b9894096 100644 --- a/ace/ace_standard/src/main/js/default/pages/slider/router/index.js +++ b/ace/ace_standard/src/main/js/default/pages/slider/router/index.js @@ -457,9 +457,10 @@ export default { }); }, - accessibility(event){ - prompt.showToast({ - message: JSON.stringify(event) - }); + onAccessibility(event) { + if (event.eventType == 1) { + console.log('abc'); + } + console.log("onAccessibility" + JSON.stringify(event)); } } diff --git a/ace/ace_standard/src/main/js/default/pages/svg_text/prop/index.js b/ace/ace_standard/src/main/js/default/pages/svg_text/prop/index.js index c6a4b9efad66473b001f852a22d33963ce14d4c4..71ed03cd549e5ad7c34783f22399b2eec5514e36 100644 --- a/ace/ace_standard/src/main/js/default/pages/svg_text/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/svg_text/prop/index.js @@ -115,6 +115,5 @@ export default { this.strokeWidthPropNone = this.$element("strokeWidthPropNone").getInspector() this.strokeOpacityProp = this.$element("strokeOpacityProp").getInspector() this.strokeOpacityPropNone = this.$element("strokeOpacityPropNone").getInspector() - return }, } diff --git a/ace/ace_standard/src/main/js/default/pages/textPath/prop/index.js b/ace/ace_standard/src/main/js/default/pages/textPath/prop/index.js index aba8b92d8c8aa015f7361ba7f760d8c57982ee46..8817a6e5532b639161f56f2d0c2a4093661568eb 100644 --- a/ace/ace_standard/src/main/js/default/pages/textPath/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/textPath/prop/index.js @@ -94,6 +94,5 @@ export default { this.strokeWidthPropNone = this.$element("strokeWidthPropNone").getInspector() this.strokeOpacityProp = this.$element("strokeOpacityProp").getInspector() this.strokeOpacityPropNone = this.$element("strokeOpacityPropNone").getInspector() - return }, } diff --git a/ace/ace_standard/src/main/js/default/pages/tspan/prop/index.js b/ace/ace_standard/src/main/js/default/pages/tspan/prop/index.js index c6a4b9efad66473b001f852a22d33963ce14d4c4..71ed03cd549e5ad7c34783f22399b2eec5514e36 100644 --- a/ace/ace_standard/src/main/js/default/pages/tspan/prop/index.js +++ b/ace/ace_standard/src/main/js/default/pages/tspan/prop/index.js @@ -115,6 +115,5 @@ export default { this.strokeWidthPropNone = this.$element("strokeWidthPropNone").getInspector() this.strokeOpacityProp = this.$element("strokeOpacityProp").getInspector() this.strokeOpacityPropNone = this.$element("strokeOpacityPropNone").getInspector() - return }, } diff --git a/ace/ace_standard/src/main/js/default/test/circleProps.test.js b/ace/ace_standard/src/main/js/default/test/circleProps.test.js index bd6df82d26a8ad68f4fc606b9e1fa96fd76def7b..ce923db1b2c42cdd04769a84a6385300c58836ed 100644 --- a/ace/ace_standard/src/main/js/default/test/circleProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/circleProps.test.js @@ -430,7 +430,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDashoffset).assertEqual('23') - console.info("[circleProps] get inspector dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); + console.info("[circleProps] get dashoffset value is:" + JSON.stringify(obj.$attrs.strokeDashoffset)); done(); }); @@ -641,7 +641,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[circleProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeMiterlimit).assertEqual('10') - console.info("[circleProps] get inspector miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); + console.info("[circleProps] get miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); done(); }); diff --git a/ace/ace_standard/src/main/js/default/test/ellipseProps.test.js b/ace/ace_standard/src/main/js/default/test/ellipseProps.test.js index dbab4228041bde5e9510ceac3802cfbd8e3f91c6..031a69f6ca2bdfb63ae447aa704417bd2fcc6e02 100644 --- a/ace/ace_standard/src/main/js/default/test/ellipseProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/ellipseProps.test.js @@ -448,7 +448,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[ellipseProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDashoffset).assertEqual('23') - console.info("[ellipseProps] get inspector dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); + console.info("[ellipseProps] get dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); done(); }); @@ -673,7 +673,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[ellipseProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeMiterlimit).assertEqual('10') - console.info("[ellipseProps] get inspector miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); + console.info("[ellipseProps] get miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); done(); }); diff --git a/ace/ace_standard/src/main/js/default/test/lineProps.test.js b/ace/ace_standard/src/main/js/default/test/lineProps.test.js index 261728362a6b3085563560d0626670ba05e2f718..d6c33171f5a84b25bc4afa73131e681b3e041ff7 100644 --- a/ace/ace_standard/src/main/js/default/test/lineProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/lineProps.test.js @@ -236,7 +236,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[lineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDasharray).assertEqual('2 3') - console.info("[lineProps] get inspector stroke-dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); + console.info("[lineProps] get stroke-dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); done(); }); @@ -270,7 +270,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[lineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDashoffset).assertEqual('23') - console.info("[lineProps] get inspector stroke-dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); + console.info("[lineProps] get stroke-dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); done(); }); @@ -305,7 +305,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[lineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('bevel') - console.info("[lineProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[lineProps] get stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -339,7 +339,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[lineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('miter') - console.info("[lineProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[lineProps] get stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -373,7 +373,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[lineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeLinejoin).assertEqual('round') - console.info("[lineProps] get inspector stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); + console.info("[lineProps] get stroke-linejoin value is: " + JSON.stringify(obj.$attrs.strokeLinejoin)); done(); }); @@ -509,7 +509,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[lineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeMiterlimit).assertEqual('10') - console.info("[lineProps] get inspector stroke-miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); + console.info("[lineProps] get stroke-miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); done(); }); @@ -676,7 +676,8 @@ console.info("[lineProps] get inspector stroke-width value is: " + JSON.stringify(obj.$attrs.strokeWidth)); expect(obj.$attrs.stroke).assertEqual('red') console.info("[lineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); - expect(obj.$attrs.transform).assertEqual('translate(10,5) scale(0.5 1.3) rotate(20 40 90) skewX(10) skewY(-15)') + expect(obj.$attrs.transform).assertEqual('translate(10,5) scale(0.5 1.3) rotate(20 40 90) ' + + 'skewX(10) skewY(-15)') console.info("[lineProps] get inspector transform value is: " + JSON.stringify(obj.$attrs.transform)); done(); }); diff --git a/ace/ace_standard/src/main/js/default/test/polygonProps.test.js b/ace/ace_standard/src/main/js/default/test/polygonProps.test.js index c03555f69cdcbfec8dd4e57dd0148969f7f2902a..96de2f4cbebe924e92881c00e609ce30f3469b9d 100644 --- a/ace/ace_standard/src/main/js/default/test/polygonProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/polygonProps.test.js @@ -382,7 +382,7 @@ describe('polygonPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[polygonProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDashoffset).assertEqual('23') - console.info("[polygonProps] get inspector dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); + console.info("[polygonProps] get dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); done(); }); @@ -565,7 +565,7 @@ describe('polygonPropsJsTest', function () { expect(obj.$attrs.stroke).assertEqual('red') console.info("[polygonProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeMiterlimit).assertEqual('10') - console.info("[polygonProps] get inspector miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); + console.info("[polygonProps] get miterlimit value is:" + JSON.stringify(obj.$attrs.strokeMiterlimit)); done(); }); diff --git a/ace/ace_standard/src/main/js/default/test/polylineProps.test.js b/ace/ace_standard/src/main/js/default/test/polylineProps.test.js index 21780c0e17fa155a84dfc6b8daba1749de4d02c8..05c8d51532d2ba14160d172d8f9cf34a57a86cbd 100644 --- a/ace/ace_standard/src/main/js/default/test/polylineProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/polylineProps.test.js @@ -356,7 +356,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[polylineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDasharray).assertEqual('2 3') - console.info("[polylineProps] get inspector dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); + console.info("[polylineProps] get ins dasharray value is: " + JSON.stringify(obj.$attrs.strokeDasharray)); done(); }); @@ -382,7 +382,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[polylineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeDashoffset).assertEqual('23') - console.info("[polylineProps] get inspector dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); + console.info("[polylineProps] get ins dashoffset value is: " + JSON.stringify(obj.$attrs.strokeDashoffset)); done(); }); @@ -565,7 +565,7 @@ expect(obj.$attrs.stroke).assertEqual('red') console.info("[polylineProps] get inspector stroke value is: " + JSON.stringify(obj.$attrs.stroke)); expect(obj.$attrs.strokeMiterlimit).assertEqual('10') - console.info("[polylineProps] get inspector miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); + console.info("[polylineProps] get ins miterlimit value is: " + JSON.stringify(obj.$attrs.strokeMiterlimit)); done(); }); diff --git a/ace/ace_standard/src/main/js/default/test/toggleProps.test.js b/ace/ace_standard/src/main/js/default/test/toggleProps.test.js index 801330d92e76208085ded636d198d67472cd6eb8..e577a511f9b2a8f327c75e5e4d9160f22188bb73 100644 --- a/ace/ace_standard/src/main/js/default/test/toggleProps.test.js +++ b/ace/ace_standard/src/main/js/default/test/toggleProps.test.js @@ -135,33 +135,6 @@ describe('togglePropsJsTest', function () { done(); }); - /** - * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 - * @tc.name testtoggleStyleProp - * @tc.desc ACEs - */ - // it('testtoggleStyleProp', 0, async function (done) { - // console.info('testtoggleStyleProp START'); - // console.info("[toggleProps] get globalThis.value is: " + JSON.stringify(globalThis.value)); - // - // let obj = JSON.parse(globalThis.value.styleProp); - // console.info("[toggleProps] get inspector value is: " + JSON.stringify(obj)); - // console.info("[toggleProps] get inspector attrs value is: " + JSON.stringify(obj.$attrs)); - // - // expect(obj.$type).assertEqual('toggle') - // expect(obj.$attrs.id).assertEqual('styleProp') - // expect(obj.$attrs.style).assertEqual(undefined) - // console.info("[toggleProps] get style value is: " + JSON.stringify(obj.$attrs.style)); - // - // expect(obj.$styles.width).assertEqual(undefined); - // console.info("[toggleProps] get style width value is: " + JSON.stringify(obj.$styles.width)); - // expect(obj.$styles.height).assertEqual(undefined); - // console.info("[toggleProps] get style height value is: " + JSON.stringify(obj.$styles.height)); - // expect(obj.$styles.get('background-color')).assertEqual(undefined); - // console.info("[toggleProps] get style background-color value is: " + JSON.stringify(obj.$styles.get('background-color'))); - // done(); - // }); - /** * @tc.number SUB_ACE_BASIC_COMPONENT_JS_API_0100 * @tc.name testtoggleRefProp