1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240
| package p003entry/src/main/ets/pages;
public class Index { public Object pkgName@entry; public Object isCommonjs; public Object hasTopLevelAwait; public Object isSharedModule; public Object moduleRecordIdx;
public Object Index(Object functionObject, Object newTarget, Index this, Object arg0, Object arg1, Object arg2, Object arg3, Object arg4, Object arg5) { obj = arg3; obj2 = arg4; if ((0 == obj ? 1 : 0) != 0) { obj = -1; } if ((0 == obj2 ? 1 : 0) != 0) { obj2 = null; } obj3 = super(arg0, arg2, obj, arg5); if (("function" == typeof(obj2) ? 1 : 0) != 0) { obj3.paramsGenerator_ = obj2; } obj3.__message = ObservedPropertySimplePU("一个非常粗糙的界面", obj3, "message"); obj3.__inputValue = ObservedPropertySimplePU("", obj3, "inputValue"); obj3.arc4Key = "HarMonyOS_S3cur3_K3y!2025"; obj3.theSecondKey = Uint8Array(createarraywithbuffer([90, 60, 231, 145, 47])); r24 = [Object]; r24[0] = createarraywithbuffer([1, 2, 3]); r24[1] = createarraywithbuffer([0, 1, 4]); r24[2] = createarraywithbuffer([0, 0, 1]); obj3.MatrixCrypto = r24; obj3.cipherBase64 = "37L9UF8uNl1TSgYMLIW/RosGPMxVYXNcUoTTQXihX8ZyaQVgxY9Ywz/0fIwRzI4H"; obj3.setInitiallyProvidedValue(arg1); obj3.finalizeConstruction(); return obj3; }
public Object message(Object functionObject, Object newTarget, Index this) { obj = this.__message; return obj.get(); }
public Object rerender(Object functionObject, Object newTarget, Index this) { this.updateDirtyElements(); return null; }
public Object inputValue(Object functionObject, Object newTarget, Index this) { obj = this.__inputValue; return obj.get(); }
public Object func_main_0(Object functionObject, Object newTarget, Index this) { newlexenvwithname([1, "Index", 0], 1); if (isIn("finalizeConstruction", ViewPU.prototype) == false) { Reflect.set(ViewPU.prototype, "finalizeConstruction", #9935825373502646411#); } Index = ViewPU.Index(Object2, Object3, ViewPU, ["setInitiallyProvidedValue", "&entry/src/main/ets/pages/Index&.setInitiallyProvidedValue", 1, "updateStateVars", "&entry/src/main/ets/pages/Index&.updateStateVars", 1, "purgeVariableDependenciesOnElmtId", "&entry/src/main/ets/pages/Index&.purgeVariableDependenciesOnElmtId", 1, "aboutToBeDeleted", "&entry/src/main/ets/pages/Index&.aboutToBeDeleted", 0, 4]); obj = Index.prototype; obj["message"].getter = obj.message; obj["message"].setter = obj.#5963142812496208016#message; obj["inputValue"].getter = obj.inputValue; obj["inputValue"].setter = obj.#10964717288343131102#inputValue; obj.initialRender = obj.initialRender; obj.showResultDialog = obj.showResultDialog; obj.rerender = obj.rerender; Index.getEntryName = Index.getEntryName; _lexenv_0_0_ = Index; registerNamedRoute(#5653493969998192850#, "", createobjectwithbuffer(["bundleName", "com.example.mytestapp", "moduleName", "entry", "pagePath", "pages/Index", "pageFullPath", "entry/src/main/ets/pages/Index", "integratedHsp", "false", "moduleType", "followWithHap"])); return null; }
public Object getEntryName(Object functionObject, Object newTarget, Index this) { return "Index"; }
public Object initialRender(Object functionObject, Object newTarget, Index this) { newlexenvwithname([1, "this", 0], 1); _lexenv_0_0_ = this; ldlexvar = _lexenv_0_0_; ldlexvar.observeComponentCreation2(#11045136256518667928#, RelativeContainer); ldlexvar2 = _lexenv_0_0_; ldlexvar2.observeComponentCreation2(#1459791540083249900#, Column); ldlexvar3 = _lexenv_0_0_; ldlexvar3.observeComponentCreation2(#14949563130755530212#, Text); Text.pop(); ldlexvar4 = _lexenv_0_0_; ldlexvar4.observeComponentCreation2(#11762078410968332207#, TextArea); ldlexvar5 = _lexenv_0_0_; ldlexvar5.observeComponentCreation2(#1873697688084456659#, Button); Button.pop(); Column.pop(); RelativeContainer.pop(); return null; }
public Object updateStateVars(Object functionObject, Object newTarget, Index this, Object arg0) { return null; }
public Object aboutToBeDeleted(Object functionObject, Object newTarget, Index this) { obj = this.__message; obj.aboutToBeDeleted(); obj2 = this.__inputValue; obj2.aboutToBeDeleted(); Get = SubscriberManager.Get(); Get.delete(this.id__()); this.aboutToBeDeletedInternal(); return null; }
public Object showResultDialog(Object functionObject, Object newTarget, Index this, Object arg0) { promptAction = import { default as promptAction } from "@ohos:promptAction"; obj = promptAction.showToast; obj2 = createobjectwithbuffer(["message", 0, "duration", 2000]); obj2.message = arg0; obj(obj2); return null; }
public Object #1459791540083249900#(Object functionObject, Object newTarget, Index this, Object arg0, Object arg1) { Column.create(); return null; }
public Object #1873697688084456659#(Object functionObject, Object newTarget, Index this, Object arg0, Object arg1) { Button.createWithLabel("加密并比较"); Button.id("encryptButton"); Button.width("80%"); Button.height(50); Button.margin(createobjectwithbuffer(["bottom", 20])); Button.onClick(#4441499115937063224#); return null; }
public Object #4441499115937063224#(Object functionObject, Object newTarget, Index this) { MatrixCrypto = import { default as MatrixCrypto } from "@normalized:N&&&entry/src/main/ets/EUtils&"; if ((_lexenv_0_0_.cipherBase64 == MatrixCrypto.encrypt(_lexenv_0_0_.inputValue, _lexenv_0_0_.MatrixCrypto, _lexenv_0_0_.theSecondKey, _lexenv_0_0_.arc4Key) ? 1 : 0) != 0) { ldlexvar = _lexenv_0_0_; ldlexvar.showResultDialog("you are right!"); return null; } ldlexvar2 = _lexenv_0_0_; ldlexvar2.showResultDialog("try again!"); return null; }
public Object #4589776965841385317#(Object functionObject, Object newTarget, Index this, Object arg0) { _lexenv_0_0_.inputValue = arg0; return null; }
public Object #5653493969998192850#(Object functionObject, Object newTarget, Index this) { return _lexenv_0_0_(null, createemptyobject()); }
public Object #9935825373502646411#(Object functionObject, Object newTarget, Index this) { return null; }
public Object #11045136256518667928#(Object functionObject, Object newTarget, Index this, Object arg0, Object arg1) { RelativeContainer.create(); RelativeContainer.height("100%"); RelativeContainer.width("100%"); return null; }
public Object #11762078410968332207#(Object functionObject, Object newTarget, Index this, Object arg0, Object arg1) { obj = TextArea.create; obj2 = createobjectwithbuffer(["text", 0, "placeholder", "请输入要加密的文本"]); obj2.text = _lexenv_0_0_.inputValue; obj(obj2); TextArea.id("inputField"); TextArea.width("80%"); TextArea.height(50); TextArea.margin(createobjectwithbuffer(["bottom", 20])); TextArea.onChange(#4589776965841385317#); return null; }
public Object #14949563130755530212#(Object functionObject, Object newTarget, Index this, Object arg0, Object arg1) { Text.create(_lexenv_0_0_.message); Text.id("HelloWorld"); Text.fontSize(30); Text.fontWeight(FontWeight.Bold); Text.margin(createobjectwithbuffer(["bottom", 20])); return null; }
public Object setInitiallyProvidedValue(Object functionObject, Object newTarget, Index this, Object arg0) { if ((0 != arg0.message ? 1 : 0) != 0) { this.message = arg0.message; } if ((0 != arg0.inputValue ? 1 : 0) != 0) { this.inputValue = arg0.inputValue; } if ((0 != arg0.arc4Key ? 1 : 0) != 0) { this.arc4Key = arg0.arc4Key; } if ((0 != arg0.theSecondKey ? 1 : 0) != 0) { this.theSecondKey = arg0.theSecondKey; } if ((0 != arg0.MatrixCrypto ? 1 : 0) != 0) { this.MatrixCrypto = arg0.MatrixCrypto; } if ((0 != arg0.cipherBase64 ? 1 : 0) == 0) { return null; } this.cipherBase64 = arg0.cipherBase64; return null; }
public Object #5963142812496208016#message(Object functionObject, Object newTarget, Index this, Object arg0) { obj = this.__message; obj.set(arg0); return null; }
public Object #10964717288343131102#inputValue(Object functionObject, Object newTarget, Index this, Object arg0) { obj = this.__inputValue; obj.set(arg0); return null; }
public Object purgeVariableDependenciesOnElmtId(Object functionObject, Object newTarget, Index this, Object arg0) { obj = this.__message; obj.purgeDependencyOnElmtId(arg0); obj2 = this.__inputValue; obj2.purgeDependencyOnElmtId(arg0); return null; } }
|