PK !:nAAassets/entry/resources.indexRestool 2.008AKEYSIDSS 1^)  descriptionMainAbility_desc$ labelMainAbility_label)  descriptionPageAbility_desc$ labelPageAbility_label9 hap sample empty serviceServiceAbility_desc#  description entry_desc#FFFFFFwhite5$entry/resources/base/media/icon.pngiconPK !:.І*assets/entry/resources/base/media/icon.pngPNG  IHDRrr݅}KiTXtXML:com.adobe.xmp -CDIDATxyp\ŝ?$- CH VH6ne7GmŁ$$E6TͲTb 0a;6^la[u?4Q?Io$VM4{ݯ׿_@)F1߁2 x  Yw!hl o솠u뾆Y4# $ %m<{ORuddbNx8R[O屃yЄHsW$:KPD@ |}PsvԱfnïہ(:H*j}-pԷycZF6&֢8E *ߌ"(J)Oxx <cȿ!(qT \կ?&c4T/'PxD03 OQI`܍.ӋLku^oq=OچԽA fNPT >6Zon,#|"l0w3$@[2hhP; ml>E㢻S<.>q\q, })vuj{/b@P@ٛ5?*ƴFG)L=$7抄*\& a@>%)<1WZeHN 6i[] =P|QX"W-Ȍl@/CCoJűeޭ=K+˄+|&Н ,2>4eB[6R bYN0t`Z6ď_]h^nUsjZJC* \unY%8(&e限2` EvR ¢K9zVm9|GZD`wk̕,ܡ'WqU'?syXBKuv Ku!OM#Eç0|V"O"f ma%*K : 6!}FœK(EÅ5҇tnOr)aP9&E~'L-6!%XB!+!>5)WTxMk̥p)!0K/Oj:4S\亊$ڇ*O`SH# +"ɔh chņT\2"LDAq9ΎTmӅbZ'[)g|Th)P /Q,lY0N(,5Z(6!m w-Հ#гq8JH 2_u{S.e)#܏ X&|mW~R2@EHo+e+ eOQPhtB-@ \ Y= VqBoU&7חNCw U $4hG4gf\Bw"z2)}u 4*CFFtmˆ\ádђ B Kggœ<хc%"=>B]1%(8Z #@s2`Yy\V{S{ڑ2է-eW#dFppp|X9ښ*Q!U:a<3>h+w\#AUKzش JO^oj0#7,vfg;<ٮe$auY3==(D>,jo]&K$VH(E+{*ֵuv}jMqGcւ3%Ǿ6}9fWH}$$cB+Wͤq3>:.=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ܳ hS"aXA)5M}>х?쮟_TiǶ쩏,?yMs PqfDܱ:GW QO6/GgQ.*E$Ĺ{ߗ&⋿x4^EcDd?ҔEu~HD+@y"=n}'<]k)/~ b:H8#u]#dMOͿT4jaE;_?N[t뜩IT=VF+0.}pn*&ǻpjKBY\+g~]sqgWeZ_y}kEA":EO)5l^}>3Szsu,KkzY;s|Xw@=p^X{8gvpMJ~ t4)!-82VR|ԑ§;F8gcIN/+@.S_35Q|;`s`̀   otì#{{vg2UUk0*s#mڊ/ [׌֓y ^g[%25-\pW*)y'«~;@f>y~DfGfiP B | [)Gvk;hT0 9}f)Q@Vₓ p3֦pEFXpϙe>#A`V&4J5A2N Fԅ@to7ٚޙH0e[<k0wSEpI[/jדf r\B%'6:H ̚q):kZ ly-V˳h?TcADʨ7P]qK+^W$!82)!5 tM e [\wh;>NN om?~K<]C$H8Z6\о"|.۳hg=IВ 8Y !0RX^!E_rb|֥»H!w l_f6| sCڏ g6vud~}^x7JBq hmy3iuE%(WԒ u8ʗ2;dհL;rE{7Ix|B6͉k)l(XBDXJ%Bs3Mg$sŻ X\u6 A}Ӫl3Mo`N:"L:`oFnVs5k=e:Ar7568(¶]7`s=8DBmnw46dBJ9 ؄*a { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../../api/@ohos.hilog.d.ts": /*!**********************************!*\ !*** ../../api/@ohos.hilog.d.ts ***! \**********************************/ /***/ (() => { /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ var commonCachedModule = globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"] ? globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"][moduleId]: null; /******/ if (commonCachedModule) { return commonCachedModule.exports; } /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ if (globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"] && moduleId.indexOf("?name=") < 0 && Object.keys(globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"]).indexOf(moduleId) >= 0) { /******/ globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"][moduleId] = module; /******/ } /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be in strict mode. (() => { "use strict"; var exports = __webpack_exports__; /*!**********************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/ConfirmDialogAbility/app.ets?entry ***! \**********************************************************************************************************************************************************************/ Object.defineProperty(exports, "__esModule", ({ value: true })); __webpack_require__(/*! @ohos.hilog */ "../../api/@ohos.hilog.d.ts"); globalThis.exports.default = { onCreate() { console.log("ConfirmDialogAbility onCreate"); }, onDestroy() { console.log("ConfirmDialogAbility onDestroy"); }, }; })(); _f4a7cd378e76828066a75b785f9d7ba7 = __webpack_exports__; /******/ })() ; //# sourceMappingURL=app.js.maponDestroyonCreatemoduleId%commonCachedModulecachedModule moduleH value   91__webpack_module_cache__'__webpack_modules__'__webpack_exports__/)B  vmmm U`;    ]  Y /   mm_m m0i`9mmm0`;j0v  J  p w          6 -%%) $  d   Uj1sw)i \j!9G w gx   \  3        \   M     81.-'  G,  sw\       & >B,  swa\& ;Edw~- w L"~-wjL3-wj    i  y Mw~-/ w  \ !-""~-ls w  w \ w  \$-"~- w    Mj L   w j! \w           /   ]   /  \   ^    m  v   4                           M       N         ^   &    $/$mxm$,?%7   1= =YbYjbYvY {{{{{{   T `  )181A     =Z4GPK !: k %assets/js/ConfirmDialogAbility/app.jsvar _f4a7cd378e76828066a75b785f9d7ba7; /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../../api/@ohos.hilog.d.ts": /*!**********************************!*\ !*** ../../api/@ohos.hilog.d.ts ***! \**********************************/ /***/ (() => { /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ var commonCachedModule = globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"] ? globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"][moduleId]: null; /******/ if (commonCachedModule) { return commonCachedModule.exports; } /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ if (globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"] && moduleId.indexOf("?name=") < 0 && Object.keys(globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"]).indexOf(moduleId) >= 0) { /******/ globalThis["__common_module_cache___f4a7cd378e76828066a75b785f9d7ba7"][moduleId] = module; /******/ } /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be in strict mode. (() => { "use strict"; var exports = __webpack_exports__; /*!**********************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/ConfirmDialogAbility/app.ets?entry ***! \**********************************************************************************************************************************************************************/ Object.defineProperty(exports, "__esModule", ({ value: true })); __webpack_require__(/*! @ohos.hilog */ "../../api/@ohos.hilog.d.ts"); globalThis.exports.default = { onCreate() { console.log("ConfirmDialogAbility onCreate"); }, onDestroy() { console.log("ConfirmDialogAbility onDestroy"); }, }; })(); _f4a7cd378e76828066a75b785f9d7ba7 = __webpack_exports__; /******/ })() ; //# sourceMappingURL=app.js.mapPK !:eU)assets/js/ConfirmDialogAbility/app.js.map{"version":3,"file":"./app.js","mappings":";;;;;;;;;;;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA,2BAA2B;UAC3B;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;UACA;UACA;;UAEA;UACA;UACA;;;;;;;;;;;;;AC1BA,qEAAgC;AAChC,kBAAe;IACb,QAAQ;QACN,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC;IAC9C,CAAC;IACD,SAAS;QACP,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;IAC/C,CAAC;CACF","sources":["webpack:///C:\\Users\\123\\AppData\\Local\\OpenHarmony\\Sdk\\ets\\3.1.7.7\\api\\@ohos.hilog.d.ts","webpack:///webpack/bootstrap","webpack:///C:\\Users\\123\\DevEcoStudioProjects\\devicemanager_ui_noservice_ver01\\devicemanager_ui_noservice\\entry\\src\\main\\ets\\ConfirmDialogAbility\\app.ets"],"names":[],"sourceRoot":""}PK !:=7%%%,assets/js/ConfirmDialogAbility/manifest.json{"appID":"com.ohos.devicemanagerui","versionName":"1.0.0","versionCode":1000000,"minPlatformVersion":8,"appName":".ConfirmDialogAbility","deviceType":["default","tablet"],"window":{"designWidth":720,"autoDesignWidth":false},"pages":["pages/index"],"mode":{"syntax":"ets","type":"pageAbility"}}PK !:;pxpxp.assets/js/ConfirmDialogAbility/pages/index.abcPANDA[OxpP.<,pLe PU ;;'<N<`<x<<<<<F;i;;<Pxp"@@ U 0 @  l V F \ r  8 d z " N  ::;'L_ESTypeAnnotation;/L_ESCallTypeAnnotation;1?#20#ACTION_AUTH_CONFIRM_TIMEOUT?#19#ACTION_AUTH_CONFIRM_TIMEOUT-#18#ACTION_CANCEL_AUTH-#17#ACTION_CANCEL_AUTH+#16#ACTION_ALLOW_AUTH#14#win#13#win#10#cancel#9#cancel#8#seconds#5#allow#3#messageC_f4a7cd378e76828066a75b785f9d7ba7 View#4#messagefeatureAbility-ability.featureAbilitysystemplugin systemdeviceManager'distributedHardware #25#ohosplugin ohosisSystempluginprototypeCdistributedHardware.deviceManager Object#1#30%55% #23# Normaluse strict borderbackgroundColor Button取消createWithLabelGonAllow createDeviceManager is nullItemAlign../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/ConfirmDialogAbility/pages/index.ets?entry colorjustifyContent Flex Columnpop TextfontWeight 100% width create)terminate confirm ui(RowfontColorterminateSelf##2#dialogPlusPage #22#release5click cancel times run outconsole heightdmClass nullK[DeviceManagerUI:ConfirmPinDialog]==>FontWeight9onCancel deviceManager exist this #24#IonCancel createDeviceManager is nullonAllowloadDocumentTAGdestruction Bold allow then!setUserOperationget infoclearInterval#SubscriberManager7onAllow deviceManager existextensionWin'createDeviceManager=initStatus deviceManager exist #26#set --fail:;__ACTION_AUTH_CONFIRM_TIMEOUT margindmClass __winGetfontSizeid__esModule7ACTION_AUTH_CONFIRM_TIMEOUTonCancel__message-ObservedPropertyObjectinitStatus+updateWithValueParams1createDeviceManager err:__importDefaultalignItemscancel #12#times)__ACTION_CANCEL_AUTH秒)'__ACTION_ALLOW_AUTHonClick times__timessetInterval#6#allow cancelseconds:%ACTION_CANCEL_AUTH delete+#15#ACTION_ALLOW_AUTH#ACTION_ALLOW_AUTHrequireNapilog2% render #21#允许 JSON Centerabilityrun是否允许对端连接本机stringify#7#secondsFlexAlignwin 取消({{seconds}}秒)-ObservedPropertySimplemessage1com.ohos.devicemanageruiseconds%setUserOperation: onPageShow__allow!aboutToBeDeleted#11#times extra allow defineProperty__canceldefault__secondsL_ESModuleMode;> isModulefunc_main_0L_GLOBAL;%H  =m==:>|>E%GnGYGG"GOH}HyO5QRSR^TTUVrV VWXaXXX X1YkYY?Y Z37ZlZ ZZ [4[E`[[}[\~,\a\\\(\)]U]]]]I3^d^+^_ `a bcd3eegJhh.iDjjnoo4funcObjany4newTargetargumentsC:\Users\123\DevEcoStudioProjects\devicemanager_ui_noservice_ver01\devicemanager_ui_noservice\entry\build\default\intermediates\assets_jsbundle\default\js\ConfirmDialogAbility\pages\index_.jsЮvar _f4a7cd378e76828066a75b785f9d7ba7; /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/ConfirmDialogAbility/pages/index.ets?entry": /*!******************************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/ConfirmDialogAbility/pages/index.ets?entry ***! \******************************************************************************************************************************************************************************/ /***/ (function(__unused_webpack_module, exports) { var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); /* * Copyright (c) 2022 Huawei Device 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. */ var _ohos_distributedHardware_deviceManager_1 = globalThis.requireNapi('distributedHardware.deviceManager') || (isSystemplugin('distributedHardware.deviceManager', 'ohos') ? globalThis.ohosplugin.distributedHardware.deviceManager : isSystemplugin('distributedHardware.deviceManager', 'system') ? globalThis.systemplugin.distributedHardware.deviceManager : undefined); var _ohos_ability_featureAbility_1 = globalThis.requireNapi('ability.featureAbility') || (isSystemplugin('ability.featureAbility', 'ohos') ? globalThis.ohosplugin.ability.featureAbility : isSystemplugin('ability.featureAbility', 'system') ? globalThis.systemplugin.ability.featureAbility : undefined); var that; let dmClass; let TAG = "[DeviceManagerUI:ConfirmPinDialog]==>"; class dialogPlusPage extends View { constructor(compilerAssignedUniqueChildId, parent, params) { super(compilerAssignedUniqueChildId, parent); this.__message = new ObservedPropertySimple('是否允许对端连接本机', this, "message"); this.__allow = new ObservedPropertySimple('允许', this, "allow"); this.__seconds = new ObservedPropertySimple(60, this, "seconds"); this.__cancel = new ObservedPropertySimple('取消({{seconds}}秒)', this, "cancel"); this.__times = new ObservedPropertySimple(0, this, "times"); this.__win = new ObservedPropertyObject("", this, "win"); this.__ACTION_ALLOW_AUTH = new ObservedPropertySimple(0, this, "ACTION_ALLOW_AUTH"); this.__ACTION_CANCEL_AUTH = new ObservedPropertySimple(1, this, "ACTION_CANCEL_AUTH"); this.__ACTION_AUTH_CONFIRM_TIMEOUT = new ObservedPropertySimple(2, this, "ACTION_AUTH_CONFIRM_TIMEOUT"); this.updateWithValueParams(params); } updateWithValueParams(params) { if (params.message !== undefined) { this.message = params.message; } if (params.allow !== undefined) { this.allow = params.allow; } if (params.seconds !== undefined) { this.seconds = params.seconds; } if (params.cancel !== undefined) { this.cancel = params.cancel; } if (params.times !== undefined) { this.times = params.times; } if (params.win !== undefined) { this.win = params.win; } if (params.ACTION_ALLOW_AUTH !== undefined) { this.ACTION_ALLOW_AUTH = params.ACTION_ALLOW_AUTH; } if (params.ACTION_CANCEL_AUTH !== undefined) { this.ACTION_CANCEL_AUTH = params.ACTION_CANCEL_AUTH; } if (params.ACTION_AUTH_CONFIRM_TIMEOUT !== undefined) { this.ACTION_AUTH_CONFIRM_TIMEOUT = params.ACTION_AUTH_CONFIRM_TIMEOUT; } } aboutToBeDeleted() { this.__message.aboutToBeDeleted(); this.__allow.aboutToBeDeleted(); this.__seconds.aboutToBeDeleted(); this.__cancel.aboutToBeDeleted(); this.__times.aboutToBeDeleted(); this.__win.aboutToBeDeleted(); this.__ACTION_ALLOW_AUTH.aboutToBeDeleted(); this.__ACTION_CANCEL_AUTH.aboutToBeDeleted(); this.__ACTION_AUTH_CONFIRM_TIMEOUT.aboutToBeDeleted(); SubscriberManager.Get().delete(this.id()); } get message() { return this.__message.get(); } set message(newValue) { this.__message.set(newValue); } get allow() { return this.__allow.get(); } set allow(newValue) { this.__allow.set(newValue); } get seconds() { return this.__seconds.get(); } set seconds(newValue) { this.__seconds.set(newValue); } get cancel() { return this.__cancel.get(); } set cancel(newValue) { this.__cancel.set(newValue); } get times() { return this.__times.get(); } set times(newValue) { this.__times.set(newValue); } get win() { return this.__win.get(); } set win(newValue) { this.__win.set(newValue); } get ACTION_ALLOW_AUTH() { return this.__ACTION_ALLOW_AUTH.get(); } set ACTION_ALLOW_AUTH(newValue) { this.__ACTION_ALLOW_AUTH.set(newValue); } get ACTION_CANCEL_AUTH() { return this.__ACTION_CANCEL_AUTH.get(); } set ACTION_CANCEL_AUTH(newValue) { this.__ACTION_CANCEL_AUTH.set(newValue); } get ACTION_AUTH_CONFIRM_TIMEOUT() { return this.__ACTION_AUTH_CONFIRM_TIMEOUT.get(); } set ACTION_AUTH_CONFIRM_TIMEOUT(newValue) { this.__ACTION_AUTH_CONFIRM_TIMEOUT.set(newValue); } initStatus() { console.log(TAG + 'initStatus'); if (dmClass) { console.log(TAG + 'initStatus deviceManager exist'); return; } _ohos_distributedHardware_deviceManager_1.createDeviceManager('com.ohos.devicemanagerui', (err, dm) => { if (err) { console.log(TAG + "createDeviceManager err:" + JSON.stringify(err) + ' --fail:' + JSON.stringify(dm)); return; } dmClass = dm; }); } onAllow() { if (dmClass) { console.log(TAG + 'onAllow deviceManager exist'); } else { console.log(TAG + 'onAllow createDeviceManager is null'); return; } console.log(TAG + "allow " + this.ACTION_ALLOW_AUTH); this.setUserOperation(this.ACTION_ALLOW_AUTH); this.destruction(); } onCancel() { if (dmClass) { console.log(TAG + 'onCancel deviceManager exist'); } else { console.log(TAG + 'onCancel createDeviceManager is null'); return; } console.log(TAG + "cancel " + this.ACTION_CANCEL_AUTH); this.setUserOperation(this.ACTION_CANCEL_AUTH); this.destruction(); } setUserOperation(operation) { console.log(TAG + 'setUserOperation: ' + operation); if (dmClass == null) { console.log(TAG + 'setUserOperation: ' + 'dmClass null'); return; } dmClass.setUserOperation(operation, "extra"); } run() { console.info('seconds:' + that.seconds); that.seconds--; if (that.seconds == 0) { clearInterval(that.times); that.times = 0; that.setUserOperation(that.ACTION_AUTH_CONFIRM_TIMEOUT); that.destruction(); console.info('click cancel times run out'); } } onPageShow() { console.log(TAG + "onPageShow"); this.initStatus(); this.win = globalThis.extensionWin; that = this; if (this.times) return; this.times = setInterval(this.run, 1000); } destruction() { console.log(TAG + "destruction"); if (dmClass != null) { dmClass.release(); dmClass = null; } _ohos_ability_featureAbility_1.terminateSelf().then((data) => { console.info(TAG + "terminate confirm ui"); }); } render() { Row.create(); Row.width('100%'); Row.height('100%'); Column.create(); Column.width('100%'); Text.create(this.message); Text.fontSize(35); Text.fontWeight(FontWeight.Bold); Text.pop(); Row.create(); Row.height('2%'); Row.pop(); Flex.create({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }); Flex.width('100%'); Row.create(); Row.width('100%'); Button.createWithLabel("取消" + "(" + this.seconds + "秒)"); Button.fontSize(25); Button.backgroundColor(0xffffff); Button.fontColor(0x0000ff); Button.margin({ left: '5%' }); Button.height(50); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.onCancel(); }); Button.width('55%'); Button.pop(); Button.createWithLabel(this.allow); Button.fontSize(25); Button.height(50); Button.margin({ left: '5%' }); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.onAllow(); }); Button.width('30%'); Button.pop(); Row.pop(); Flex.pop(); Column.pop(); Row.pop(); } } loadDocument(new dialogPlusPage("1", undefined, {})); /***/ }) /******/ }); /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module is referenced by other modules so it can't be inlined /******/ var __webpack_exports__ = {}; /******/ __webpack_modules__["../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/ConfirmDialogAbility/pages/index.ets?entry"](0, __webpack_exports__); /******/ _f4a7cd378e76828066a75b785f9d7ba7 = __webpack_exports__; /******/ /******/ })() ; //# sourceMappingURL=index.js.map'__webpack_modules__'__webpack_exports__/__unused_webpack_moduleexportsdialogPlusPage dataerrdmnewValueoperation paramsmod;compilerAssignedUniqueChildId parent   *   ;;;S_ohos_distributedHardware_deviceManager_1 that=_ohos_ability_featureAbility_1    n<t< left5% ?<2 radiusn<t< ?<2  = valueB   vUmmm g`;    ]  Y /   c    gi _ w\vU  \ p u w    /      \   :tt %%$  . }  m m@m0~- w "- _"sBw  * i \ w  \.s  W ~-! w w w"Bs  W ~-! w w w""m  w  \.s  W ~-! w w w"Bs  W ~-! w w w""m@mlmsxp  w c h Y  w c  h Y  w c   Y  w c  Y  w c  Y  w c  Y  w c O Y  w c  O Y  w c ( Y  w c ( Y  w c 3 Y  w c  3 Y  w c  Y  w c   Y  w c a Y  w c a Y  w c  6 Y  w c 6 Y  w c y w c y w c yS w c y+ w c! y w c y w c y  w c y s ~   Z G         1                                                                                                 # tu"u $8.-1<1H<1qq q 1&1&=1&[j[ [ &  7''''''''''''''''''~~~~~~    % 0 } 3  djFw\        } 3  djFwS\  ~ H  d sMwBj F \         &u  ~  mm msw\sw\swV\sw\sw\swj  F wh \sw#\swsw\sw\sw\swV\sw\swis( wyswy\sw\sw\sw\sw  j  F w \sw\sw{\sw\swi\swV2\swsiy\swsw_\sw` \swT\sw\swj  F w\sw\swV2\swi\swsiy\swsw_\sw` \swO\sw\sw\sw\sw\sw\      \     \     \    \     \       \     \       \    \    \     \    \            \     \    \     \            \     \     \     \     \     \        \       \     ^     \    \       \     \     \     \        \       \     ^     \    \    \    \    \                 #          &0DN8       &,1; ,$% $ ,$%       }   d sMwBWj1w \j1w /x +j1w .sHj1w(Gj1x(j1w+j1w6\j1w \sMwB1\         \      k    M  z      \    \      a "'      "'"    ~  d  jF~-8sMwjF\"=sMwjF\ sMwj F wa\w+wa\w \        |       \ {          \       \     b      &+ #   ~d~.sMwj  F  s w  \   s w  \ \jFm  z                    \ {   Luu"?D?NDUchcrh ~ 1   ww\         2 u "&"~  d   sMwjF \w\ wx3 m1w(~- s8wWx(        \    \    z    Mz         Q     !&!+~ -  ww=\        $  )) 1   w w\2 u !%!~ 1   ww\2 u  1   w w\2 u  -  w w=\$   1   w w\2 u  -  w w=\$   -  w/w=\$   1   w w\2 u  -  w w=\$  (( 1   w]w\2 u  -  ww=\$   -  w w=\$   1   ww\2 u +/+~ 1   w/w\2 u  -  w]w=\$  d   sMwj  F  \jF -GsMwj  F  ^\ jFw+ \          \   \        \ {       W u1   5 !,~   w]w \w w \w w \w w \w/w \ww \w w \ww \ww \sWw\wuw&\\       \      \      \      \      \      \      \      \      \                       !! "" ++ ',','     mmm sMwj F  \jF ->jFw(\ jFmjAw\w%` \         \   \   \            T     ''7< 7~    mmm sMwj F \jF~-=sMwj F \ j!wq ` \         \       \ {       N    2Fb 2~    wh 3-wh xh w3-wxw 3-w x wO3-wOxOw(3-w(x(w3 3-w3 x3 w3-wxwa3-waxaw63-w6x6      \   {    \   {    \   {    \   {    \   {    \   {    \   {    \   {    \     u3   "       "   !         ) %,  * &-  3 /6  E   ~-w*"~-"iy              3 u   % +8-+  d  jF~-8sMwjFj\"=sMwjF\ sMwj F  w\w+w\w \b      %* #   ~   ]  h  hsP    h h Zx]  hsP    h  Zx   hsP  <  h  Zx   hsP  8  h O Zx   hsP    h ( Zx/  hsh   h 3 Zx  hsP    h  Zx   hsP    h a Zx  hsP    h 6 Zx  hw\h    M MY N      Y N     zX O      X O     zW P      W P     z Q       Q     z R       R     z S       S     z T       T     z U       U     z V       V     z        uvu&-4BBH288>488>{3G{GMz25z5;y04y4:x'#>#AxA#G#w($?$BwB$H$v1-H-KvK-Q-u  # u -  ww=\$  22TVIX\GT >DS=5HMhy_U/R`a}cd9gxWkmPK !:Z-++-assets/js/ConfirmDialogAbility/pages/index.jsvar _f4a7cd378e76828066a75b785f9d7ba7; /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/ConfirmDialogAbility/pages/index.ets?entry": /*!******************************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/ConfirmDialogAbility/pages/index.ets?entry ***! \******************************************************************************************************************************************************************************/ /***/ (function(__unused_webpack_module, exports) { var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); /* * Copyright (c) 2022 Huawei Device 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. */ var _ohos_distributedHardware_deviceManager_1 = globalThis.requireNapi('distributedHardware.deviceManager') || (isSystemplugin('distributedHardware.deviceManager', 'ohos') ? globalThis.ohosplugin.distributedHardware.deviceManager : isSystemplugin('distributedHardware.deviceManager', 'system') ? globalThis.systemplugin.distributedHardware.deviceManager : undefined); var _ohos_ability_featureAbility_1 = globalThis.requireNapi('ability.featureAbility') || (isSystemplugin('ability.featureAbility', 'ohos') ? globalThis.ohosplugin.ability.featureAbility : isSystemplugin('ability.featureAbility', 'system') ? globalThis.systemplugin.ability.featureAbility : undefined); var that; let dmClass; let TAG = "[DeviceManagerUI:ConfirmPinDialog]==>"; class dialogPlusPage extends View { constructor(compilerAssignedUniqueChildId, parent, params) { super(compilerAssignedUniqueChildId, parent); this.__message = new ObservedPropertySimple('是否允许对端连接本机', this, "message"); this.__allow = new ObservedPropertySimple('允许', this, "allow"); this.__seconds = new ObservedPropertySimple(60, this, "seconds"); this.__cancel = new ObservedPropertySimple('取消({{seconds}}秒)', this, "cancel"); this.__times = new ObservedPropertySimple(0, this, "times"); this.__win = new ObservedPropertyObject("", this, "win"); this.__ACTION_ALLOW_AUTH = new ObservedPropertySimple(0, this, "ACTION_ALLOW_AUTH"); this.__ACTION_CANCEL_AUTH = new ObservedPropertySimple(1, this, "ACTION_CANCEL_AUTH"); this.__ACTION_AUTH_CONFIRM_TIMEOUT = new ObservedPropertySimple(2, this, "ACTION_AUTH_CONFIRM_TIMEOUT"); this.updateWithValueParams(params); } updateWithValueParams(params) { if (params.message !== undefined) { this.message = params.message; } if (params.allow !== undefined) { this.allow = params.allow; } if (params.seconds !== undefined) { this.seconds = params.seconds; } if (params.cancel !== undefined) { this.cancel = params.cancel; } if (params.times !== undefined) { this.times = params.times; } if (params.win !== undefined) { this.win = params.win; } if (params.ACTION_ALLOW_AUTH !== undefined) { this.ACTION_ALLOW_AUTH = params.ACTION_ALLOW_AUTH; } if (params.ACTION_CANCEL_AUTH !== undefined) { this.ACTION_CANCEL_AUTH = params.ACTION_CANCEL_AUTH; } if (params.ACTION_AUTH_CONFIRM_TIMEOUT !== undefined) { this.ACTION_AUTH_CONFIRM_TIMEOUT = params.ACTION_AUTH_CONFIRM_TIMEOUT; } } aboutToBeDeleted() { this.__message.aboutToBeDeleted(); this.__allow.aboutToBeDeleted(); this.__seconds.aboutToBeDeleted(); this.__cancel.aboutToBeDeleted(); this.__times.aboutToBeDeleted(); this.__win.aboutToBeDeleted(); this.__ACTION_ALLOW_AUTH.aboutToBeDeleted(); this.__ACTION_CANCEL_AUTH.aboutToBeDeleted(); this.__ACTION_AUTH_CONFIRM_TIMEOUT.aboutToBeDeleted(); SubscriberManager.Get().delete(this.id()); } get message() { return this.__message.get(); } set message(newValue) { this.__message.set(newValue); } get allow() { return this.__allow.get(); } set allow(newValue) { this.__allow.set(newValue); } get seconds() { return this.__seconds.get(); } set seconds(newValue) { this.__seconds.set(newValue); } get cancel() { return this.__cancel.get(); } set cancel(newValue) { this.__cancel.set(newValue); } get times() { return this.__times.get(); } set times(newValue) { this.__times.set(newValue); } get win() { return this.__win.get(); } set win(newValue) { this.__win.set(newValue); } get ACTION_ALLOW_AUTH() { return this.__ACTION_ALLOW_AUTH.get(); } set ACTION_ALLOW_AUTH(newValue) { this.__ACTION_ALLOW_AUTH.set(newValue); } get ACTION_CANCEL_AUTH() { return this.__ACTION_CANCEL_AUTH.get(); } set ACTION_CANCEL_AUTH(newValue) { this.__ACTION_CANCEL_AUTH.set(newValue); } get ACTION_AUTH_CONFIRM_TIMEOUT() { return this.__ACTION_AUTH_CONFIRM_TIMEOUT.get(); } set ACTION_AUTH_CONFIRM_TIMEOUT(newValue) { this.__ACTION_AUTH_CONFIRM_TIMEOUT.set(newValue); } initStatus() { console.log(TAG + 'initStatus'); if (dmClass) { console.log(TAG + 'initStatus deviceManager exist'); return; } _ohos_distributedHardware_deviceManager_1.createDeviceManager('com.ohos.devicemanagerui', (err, dm) => { if (err) { console.log(TAG + "createDeviceManager err:" + JSON.stringify(err) + ' --fail:' + JSON.stringify(dm)); return; } dmClass = dm; }); } onAllow() { if (dmClass) { console.log(TAG + 'onAllow deviceManager exist'); } else { console.log(TAG + 'onAllow createDeviceManager is null'); return; } console.log(TAG + "allow " + this.ACTION_ALLOW_AUTH); this.setUserOperation(this.ACTION_ALLOW_AUTH); this.destruction(); } onCancel() { if (dmClass) { console.log(TAG + 'onCancel deviceManager exist'); } else { console.log(TAG + 'onCancel createDeviceManager is null'); return; } console.log(TAG + "cancel " + this.ACTION_CANCEL_AUTH); this.setUserOperation(this.ACTION_CANCEL_AUTH); this.destruction(); } setUserOperation(operation) { console.log(TAG + 'setUserOperation: ' + operation); if (dmClass == null) { console.log(TAG + 'setUserOperation: ' + 'dmClass null'); return; } dmClass.setUserOperation(operation, "extra"); } run() { console.info('seconds:' + that.seconds); that.seconds--; if (that.seconds == 0) { clearInterval(that.times); that.times = 0; that.setUserOperation(that.ACTION_AUTH_CONFIRM_TIMEOUT); that.destruction(); console.info('click cancel times run out'); } } onPageShow() { console.log(TAG + "onPageShow"); this.initStatus(); this.win = globalThis.extensionWin; that = this; if (this.times) return; this.times = setInterval(this.run, 1000); } destruction() { console.log(TAG + "destruction"); if (dmClass != null) { dmClass.release(); dmClass = null; } _ohos_ability_featureAbility_1.terminateSelf().then((data) => { console.info(TAG + "terminate confirm ui"); }); } render() { Row.create(); Row.width('100%'); Row.height('100%'); Column.create(); Column.width('100%'); Text.create(this.message); Text.fontSize(35); Text.fontWeight(FontWeight.Bold); Text.pop(); Row.create(); Row.height('2%'); Row.pop(); Flex.create({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }); Flex.width('100%'); Row.create(); Row.width('100%'); Button.createWithLabel("取消" + "(" + this.seconds + "秒)"); Button.fontSize(25); Button.backgroundColor(0xffffff); Button.fontColor(0x0000ff); Button.margin({ left: '5%' }); Button.height(50); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.onCancel(); }); Button.width('55%'); Button.pop(); Button.createWithLabel(this.allow); Button.fontSize(25); Button.height(50); Button.margin({ left: '5%' }); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.onAllow(); }); Button.width('30%'); Button.pop(); Row.pop(); Flex.pop(); Column.pop(); Row.pop(); } } loadDocument(new dialogPlusPage("1", undefined, {})); /***/ }) /******/ }); /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module is referenced by other modules so it can't be inlined /******/ var __webpack_exports__ = {}; /******/ __webpack_modules__["../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/ConfirmDialogAbility/pages/index.ets?entry"](0, __webpack_exports__); /******/ _f4a7cd378e76828066a75b785f9d7ba7 = __webpack_exports__; /******/ /******/ })() ; //# sourceMappingURL=index.js.mapPK !:@\1assets/js/ConfirmDialogAbility/pages/index.js.map{"version":3,"file":"./pages/index.js","mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;GAaG;AACH,sHAAoE;AACpE,gGAA0D;AAC1D,IAAI,IAAI,CAAC;AACT,IAAI,OAAO,CAAC;AACZ,IAAI,GAAG,GAAG,uCAAuC;MAG1C,cAAc;IAFrB;;oDAG2B,YAAY;kDACd,IAAI;oDACF,EAAE;mDACH,kBAAkB;kDACnB,CAAC;gDACN,EAAE;8DACe,CAAC;+DACA,CAAC;wEACQ,CAAC;;KAZC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAIxC,OAAO;;;QAAP,OAAO;;;QACP,KAAK;;;QAAL,KAAK;;;QACL,OAAO;;;QAAP,OAAO;;;QACP,MAAM;;;QAAN,MAAM;;;QACN,KAAK;;;QAAL,KAAK;;;QACL,GAAG;;;QAAH,GAAG;;;QACH,iBAAiB;;;QAAjB,iBAAiB;;;QACjB,kBAAkB;;;QAAlB,kBAAkB;;;QAClB,2BAA2B;;;QAA3B,2BAA2B;;;IAElC,UAAU;QACR,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,YAAY,CAAC;QAC/B,IAAI,OAAO,EAAE;YACX,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,gCAAgC,CAAC;YACnD,OAAM;SACP;QACD,iDAAa,CAAC,mBAAmB,CAAC,0BAA0B,EAAE,CAAC,GAAG,EAAE;YAClE,IAAI,GAAG,EAAE;gBACP,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,0BAA0B,GAAG,IAAI,CAAC,SAAS,CAAC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,MAAM;QAL/B,MAAM,CAMH,OAAO,CAAC,GAAG,EAAE;YACZ,IAAI,CAAC,OAAO,EAAE;QAChB,CAAC;QARH,MAAM,CAQD,KAAK,CAAC,KAAK;QARhB,MAAM,OAQW;QApBnB,GAAG,OAqBY;QAtBjB,IAAI,OAuBW;QA5BjB,MAAM,OA6BS;QA9BjB,GAAG,OAgCY;KAChB;;;;;;;;;;UEpJH;UACA;UACA;UACA;UACA","sources":["webpack:///C:\\Users\\123\\DevEcoStudioProjects\\devicemanager_ui_noservice_ver01\\devicemanager_ui_noservice\\entry\\src\\main\\ets\\ConfirmDialogAbility\\pages\\index.ets","webpack:///webpack/before-startup","webpack:///webpack/startup","webpack:///webpack/after-startup"],"names":[],"sourceRoot":""}PK !:C?'assets/js/InputPinDialogAbility/app.abcPANDAc.<Ld#a:EWua#6<'L_ESTypeAnnotation;/L_ESCallTypeAnnotation;C_ab608e3491bdf01de7a0979e32aea3fa#2##1#defaultdefineProperty5../../api/@ohos.hilog.d.tsuse strict=InputPinDialogAbility onCreatelog#3#indexOfconsole Object ?name=exports'__webpack_require__?InputPinDialogAbility onDestroy__esModule keysq__common_module_cache___ab608e3491bdf01de7a0979e32aea3faL_ESModuleMode;JisModulefunc_main_0L_GLOBAL;T|qw-]4funcObjany4newTarget thisargumentsC:\Users\123\DevEcoStudioProjects\devicemanager_ui_noservice_ver01\devicemanager_ui_noservice\entry\build\default\intermediates\assets_jsbundle\default\js\InputPinDialogAbility\app_.js/var _ab608e3491bdf01de7a0979e32aea3fa; /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../../api/@ohos.hilog.d.ts": /*!**********************************!*\ !*** ../../api/@ohos.hilog.d.ts ***! \**********************************/ /***/ (() => { /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ var commonCachedModule = globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"] ? globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"][moduleId]: null; /******/ if (commonCachedModule) { return commonCachedModule.exports; } /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ if (globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"] && moduleId.indexOf("?name=") < 0 && Object.keys(globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"]).indexOf(moduleId) >= 0) { /******/ globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"][moduleId] = module; /******/ } /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be in strict mode. (() => { "use strict"; var exports = __webpack_exports__; /*!***********************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/InputPinDialogAbility/app.ets?entry ***! \***********************************************************************************************************************************************************************/ Object.defineProperty(exports, "__esModule", ({ value: true })); __webpack_require__(/*! @ohos.hilog */ "../../api/@ohos.hilog.d.ts"); globalThis.exports.default = { onCreate() { console.log("InputPinDialogAbility onCreate"); }, onDestroy() { console.log("InputPinDialogAbility onDestroy"); }, }; })(); _ab608e3491bdf01de7a0979e32aea3fa = __webpack_exports__; /******/ })() ; //# sourceMappingURL=app.js.maponDestroyonCreatemoduleId%commonCachedModulecachedModule moduleP value   $1__webpack_module_cache__'__webpack_modules__'__webpack_exports__1+B  vmmm @`;    ]  Y /   mm_m m0i`$mmm0`;j0v  J  p w          6 -%%) $  d   @j1swi \j!$G w gx   \  3        \   M     81.-'  G,  swl\       & >B,  swlL\& ;Edw~- w L"~-wjL3-wj    i  y Mw~-/ wv  \ !-""~-ls w w \ wv  \$-"~- w    Mj L   w j! \w           /   ]   /  \   ^    m  v   4                           M       N         ^   &     $/$mxm$,?%7   1= =YbYjbYvY {{{{{{   T `  )181A     Eb<OPK !:1D &assets/js/InputPinDialogAbility/app.jsvar _ab608e3491bdf01de7a0979e32aea3fa; /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../../api/@ohos.hilog.d.ts": /*!**********************************!*\ !*** ../../api/@ohos.hilog.d.ts ***! \**********************************/ /***/ (() => { /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ var commonCachedModule = globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"] ? globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"][moduleId]: null; /******/ if (commonCachedModule) { return commonCachedModule.exports; } /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ if (globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"] && moduleId.indexOf("?name=") < 0 && Object.keys(globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"]).indexOf(moduleId) >= 0) { /******/ globalThis["__common_module_cache___ab608e3491bdf01de7a0979e32aea3fa"][moduleId] = module; /******/ } /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be in strict mode. (() => { "use strict"; var exports = __webpack_exports__; /*!***********************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/InputPinDialogAbility/app.ets?entry ***! \***********************************************************************************************************************************************************************/ Object.defineProperty(exports, "__esModule", ({ value: true })); __webpack_require__(/*! @ohos.hilog */ "../../api/@ohos.hilog.d.ts"); globalThis.exports.default = { onCreate() { console.log("InputPinDialogAbility onCreate"); }, onDestroy() { console.log("InputPinDialogAbility onDestroy"); }, }; })(); _ab608e3491bdf01de7a0979e32aea3fa = __webpack_exports__; /******/ })() ; //# sourceMappingURL=app.js.mapPK !:k*assets/js/InputPinDialogAbility/app.js.map{"version":3,"file":"./app.js","mappings":";;;;;;;;;;;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA,2BAA2B;UAC3B;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;UACA;UACA;;UAEA;UACA;UACA;;;;;;;;;;;;;AC1BA,qEAAgC;AAEhC,kBAAe;IACb,QAAQ;QACN,OAAO,CAAC,GAAG,CAAC,gCAAgC,CAAC;IAC/C,CAAC;IACD,SAAS;QACP,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC;IAChD,CAAC;CACF","sources":["webpack:///C:\\Users\\123\\AppData\\Local\\OpenHarmony\\Sdk\\ets\\3.1.7.7\\api\\@ohos.hilog.d.ts","webpack:///webpack/bootstrap","webpack:///C:\\Users\\123\\DevEcoStudioProjects\\devicemanager_ui_noservice_ver01\\devicemanager_ui_noservice\\entry\\src\\main\\ets\\InputPinDialogAbility\\app.ets"],"names":[],"sourceRoot":""}PK !:=7%%%-assets/js/InputPinDialogAbility/manifest.json{"appID":"com.ohos.devicemanagerui","versionName":"1.0.0","versionCode":1000000,"minPlatformVersion":8,"appName":".ConfirmDialogAbility","deviceType":["default","tablet"],"window":{"designWidth":720,"autoDesignWidth":false},"pages":["pages/index"],"mode":{"syntax":"ets","type":"pageAbility"}}PK !:a/assets/js/InputPinDialogAbility/pages/index.abcPANDAaXt.<L tO }IIJJJJJK,KOKIIIiJtJt*ddO  fP$:,  H^2t  * @ V l z HtIHh'L_ESTypeAnnotation;/L_ESCallTypeAnnotation;C_ab608e3491bdf01de7a0979e32aea3fa #33#1?#23#ACTION_CANCEL_PINCODE_INPUT render#21#win #17#ok!#16#inputPinCode!#15#inputPinCode)#14#errorTipsVisible#12#errorTips#11#errorTips#10#isShow#8#isTimes#6#messageTips#4#messageTitle#3#messageTitlefeatureAbility-ability.featureAbility#19#cancelsystemplugindeviceManager'distributedHardwareohospluginisSystempluginprototypeCdistributedHardware.deviceManager3% #31#onClick Normaluse strict borderbackgroundColor__importDefault #32#alignItems#7#isTimesItemAlign colorjustifyContent CenterFlexAlign30%visibilityability #30##1#onChange FlexmaxLength#5#messageTips20% Bold Text25%fontWeight 100% width #18#ok'Done param abnormal create onDone #29#fontColorterminateSelf+terminate inputPin uiFontWeight this9onCancel deviceManager exist then!setUserOperation systemEonDone createDeviceManager is nullpop Column'createDeviceManager#20#cancel #27#onverifyFailed ${dm};#26#ACTION_DONE_PINCODE_INPUT%__errorTipsVisibleset --fail:10%onCancel7ACTION_CANCEL_PINCODE_INPUT1createDeviceManager err:loadDocumentTAGdestructionIonCancel createDeviceManager is null paramGetaboutToAppear parserequireNapiInputType2%log'deviceManager exist#22#winstringify JSON NumberRowKuiStateChange executed, dialog closeduiStateChangeoffcreateWithLabel!aboutToDisappear../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/InputPinDialogAbility/pages/index.ets?entry-ObservedPropertyObjectinitStatus;#25#ACTION_DONE_PINCODE_INPUTconsole height#9#isShowdmClass null!errorTipsVisible cancleget info Object(PIN码输入错误,请重新输入(3次:还有onDone action PIN码连接 __win?#24#ACTION_CANCEL_PINCODE_INPUT View7__ACTION_DONE_PINCODE_INPUT #34#fontSizeid#SubscriberManager!aboutToBeDeleted+updateWithValueParams margindmClass3ACTION_DONE_PINCODE_INPUT5onDone deviceManager exist确定;__ACTION_CANCEL_PINCODE_INPUTG[DeviceManagerUI:InputPinDialog]==>%setUserOperation: cancel Button取消ok1com.ohos.devicemanageruiVisibilityinputPinCode delete__errorTips__inputPinCode&请输入另一个设备显示的PIN码进行验证 #28#Visible type__esModuleerrorTips text isShow Medium__messageTipsisTimeswin##2#dialogPlusPagerelease__isShow extra ohosTextInput__isTimesdefineProperty__cancel次机会))#13#errorTipsVisiblemessageTitle __ok-ObservedPropertySimpledefaultmessageTips__messageTitle HiddenL_ESModuleMode;8 isModulefunc_main_0L_GLOBAL;-B vKK LCWYXZZ\}\]/ K]]%^x^^^(_Y____&`}R````waTa abLb.cZcccc 'dXd>dd`deQeee8fBkfflfg,Kgggo^dqqqrV Ysuhvv<vwxFxrxx>xyQzf{h {~x @{5Q2 4funcObjany4newTargetargumentsC:\Users\123\DevEcoStudioProjects\devicemanager_ui_noservice_ver01\devicemanager_ui_noservice\entry\build\default\intermediates\assets_jsbundle\default\js\InputPinDialogAbility\pages\index_.jsvar _ab608e3491bdf01de7a0979e32aea3fa; /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/InputPinDialogAbility/pages/index.ets?entry": /*!*******************************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/InputPinDialogAbility/pages/index.ets?entry ***! \*******************************************************************************************************************************************************************************/ /***/ (function(__unused_webpack_module, exports) { var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); /* * Copyright (c) 2022 Huawei Device 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. */ var _ohos_distributedHardware_deviceManager_1 = globalThis.requireNapi('distributedHardware.deviceManager') || (isSystemplugin('distributedHardware.deviceManager', 'ohos') ? globalThis.ohosplugin.distributedHardware.deviceManager : isSystemplugin('distributedHardware.deviceManager', 'system') ? globalThis.systemplugin.distributedHardware.deviceManager : undefined); var _ohos_ability_featureAbility_1 = globalThis.requireNapi('ability.featureAbility') || (isSystemplugin('ability.featureAbility', 'ohos') ? globalThis.ohosplugin.ability.featureAbility : isSystemplugin('ability.featureAbility', 'system') ? globalThis.systemplugin.ability.featureAbility : undefined); var that; let dmClass; let TAG = "[DeviceManagerUI:InputPinDialog]==>"; class dialogPlusPage extends View { constructor(compilerAssignedUniqueChildId, parent, params) { super(compilerAssignedUniqueChildId, parent); this.__messageTitle = new ObservedPropertySimple('PIN码连接', this, "messageTitle"); this.__messageTips = new ObservedPropertySimple('请输入另一个设备显示的PIN码进行验证', this, "messageTips"); this.__isTimes = new ObservedPropertySimple(3, this, "isTimes"); this.__isShow = new ObservedPropertySimple(true, this, "isShow"); this.__errorTips = new ObservedPropertySimple('PIN码输入错误,请重新输入(3次:还有' + this.isTimes + '次机会)', this, "errorTips"); this.__errorTipsVisible = new ObservedPropertySimple(Visibility.Hidden, this, "errorTipsVisible"); this.__inputPinCode = new ObservedPropertySimple('', this, "inputPinCode"); this.__ok = new ObservedPropertySimple('确定', this, "ok"); this.__cancel = new ObservedPropertySimple('取消', this, "cancel"); this.__win = new ObservedPropertyObject("", this, "win"); this.__ACTION_CANCEL_PINCODE_INPUT = new ObservedPropertySimple(4, this, "ACTION_CANCEL_PINCODE_INPUT"); this.__ACTION_DONE_PINCODE_INPUT = new ObservedPropertySimple(5, this, "ACTION_DONE_PINCODE_INPUT"); this.updateWithValueParams(params); } updateWithValueParams(params) { if (params.messageTitle !== undefined) { this.messageTitle = params.messageTitle; } if (params.messageTips !== undefined) { this.messageTips = params.messageTips; } if (params.isTimes !== undefined) { this.isTimes = params.isTimes; } if (params.isShow !== undefined) { this.isShow = params.isShow; } if (params.errorTips !== undefined) { this.errorTips = params.errorTips; } if (params.errorTipsVisible !== undefined) { this.errorTipsVisible = params.errorTipsVisible; } if (params.inputPinCode !== undefined) { this.inputPinCode = params.inputPinCode; } if (params.ok !== undefined) { this.ok = params.ok; } if (params.cancel !== undefined) { this.cancel = params.cancel; } if (params.win !== undefined) { this.win = params.win; } if (params.ACTION_CANCEL_PINCODE_INPUT !== undefined) { this.ACTION_CANCEL_PINCODE_INPUT = params.ACTION_CANCEL_PINCODE_INPUT; } if (params.ACTION_DONE_PINCODE_INPUT !== undefined) { this.ACTION_DONE_PINCODE_INPUT = params.ACTION_DONE_PINCODE_INPUT; } } aboutToBeDeleted() { this.__messageTitle.aboutToBeDeleted(); this.__messageTips.aboutToBeDeleted(); this.__isTimes.aboutToBeDeleted(); this.__isShow.aboutToBeDeleted(); this.__errorTips.aboutToBeDeleted(); this.__errorTipsVisible.aboutToBeDeleted(); this.__inputPinCode.aboutToBeDeleted(); this.__ok.aboutToBeDeleted(); this.__cancel.aboutToBeDeleted(); this.__win.aboutToBeDeleted(); this.__ACTION_CANCEL_PINCODE_INPUT.aboutToBeDeleted(); this.__ACTION_DONE_PINCODE_INPUT.aboutToBeDeleted(); SubscriberManager.Get().delete(this.id()); } get messageTitle() { return this.__messageTitle.get(); } set messageTitle(newValue) { this.__messageTitle.set(newValue); } get messageTips() { return this.__messageTips.get(); } set messageTips(newValue) { this.__messageTips.set(newValue); } get isTimes() { return this.__isTimes.get(); } set isTimes(newValue) { this.__isTimes.set(newValue); } get isShow() { return this.__isShow.get(); } set isShow(newValue) { this.__isShow.set(newValue); } get errorTips() { return this.__errorTips.get(); } set errorTips(newValue) { this.__errorTips.set(newValue); } get errorTipsVisible() { return this.__errorTipsVisible.get(); } set errorTipsVisible(newValue) { this.__errorTipsVisible.set(newValue); } get inputPinCode() { return this.__inputPinCode.get(); } set inputPinCode(newValue) { this.__inputPinCode.set(newValue); } get ok() { return this.__ok.get(); } set ok(newValue) { this.__ok.set(newValue); } get cancel() { return this.__cancel.get(); } set cancel(newValue) { this.__cancel.set(newValue); } get win() { return this.__win.get(); } set win(newValue) { this.__win.set(newValue); } get ACTION_CANCEL_PINCODE_INPUT() { return this.__ACTION_CANCEL_PINCODE_INPUT.get(); } set ACTION_CANCEL_PINCODE_INPUT(newValue) { this.__ACTION_CANCEL_PINCODE_INPUT.set(newValue); } get ACTION_DONE_PINCODE_INPUT() { return this.__ACTION_DONE_PINCODE_INPUT.get(); } set ACTION_DONE_PINCODE_INPUT(newValue) { this.__ACTION_DONE_PINCODE_INPUT.set(newValue); } aboutToAppear() { console.log(TAG + 'aboutToAppear'); that = this; this.initStatus(); } aboutToDisappear() { console.log(TAG + 'aboutToDisappear'); if (dmClass != null) { dmClass.off('uiStateChange'); dmClass.release(); dmClass = null; } } initStatus() { console.log(TAG + 'initStatus'); if (dmClass) { console.log(TAG + 'deviceManager exist'); return; } _ohos_distributedHardware_deviceManager_1.createDeviceManager('com.ohos.devicemanagerui', (err, dm) => { if (err) { console.log("createDeviceManager err:" + JSON.stringify(err) + ' --fail:' + '${dm}'); return; } dmClass = dm; dmClass.on('uiStateChange', (data) => { console.log("uiStateChange executed, dialog closed" + JSON.stringify(data)); var tmpStr = JSON.parse(data.param); this.isShow = tmpStr.verifyFailed; console.log("uiStateChange executed, dialog closed" + this.isShow); if (!this.isShow) { this.destruction(); } else { this.isTimes--; this.errorTips = 'PIN码输入错误,请重新输入(3次:还有' + this.isTimes + '次机会)'; this.inputPinCode = ''; this.errorTipsVisible = Visibility.Visible; } }); }); } onDone() { if (this.inputPinCode == null || this.inputPinCode == "") { console.log(TAG + "Done param abnormal"); return; } if (dmClass) { console.log(TAG + 'onDone deviceManager exist'); } else { console.log(TAG + 'onDone createDeviceManager is null'); return; } console.log(TAG + "onDone action " + JSON.stringify(this.ACTION_DONE_PINCODE_INPUT)); this.setUserOperation(this.ACTION_DONE_PINCODE_INPUT, this.inputPinCode); } onCancel() { if (!dmClass) { console.log(TAG + 'onCancel deviceManager exist'); } else { console.log(TAG + 'onCancel createDeviceManager is null'); return; } console.log(TAG + "cancle" + this.ACTION_CANCEL_PINCODE_INPUT); this.setUserOperation(this.ACTION_CANCEL_PINCODE_INPUT, "extra"); this.destruction(); } setUserOperation(operation, extra) { console.log(TAG + 'setUserOperation: ' + operation); if (dmClass == null) { console.log(TAG + 'setUserOperation: ' + 'dmClass null'); } dmClass.setUserOperation(operation, extra); } destruction() { console.log(TAG + "destruction"); if (dmClass != null) { dmClass.release(); dmClass = null; } _ohos_ability_featureAbility_1.terminateSelf().then((data) => { console.info(TAG + "terminate inputPin ui"); }); } render() { Row.create(); Row.width('100%'); Row.height('100%'); Column.create(); Column.width('100%'); Text.create(this.messageTitle); Text.fontSize(35); Text.fontWeight(FontWeight.Bold); Text.height('25%'); Text.pop(); Text.create(this.messageTips); Text.fontSize(25); Text.fontWeight(FontWeight.Medium); Text.height('20%'); Text.pop(); Row.create(); Row.height('2%'); Row.pop(); TextInput.create({ text: this.inputPinCode }); TextInput.fontSize(25); TextInput.fontWeight(FontWeight.Bold); TextInput.maxLength(6); TextInput.height('20%'); TextInput.type(InputType.Number); TextInput.onChange((value) => { this.inputPinCode = value; console.info(this.inputPinCode); }); Text.create(this.errorTips); Text.fontSize(15); Text.fontWeight(FontWeight.Medium); Text.fontColor(0xff0000); Text.visibility(this.errorTipsVisible); Text.height('10%'); Text.pop(); Flex.create({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }); Flex.width('100%'); Flex.height('20%'); Row.create(); Row.width('100%'); Button.createWithLabel(this.cancel); Button.fontSize(25); Button.backgroundColor(0xffffff); Button.fontColor(0x0000ff); Button.height(50); Button.margin({ left: '10%' }); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.onCancel(); }); Button.width('30%'); Button.pop(); Button.createWithLabel(this.ok); Button.fontSize(25); Button.fontColor(0xffffff); Button.height(50); Button.margin({ left: '20%' }); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.onDone(); }); Button.width('30%'); Button.pop(); Row.pop(); Flex.pop(); Row.create(); Row.height('3%'); Row.pop(); Column.pop(); Row.pop(); } } loadDocument(new dialogPlusPage("1", undefined, {})); /***/ }) /******/ }); /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module is referenced by other modules so it can't be inlined /******/ var __webpack_exports__ = {}; /******/ __webpack_modules__["../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/InputPinDialogAbility/pages/index.ets?entry"](0, __webpack_exports__); /******/ _ab608e3491bdf01de7a0979e32aea3fa = __webpack_exports__; /******/ /******/ })() ; //# sourceMappingURL=index.js.map data'__webpack_modules__'__webpack_exports__newValueerrdm value/__unused_webpack_moduleexportsdialogPlusPageoperation params tmpStr;compilerAssignedUniqueChildId parentmod Q]Hh | V  9J JIJ thatS_ohos_distributedHardware_deviceManager_1=_ohos_ability_featureAbility_1NQ]Q] J left v?K2 radiusJN v?K2Q]B  vmmm u`;    ]  Y /"      mm msw\swvp\swDp\sZw\sZwvp\sYwj  F w \sYw5 #\sYwdswS\sYwD_\sYwU\sYwj  F w \sYw5 \sYwdsw \sYwDN\sYwU\sw\swD\swU\se wij  F wi y \se w5 \se wdswS\se w3\se wDN\se w sw\se w#` \sYwj  F w \sYw5 \sYwdsw \sYw\sYwj  F we\sYwD\sYwU\s-wiswyswy\s-wvp\s-wDN\sw\swvp\s/ w+j  F w' \s/ w5 \s/ w\s/ w\s/ wD2\s/ w i\s/ wiy\s/ wdswm\s/ wd` \s/ wv\s/ wU\s/ w+j  F w? \s/ w5 \s/ w\s/ wD2\s/ w i\s/ wiy\s/ wdswm\s/ wd` \s/ wv\s/ wU\swU\s-wU\sw\swDZ\swU\sZwU\swU\      \     \     \    \     \       \     \       \     \    \       \     \       \     \    \    \     \    \         \     \       \     \     \       \     _       \     \       \     \       \     \    \            \     \     \    \     \       \     \     \     \     \     \        \       \     ^     \    \       \     \     \     \     \        \       \     ^     \    \    \    \    \     \    \    \                  #          #           !&(!      #          &0DN8         $ ,$% $ ,$%             } H  d s;wj9 F \         '     }  d  j! F~- " ~-8s;wj9F\"=s;wj9FK\ s;wj9 F ww\wwX \w>\         |       \ {          \        \     f        %* #@   ~ a  d s;wj9F}\mw\        \      5    ~ c    ui _ NwN\v  \ p u w    /      \   <   ˑ %%$  . } 1   w w\         3    )-)~ -  w w\        $ 00 -  w w\$ 22 1   ww\3    ~ -  w w\$  1   w w\3    ~ -  w w\$  1   w w\3    ~d ~-Ys;w s w \    \j" Fm"j"  F w` \  M k              \ {        T    b9>9H>O]  ( ~ -  wN w\$  1   w w\3     ~ -  w w\$ ## -  ww\$ '' -  w w\$ "" 1   wN w\3     -  ww\$  g d j F xi s;wj  F wi \    z       +       } 1   w w\3    ~ 1   wp w\3     1   ww\3     $ ~  m0m@m~- w "- _"sw{   i \ w 7 \.s7 _ W ~-! w w w"Bs7 ) W ~-! w w w""m0 w  \.s _ W ~-! w w w"Bs ) W ~-! w w w""m@m  ms p  w, c  Y  w, c   Y  w, c  Y  w, c   Y  w, c $ Y  w, c $ Y  w, c(  Y  w, c   Y  w, c  Y  w, c  Y  w, c e Y  w, c e Y  w, c i Y  w, c" i Y  w, c& ? Y  w, c% ? Y  w, c$ ' Y  w, c' ' Y  w, c - Y  w, c# - Y  w, c  Y  w, c   Y  w, c  Y  w, c  Y  w, c! y} w, c  y< w, c y w, c y w, c y w, c y w, c  y> w, c) y s+    Z G         1                                                                                                  #    " $8.-1<1H<1qq q 1&1&=1&[j[ [ &  ''''''''''''''''''''''''~~~~~~~~    % 0 } 3  djFw\          }d  s;wj 9 F   \j! F -@s;wj 9 F   W\j! F w\          \   \        ]       ]    1   5!,~   w wV \w wV \wp wV \wN wV \w wV \wwV \w wV \w wV \w wV \wwV \w wV \w wV \sC wx\ww w? \\       \      \      \      \      \      \      \      \      \      \      \      \                            ++ )) ',','  -  w w\$ ##   d  s;wj9F<\j! F -gj! Fw&\j! FwE \ j! Fm!        \   \    \    \   C        ~ -  wp w\$  3  djFw\    }    mmm s;wj9 F >\j! F ->j! FwE \ j! Fm!jAw\w` \         \   \   \            T      ''7< 7}    mm ms;wj9 F \j! F~-=s;wj9 F \ j1wbC ` \         \       \ {       N     2Fb 2~    w 3-w x w 3-w x w$ 3-w$ x$ w 3-w x w 3-w x we3-wexewi 3-wi xi w? 3-w? x? w' 3-w' x' w- 3-w- x- w3-wxw 3-w x       \   {    \   {    \   {    \   {    \   {    \   {    \   {    \   {    \   {    \   {    \   {    \       6  $  '  # &   "   !  ! $  ( $+  $  '      !     3 /6  1 -4  1   w w\3     1   w w\3    +/+~ 1   w w\3     d  wi  -"-#wi  -"~-=s;wj9F\ j! F~-8s;wj9F \"=s;wj9F1\ s;wj9 F sw w \\ww wi \            M      \ {      |       \ {               \               ! ).)>)       -2-<A<2 #>C> ~d s;ws w  \ \swwq\j  F wx s;wj  F w \j F w ~-"~-'j F w>\#j  F w$ /x$ +j  F j  F w$  x j  F  xi j  F s] w xe            \        /    z       \             z  z       Ē FKFUK"(-("%FK-%>C%M%(,7~ -  w w\$    ]  h  hs    h  Zx   hs    h  Zx   hs    h $ Zxp   hs    h  ZxN   hs   h w$     h  Zx   hs  s] w  h e Zx  hs    h i Zx   hs    h ? Zx   hs  7  h ' Zx   hs   h - Zx  hs    h  Zx   hs    h  Zx   hwh \h    M MY N      Y N     zX O      X O     zW P      W P     z Q       Q     z R      R        R     z S        S     z T       T     z U       U     z V       V     z             z             z             z         ̒   &-"9CCI!8OOU477={39{9?z6OzOT6^6fzfly&"=H"PyP"V"x"9=x=Cw/5w5;v39v9?u 04u 4:t 1-H-Kt K-Q-s /+F+Is I+O+r # r E   ~-w "~-"iy              4      % +8-+ Z^^qK>ZpT[tnfrw_'{}͊y^b]\PK !:ix7x7.assets/js/InputPinDialogAbility/pages/index.jsvar _ab608e3491bdf01de7a0979e32aea3fa; /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/InputPinDialogAbility/pages/index.ets?entry": /*!*******************************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/InputPinDialogAbility/pages/index.ets?entry ***! \*******************************************************************************************************************************************************************************/ /***/ (function(__unused_webpack_module, exports) { var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); /* * Copyright (c) 2022 Huawei Device 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. */ var _ohos_distributedHardware_deviceManager_1 = globalThis.requireNapi('distributedHardware.deviceManager') || (isSystemplugin('distributedHardware.deviceManager', 'ohos') ? globalThis.ohosplugin.distributedHardware.deviceManager : isSystemplugin('distributedHardware.deviceManager', 'system') ? globalThis.systemplugin.distributedHardware.deviceManager : undefined); var _ohos_ability_featureAbility_1 = globalThis.requireNapi('ability.featureAbility') || (isSystemplugin('ability.featureAbility', 'ohos') ? globalThis.ohosplugin.ability.featureAbility : isSystemplugin('ability.featureAbility', 'system') ? globalThis.systemplugin.ability.featureAbility : undefined); var that; let dmClass; let TAG = "[DeviceManagerUI:InputPinDialog]==>"; class dialogPlusPage extends View { constructor(compilerAssignedUniqueChildId, parent, params) { super(compilerAssignedUniqueChildId, parent); this.__messageTitle = new ObservedPropertySimple('PIN码连接', this, "messageTitle"); this.__messageTips = new ObservedPropertySimple('请输入另一个设备显示的PIN码进行验证', this, "messageTips"); this.__isTimes = new ObservedPropertySimple(3, this, "isTimes"); this.__isShow = new ObservedPropertySimple(true, this, "isShow"); this.__errorTips = new ObservedPropertySimple('PIN码输入错误,请重新输入(3次:还有' + this.isTimes + '次机会)', this, "errorTips"); this.__errorTipsVisible = new ObservedPropertySimple(Visibility.Hidden, this, "errorTipsVisible"); this.__inputPinCode = new ObservedPropertySimple('', this, "inputPinCode"); this.__ok = new ObservedPropertySimple('确定', this, "ok"); this.__cancel = new ObservedPropertySimple('取消', this, "cancel"); this.__win = new ObservedPropertyObject("", this, "win"); this.__ACTION_CANCEL_PINCODE_INPUT = new ObservedPropertySimple(4, this, "ACTION_CANCEL_PINCODE_INPUT"); this.__ACTION_DONE_PINCODE_INPUT = new ObservedPropertySimple(5, this, "ACTION_DONE_PINCODE_INPUT"); this.updateWithValueParams(params); } updateWithValueParams(params) { if (params.messageTitle !== undefined) { this.messageTitle = params.messageTitle; } if (params.messageTips !== undefined) { this.messageTips = params.messageTips; } if (params.isTimes !== undefined) { this.isTimes = params.isTimes; } if (params.isShow !== undefined) { this.isShow = params.isShow; } if (params.errorTips !== undefined) { this.errorTips = params.errorTips; } if (params.errorTipsVisible !== undefined) { this.errorTipsVisible = params.errorTipsVisible; } if (params.inputPinCode !== undefined) { this.inputPinCode = params.inputPinCode; } if (params.ok !== undefined) { this.ok = params.ok; } if (params.cancel !== undefined) { this.cancel = params.cancel; } if (params.win !== undefined) { this.win = params.win; } if (params.ACTION_CANCEL_PINCODE_INPUT !== undefined) { this.ACTION_CANCEL_PINCODE_INPUT = params.ACTION_CANCEL_PINCODE_INPUT; } if (params.ACTION_DONE_PINCODE_INPUT !== undefined) { this.ACTION_DONE_PINCODE_INPUT = params.ACTION_DONE_PINCODE_INPUT; } } aboutToBeDeleted() { this.__messageTitle.aboutToBeDeleted(); this.__messageTips.aboutToBeDeleted(); this.__isTimes.aboutToBeDeleted(); this.__isShow.aboutToBeDeleted(); this.__errorTips.aboutToBeDeleted(); this.__errorTipsVisible.aboutToBeDeleted(); this.__inputPinCode.aboutToBeDeleted(); this.__ok.aboutToBeDeleted(); this.__cancel.aboutToBeDeleted(); this.__win.aboutToBeDeleted(); this.__ACTION_CANCEL_PINCODE_INPUT.aboutToBeDeleted(); this.__ACTION_DONE_PINCODE_INPUT.aboutToBeDeleted(); SubscriberManager.Get().delete(this.id()); } get messageTitle() { return this.__messageTitle.get(); } set messageTitle(newValue) { this.__messageTitle.set(newValue); } get messageTips() { return this.__messageTips.get(); } set messageTips(newValue) { this.__messageTips.set(newValue); } get isTimes() { return this.__isTimes.get(); } set isTimes(newValue) { this.__isTimes.set(newValue); } get isShow() { return this.__isShow.get(); } set isShow(newValue) { this.__isShow.set(newValue); } get errorTips() { return this.__errorTips.get(); } set errorTips(newValue) { this.__errorTips.set(newValue); } get errorTipsVisible() { return this.__errorTipsVisible.get(); } set errorTipsVisible(newValue) { this.__errorTipsVisible.set(newValue); } get inputPinCode() { return this.__inputPinCode.get(); } set inputPinCode(newValue) { this.__inputPinCode.set(newValue); } get ok() { return this.__ok.get(); } set ok(newValue) { this.__ok.set(newValue); } get cancel() { return this.__cancel.get(); } set cancel(newValue) { this.__cancel.set(newValue); } get win() { return this.__win.get(); } set win(newValue) { this.__win.set(newValue); } get ACTION_CANCEL_PINCODE_INPUT() { return this.__ACTION_CANCEL_PINCODE_INPUT.get(); } set ACTION_CANCEL_PINCODE_INPUT(newValue) { this.__ACTION_CANCEL_PINCODE_INPUT.set(newValue); } get ACTION_DONE_PINCODE_INPUT() { return this.__ACTION_DONE_PINCODE_INPUT.get(); } set ACTION_DONE_PINCODE_INPUT(newValue) { this.__ACTION_DONE_PINCODE_INPUT.set(newValue); } aboutToAppear() { console.log(TAG + 'aboutToAppear'); that = this; this.initStatus(); } aboutToDisappear() { console.log(TAG + 'aboutToDisappear'); if (dmClass != null) { dmClass.off('uiStateChange'); dmClass.release(); dmClass = null; } } initStatus() { console.log(TAG + 'initStatus'); if (dmClass) { console.log(TAG + 'deviceManager exist'); return; } _ohos_distributedHardware_deviceManager_1.createDeviceManager('com.ohos.devicemanagerui', (err, dm) => { if (err) { console.log("createDeviceManager err:" + JSON.stringify(err) + ' --fail:' + '${dm}'); return; } dmClass = dm; dmClass.on('uiStateChange', (data) => { console.log("uiStateChange executed, dialog closed" + JSON.stringify(data)); var tmpStr = JSON.parse(data.param); this.isShow = tmpStr.verifyFailed; console.log("uiStateChange executed, dialog closed" + this.isShow); if (!this.isShow) { this.destruction(); } else { this.isTimes--; this.errorTips = 'PIN码输入错误,请重新输入(3次:还有' + this.isTimes + '次机会)'; this.inputPinCode = ''; this.errorTipsVisible = Visibility.Visible; } }); }); } onDone() { if (this.inputPinCode == null || this.inputPinCode == "") { console.log(TAG + "Done param abnormal"); return; } if (dmClass) { console.log(TAG + 'onDone deviceManager exist'); } else { console.log(TAG + 'onDone createDeviceManager is null'); return; } console.log(TAG + "onDone action " + JSON.stringify(this.ACTION_DONE_PINCODE_INPUT)); this.setUserOperation(this.ACTION_DONE_PINCODE_INPUT, this.inputPinCode); } onCancel() { if (!dmClass) { console.log(TAG + 'onCancel deviceManager exist'); } else { console.log(TAG + 'onCancel createDeviceManager is null'); return; } console.log(TAG + "cancle" + this.ACTION_CANCEL_PINCODE_INPUT); this.setUserOperation(this.ACTION_CANCEL_PINCODE_INPUT, "extra"); this.destruction(); } setUserOperation(operation, extra) { console.log(TAG + 'setUserOperation: ' + operation); if (dmClass == null) { console.log(TAG + 'setUserOperation: ' + 'dmClass null'); } dmClass.setUserOperation(operation, extra); } destruction() { console.log(TAG + "destruction"); if (dmClass != null) { dmClass.release(); dmClass = null; } _ohos_ability_featureAbility_1.terminateSelf().then((data) => { console.info(TAG + "terminate inputPin ui"); }); } render() { Row.create(); Row.width('100%'); Row.height('100%'); Column.create(); Column.width('100%'); Text.create(this.messageTitle); Text.fontSize(35); Text.fontWeight(FontWeight.Bold); Text.height('25%'); Text.pop(); Text.create(this.messageTips); Text.fontSize(25); Text.fontWeight(FontWeight.Medium); Text.height('20%'); Text.pop(); Row.create(); Row.height('2%'); Row.pop(); TextInput.create({ text: this.inputPinCode }); TextInput.fontSize(25); TextInput.fontWeight(FontWeight.Bold); TextInput.maxLength(6); TextInput.height('20%'); TextInput.type(InputType.Number); TextInput.onChange((value) => { this.inputPinCode = value; console.info(this.inputPinCode); }); Text.create(this.errorTips); Text.fontSize(15); Text.fontWeight(FontWeight.Medium); Text.fontColor(0xff0000); Text.visibility(this.errorTipsVisible); Text.height('10%'); Text.pop(); Flex.create({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }); Flex.width('100%'); Flex.height('20%'); Row.create(); Row.width('100%'); Button.createWithLabel(this.cancel); Button.fontSize(25); Button.backgroundColor(0xffffff); Button.fontColor(0x0000ff); Button.height(50); Button.margin({ left: '10%' }); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.onCancel(); }); Button.width('30%'); Button.pop(); Button.createWithLabel(this.ok); Button.fontSize(25); Button.fontColor(0xffffff); Button.height(50); Button.margin({ left: '20%' }); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.onDone(); }); Button.width('30%'); Button.pop(); Row.pop(); Flex.pop(); Row.create(); Row.height('3%'); Row.pop(); Column.pop(); Row.pop(); } } loadDocument(new dialogPlusPage("1", undefined, {})); /***/ }) /******/ }); /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module is referenced by other modules so it can't be inlined /******/ var __webpack_exports__ = {}; /******/ __webpack_modules__["../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/InputPinDialogAbility/pages/index.ets?entry"](0, __webpack_exports__); /******/ _ab608e3491bdf01de7a0979e32aea3fa = __webpack_exports__; /******/ /******/ })() ; //# sourceMappingURL=index.js.mapPK !:w6cKK2assets/js/InputPinDialogAbility/pages/index.js.map{"version":3,"file":"./pages/index.js","mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;GAaG;AACH,sHAAoE;AACpE,gGAA0D;AAC1D,IAAI,IAAI,CAAC;AACT,IAAI,OAAO,CAAC;AACZ,IAAI,GAAG,GAAG,qCAAqC;MAGxC,cAAc;IAFrB;;yDAGgC,QAAQ;wDACT,qBAAqB;oDACzB,CAAC;mDACD,IAAI;sDACF,sBAAsB,GAAG,IAAI,CAAC,OAAO,GAAG,MAAM;6DACvC,UAAU,CAAC,MAAM;yDACrB,EAAE;+CACZ,IAAI;mDACA,IAAI;gDACV,EAAE;wEACyB,CAAC;sEACH,CAAC;;KAfC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAItC,YAAY;;;QAAZ,YAAY;;;QACZ,WAAW;;;QAAX,WAAW;;;QACX,OAAO;;;QAAP,OAAO;;;QACP,MAAM;;;QAAN,MAAM;;;QACN,SAAS;;;QAAT,SAAS;;;QACT,gBAAgB;;;QAAhB,gBAAgB;;;QAChB,YAAY;;;QAAZ,YAAY;;;QACZ,EAAE;;;QAAF,EAAE;;;QACF,MAAM;;;QAAN,MAAM;;;QACN,GAAG;;;QAAH,GAAG;;;QACH,2BAA2B;;;QAA3B,2BAA2B;;;QAC3B,yBAAyB;;;QAAzB,yBAAyB;;;IAEhC,aAAa;QACX,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,eAAe,CAAC;QAClC,IAAI,GAAG,IAAI;QACX,IAAI,CAAC,UAAU,EAAE;IACnB,CAAC;IAED,gBAAgB;QACd,OAAO,CAAC,GAAG,CAAC,GAAG,GAAG,kBAAkB,CAAC;QACrC,IAAI,OAAO,IAAI,IAAI,EA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AC,QAAQ;QAFrB,MAAM,CAGH,MAAM,CAAC,EAAE;QAHZ,MAAM,CAIH,MAAM,CAAC,EAAC,IAAI,EAAE,KAAK,EAAC;QAJvB,MAAM,CAKH,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE;QALvD,MAAM,CAMH,UAAU,CAAC,UAAU,CAAC,MAAM;QAN/B,MAAM,CAOH,OAAO,CAAC,GAAG,EAAE;YACZ,IAAI,CAAC,MAAM,EAAE;QACf,CAAC;QATH,MAAM,CASD,KAAK,CAAC,KAAK;QAThB,MAAM,OASW;QArBnB,GAAG,OAsBY;QAvBjB,IAAI,OAwByB;QAC7B,GAAG,UAAkB;QAArB,GAAG,CAAM,MAAM,CAAC,IAAI;QAApB,GAAG,OAAkB;QAnDvB,MAAM,OAoDS;QArDjB,GAAG,OAuDY;KAChB;;;;;;;;;;UEvLH;UACA;UACA;UACA;UACA","sources":["webpack:///C:\\Users\\123\\DevEcoStudioProjects\\devicemanager_ui_noservice_ver01\\devicemanager_ui_noservice\\entry\\src\\main\\ets\\InputPinDialogAbility\\pages\\index.ets","webpack:///webpack/before-startup","webpack:///webpack/startup","webpack:///webpack/after-startup"],"names":[],"sourceRoot":""}PK !:i"assets/js/PinDialogAbility/app.abcPANDA %.<LdW/MXW2'L_ESTypeAnnotation;/L_ESCallTypeAnnotation;C_b61e56cf9033e257eb9d77e42bd1414e#2#'__webpack_require__#1#defaultdefineProperty5../../api/@ohos.hilog.d.tsuse strict3PinDialogAbility onCreatelog#3#indexOfconsole__esModule keysexports5PinDialogAbility onDestroy Object ?name=q__common_module_cache___b61e56cf9033e257eb9d77e42bd1414eL_ESModuleMode;@isModulefunc_main_0L_GLOBAL;JTWO5c4funcObjany4newTarget thisargumentsC:\Users\123\DevEcoStudioProjects\devicemanager_ui_noservice_ver01\devicemanager_ui_noservice\entry\build\default\intermediates\assets_jsbundle\default\js\PinDialogAbility\app_.js/var _b61e56cf9033e257eb9d77e42bd1414e; /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../../api/@ohos.hilog.d.ts": /*!**********************************!*\ !*** ../../api/@ohos.hilog.d.ts ***! \**********************************/ /***/ (() => { /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ var commonCachedModule = globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"] ? globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"][moduleId]: null; /******/ if (commonCachedModule) { return commonCachedModule.exports; } /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ if (globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"] && moduleId.indexOf("?name=") < 0 && Object.keys(globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"]).indexOf(moduleId) >= 0) { /******/ globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"][moduleId] = module; /******/ } /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be in strict mode. (() => { "use strict"; var exports = __webpack_exports__; /*!******************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/PinDialogAbility/app.ets?entry ***! \******************************************************************************************************************************************************************/ Object.defineProperty(exports, "__esModule", ({ value: true })); __webpack_require__(/*! @ohos.hilog */ "../../api/@ohos.hilog.d.ts"); globalThis.exports.default = { onCreate() { console.log("PinDialogAbility onCreate"); }, onDestroy() { console.log("PinDialogAbility onDestroy"); }, }; })(); _b61e56cf9033e257eb9d77e42bd1414e = __webpack_exports__; /******/ })() ; //# sourceMappingURL=app.js.maponDestroyonCreatemoduleId%commonCachedModulecachedModule module( value   91__webpack_module_cache__'__webpack_modules__'__webpack_exports__'!B  vmmm U`;    ]  Y /   mm_m m0i`9mmm0`;j0v  J  p w          6 -%%) $  d   Uj1sw)i \j!9G w gx   \  3        \   M     81.-'  G,  sw|\       & >B,  sw|a\& ;Edw~- w L"~-wjL3-wj    i  y Mw~-/ w  \ !-""~-ls w w \ w  \$-"~- w    Mj L   w j! \w           /   ]   /  \   ^    m  v   4                           M       N         ^   &  $/$mxm$,?%7   1= =YbYjbYvY {{{{{{   T `  )181A     :'PK !:; !assets/js/PinDialogAbility/app.jsvar _b61e56cf9033e257eb9d77e42bd1414e; /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "../../api/@ohos.hilog.d.ts": /*!**********************************!*\ !*** ../../api/@ohos.hilog.d.ts ***! \**********************************/ /***/ (() => { /***/ }) /******/ }); /************************************************************************/ /******/ // The module cache /******/ var __webpack_module_cache__ = {}; /******/ /******/ // The require function /******/ function __webpack_require__(moduleId) { /******/ var commonCachedModule = globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"] ? globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"][moduleId]: null; /******/ if (commonCachedModule) { return commonCachedModule.exports; } /******/ // Check if module is in cache /******/ var cachedModule = __webpack_module_cache__[moduleId]; /******/ if (cachedModule !== undefined) { /******/ return cachedModule.exports; /******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = __webpack_module_cache__[moduleId] = { /******/ // no module.id needed /******/ // no module.loaded needed /******/ exports: {} /******/ }; /******/ /******/ if (globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"] && moduleId.indexOf("?name=") < 0 && Object.keys(globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"]).indexOf(moduleId) >= 0) { /******/ globalThis["__common_module_cache___b61e56cf9033e257eb9d77e42bd1414e"][moduleId] = module; /******/ } /******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__); /******/ /******/ // Return the exports of the module /******/ return module.exports; /******/ } /******/ /************************************************************************/ var __webpack_exports__ = {}; // This entry need to be wrapped in an IIFE because it need to be in strict mode. (() => { "use strict"; var exports = __webpack_exports__; /*!******************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/PinDialogAbility/app.ets?entry ***! \******************************************************************************************************************************************************************/ Object.defineProperty(exports, "__esModule", ({ value: true })); __webpack_require__(/*! @ohos.hilog */ "../../api/@ohos.hilog.d.ts"); globalThis.exports.default = { onCreate() { console.log("PinDialogAbility onCreate"); }, onDestroy() { console.log("PinDialogAbility onDestroy"); }, }; })(); _b61e56cf9033e257eb9d77e42bd1414e = __webpack_exports__; /******/ })() ; //# sourceMappingURL=app.js.mapPK !: +%assets/js/PinDialogAbility/app.js.map{"version":3,"file":"./app.js","mappings":";;;;;;;;;;;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA,2BAA2B;UAC3B;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;UACA;UACA;;UAEA;UACA;UACA;;;;;;;;;;;;;AC1BA,qEAAgC;AAEhC,kBAAe;IACb,QAAQ;QACN,OAAO,CAAC,GAAG,CAAC,2BAA2B,CAAC;IAC1C,CAAC;IACD,SAAS;QACP,OAAO,CAAC,GAAG,CAAC,4BAA4B,CAAC;IAC3C,CAAC;CACF","sources":["webpack:///C:\\Users\\123\\AppData\\Local\\OpenHarmony\\Sdk\\ets\\3.1.7.7\\api\\@ohos.hilog.d.ts","webpack:///webpack/bootstrap","webpack:///C:\\Users\\123\\DevEcoStudioProjects\\devicemanager_ui_noservice_ver01\\devicemanager_ui_noservice\\entry\\src\\main\\ets\\PinDialogAbility\\app.ets"],"names":[],"sourceRoot":""}PK !:=7%%%(assets/js/PinDialogAbility/manifest.json{"appID":"com.ohos.devicemanagerui","versionName":"1.0.0","versionCode":1000000,"minPlatformVersion":8,"appName":".ConfirmDialogAbility","deviceType":["default","tablet"],"window":{"designWidth":720,"autoDesignWidth":false},"pages":["pages/index"],"mode":{"syntax":"ets","type":"pageAbility"}}PK !: >B b b*assets/js/PinDialogAbility/pages/index.abcPANDAM& b4.<a L|I4 4e 33484_4q44444334 b$$e 4 $  z  * @ l   ^ 2 H t t ~ 3'L_ESTypeAnnotation;/L_ESCallTypeAnnotation; #23#1C#16#ACTION_CANCEL_PINCODE_DISPLAY#11#cancel#9#allow#6#messageTips#5#messageTips#4#messageTitle ViewC#15#ACTION_CANCEL_PINCODE_DISPLAYfeatureAbilityability-ability.featureAbilitysystemplugin systemdeviceManager'distributedHardwareohosplugin ohosisSystempluginprototypeCdistributedHardware.deviceManager#14#isShow Object render #21#onClick Normal!aboutToDisappearcreateWithLabelrequireNapilog'deviceManager exist2% TextItemAlignfontWeight 100%terminateSelffontColor width create__messageTips Medium Bold allow then!setUserOperationconsole height #20#dmClass nullpop Column#1# #19#1com.ohos.devicemanagerui'createDeviceManager #18#pinCodeonjustifyContent colorset --fail:1createDeviceManager err:loadDocumentTAGdestruction=uiStateChange executed isShow verifyFailed#terminate code ui paramaboutToAppearGet parseappear end9uiStateChange executed data PinCodeuiStateChange #17#?__ACTION_CANCEL_PINCODE_DISPLAY../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/PinDialogAbility/pages/index.ets?entry#3#messageTitle3aboutToDisappear executeduse strict borderstringifyshow pincode+aboutToAppear execute#12#cancel#SubscriberManagerparametersFontWeight thisdmClassget info PIN码连接#10#allowfontSizeid!aboutToBeDeletedoff JSON允许;ACTION_CANCEL_PINCODE_DISPLAY#13#isShow__pinCodeFlexAlign #22###2#dialogPlusPagerelease#7#pinCode__isShow__importDefaultalignItems isShowinitStatus+updateWithValueParamsmessageTitle#8#pinCode%setUserOperation: cancelE[DeviceManagerUI:ShowPinDialog]==>__allow Flex-ObservedPropertySimple extradefineProperty__canceldefault Button取消 CenterRowmessageTips__esModule请在设备端输入链接码进行验证__messageTitlegetWantC_b61e56cf9033e257eb9d77e42bd1414e deleteL_ESModuleMode;[ isModuleL_GLOBAL; bt5 6cL6<={>>?.>? AAB CSCGC"DZDDkD E DEEEFJF{FFG8HmHHHI JTJePQR?YRRRR%SSSTJU!WWW XQX}XXXYIYyZZ_\i\!`aa4funcObjany'__webpack_modules__'__webpack_exports__C:\Users\123\DevEcoStudioProjects\devicemanager_ui_noservice_ver01\devicemanager_ui_noservice\entry\build\default\intermediates\assets_jsbundle\default\js\PinDialogAbility\pages\index_.js4newTarget/__unused_webpack_moduleexportsdialogPlusPage data tmpStrargumentsnewValuefunc_main_0var _b61e56cf9033e257eb9d77e42bd1414e; /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/PinDialogAbility/pages/index.ets?entry": /*!**************************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/PinDialogAbility/pages/index.ets?entry ***! \**************************************************************************************************************************************************************************/ /***/ (function(__unused_webpack_module, exports) { var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); /* * Copyright (c) 2022 Huawei Device 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. */ var _ohos_distributedHardware_deviceManager_1 = globalThis.requireNapi('distributedHardware.deviceManager') || (isSystemplugin('distributedHardware.deviceManager', 'ohos') ? globalThis.ohosplugin.distributedHardware.deviceManager : isSystemplugin('distributedHardware.deviceManager', 'system') ? globalThis.systemplugin.distributedHardware.deviceManager : undefined); var _ohos_ability_featureAbility_1 = globalThis.requireNapi('ability.featureAbility') || (isSystemplugin('ability.featureAbility', 'ohos') ? globalThis.ohosplugin.ability.featureAbility : isSystemplugin('ability.featureAbility', 'system') ? globalThis.systemplugin.ability.featureAbility : undefined); let dmClass; let TAG = "[DeviceManagerUI:ShowPinDialog]==>"; class dialogPlusPage extends View { constructor(compilerAssignedUniqueChildId, parent, params) { super(compilerAssignedUniqueChildId, parent); this.__messageTitle = new ObservedPropertySimple('PIN码连接', this, "messageTitle"); this.__messageTips = new ObservedPropertySimple('请在设备端输入链接码进行验证', this, "messageTips"); this.__pinCode = new ObservedPropertySimple("", this, "pinCode"); this.__allow = new ObservedPropertySimple('允许', this, "allow"); this.__cancel = new ObservedPropertySimple('取消', this, "cancel"); this.__isShow = new ObservedPropertySimple(true, this, "isShow"); this.__ACTION_CANCEL_PINCODE_DISPLAY = new ObservedPropertySimple(3, this, "ACTION_CANCEL_PINCODE_DISPLAY"); this.updateWithValueParams(params); } updateWithValueParams(params) { if (params.messageTitle !== undefined) { this.messageTitle = params.messageTitle; } if (params.messageTips !== undefined) { this.messageTips = params.messageTips; } if (params.pinCode !== undefined) { this.pinCode = params.pinCode; } if (params.allow !== undefined) { this.allow = params.allow; } if (params.cancel !== undefined) { this.cancel = params.cancel; } if (params.isShow !== undefined) { this.isShow = params.isShow; } if (params.ACTION_CANCEL_PINCODE_DISPLAY !== undefined) { this.ACTION_CANCEL_PINCODE_DISPLAY = params.ACTION_CANCEL_PINCODE_DISPLAY; } } aboutToBeDeleted() { this.__messageTitle.aboutToBeDeleted(); this.__messageTips.aboutToBeDeleted(); this.__pinCode.aboutToBeDeleted(); this.__allow.aboutToBeDeleted(); this.__cancel.aboutToBeDeleted(); this.__isShow.aboutToBeDeleted(); this.__ACTION_CANCEL_PINCODE_DISPLAY.aboutToBeDeleted(); SubscriberManager.Get().delete(this.id()); } get messageTitle() { return this.__messageTitle.get(); } set messageTitle(newValue) { this.__messageTitle.set(newValue); } get messageTips() { return this.__messageTips.get(); } set messageTips(newValue) { this.__messageTips.set(newValue); } get pinCode() { return this.__pinCode.get(); } set pinCode(newValue) { this.__pinCode.set(newValue); } get allow() { return this.__allow.get(); } set allow(newValue) { this.__allow.set(newValue); } get cancel() { return this.__cancel.get(); } set cancel(newValue) { this.__cancel.set(newValue); } get isShow() { return this.__isShow.get(); } set isShow(newValue) { this.__isShow.set(newValue); } get ACTION_CANCEL_PINCODE_DISPLAY() { return this.__ACTION_CANCEL_PINCODE_DISPLAY.get(); } set ACTION_CANCEL_PINCODE_DISPLAY(newValue) { this.__ACTION_CANCEL_PINCODE_DISPLAY.set(newValue); } aboutToAppear() { this.initStatus(); console.log(TAG + "aboutToAppear execute"); _ohos_ability_featureAbility_1.getWant().then((data) => { this.pinCode = data.parameters["PinCode"]; console.log(TAG + "show pincode"); }); console.log(TAG + "appear end"); } aboutToDisappear() { console.log(TAG + "aboutToDisappear executed"); if (dmClass != null) { dmClass.off('uiStateChange'); dmClass.release(); dmClass = null; } } initStatus() { console.log(TAG + 'initStatus'); if (dmClass) { console.log(TAG + 'deviceManager exist'); return; } _ohos_distributedHardware_deviceManager_1.createDeviceManager('com.ohos.devicemanagerui', (err, dm) => { if (err) { console.log("createDeviceManager err:" + JSON.stringify(err) + ' --fail:' + JSON.stringify(dm)); return; } dmClass = dm; dmClass.on('uiStateChange', (data) => { console.log(TAG + "uiStateChange executed data " + JSON.stringify(data)); var tmpStr = JSON.parse(data.param); this.isShow = tmpStr.verifyFailed; console.log(TAG + "uiStateChange executed isShow " + this.isShow); if (!this.isShow) { this.destruction(); } }); }); } setUserOperation(operation) { console.log(TAG + 'setUserOperation: ' + operation); if (dmClass == null) { console.log(TAG + 'setUserOperation: ' + 'dmClass null'); return; } dmClass.setUserOperation(operation, "extra"); } destruction() { _ohos_ability_featureAbility_1.terminateSelf().then((data) => { console.info(TAG + "terminate code ui"); }); } render() { Row.create(); Row.width('100%'); Flex.create({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }); Flex.width('100%'); Flex.height('100%'); Column.create(); Column.width('100%'); Text.create(this.messageTitle); Text.fontSize(35); Text.fontWeight(FontWeight.Bold); Text.pop(); Text.create(this.messageTips); Text.fontSize(30); Text.fontWeight(FontWeight.Medium); Text.pop(); Row.create(); Row.height('2%'); Row.pop(); Text.create(this.pinCode); Text.fontSize(30); Text.fontWeight(FontWeight.Bold); Text.pop(); Row.create(); Row.height('2%'); Row.pop(); Button.createWithLabel(this.cancel); Button.fontSize(25); Button.fontColor(0xffffff); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.setUserOperation(this.ACTION_CANCEL_PINCODE_DISPLAY); this.destruction(); }); Button.pop(); Column.pop(); Flex.pop(); Row.pop(); } } loadDocument(new dialogPlusPage("1", undefined, {})); /***/ }) /******/ }); /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module is referenced by other modules so it can't be inlined /******/ var __webpack_exports__ = {}; /******/ __webpack_modules__["../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/PinDialogAbility/pages/index.ets?entry"](0, __webpack_exports__); /******/ _b61e56cf9033e257eb9d77e42bd1414e = __webpack_exports__; /******/ /******/ })() ; //# sourceMappingURL=index.js.maperrdm paramsoperation;compilerAssignedUniqueChildId parentmod6  n6  6  6  A w?Q42 radius6  4 valuet  )5I5=_ohos_ability_featureAbility_1S_ohos_distributedHardware_deviceManager_1 c    ?i _ nwn\v   \ p u w    /      \   : %%$  . ~  m0m~- w "- _"swk  i \ w  \.s{ u W ~-! wi wT wE"Bs{ = W ~-! w/ wT wE""m0 w  \.s{ u W ~-! wi w w"Bs{ = W ~-! w/ w w""mm msp w c  Y  w c  Y  w c   Y  w c  Y  w c 4 Y  w c 4 Y  w c   Y  w c  Y  w c  Y  w c  Y  w c  Y  w c  Y  w c   Y  w c    Y  w c y w c y w c y w c y w c y w c y s h   Z G         1                                                                                             #  $8.-1<1H<1qq q 1&1&=1&[j[ [ &  -''''''''''''''~~    % 0 ~ r  d jFwj F w \jFw\        \     '  "'"  ~ H  d swj F \         &  ~d swj  F  s wS  \ \sww\j  F wxswj  F  j  F w \j F w~-"~-$j F w\              \        /    z         \       m"CHCRH"(-("%"EJ~    mm mjFw\swj F l\jw \w`  \swj F \      \       \         _        Y   ''16 1~ -  ww\        $  "" z  d j F ww/x4swj F ^\       z       0  +   -  w=w\$   1   wMwX\         2  -1-B   v mmm ?`;    ]  Y /   1   wKwX\2   -  wMw\$  44d ~-nswh s wS \  ] s wS  \  \j"Fm"j"  F w=8` \  M k                  \ {        Zffb9>9H>O]b]lb  ( ~ 1   wwX\2   -  w{w\$     d  swjF$\j!F -gj!Fw 8\j!Fw|\ j!Fm!        \   \    \    \   C       ~    mm msw~\swwW\sFw~isXwyAs@wy\sFwwW\sFwW\sw~\swwW\s:w~j  F w\s:w#\s:wKsw\s:w\s:w~j  F w\s:w\s:wKsw\s:w\sw~\sw6\sw\s:w~j  F w4\s:w\s:wKsw\s:w\sw~\sw6\sw\swj  F w\sw\swl\swKiyQ\swKsw\sw` \sw\sw\sFw\sw\      \     \            \     \     \    \     \       \     \       \    \       \     \       \    \    \     \    \       \     \       \    \    \     \    \       \     \     \        \       \     _    \    \    \           &0DN8          #        #              #         $,$%     ~ 1   w{wX\2   -  ww\$   1   w=wX\2   Q   mmm jw]\w` \            8 ''7< 7~    mm mswj F \j!F~-=swj F !\ j1w`  \         \       \ {       N    2Fb 2~    w3-wxw3-wxw43-w4x4w3-wxw3-wxw3-wxw 3-w x       \   {    \   {    \   {    \   {    \   {    \   {    \     f0  $  '  # &   "       !   !  5 18  1   wwX\2   -  wKw\$   1   wwX\2    -  ww\$  ##d   swj  F \j!F -Gswj  F \ j!Fwd\          \   \        \ {       W f1   5 !,~   ww\ww\wKw\w=w\w{w\ww\wMw\sw\w, w\\       \      \      \      \      \      \      \                       -- ',','    ]  h  hsL   h  Zx  hsL   h  Zx  hsL V  h 4 ZxK  hsL   h  Zx=  hsL   h  Zx{  hsL   h  Zx  hsL   h   ZxM  hw\h    M MY N      Y N     zX O      X O     zW P      W P     z Q       Q     z R       R     z S       S     z T       T     z U       fgf%-"9CCI!8JJP488>{28{8>z39z9?y39y9?x3/J/MxM/S/w # w E   ~-w"~-"iy             3 g   % +8-+;CDC5`B[>>GETINzSVm;[a2Z'_[@PK !:x%%)assets/js/PinDialogAbility/pages/index.jsvar _b61e56cf9033e257eb9d77e42bd1414e; /******/ (() => { // webpackBootstrap /******/ "use strict"; /******/ var __webpack_modules__ = ({ /***/ "../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/PinDialogAbility/pages/index.ets?entry": /*!**************************************************************************************************************************************************************************!*\ !*** ../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/PinDialogAbility/pages/index.ets?entry ***! \**************************************************************************************************************************************************************************/ /***/ (function(__unused_webpack_module, exports) { var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", ({ value: true })); /* * Copyright (c) 2022 Huawei Device 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. */ var _ohos_distributedHardware_deviceManager_1 = globalThis.requireNapi('distributedHardware.deviceManager') || (isSystemplugin('distributedHardware.deviceManager', 'ohos') ? globalThis.ohosplugin.distributedHardware.deviceManager : isSystemplugin('distributedHardware.deviceManager', 'system') ? globalThis.systemplugin.distributedHardware.deviceManager : undefined); var _ohos_ability_featureAbility_1 = globalThis.requireNapi('ability.featureAbility') || (isSystemplugin('ability.featureAbility', 'ohos') ? globalThis.ohosplugin.ability.featureAbility : isSystemplugin('ability.featureAbility', 'system') ? globalThis.systemplugin.ability.featureAbility : undefined); let dmClass; let TAG = "[DeviceManagerUI:ShowPinDialog]==>"; class dialogPlusPage extends View { constructor(compilerAssignedUniqueChildId, parent, params) { super(compilerAssignedUniqueChildId, parent); this.__messageTitle = new ObservedPropertySimple('PIN码连接', this, "messageTitle"); this.__messageTips = new ObservedPropertySimple('请在设备端输入链接码进行验证', this, "messageTips"); this.__pinCode = new ObservedPropertySimple("", this, "pinCode"); this.__allow = new ObservedPropertySimple('允许', this, "allow"); this.__cancel = new ObservedPropertySimple('取消', this, "cancel"); this.__isShow = new ObservedPropertySimple(true, this, "isShow"); this.__ACTION_CANCEL_PINCODE_DISPLAY = new ObservedPropertySimple(3, this, "ACTION_CANCEL_PINCODE_DISPLAY"); this.updateWithValueParams(params); } updateWithValueParams(params) { if (params.messageTitle !== undefined) { this.messageTitle = params.messageTitle; } if (params.messageTips !== undefined) { this.messageTips = params.messageTips; } if (params.pinCode !== undefined) { this.pinCode = params.pinCode; } if (params.allow !== undefined) { this.allow = params.allow; } if (params.cancel !== undefined) { this.cancel = params.cancel; } if (params.isShow !== undefined) { this.isShow = params.isShow; } if (params.ACTION_CANCEL_PINCODE_DISPLAY !== undefined) { this.ACTION_CANCEL_PINCODE_DISPLAY = params.ACTION_CANCEL_PINCODE_DISPLAY; } } aboutToBeDeleted() { this.__messageTitle.aboutToBeDeleted(); this.__messageTips.aboutToBeDeleted(); this.__pinCode.aboutToBeDeleted(); this.__allow.aboutToBeDeleted(); this.__cancel.aboutToBeDeleted(); this.__isShow.aboutToBeDeleted(); this.__ACTION_CANCEL_PINCODE_DISPLAY.aboutToBeDeleted(); SubscriberManager.Get().delete(this.id()); } get messageTitle() { return this.__messageTitle.get(); } set messageTitle(newValue) { this.__messageTitle.set(newValue); } get messageTips() { return this.__messageTips.get(); } set messageTips(newValue) { this.__messageTips.set(newValue); } get pinCode() { return this.__pinCode.get(); } set pinCode(newValue) { this.__pinCode.set(newValue); } get allow() { return this.__allow.get(); } set allow(newValue) { this.__allow.set(newValue); } get cancel() { return this.__cancel.get(); } set cancel(newValue) { this.__cancel.set(newValue); } get isShow() { return this.__isShow.get(); } set isShow(newValue) { this.__isShow.set(newValue); } get ACTION_CANCEL_PINCODE_DISPLAY() { return this.__ACTION_CANCEL_PINCODE_DISPLAY.get(); } set ACTION_CANCEL_PINCODE_DISPLAY(newValue) { this.__ACTION_CANCEL_PINCODE_DISPLAY.set(newValue); } aboutToAppear() { this.initStatus(); console.log(TAG + "aboutToAppear execute"); _ohos_ability_featureAbility_1.getWant().then((data) => { this.pinCode = data.parameters["PinCode"]; console.log(TAG + "show pincode"); }); console.log(TAG + "appear end"); } aboutToDisappear() { console.log(TAG + "aboutToDisappear executed"); if (dmClass != null) { dmClass.off('uiStateChange'); dmClass.release(); dmClass = null; } } initStatus() { console.log(TAG + 'initStatus'); if (dmClass) { console.log(TAG + 'deviceManager exist'); return; } _ohos_distributedHardware_deviceManager_1.createDeviceManager('com.ohos.devicemanagerui', (err, dm) => { if (err) { console.log("createDeviceManager err:" + JSON.stringify(err) + ' --fail:' + JSON.stringify(dm)); return; } dmClass = dm; dmClass.on('uiStateChange', (data) => { console.log(TAG + "uiStateChange executed data " + JSON.stringify(data)); var tmpStr = JSON.parse(data.param); this.isShow = tmpStr.verifyFailed; console.log(TAG + "uiStateChange executed isShow " + this.isShow); if (!this.isShow) { this.destruction(); } }); }); } setUserOperation(operation) { console.log(TAG + 'setUserOperation: ' + operation); if (dmClass == null) { console.log(TAG + 'setUserOperation: ' + 'dmClass null'); return; } dmClass.setUserOperation(operation, "extra"); } destruction() { _ohos_ability_featureAbility_1.terminateSelf().then((data) => { console.info(TAG + "terminate code ui"); }); } render() { Row.create(); Row.width('100%'); Flex.create({ justifyContent: FlexAlign.Center, alignItems: ItemAlign.Center }); Flex.width('100%'); Flex.height('100%'); Column.create(); Column.width('100%'); Text.create(this.messageTitle); Text.fontSize(35); Text.fontWeight(FontWeight.Bold); Text.pop(); Text.create(this.messageTips); Text.fontSize(30); Text.fontWeight(FontWeight.Medium); Text.pop(); Row.create(); Row.height('2%'); Row.pop(); Text.create(this.pinCode); Text.fontSize(30); Text.fontWeight(FontWeight.Bold); Text.pop(); Row.create(); Row.height('2%'); Row.pop(); Button.createWithLabel(this.cancel); Button.fontSize(25); Button.fontColor(0xffffff); Button.border({ width: 1.5, color: (0xe7e7e7), radius: 50 }); Button.fontWeight(FontWeight.Normal); Button.onClick(() => { this.setUserOperation(this.ACTION_CANCEL_PINCODE_DISPLAY); this.destruction(); }); Button.pop(); Column.pop(); Flex.pop(); Row.pop(); } } loadDocument(new dialogPlusPage("1", undefined, {})); /***/ }) /******/ }); /************************************************************************/ /******/ /******/ // startup /******/ // Load entry module and return exports /******/ // This entry module is referenced by other modules so it can't be inlined /******/ var __webpack_exports__ = {}; /******/ __webpack_modules__["../../../../../../../../DevEcoStudioProjects/devicemanager_ui_noservice_ver01/devicemanager_ui_noservice/entry/src/main/ets/PinDialogAbility/pages/index.ets?entry"](0, __webpack_exports__); /******/ _b61e56cf9033e257eb9d77e42bd1414e = __webpack_exports__; /******/ /******/ })() ; //# sourceMappingURL=index.js.mapPK !:ܯaa-assets/js/PinDialogAbility/pages/index.js.map{"version":3,"file":"./pages/index.js","mappings":";;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;GAaG;AACH,sHAAoE;AACpE,gGAA0D;AAE1D,IAAI,OAAO,CAAC;AACZ,IAAI,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BN,MAAM,OAqBS;QAtBjB,IAAI,OAwBW;QAzBjB,GAAG,OA0BY;KAChB;;;;;;;;;;UEpHH;UACA;UACA;UACA;UACA","sources":["webpack:///C:\\Users\\123\\DevEcoStudioProjects\\devicemanager_ui_noservice_ver01\\devicemanager_ui_noservice\\entry\\src\\main\\ets\\PinDialogAbility\\pages\\index.ets","webpack:///webpack/before-startup","webpack:///webpack/startup","webpack:///webpack/after-startup"],"names":[],"sourceRoot":""}PK !:ob config.json{"app" :{"apiVersion" :{"compatible" : 8,"releaseType" : "Release","target" : 8},"bundleName" : "com.ohos.devicemanagerui","vendor" : "ohos","version" :{"code" : 1000000,"name" : "1.0.0"}},"deviceConfig" :{"default" :{"debug" : true}},"module" :{"abilities" :[{"description" : "$string:MainAbility_desc","descriptionId" : 16777216,"formsEnabled" : false,"icon" : "$media:icon","iconId" : 16777223,"label" : "$string:MainAbility_label","labelId" : 16777217,"launchType" : "standard","name" : ".ConfirmDialogAbility","orientation" : "unspecified","skills" :[{"actions" :["action.system.home"],"entities" :["entity.system.home"]}],"srcLanguage" : "ets","srcPath" : "ConfirmDialogAbility","type" : "page","visible" : true},{"description" : "$string:PageAbility_desc","descriptionId" : 16777218,"formsEnabled" : false,"icon" : "$media:icon","iconId" : 16777223,"label" : "$string:PageAbility_label","labelId" : 16777219,"launchType" : "standard","name" : ".PinDialogAbility","orientation" : "unspecified","srcLanguage" : "ets","srcPath" : "PinDialogAbility","type" : "page","visible" : true},{"description" : "$string:PageAbility_desc","descriptionId" : 16777218,"formsEnabled" : false,"icon" : "$media:icon","iconId" : 16777223,"label" : "$string:PageAbility_label","labelId" : 16777219,"launchType" : "standard","name" : ".InputPinDialogAbility","orientation" : "unspecified","srcLanguage" : "ets","srcPath" : "InputPinDialogAbility","type" : "page","visible" : true}],"deviceType" :["default","tablet"],"distro" :{"deliveryWithInstall" : true,"installationFree" : false,"moduleName" : "entry","moduleType" : "entry","virtualMachine" : "ark0.0.0.2"},"js" :[{"mode" :{"syntax" : "ets","type" : "pageAbility"},"name" : ".ConfirmDialogAbility","pages" :["pages/index"],"window" :{"autoDesignWidth" : false,"designWidth" : 720}},{"mode" :{"syntax" : "ets","type" : "pageAbility"},"name" : ".PinDialogAbility","pages" :["pages/index"],"window" :{"autoDesignWidth" : false,"designWidth" : 720}},{"mode" :{"syntax" : "ets","type" : "pageAbility"},"name" : ".InputPinDialogAbility","pages" :["pages/index"],"window" :{"autoDesignWidth" : false,"designWidth" : 720}}],"mainAbility" : ".ConfirmDialogAbility","name" : ".entry","package" : "com.ohos.devicemanagerui"}}PK !:Xe pack.info{"summary":{"app":{"bundleName":"com.ohos.devicemanagerui","version":{"code":1000000,"name":"1.0.0"}},"modules":[{"mainAbility":".ConfirmDialogAbility","deviceType":["default","tablet"],"abilities":[{"name":".ConfirmDialogAbility","label":"$string:MainAbility_label","visible":true},{"name":".PinDialogAbility","label":"$string:PageAbility_label","visible":true},{"name":".InputPinDialogAbility","label":"$string:PageAbility_label","visible":true}],"distro":{"deliveryWithInstall":true,"moduleName":"entry","moduleType":"entry","installationFree":false},"apiVersion":{"target":8,"compatible":8,"releaseType":"Release"}}]},"packages":[{"deviceType":["default","tablet"],"moduleType":"entry","deliveryWithInstall":true,"name":"entry-default"}]}  b  4z 0 ^ *H  O0 K1 0  `He0 *H {"version-code":2,"version-name":"2.0.0","uuid":"5027b99e-5f9e-465d-9508-a9e0134ffe18","type":"release","app-distribution-type":"os_integration","validity":{"not-before":1594865258,"not-after":1689473258},"bundle-info":{"developer-id":"OpenHarmony","distribution-certificate":"-----BEGIN CERTIFICATE-----\nMIICFDCCAZmgAwIBAgIECuiAADAMBggqhkjOPQQDAwUAMGMxCzAJBgNVBAYTAkNO\nMRQwEgYDVQQKEwtPcGVuSGFybW9ueTEZMBcGA1UECxMQT3Blbkhhcm1vbnkgVGVh\nbTEjMCEGA1UEAxMaT3Blbkhhcm1vbnkgQXBwbGljYXRpb24gQ0EwHhcNMjMwMTEz\nMDgxNjQ4WhcNMzMwMTEwMDgxNjQ4WjBKMRUwEwYDVQQDDAxpZGVfZGVtb19hcHAx\nDTALBgNVBAsTBFVuaXQxFTATBgNVBAoTDE9yZ2FuaXphdGlvbjELMAkGA1UEBhMC\nQ04wWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARrSw9dRqa4xUGKs6jYK853ITQz\nUB2/h7t6O5JfyEV8l8hga2HHwRchNJVp1NkEd/67xKuO7kPiSymWDaA5Dst9o1Iw\nUDAdBgNVHQ4EFgQUZj5qsyGtFu7D5wmLSWYLpv4eUpUwDgYDVR0PAQH/BAQDAgeA\nMB8GA1UdIwQYMBaAFNuGtyIW1QuhS7fdJXu58QV9oi1HMAwGCCqGSM49BAMDBQAD\nZwAwZAIwM2hpB4XBZnLqypCDqTsWzABJ7lBmg8lSOTsZsEQpsIgwHhPUYtzgM1B0\nXoL+4t6nAjBM1cEG7xVK/CUUaAVUaa6cG7fBfqTVyl5V6fq3ErjYjc1FCQLJmXyk\nxcX6S51XGjw=\n-----END CERTIFICATE-----\n","bundle-name":"com.ohos.devicemanagerui","apl":"normal","app-feature":"hos_system_app"},"acls":{"allowed-acls":[""]},"permissions":{"restricted-permissions":[]},"issuer":"pki_internal"}0<07m0 *H=0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA0 210202122105Z 491231122105Z0p1 0 UCN10U  OpenHarmony10U OpenHarmony Team100.U'OpenHarmony Application Profile Release0Y0*H=*H=BW빦Aqɒ(F7 *ČM7n+T?ȠQ Ó4nR0P0U#0ۆ" K%{}-G0U0Ua齧zNϕ_ R0 *H=i0f1 byH$BehwF>좘Bdf6`1jz :A$]L!O0D&RC$5xs~0D0ɠ80 *H=0h1 0 UCN10U  OpenHarmony10U OpenHarmony Team1(0&UOpenHarmony Application Root CA0 210202121418Z 491231121418Z0h1 0 UCN10U  OpenHarmony10U OpenHarmony Team1(0&UOpenHarmony Application Root CA0v0*H=+"bM6yk J(ocAmK{- vYY[@YGMGpB_T cG ޸_&r )QsYI~7GB0@0U00U0U:|Oј'Zw0 *H=g0d0wZw'1w>X' :*5z\-o#iY't0$$o]#R0J?yDuEpv0qOy֧+G0a0e=0 *H=0h1 0 UCN10U  OpenHarmony10U OpenHarmony Team1(0&UOpenHarmony Application Root CA0 210202121532Z 491231121532Z0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA0v0*H=+"b!ǝ5ʤ_A%'tC'֓ 7~pX~pvR0Wڗ(6P›ј!`+-Uc0a0U#0:|Oј'Zw0U00U0Uۆ" K%{}-G0 *H=h0e0m^8t:h_6}fOHU߉hI1ow:rR&-XŖl;NrapYtg4;.1A0=0k0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA7m0  `Hei0 *H  1  *H 0 *H  1 230113081649Z0/ *H  1" 'qi*;JFU!7P q0 *H=G0E!^dïi7 zN]ax*Wa;%! m8(fT ^g00 *H !01 0  `He0C *H 64( @( <]@ǽɈ$%SMMl}00 0 *H=0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA0 230113081648Z 330110081648Z0J10U ide_demo_app1 0 U Unit10U  Organization1 0 UCN0Y0*H=*H=BkK]FA+w!43Pz;_E|`ka!4iwīCK) 9}R0P0Uf>j! If R0U0U#0ۆ" K%{}-G0 *H=g0d03hifrʐ;IPfR9;D)0b3Pt^ާ0LJ%hTi~^U؍E ə|KW<0a0e=0 *H=0h1 0 UCN10U  OpenHarmony10U OpenHarmony Team1(0&UOpenHarmony Application Root CA0 210202121532Z 491231121532Z0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA0v0*H=+"b!ǝ5ʤ_A%'tC'֓ 7~pX~pvR0Wڗ(6P›ј!`+-Uc0a0U#0:|Oј'Zw0U00U0Uۆ" K%{}-G0 *H=h0e0m^8t:h_6}fOHU߉hI1ow:rR&-XŖl;NrapYtg4;.1A0=0k0c1 0 UCN10U  OpenHarmony10U OpenHarmony Team1#0!UOpenHarmony Application CA 0  `Hei0 *H  1  *H 0 *H  1 230114010422Z0/ *H  1" 4I=a-m2q ?:gu0 *H=G0E y8£LN? иj+?_K!<.Ӂ$oZtp?TB{hlPK !:nAAassets/entry/resources.indexPK !:.І*assets/entry/resources/base/media/icon.pngPK !:*Sz&Rassets/js/ConfirmDialogAbility/app.abcPK !: k %5assets/js/ConfirmDialogAbility/app.jsPK !:eU)Aassets/js/ConfirmDialogAbility/app.js.mapPK !:=7%%%,Dassets/js/ConfirmDialogAbility/manifest.jsonPK !:;pxpxp.!Fassets/js/ConfirmDialogAbility/pages/index.abcPK !:Z-++-assets/js/ConfirmDialogAbility/pages/index.jsPK !:@\1assets/js/ConfirmDialogAbility/pages/index.js.mapPK !:C?'assets/js/InputPinDialogAbility/app.abcPK !:1D &X assets/js/InputPinDialogAbility/app.jsPK !:k*assets/js/InputPinDialogAbility/app.js.mapPK !:=7%%%-assets/js/InputPinDialogAbility/manifest.jsonPK !:a/assets/js/InputPinDialogAbility/pages/index.abcPK !:ix7x7.Xassets/js/InputPinDialogAbility/pages/index.jsPK !:w6cKK2assets/js/InputPinDialogAbility/pages/index.js.mapPK !:i"assets/js/PinDialogAbility/app.abcPK !:; !assets/js/PinDialogAbility/app.jsPK !: +% assets/js/PinDialogAbility/app.js.mapPK !:=7%%%(#assets/js/PinDialogAbility/manifest.jsonPK !: >B b b*=%assets/js/PinDialogAbility/pages/index.abcPK !:x%%)assets/js/PinDialogAbility/pages/index.jsPK !:ܯaa-assets/js/PinDialogAbility/pages/index.js.mapPK !:ob 9config.jsonPK !:Xe 2pack.infoPKm