@zeppos/zeus-cli 1.3.4 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/private-modules/zeppos-app-utils/dist/modules/create/local-app.js +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/app-widget/index.js +99 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/app.js +9 -15
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/app.json +24 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/page/gts/food-list.js +4 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/page/gts/index.js +24 -24
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/secondary-widget/index.js +139 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/utils/styles-gts-3.js +23 -24
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/utils/styles.js +24 -24
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/empty/jsconfig.json +2 -7
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/pages/index.js +12 -12
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/app.json +8 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/page/home/index.page.js +16 -16
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/page/home/index.style.js +11 -11
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/page/i18n/en-US.po +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/todo-list/secondary-widget/index.js +160 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/todo-list/utils/constants.js +1 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/app.json +2 -18
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gtr/home/index.page.js +5 -5
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gtr/home/index.style.js +7 -7
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gts/home/index.page.js +5 -5
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/page/gts/home/index.style.js +6 -6
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/app.json +23 -9
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_0.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_1.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_10.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_11.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_12.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_13.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_14.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_15.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_16.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_17.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_18.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_19.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_2.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_20.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_21.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_22.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_23.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_24.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_25.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_26.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_27.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_28.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_29.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_3.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_30.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_31.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_32.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_33.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_34.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_35.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_36.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_4.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_5.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_6.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_7.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_8.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/anim/animation_9.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/button_normal.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/button_press.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/false copy.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/icon copy.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/0.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/1.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/2.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/3.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/4.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/5.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/6.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/7.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/8.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/number-img/9.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/radio_select.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/select.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/selected.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/switch_off.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/switch_on.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/unselect.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/unselected.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/gt4/zeppos.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/assets/raw/custom.ttf +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/config/tree.js +76 -2
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/global.d.ts +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/jsconfig.json +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/index.js +7 -5
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/interaction/on_digital_crown.js +26 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/interaction/on_key.js +32 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/interaction/on_wrist_motion.js +27 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/router/set_launch_app_timeout.js +32 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/sensor/pai.js +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/arc.js +28 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/button.js +44 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/checkbox_group.js +45 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/circle.js +28 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/cycle_image_text_list.js +43 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/cycle_list.js +26 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/dialog.js +32 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/fill_rect.js +29 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/histogram.js +76 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/img.js +23 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/img_anim.js +37 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/page_indicator.js +32 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/pick_date.js +43 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/polyline.js +36 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/qrcode.js +22 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/radio_group.js +44 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/scroll_list.js +106 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/slide_switch.js +28 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/stroke_rect.js +28 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/text.js +51 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/page/ui/widget/view_container.js +81 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/UI/TextByLine.js +19 -12
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/UI/Title.js +2 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/styles.js +2 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/showcase/utils/test.js +3 -2
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.r/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/assets/gt.s/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/global.d.ts +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/calories/jsconfig.json +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/assets/gt.r/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/global.d.ts +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/download/jsconfig.json +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/assets/default.b/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/assets/default.r/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/assets/default.s/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/global.d.ts +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/empty/jsconfig.json +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/assets/common.r/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/assets/common.s/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/global.d.ts +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/fetch-api/jsconfig.json +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/assets/gt.r/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/assets/gt.s/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/global.d.ts +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/hello-world/jsconfig.json +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/assets/gt.r/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/global.d.ts +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/notification/jsconfig.json +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/assets/gt.r/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/assets/gt.s/icon.png +0 -0
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/global.d.ts +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os3.0/app/todo-list/jsconfig.json +1 -1
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/_package.json +0 -14
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/jsconfig.json +0 -14
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/calories/utils/storage.js +0 -40
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/_package.json +0 -14
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/fetch-api/jsconfig.json +0 -14
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/_package.json +0 -14
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/app-side/index.js +0 -11
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/jsconfig.json +0 -14
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/setting/i18n/en-US.po +0 -2
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/setting/index.js +0 -5
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/_package.json +0 -14
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/jsconfig.json +0 -14
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/utils/constants.js +0 -3
- package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/todo-list/utils/fs.js +0 -34
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/.prettierrc.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/app-side/index.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/app.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/assets/gts/icon.png +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/page/home/index.page.json +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/setting/i18n/en-US.po +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/setting/index.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/shared/data.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/shared/defer.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/shared/device-polyfill.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/shared/es6-promise.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/shared/event.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/shared/message-side.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/shared/message.js +0 -0
- /package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/{todo-list → fetch-api/todo-list}/utils/index.js +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { createWidget, widget, prop } from '@zos/ui'
|
|
2
2
|
import { getDeviceInfo, SCREEN_SHAPE_SQUARE } from '@zos/device'
|
|
3
3
|
import { log as Logger } from '@zos/utils'
|
|
4
|
+
import { localStorage } from '@zos/storage'
|
|
4
5
|
|
|
5
6
|
import { TITLE_TEXT_STYLE, TIPS_TEXT_STYLE, SCROLL_LIST, ADD_BUTTON } from './index.style'
|
|
6
|
-
import { readFileSync, writeFileSync } from './../../utils/fs'
|
|
7
7
|
import { getScrollListDataConfig } from './../../utils/index'
|
|
8
8
|
|
|
9
9
|
const logger = Logger.getLogger('todo-list-page')
|
|
@@ -15,7 +15,7 @@ Page({
|
|
|
15
15
|
tipText: null,
|
|
16
16
|
refreshText: null,
|
|
17
17
|
addButton: null,
|
|
18
|
-
dataList:
|
|
18
|
+
dataList: localStorage.getItem('dataList', [])
|
|
19
19
|
},
|
|
20
20
|
onInit() {
|
|
21
21
|
logger.debug('page onInit invoked')
|
|
@@ -26,12 +26,12 @@ Page({
|
|
|
26
26
|
logger.debug('page build invoked')
|
|
27
27
|
|
|
28
28
|
if (getDeviceInfo().screenShape !== SCREEN_SHAPE_SQUARE) {
|
|
29
|
-
this.state.title =
|
|
29
|
+
this.state.title = createWidget(widget.TEXT, {
|
|
30
30
|
...TITLE_TEXT_STYLE
|
|
31
31
|
})
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
this.state.addButton =
|
|
34
|
+
this.state.addButton = createWidget(widget.BUTTON, {
|
|
35
35
|
...ADD_BUTTON,
|
|
36
36
|
click_func: () => {
|
|
37
37
|
this.addRandomTodoItem()
|
|
@@ -42,7 +42,7 @@ Page({
|
|
|
42
42
|
},
|
|
43
43
|
onDestroy() {
|
|
44
44
|
logger.debug('page onDestroy invoked')
|
|
45
|
-
|
|
45
|
+
localStorage.setItem('dataList', this.state.dataList)
|
|
46
46
|
},
|
|
47
47
|
onMessage() {
|
|
48
48
|
messageBuilder.on('call', ({ payload: buf }) => {
|
|
@@ -94,26 +94,26 @@ Page({
|
|
|
94
94
|
if (showEmpty) {
|
|
95
95
|
if (dataList.length === 0) {
|
|
96
96
|
!this.state.tipText &&
|
|
97
|
-
(this.state.tipText =
|
|
97
|
+
(this.state.tipText = createWidget(widget.TEXT, {
|
|
98
98
|
...TIPS_TEXT_STYLE
|
|
99
99
|
}))
|
|
100
100
|
}
|
|
101
101
|
const isTip = dataList.length === 0
|
|
102
102
|
|
|
103
|
-
this.state.refreshText && this.state.refreshText.setProperty(
|
|
104
|
-
this.state.tipText && this.state.tipText.setProperty(
|
|
105
|
-
this.state.scrollList && this.state.scrollList.setProperty(
|
|
103
|
+
this.state.refreshText && this.state.refreshText.setProperty(prop.VISIBLE, false)
|
|
104
|
+
this.state.tipText && this.state.tipText.setProperty(prop.VISIBLE, isTip)
|
|
105
|
+
this.state.scrollList && this.state.scrollList.setProperty(prop.VISIBLE, !isTip)
|
|
106
106
|
} else {
|
|
107
107
|
// 占位刷新
|
|
108
108
|
!this.state.refreshText &&
|
|
109
|
-
(this.state.refreshText =
|
|
109
|
+
(this.state.refreshText = createWidget(widget.TEXT, {
|
|
110
110
|
...TIPS_TEXT_STYLE,
|
|
111
111
|
text: ' '
|
|
112
112
|
}))
|
|
113
113
|
|
|
114
|
-
this.state.tipText && this.state.tipText.setProperty(
|
|
115
|
-
this.state.refreshText.setProperty(
|
|
116
|
-
this.state.scrollList && this.state.scrollList.setProperty(
|
|
114
|
+
this.state.tipText && this.state.tipText.setProperty(prop.VISIBLE, false)
|
|
115
|
+
this.state.refreshText.setProperty(prop.VISIBLE, true)
|
|
116
|
+
this.state.scrollList && this.state.scrollList.setProperty(prop.VISIBLE, false)
|
|
117
117
|
}
|
|
118
118
|
},
|
|
119
119
|
createAndUpdateList(showEmpty = true) {
|
|
@@ -124,7 +124,7 @@ Page({
|
|
|
124
124
|
this.changeUI(showEmpty)
|
|
125
125
|
const dataTypeConfig = getScrollListDataConfig(dataList.length === 0 ? -1 : 0, dataList.length)
|
|
126
126
|
if (scrollList) {
|
|
127
|
-
scrollList.setProperty(
|
|
127
|
+
scrollList.setProperty(prop.UPDATE_DATA, {
|
|
128
128
|
data_array: dataList,
|
|
129
129
|
data_count: dataList.length,
|
|
130
130
|
data_type_config: [{ start: 0, end: dataList.length, type_id: 2 }],
|
|
@@ -132,7 +132,7 @@ Page({
|
|
|
132
132
|
on_page: 1
|
|
133
133
|
})
|
|
134
134
|
} else {
|
|
135
|
-
this.state.scrollList =
|
|
135
|
+
this.state.scrollList = createWidget(widget.SCROLL_LIST, {
|
|
136
136
|
...(SCROLL_LIST || {}),
|
|
137
137
|
data_array: dataList,
|
|
138
138
|
data_count: dataList.length,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { align, text_style } from '@zos/ui'
|
|
2
2
|
import { getText } from '@zos/i18n'
|
|
3
3
|
import { getDeviceInfo } from '@zos/device'
|
|
4
4
|
import { px } from '@zos/utils'
|
|
@@ -13,15 +13,15 @@ export const TITLE_TEXT_STYLE = {
|
|
|
13
13
|
h: px(50),
|
|
14
14
|
color: 0xffffff,
|
|
15
15
|
text_size: 36,
|
|
16
|
-
align_h:
|
|
17
|
-
text_style:
|
|
16
|
+
align_h: align.CENTER_H,
|
|
17
|
+
text_style: text_style.WRAP,
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
export const ADD_BUTTON = {
|
|
21
21
|
text: getText('add'),
|
|
22
22
|
x: px(30),
|
|
23
23
|
y: px(65),
|
|
24
|
-
w: px(
|
|
24
|
+
w: px(80),
|
|
25
25
|
h: px(50),
|
|
26
26
|
normal_color: 0xfc6950,
|
|
27
27
|
press_color: 0xfeb4a8,
|
|
@@ -36,9 +36,9 @@ export const TIPS_TEXT_STYLE = {
|
|
|
36
36
|
h: DEVICE_HEIGHT - px(120),
|
|
37
37
|
color: 0xffffff,
|
|
38
38
|
text_size: 32,
|
|
39
|
-
align_h:
|
|
40
|
-
align_v:
|
|
41
|
-
text_style:
|
|
39
|
+
align_h: align.CENTER_H,
|
|
40
|
+
align_v: align.CENTER_V,
|
|
41
|
+
text_style: text_style.WRAP,
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
export const SCROLL_LIST = {
|
|
@@ -58,8 +58,8 @@ export const SCROLL_LIST = {
|
|
|
58
58
|
key: 'name',
|
|
59
59
|
color: 0xffff00,
|
|
60
60
|
text_size: px(36),
|
|
61
|
-
align_h:
|
|
62
|
-
}
|
|
61
|
+
align_h: align.LEFT,
|
|
62
|
+
},
|
|
63
63
|
],
|
|
64
64
|
text_view_count: 1,
|
|
65
65
|
item_height: px(80)
|
|
@@ -77,8 +77,8 @@ export const SCROLL_LIST = {
|
|
|
77
77
|
key: 'name',
|
|
78
78
|
color: 0xff0000,
|
|
79
79
|
text_size: px(36),
|
|
80
|
-
align_h:
|
|
81
|
-
}
|
|
80
|
+
align_h: align.LEFT,
|
|
81
|
+
},
|
|
82
82
|
],
|
|
83
83
|
text_view_count: 1,
|
|
84
84
|
item_height: px(80)
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
import { createWidget, widget, prop } from '@zos/ui'
|
|
2
|
+
import { getDeviceInfo, SCREEN_SHAPE_SQUARE } from '@zos/device'
|
|
3
|
+
import { log as Logger } from '@zos/utils'
|
|
4
|
+
|
|
5
|
+
import { TITLE_TEXT_STYLE, TIPS_TEXT_STYLE, SCROLL_LIST, ADD_BUTTON } from '../page/home/index.style'
|
|
6
|
+
import { readFileSync, writeFileSync } from '../utils/fs'
|
|
7
|
+
import { getScrollListDataConfig } from '../utils/index'
|
|
8
|
+
|
|
9
|
+
const logger = Logger.getLogger('todo-list-page')
|
|
10
|
+
const { messageBuilder } = getApp()._options.globalData
|
|
11
|
+
|
|
12
|
+
SecondaryWidget({
|
|
13
|
+
state: {
|
|
14
|
+
scrollList: null,
|
|
15
|
+
tipText: null,
|
|
16
|
+
refreshText: null,
|
|
17
|
+
addButton: null,
|
|
18
|
+
dataList: readFileSync()
|
|
19
|
+
},
|
|
20
|
+
onInit() {
|
|
21
|
+
logger.debug('page onInit invoked')
|
|
22
|
+
this.onMessage()
|
|
23
|
+
this.getTodoList()
|
|
24
|
+
},
|
|
25
|
+
build() {
|
|
26
|
+
logger.debug('page build invoked')
|
|
27
|
+
|
|
28
|
+
try {
|
|
29
|
+
if (getDeviceInfo().screenShape !== SCREEN_SHAPE_SQUARE) {
|
|
30
|
+
this.state.title = createWidget(widget.TEXT, {
|
|
31
|
+
...TITLE_TEXT_STYLE
|
|
32
|
+
})
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
this.state.addButton = createWidget(widget.BUTTON, {
|
|
36
|
+
...ADD_BUTTON,
|
|
37
|
+
click_func: () => {
|
|
38
|
+
this.addRandomTodoItem()
|
|
39
|
+
}
|
|
40
|
+
})
|
|
41
|
+
|
|
42
|
+
this.createAndUpdateList()
|
|
43
|
+
} catch (e) {
|
|
44
|
+
console.log('LifeCycle Error', e)
|
|
45
|
+
e && e.stack && e.stack.split(/\n/).forEach((i) => console.log('error stack', i))
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
onDestroy() {
|
|
49
|
+
logger.debug('page onDestroy invoked')
|
|
50
|
+
writeFileSync(this.state.dataList, false)
|
|
51
|
+
},
|
|
52
|
+
onMessage() {
|
|
53
|
+
messageBuilder.on('call', ({ payload: buf }) => {
|
|
54
|
+
const data = messageBuilder.buf2Json(buf)
|
|
55
|
+
const dataList = data.map((i) => ({ name: i }))
|
|
56
|
+
logger.log('call dataList', dataList)
|
|
57
|
+
this.refreshAndUpdate(dataList)
|
|
58
|
+
})
|
|
59
|
+
},
|
|
60
|
+
getTodoList() {
|
|
61
|
+
messageBuilder
|
|
62
|
+
.request({
|
|
63
|
+
method: 'GET_TODO_LIST'
|
|
64
|
+
})
|
|
65
|
+
.then(({ result }) => {
|
|
66
|
+
this.state.dataList = result.map((d) => ({ name: d }))
|
|
67
|
+
logger.log('GET_TODO_LIST dataList', this.state.dataList)
|
|
68
|
+
this.createAndUpdateList()
|
|
69
|
+
})
|
|
70
|
+
.catch((res) => {})
|
|
71
|
+
},
|
|
72
|
+
addRandomTodoItem() {
|
|
73
|
+
messageBuilder
|
|
74
|
+
.request({
|
|
75
|
+
method: 'ADD'
|
|
76
|
+
})
|
|
77
|
+
.then(({ result }) => {
|
|
78
|
+
this.state.dataList = result.map((d) => ({ name: d }))
|
|
79
|
+
this.createAndUpdateList()
|
|
80
|
+
})
|
|
81
|
+
.catch((res) => {})
|
|
82
|
+
},
|
|
83
|
+
deleteTodoItem(index) {
|
|
84
|
+
messageBuilder
|
|
85
|
+
.request({
|
|
86
|
+
method: 'DELETE',
|
|
87
|
+
params: { index }
|
|
88
|
+
})
|
|
89
|
+
.then(({ result }) => {
|
|
90
|
+
const dataList = result.map((d) => ({ name: d }))
|
|
91
|
+
|
|
92
|
+
this.refreshAndUpdate(dataList)
|
|
93
|
+
})
|
|
94
|
+
.catch((res) => {})
|
|
95
|
+
},
|
|
96
|
+
changeUI(showEmpty) {
|
|
97
|
+
const { dataList } = this.state
|
|
98
|
+
|
|
99
|
+
if (showEmpty) {
|
|
100
|
+
if (dataList.length === 0) {
|
|
101
|
+
!this.state.tipText &&
|
|
102
|
+
(this.state.tipText = createWidget(widget.TEXT, {
|
|
103
|
+
...TIPS_TEXT_STYLE
|
|
104
|
+
}))
|
|
105
|
+
}
|
|
106
|
+
const isTip = dataList.length === 0
|
|
107
|
+
|
|
108
|
+
this.state.refreshText && this.state.refreshText.setProperty(prop.VISIBLE, false)
|
|
109
|
+
this.state.tipText && this.state.tipText.setProperty(prop.VISIBLE, isTip)
|
|
110
|
+
this.state.scrollList && this.state.scrollList.setProperty(prop.VISIBLE, !isTip)
|
|
111
|
+
} else {
|
|
112
|
+
// 占位刷新
|
|
113
|
+
!this.state.refreshText &&
|
|
114
|
+
(this.state.refreshText = createWidget(widget.TEXT, {
|
|
115
|
+
...TIPS_TEXT_STYLE,
|
|
116
|
+
text: ' '
|
|
117
|
+
}))
|
|
118
|
+
|
|
119
|
+
this.state.tipText && this.state.tipText.setProperty(prop.VISIBLE, false)
|
|
120
|
+
this.state.refreshText.setProperty(prop.VISIBLE, true)
|
|
121
|
+
this.state.scrollList && this.state.scrollList.setProperty(prop.VISIBLE, false)
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
createAndUpdateList(showEmpty = true) {
|
|
125
|
+
const _scrollListItemClick = (list, index) => {
|
|
126
|
+
this.deleteTodoItem(index)
|
|
127
|
+
}
|
|
128
|
+
const { scrollList, dataList } = this.state
|
|
129
|
+
this.changeUI(showEmpty)
|
|
130
|
+
const dataTypeConfig = getScrollListDataConfig(dataList.length === 0 ? -1 : 0, dataList.length)
|
|
131
|
+
if (scrollList) {
|
|
132
|
+
scrollList.setProperty(prop.UPDATE_DATA, {
|
|
133
|
+
data_array: dataList,
|
|
134
|
+
data_count: dataList.length,
|
|
135
|
+
data_type_config: [{ start: 0, end: dataList.length, type_id: 2 }],
|
|
136
|
+
data_type_config_count: dataTypeConfig.length,
|
|
137
|
+
on_page: 1
|
|
138
|
+
})
|
|
139
|
+
} else {
|
|
140
|
+
this.state.scrollList = createWidget(widget.SCROLL_LIST, {
|
|
141
|
+
...(SCROLL_LIST || {}),
|
|
142
|
+
data_array: dataList,
|
|
143
|
+
data_count: dataList.length,
|
|
144
|
+
data_type_config: dataTypeConfig,
|
|
145
|
+
data_type_config_count: dataTypeConfig.length,
|
|
146
|
+
on_page: 1,
|
|
147
|
+
item_click_func: _scrollListItemClick
|
|
148
|
+
})
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
refreshAndUpdate(dataList = []) {
|
|
152
|
+
this.state.dataList = []
|
|
153
|
+
this.createAndUpdateList(false)
|
|
154
|
+
|
|
155
|
+
setTimeout(() => {
|
|
156
|
+
this.state.dataList = dataList
|
|
157
|
+
this.createAndUpdateList()
|
|
158
|
+
}, 20)
|
|
159
|
+
}
|
|
160
|
+
})
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const DEFAULT_TODO_LIST = ['Learn', 'Drink', 'Food']
|
package/private-modules/zeppos-app-utils/dist/public/template/os2.0/app/hello-world/app.json
CHANGED
|
@@ -25,15 +25,7 @@
|
|
|
25
25
|
"gtr": {
|
|
26
26
|
"module": {
|
|
27
27
|
"page": {
|
|
28
|
-
"pages": [
|
|
29
|
-
"page/gtr/home/index.page"
|
|
30
|
-
]
|
|
31
|
-
},
|
|
32
|
-
"app-side": {
|
|
33
|
-
"path": "app-side/index"
|
|
34
|
-
},
|
|
35
|
-
"setting": {
|
|
36
|
-
"path": "setting/index"
|
|
28
|
+
"pages": ["page/gtr/home/index.page"]
|
|
37
29
|
}
|
|
38
30
|
},
|
|
39
31
|
"platforms": [
|
|
@@ -51,15 +43,7 @@
|
|
|
51
43
|
"gts": {
|
|
52
44
|
"module": {
|
|
53
45
|
"page": {
|
|
54
|
-
"pages": [
|
|
55
|
-
"page/gts/home/index.page"
|
|
56
|
-
]
|
|
57
|
-
},
|
|
58
|
-
"app-side": {
|
|
59
|
-
"path": "app-side/index"
|
|
60
|
-
},
|
|
61
|
-
"setting": {
|
|
62
|
-
"path": "setting/index"
|
|
46
|
+
"pages": ["page/gts/home/index.page"]
|
|
63
47
|
}
|
|
64
48
|
},
|
|
65
49
|
"platforms": [
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { log as Logger } from
|
|
3
|
-
import { TEXT_STYLE } from
|
|
1
|
+
import { createWidget, widget } from '@zos/ui'
|
|
2
|
+
import { log as Logger } from '@zos/utils'
|
|
3
|
+
import { TEXT_STYLE } from './index.style'
|
|
4
4
|
|
|
5
5
|
const logger = Logger.getLogger("helloworld");
|
|
6
6
|
Page({
|
|
7
7
|
build() {
|
|
8
|
-
logger.debug(
|
|
9
|
-
|
|
8
|
+
logger.debug('page build invoked')
|
|
9
|
+
createWidget(widget.TEXT, {
|
|
10
10
|
...TEXT_STYLE,
|
|
11
11
|
});
|
|
12
12
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getText } from
|
|
3
|
-
import { getDeviceInfo } from
|
|
4
|
-
import { px } from
|
|
1
|
+
import { align, text_style } from '@zos/ui'
|
|
2
|
+
import { getText } from '@zos/i18n'
|
|
3
|
+
import { getDeviceInfo } from '@zos/device'
|
|
4
|
+
import { px } from '@zos/utils'
|
|
5
5
|
|
|
6
6
|
export const { width: DEVICE_WIDTH, height: DEVICE_HEIGHT } = getDeviceInfo();
|
|
7
7
|
|
|
@@ -13,6 +13,6 @@ export const TEXT_STYLE = {
|
|
|
13
13
|
h: px(100),
|
|
14
14
|
color: 0xffffff,
|
|
15
15
|
text_size: px(36),
|
|
16
|
-
align_h:
|
|
17
|
-
text_style:
|
|
18
|
-
}
|
|
16
|
+
align_h: align.CENTER_H,
|
|
17
|
+
text_style: text_style.WRAP,
|
|
18
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { log as Logger } from
|
|
3
|
-
import { TEXT_STYLE } from
|
|
1
|
+
import { createWidget, widget } from '@zos/ui'
|
|
2
|
+
import { log as Logger } from '@zos/utils'
|
|
3
|
+
import { TEXT_STYLE } from './index.style'
|
|
4
4
|
|
|
5
5
|
const logger = Logger.getLogger("helloworld");
|
|
6
6
|
|
|
7
7
|
Page({
|
|
8
8
|
build() {
|
|
9
|
-
logger.debug(
|
|
10
|
-
|
|
9
|
+
logger.debug('page build invoked')
|
|
10
|
+
createWidget(widget.TEXT, {
|
|
11
11
|
...TEXT_STYLE,
|
|
12
12
|
});
|
|
13
13
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getText } from
|
|
3
|
-
import { getDeviceInfo } from
|
|
1
|
+
import { align, text_style } from '@zos/ui'
|
|
2
|
+
import { getText } from '@zos/i18n'
|
|
3
|
+
import { getDeviceInfo } from '@zos/device'
|
|
4
4
|
|
|
5
5
|
export const { width: DEVICE_WIDTH, height: DEVICE_HEIGHT } = getDeviceInfo();
|
|
6
6
|
|
|
@@ -12,6 +12,6 @@ export const TEXT_STYLE = {
|
|
|
12
12
|
h: 100,
|
|
13
13
|
color: 0xffffff,
|
|
14
14
|
text_size: 36,
|
|
15
|
-
align_h:
|
|
16
|
-
text_style:
|
|
17
|
-
}
|
|
15
|
+
align_h: align.CENTER_H,
|
|
16
|
+
text_style: text_style.WRAP,
|
|
17
|
+
}
|
|
@@ -47,7 +47,29 @@
|
|
|
47
47
|
"page/sensor/sleep",
|
|
48
48
|
"page/sensor/stand",
|
|
49
49
|
"page/sensor/step",
|
|
50
|
-
"page/sensor/stress"
|
|
50
|
+
"page/sensor/stress",
|
|
51
|
+
"page/router/set_launch_app_timeout",
|
|
52
|
+
"page/interaction/on_digital_crown",
|
|
53
|
+
"page/interaction/on_key",
|
|
54
|
+
"page/ui/widget/text",
|
|
55
|
+
"page/ui/widget/img",
|
|
56
|
+
"page/ui/widget/button",
|
|
57
|
+
"page/ui/widget/fill_rect",
|
|
58
|
+
"page/ui/widget/stroke_rect",
|
|
59
|
+
"page/ui/widget/arc",
|
|
60
|
+
"page/ui/widget/img_anim",
|
|
61
|
+
"page/ui/widget/qrcode",
|
|
62
|
+
"page/ui/widget/dialog",
|
|
63
|
+
"page/ui/widget/histogram",
|
|
64
|
+
"page/ui/widget/polyline",
|
|
65
|
+
"page/ui/widget/radio_group",
|
|
66
|
+
"page/ui/widget/checkbox_group",
|
|
67
|
+
"page/ui/widget/slide_switch",
|
|
68
|
+
"page/ui/widget/pick_date",
|
|
69
|
+
"page/ui/widget/scroll_list",
|
|
70
|
+
"page/ui/widget/view_container",
|
|
71
|
+
"page/ui/widget/cycle_list",
|
|
72
|
+
"page/ui/widget/cycle_image_text_list"
|
|
51
73
|
]
|
|
52
74
|
}
|
|
53
75
|
},
|
|
@@ -59,14 +81,6 @@
|
|
|
59
81
|
{
|
|
60
82
|
"name": "gtr4-w",
|
|
61
83
|
"deviceSource": 7930113
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"name": "gts",
|
|
65
|
-
"deviceSource": 7995648
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
"name": "gts-w",
|
|
69
|
-
"deviceSource": 7995649
|
|
70
84
|
}
|
|
71
85
|
],
|
|
72
86
|
"designWidth": 480
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|