diff --git a/en/application-dev/device/figures/en-us_image_0000001180249428.png b/en/application-dev/device/figures/en-us_image_0000001180249428.png new file mode 100644 index 0000000000000000000000000000000000000000..efd258b98d9a4eb2a72767bd808eef4f49900d32 Binary files /dev/null and b/en/application-dev/device/figures/en-us_image_0000001180249428.png differ diff --git a/en/application-dev/device/ui/Readme-CN.md b/en/application-dev/device/ui/Readme-CN.md deleted file mode 100644 index d398aa74d8d44f8da390c879c4a9e83b094b17c4..0000000000000000000000000000000000000000 --- a/en/application-dev/device/ui/Readme-CN.md +++ /dev/null @@ -1,117 +0,0 @@ -# UI - -- [ArkUI Overview](arkui-overview.md) -- JavaScript-based Web-like Development Paradigm - - [Overview](ui-js-overview.md) - - Framework - - [File Organization](js-framework-file.md) - - ["js" Tag](js-framework-js-tag.md) - - [app.js](js-framework-js-file.md) - - Syntax - - [HML](js-framework-syntax-hml.md) - - [CSS](js-framework-syntax-css.md) - - [JavaScript](js-framework-syntax-js.md) - - [Lifecycle](js-framework-lifecycle.md) - - [Resource Limitations and Access](js-framework-resource-restriction.md) - - [Multi-Language Capability](js-framework-multiple-languages.md) - - Building the UI - - [Component Overview](ui-js-building-ui-component.md) - - Building the Layout - - [Layout Description](ui-js-building-ui-layout-intro.md) - - [Adding Title and Paragraph Text](ui-js-building-ui-layout-text.md) - - [Adding an Image](ui-js-building-ui-layout-image.md) - - [Adding a Comment](ui-js-building-ui-layout-comment.md) - - [Adding a Container](ui-js-building-ui-layout-external-container.md) - - [Adding Interactions](ui-js-building-ui-interactions.md) - - [Developing Animations](ui-js-building-ui-animation.md) - - [Defining Events](ui-js-building-ui-event.md) - - [Defining Page Routes](ui-js-building-ui-routes.md) - - Common Component Development Guidelines - - [<text> Development](ui-js-components-text.md) - - [<input> Development](ui-js-components-input.md) - - [<button> Development](ui-js-components-button.md) - - [<list> Development](ui-js-components-list.md) - - [<picker> Development](ui-js-components-picker.md) - - [<dialog> Development](ui-js-components-dialog.md) - - [<form> Development](ui-js-components-form.md) - - [<stepper> Development](ui-js-components-stepper.md) - - [<tabs> Development](ui-js-component-tabs.md) - - [<image> Development](ui-js-components-images.md) - - Animation Development Guidelines - - CSS Animation - - [Defining Attribute Style Animations](ui-js-animate-attribute-style.md) - - [Defining Animations with the transform Attribute](ui-js-animate-transform.md) - - [Defining Animations with the background-position Attribute](ui-js-animate-background-position-style.md) - - [Defining Animations for SVG Components](ui-js-animate-svg.md) - - JS Animation - - [Component Animation](ui-js-animate-component.md) - - Interpolator Animation - - [Animation Effect](ui-js-animate-dynamic-effects.md) - - [Animation Frame](ui-js-animate-frame.md) - - [Custom Components](ui-js-custom-components.md) -- TypeScript-based Declarative Development Paradigm - - [Overview](ui-ts-overview.md) - - Framework Overview - - File Organization - - [Directory Structure](ts-framework-directory.md) - - [Rules for Accessing Application Code Files](ts-framework-file-access-rules.md) - - ["js" Tag](ts-framework-js-tag.md) - - Resource Access - - [Accessing Application Resources](ts-application-resource-access.md) - - [Accessing System Resources](ts-system-resource-access.md) - - [Media Resource Types](ts-media-resource-type.md) - - [Pixel Units](ts-pixel-units.md) - - [Types](ts-types.md) - - Declarative Syntax - - [Overview](ts-syntax-intro.md) - - General UI Description Specifications - - [Basic Concepts](ts-general-ui-concepts.md) - - Declarative UI Description Specifications - - [Configuration Without Parameters](ts-parameterless-configuration.md) - - [Configuration with Mandatory Parameters](ts-configuration-with-mandatory-parameters.md) - - [Attribute Configuration](ts-attribution-configuration.md) - - [Event Configuration](ts-event-configuration.md) - - [Child Component Configuration](ts-child-component-configuration.md) - - Componentization - - [@Component](ts-component-based-component.md) - - [@Entry](ts-component-based-entry.md) - - [@Preview](ts-component-based-preview.md) - - [@Builder](ts-component-based-builder.md) - - [@Extend](ts-component-based-extend.md) - - [@CustomDialog](ts-component-based-customdialog.md) - - [@Styles](ts-component-based-styles.md) - - About UI State Management - - [Basic Concepts](ts-ui-state-mgmt-concepts.md) - - Managing Component States - - [@State](ts-component-states-state.md) - - [@Prop](ts-component-states-prop.md) - - [@Link](ts-component-states-link.md) - - Managing Application States - - [AppStorage](ts-application-states-appstorage.md) - - [PersistentStorage](ts-application-states-apis-persistentstorage.md) - - [Environment](ts-application-states-apis-environment.md) - - Managing Other States - - [@Observed and @ObjectLink](ts-other-states-observed-objectlink.md) - - [@Consume and @Provide](ts-other-states-consume-provide.md) - - [@Watch](ts-other-states-watch.md) - - About Rendering Control Syntax - - [if/else](ts-rending-control-syntax-if-else.md) - - [ForEach](ts-rending-control-syntax-foreach.md) - - [LazyForEach](ts-rending-control-syntax-lazyforeach.md) - - About @Component - - [build Function](ts-function-build.md) - - [Initialization of Custom Components' Member Variables](ts-custom-component-initialization.md) - - [Custom Component Lifecycle Callbacks](ts-custom-component-lifecycle-callbacks.md) - - [Component Creation and Re-initialization](ts-component-creation-re-initialization.md) - - [About Syntactic Sugar](ts-syntactic-sugar.md) - - Common Component Development Guidelines - - [<web> Development](ui-ts-components-web.md) - - Experiencing the Declarative UI - - [Creating a Declarative UI Project](ui-ts-creating-project.md) - - [Getting to Know Components](ui-ts-components.md) - - [Creating a Simple Page](ui-ts-creating-simple-page.md) - - Defining Page Layout and Connection - - [Building a Food Data Model](ui-ts-building-data-model.md) - - [Building a Food Category List Layout](ui-ts-building-category-list-layout.md) - - [Building a Food Category Grid Layout](ui-ts-building-category-grid-layout.md) - - [Implementing Page Redirection and Data Transmission](ui-ts-page-redirection-data-transmission.md) diff --git a/en/application-dev/device/ui/arkui-overview.md b/en/application-dev/device/ui/arkui-overview.md deleted file mode 100644 index a5ba95916cfd3fad3e6eebe945ea6f22f6aa2aea..0000000000000000000000000000000000000000 --- a/en/application-dev/device/ui/arkui-overview.md +++ /dev/null @@ -1,58 +0,0 @@ -# ArkUI Overview - - -## Introduction - -ArkUI is a UI development framework that provides what you'll need to develop application UIs. - - -## Basic Concepts - -- Component: the smallest unit for UI building and display. You build a UI that meets your needs through flexible combinations of components. - -- Page: the smallest unit for ArkUI application scheduling. You can design multiple pages for your application, manage their files on a per-page basis, and schedule page redirection through routing APIs, so as to implement decoupling of application functions. - - -## Key Capabilities - -- Diverse components: In addition to a wide range of basic components, such as components for text display, image display, and keypress interaction, ArkUI provides media components that support video playback. Better yet, it also provides polymorphic components, which can adapt to styles of different devices. - -- Flexible layouts: Creating a responsive UI in ArkUI is easy, with our carefully-designed layout approaches: Besides the classic flexible layout capability, you also have access to the list, grid, and atomic layouts that auto-adapt to screen resolutions. - -- Animation: Apart from animations embedded in components, ArkUI offers additional animation features: attribute animation, transition animation, and custom animation. - -- UI interaction: ArkUI allows users to interact with your application UI properly, regardless of the system platform and input device. By default, the UI accepts input from touch gestures, remote controls, and mouse devices, with support for the event notification capability. - -- Drawing: ArkUI offers advanced drawing capabilities that allow you to draw custom shapes with a range of editors, from images to fill colors and texts. - -- Platform API channel: ArkUI provides an API extension mechanism through which platform capabilities are encapsulated to produce JavaScript APIs in a unified style. - - -## Development Paradigms - -ArkUI comes with two development paradigms: JavaScript-based web-like development paradigm (web-like development paradigm for short) and TypeScript-based declarative development paradigm (declarative development paradigm for short). You can choose whichever development paradigm that aligns with your practice. - - -### Web-like Development Paradigm - -The web-like development paradigm uses the classical three-stage programming model, in which OpenHarmony Markup Language (HML) is used for building layouts, CSS for defining styles, and JavaScript for adding processing logic. UI components are associated with data through one-way data-binding. This means that when data changes, the UI automatically updates with the new data. This development paradigm has a low learning curve for frontend web developers, allowing them to quickly transform existing web applications into ArkUI applications. It could be helpful if you are developing small- and medium-sized applications with simple UIs. - - -### Declarative Development Paradigm - -The declarative development paradigm uses the TypeScript programming language and extends the declarative UI syntax, providing UI drawing capabilities from three dimensions: component, animation, and state management. The programming mode used is closer to natural semantics. You can intuitively describe the UI without caring about how the framework implements UI drawing and rendering, leading to simplified and efficient development. With type annotations in TypeScript, you can enforce type checking at compile time. If you are developing large applications, the declarative development paradigm is more applicable. - - -### Web-like Development Paradigm vs. Declarative Development Paradigm - - | Development Paradigm | Language | UI Update Mode | Applicable To | Intended Audience | -| -------- | -------- | -------- | -------- | -------- | -| Web-like development paradigm | JavaScript | Data-driven | Applets and service widgets with simple UIs | Frontend web developers | -| Declarative development paradigm | Extended TypeScript (eTS) | Data-driven | Applications involving technological sophistication and teamwork | Mobile application and system application developers | - - -### Framework Structure - -![en-us_image_0000001267647869](figures/en-us_image_0000001267647869.png) - -As shown above, the two development paradigms share the UI backend engine and language runtime. The UI backend engine implements the six basic capabilities of the ArkUI framework. The declarative development paradigm does not require the JS Framework for managing the page DOM. As such, it has more streamlined rendering and update links and less memory usage. This makes the declarative development paradigm a better choice for building application UIs. diff --git a/en/application-dev/device/ui/figures/directory-structure-for-resource-sharing-5+.png b/en/application-dev/device/ui/figures/directory-structure-for-resource-sharing-5+.png deleted file mode 100644 index 5e4322d20ad887573ad85958bc181a1be0f85f1c..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/directory-structure-for-resource-sharing-5+.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001174104404.png b/en/application-dev/device/ui/figures/en-us_image_0000001174104404.png deleted file mode 100644 index e370a44cf043fc34bd8891f57faad2cd2ca05707..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001174104404.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001174264376.png b/en/application-dev/device/ui/figures/en-us_image_0000001174264376.png deleted file mode 100644 index dfcb0c5e259b3f8d7375c21712249c1e847edd67..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001174264376.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001174422914.png b/en/application-dev/device/ui/figures/en-us_image_0000001174422914.png deleted file mode 100644 index bc28f5056c679e189543c8ad6fba67fb56db7655..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001174422914.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001174582864.png b/en/application-dev/device/ui/figures/en-us_image_0000001174582864.png deleted file mode 100644 index b54dbc2391d1a8f16312dd02dc3d65a35ea2626f..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001174582864.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001174582866.png b/en/application-dev/device/ui/figures/en-us_image_0000001174582866.png deleted file mode 100644 index 56d32d4cd371c5374b133cb81c9c077aaf7b110d..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001174582866.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001182832088.gif b/en/application-dev/device/ui/figures/en-us_image_0000001182832088.gif deleted file mode 100644 index 53a8a2063ae440915a9b1710d9b184c470f26010..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001182832088.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001183871404.gif b/en/application-dev/device/ui/figures/en-us_image_0000001183871404.gif deleted file mode 100644 index 92bac3bec6a14037b71c86d76d4d87ac3a40171a..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001183871404.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001219662661.png b/en/application-dev/device/ui/figures/en-us_image_0000001219662661.png deleted file mode 100644 index 9c43caf5fdfd466eafc37b793f509a6bde2b885d..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001219662661.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001219662663.png b/en/application-dev/device/ui/figures/en-us_image_0000001219662663.png deleted file mode 100644 index 5c5e360f249a2002ba68ad9b94bd7f66f5d6aab1..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001219662663.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001219662665.png b/en/application-dev/device/ui/figures/en-us_image_0000001219662665.png deleted file mode 100644 index 309d1c46f8bc396df5eaed381a5ffa2f0389d602..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001219662665.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001219744201.png b/en/application-dev/device/ui/figures/en-us_image_0000001219744201.png deleted file mode 100644 index 0d22570503febc7a7dcba0d1e870f49f32fe489a..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001219744201.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001219864153.png b/en/application-dev/device/ui/figures/en-us_image_0000001219864153.png deleted file mode 100644 index 58293d5e874f2aa36ecaf7282ca9e4736318092f..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001219864153.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001219982719.png b/en/application-dev/device/ui/figures/en-us_image_0000001219982719.png deleted file mode 100644 index fde616c73000d3f58fd98eea59088177221127a5..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001219982719.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807756.png b/en/application-dev/device/ui/figures/en-us_image_0000001222807756.png deleted file mode 100644 index 0a44a65c48f7f334e5d77e400495d455dc1283d1..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807756.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807760.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222807760.gif deleted file mode 100644 index c76bef26e0b11311f02233ff17ca476ef470798a..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807760.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807768.png b/en/application-dev/device/ui/figures/en-us_image_0000001222807768.png deleted file mode 100644 index 5b8b2d36da4a14abee57a064898fce0899743751..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807768.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807772.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222807772.gif deleted file mode 100644 index b2097084b8dda33575a19b7c97d0555dcd5c04f9..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807772.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807776.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222807776.gif deleted file mode 100644 index 365dbc42e583335f32de863120fd80ae0e7d59e5..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807776.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807780.png b/en/application-dev/device/ui/figures/en-us_image_0000001222807780.png deleted file mode 100644 index 7b8e28967b4af0d0a3e10093b0b2dfab043da52c..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807780.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807784.png b/en/application-dev/device/ui/figures/en-us_image_0000001222807784.png deleted file mode 100644 index 19ee7009247945887ceb0f8f6f471e45f3116b70..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807784.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807792.png b/en/application-dev/device/ui/figures/en-us_image_0000001222807792.png deleted file mode 100644 index 3834601d70a5121e18af408bb6a12bbdbf54a28c..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807792.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807796.png b/en/application-dev/device/ui/figures/en-us_image_0000001222807796.png deleted file mode 100644 index 2ca7c5488fb83a122e7f8ea1fba1e2d59324e513..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807796.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807800.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222807800.gif deleted file mode 100644 index 218be7ed11ffd1f1f199c347f0fa90e6f6b64b53..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807800.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807808.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222807808.gif deleted file mode 100644 index b0e9d88f7ccf69a208bdf59ab5bd9a3dee2426f6..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807808.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807812.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222807812.gif deleted file mode 100644 index 5cfb969baf3a36e231a311ca11ca538c248f6da1..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807812.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222807816.png b/en/application-dev/device/ui/figures/en-us_image_0000001222807816.png deleted file mode 100644 index 322db38fe66d622bd767919513fec474399c847a..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222807816.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967740.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222967740.gif deleted file mode 100644 index 1dff7c90963c2e9a76aa63dbb434b9c55a747fba..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967740.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967744.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967744.png deleted file mode 100644 index c07a237f3bff7acbb5adbe7ca0d142aa204f7f13..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967744.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967752.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967752.png deleted file mode 100644 index 38283e25da840fcbadf7e08dc27abe1e5df3b946..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967752.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967756.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222967756.gif deleted file mode 100644 index 40f7c00741880a81530581d5488c2ff96e0e7bf2..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967756.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967760.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222967760.gif deleted file mode 100644 index 5eb149620499c0d1d363d274ad88a741095fc922..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967760.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967764.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967764.png deleted file mode 100644 index 62c786d7dacd69bae17ebe4074a2d429cd7f6851..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967764.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967768.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967768.png deleted file mode 100644 index 37ae5324808a0ab50f210907ca65a09e4456a371..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967768.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967772.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967772.png deleted file mode 100644 index f33eb296f27701a00461cd9231f7d9af014a3814..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967772.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967776.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967776.png deleted file mode 100644 index f125f44d4a956c717f3bf1481f7161cf41e79a39..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967776.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967780.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967780.png deleted file mode 100644 index e42b6a7b9c128f9de2217c988fa34cd385742044..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967780.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967784.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967784.png deleted file mode 100644 index 3417fe5b0259e024e475c6c1953c23afcc768584..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967784.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967788.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222967788.gif deleted file mode 100644 index b374c821e0e426b0e50e33910f33582e8b283ac9..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967788.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967792.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967792.png deleted file mode 100644 index a8e6cea551b7ff328a76939309164a0b47b803e3..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967792.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967796.gif b/en/application-dev/device/ui/figures/en-us_image_0000001222967796.gif deleted file mode 100644 index ff991f2899c847c433e41ccafd6798a386540369..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967796.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001222967800.png b/en/application-dev/device/ui/figures/en-us_image_0000001222967800.png deleted file mode 100644 index 00964c1cfa5f006f2e8ac064133e23a2d8fc92aa..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001222967800.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127696.png b/en/application-dev/device/ui/figures/en-us_image_0000001223127696.png deleted file mode 100644 index 128187aacfa540846172eac7d4ff47a3c2a31291..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127696.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127700.png b/en/application-dev/device/ui/figures/en-us_image_0000001223127700.png deleted file mode 100644 index 99a2f37ce14924c6c2d91f828d7ffaa8c87ec77f..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127700.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127704.png b/en/application-dev/device/ui/figures/en-us_image_0000001223127704.png deleted file mode 100644 index 1b9259dc9c0a7cb3530e3f7d9b0225e5160b92c8..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127704.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127708.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223127708.gif deleted file mode 100644 index 74ac9966962b430a0a03e68cf4f39bcfae4cc280..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127708.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127712.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223127712.gif deleted file mode 100644 index 3fe0cd60d60a0c5d29c2625ebade3d8b0bd0cdf8..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127712.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127716.png b/en/application-dev/device/ui/figures/en-us_image_0000001223127716.png deleted file mode 100644 index 72c1ad1e7e1c2100b85be89be4f0648c5ab19d57..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127716.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127720.png b/en/application-dev/device/ui/figures/en-us_image_0000001223127720.png deleted file mode 100644 index 24908708ecdc45a01ed06334f67171bca9d553ef..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127720.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127724.png b/en/application-dev/device/ui/figures/en-us_image_0000001223127724.png deleted file mode 100644 index 5000709da6dfadee24e10fdbd679b3a28e46578b..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127724.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127732.png b/en/application-dev/device/ui/figures/en-us_image_0000001223127732.png deleted file mode 100644 index 4e6560056b15b9c570758670eb65311168df7e9a..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127732.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127736.png b/en/application-dev/device/ui/figures/en-us_image_0000001223127736.png deleted file mode 100644 index 4d26b5ba589c8b9126c51b54ff4d67476771cdf2..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127736.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127740.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223127740.gif deleted file mode 100644 index 16a2d3f912b23349a5c416e5c5b74f4fd05a12aa..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127740.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127744.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223127744.gif deleted file mode 100644 index 5643eb93241bf15f6cb75ffaf463ada35ba13201..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127744.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127748.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223127748.gif deleted file mode 100644 index 20b525e82ccdead4414f89e2e226992bc85e13c3..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127748.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127752.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223127752.gif deleted file mode 100644 index d669cf40b97891ba3853be28574dceae172fe138..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127752.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127756.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223127756.gif deleted file mode 100644 index 5ea0034e22041bd7fe8c5f73e655ddf367a8d5d5..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127756.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223127760.png b/en/application-dev/device/ui/figures/en-us_image_0000001223127760.png deleted file mode 100644 index d5bed5e4ae3a322db0e4f05482913fdbd828cbed..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223127760.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287652.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287652.gif deleted file mode 100644 index d3cd3ce694db4d57f8b1e1b7af23bb278806ae79..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287652.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287656.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287656.gif deleted file mode 100644 index a6296483cbe2994e36e97d422588f3a9156b56eb..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287656.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287668.png b/en/application-dev/device/ui/figures/en-us_image_0000001223287668.png deleted file mode 100644 index 21d56ef14b92d136e304c4bae6ab8b1f447557bb..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287668.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287672.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287672.gif deleted file mode 100644 index abd944207e383441ac7f62a1401b669d67361600..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287672.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287676.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287676.gif deleted file mode 100644 index 82123adf27f2c782fe882a2c3399646ed3763629..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287676.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287680.png b/en/application-dev/device/ui/figures/en-us_image_0000001223287680.png deleted file mode 100644 index 4f33bfa94e4e8d0a6e70e6f8332126757b320560..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287680.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287684.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287684.gif deleted file mode 100644 index f333c9666cf9ba259ff2e5d0d883c4988659e877..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287684.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287688.png b/en/application-dev/device/ui/figures/en-us_image_0000001223287688.png deleted file mode 100644 index cc39aec87bb14a36eb6214a2ef39d45c631d4a2b..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287688.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287696.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287696.gif deleted file mode 100644 index 2283e46371317539004c0007886500c1a81dd83a..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287696.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287704.png b/en/application-dev/device/ui/figures/en-us_image_0000001223287704.png deleted file mode 100644 index a4eb400dcd217074d6e76902723e9fffd34fd4bd..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287704.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287708.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287708.gif deleted file mode 100644 index d69156cdc0d1f1f33560148c1161618f97acb21d..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287708.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287712.png b/en/application-dev/device/ui/figures/en-us_image_0000001223287712.png deleted file mode 100644 index 35fe49397c017888c8893eef4fcf0ee5cf4f3e26..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287712.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287716.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287716.gif deleted file mode 100644 index 55e4d3d49156bb706e1446b92c20d04df3c34477..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287716.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287720.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287720.gif deleted file mode 100644 index d3453785e39354ba12ba98483ca3d332da070680..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287720.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001223287724.gif b/en/application-dev/device/ui/figures/en-us_image_0000001223287724.gif deleted file mode 100644 index 27f8177c1c626565ce53f409bbf5a4e2f7cdba01..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001223287724.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001229510983.gif b/en/application-dev/device/ui/figures/en-us_image_0000001229510983.gif deleted file mode 100644 index 56ad8e92f8376a00a0e5e201e7946144acb7659a..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001229510983.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607861.png b/en/application-dev/device/ui/figures/en-us_image_0000001267607861.png deleted file mode 100644 index 15a7e0bdc38655a23f64bfa56c4adad9a6a199a0..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607861.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607865.png b/en/application-dev/device/ui/figures/en-us_image_0000001267607865.png deleted file mode 100644 index 345a2be66315d210a86c20d30c56b8b5f487c325..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607865.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607869.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267607869.gif deleted file mode 100644 index eb0c760faaf917a6935af461e0094fd8e7b8e85b..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607869.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607873.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267607873.gif deleted file mode 100644 index 5e38a4068976c9b5e298ff33ad4cfc711de4b2a6..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607873.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607877.png b/en/application-dev/device/ui/figures/en-us_image_0000001267607877.png deleted file mode 100644 index fad940f7f4fba442aa1b267c66cdc21c5d3a1d2c..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607877.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607881.png b/en/application-dev/device/ui/figures/en-us_image_0000001267607881.png deleted file mode 100644 index 13b5b576503f783a01e729e9bb1f740e0c5b03ed..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607881.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607885.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267607885.gif deleted file mode 100644 index fc1eab30eb6a87308eaf399a89f1a755223f3995..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607885.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607889.png b/en/application-dev/device/ui/figures/en-us_image_0000001267607889.png deleted file mode 100644 index c31a496344ab6dca8730eab65298ea78c7529c63..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607889.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607893.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267607893.gif deleted file mode 100644 index 391353977d32956cde03890e501d11766dae2648..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607893.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607901.png b/en/application-dev/device/ui/figures/en-us_image_0000001267607901.png deleted file mode 100644 index 032c5bae7d3269bd4a3bb813e9d69c9271ac9843..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607901.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607905.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267607905.gif deleted file mode 100644 index 4a815c6f3db9654b71cc1d11821eab521ca7aeee..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607905.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607909.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267607909.gif deleted file mode 100644 index 220d14e0637e2808211cec10173c6c4a7552b64c..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607909.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607913.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267607913.gif deleted file mode 100644 index 26071946faf875a4699cfce94e901e31118e58fc..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607913.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267607921.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267607921.gif deleted file mode 100644 index 90898288928277467db40c5eb11b4ff7ae082e6e..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267607921.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647841.png b/en/application-dev/device/ui/figures/en-us_image_0000001267647841.png deleted file mode 100644 index 89c8accb2a567d32f056cbbb1158c51f3baf013d..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647841.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647849.png b/en/application-dev/device/ui/figures/en-us_image_0000001267647849.png deleted file mode 100644 index f7b8012da47797dfd3909843cba9af1468fb4e89..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647849.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647853.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267647853.gif deleted file mode 100644 index 688faa61583561ccb4e54daa04a3ac6a466245ac..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647853.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647857.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267647857.gif deleted file mode 100644 index 014958726f3f42a6bd92b341695c8ed03b3fd211..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647857.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647861.png b/en/application-dev/device/ui/figures/en-us_image_0000001267647861.png deleted file mode 100644 index cd29fb73e562d56acd907ffa221d347b14cb1812..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647861.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647865.png b/en/application-dev/device/ui/figures/en-us_image_0000001267647865.png deleted file mode 100644 index 5877e6f9966eb4eee0b738ee7356985f9a819714..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647865.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647869.png b/en/application-dev/device/ui/figures/en-us_image_0000001267647869.png deleted file mode 100644 index 91179e770c418c02c3751111b14bbea637b48b1c..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647869.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647873.png b/en/application-dev/device/ui/figures/en-us_image_0000001267647873.png deleted file mode 100644 index d1dc59cd8ac1b5dc7da2f57d16d9a080bb449114..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647873.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647881.png b/en/application-dev/device/ui/figures/en-us_image_0000001267647881.png deleted file mode 100644 index 514bc6e8fcdab7ae01de64d16d92a0541954c458..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647881.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647885.png b/en/application-dev/device/ui/figures/en-us_image_0000001267647885.png deleted file mode 100644 index c7b4a7dfc70a6ee3ce7a837d1e8e91acc7d05d22..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647885.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647889.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267647889.gif deleted file mode 100644 index f470f5261becb6c2d7b30f691a0794db2b1feb93..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647889.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647893.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267647893.gif deleted file mode 100644 index 6ba578c8480834de8798cd311444c0499e1f0da5..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647893.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647897.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267647897.gif deleted file mode 100644 index c7779b378c80842817091bedf62d74378bfff055..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647897.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267647901.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267647901.gif deleted file mode 100644 index a22665c1c2d86025245dbac4b78c5b4bd5c264df..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267647901.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767837.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267767837.gif deleted file mode 100644 index 24f00c9f1aa6ec431a355f5dd2d88b920607cd05..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767837.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767841.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267767841.gif deleted file mode 100644 index 8d5a07d1ff67011de5d0ec6bc0c2e552db9e5cd0..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767841.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767845.png b/en/application-dev/device/ui/figures/en-us_image_0000001267767845.png deleted file mode 100644 index 411cc11b2ac16047c5e2c8a24b3d572b9e24f768..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767845.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767849.png b/en/application-dev/device/ui/figures/en-us_image_0000001267767849.png deleted file mode 100644 index 7eb0d2cc3f3dd8e239e9232e655344c864cbf679..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767849.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767853.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267767853.gif deleted file mode 100644 index 5a297661641d1714ebc95116592a97a693293e0a..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767853.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767857.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267767857.gif deleted file mode 100644 index d536b946b814de3d5b822611ac5c91c749a9d254..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767857.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767861.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267767861.gif deleted file mode 100644 index 2398192bc5df690246dad3edfb82afe618b35dfd..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767861.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767865.png b/en/application-dev/device/ui/figures/en-us_image_0000001267767865.png deleted file mode 100644 index 09f170afc5fac1513c0e453a6562a4670b3750f8..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767865.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767869.png b/en/application-dev/device/ui/figures/en-us_image_0000001267767869.png deleted file mode 100644 index 2a2376e7e953d35b7d0fb1f6d53314bc0d7cb6b5..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767869.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767873.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267767873.gif deleted file mode 100644 index 80a6d574da0827642f85fd34d1acd11caade21cf..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767873.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767877.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267767877.gif deleted file mode 100644 index d1288776a8086fbb9e66691b0e882784db243aba..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767877.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767881.png b/en/application-dev/device/ui/figures/en-us_image_0000001267767881.png deleted file mode 100644 index 9c9be43d1fedfbd8660965190865110f007d8161..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767881.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767885.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267767885.gif deleted file mode 100644 index f3e6017b6daddc0be529486e0bfaf8b39749e38f..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767885.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767889.png b/en/application-dev/device/ui/figures/en-us_image_0000001267767889.png deleted file mode 100644 index 8147a723309aabab4e43998f0afb565b07a4356d..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767889.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767893.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267767893.gif deleted file mode 100644 index 4232ddc088cfaf7015aa3bca6622c39bbd5624a6..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767893.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267767897.png b/en/application-dev/device/ui/figures/en-us_image_0000001267767897.png deleted file mode 100644 index d015869874aecf7235aa892993d3d872a4cfe9df..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267767897.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887817.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267887817.gif deleted file mode 100644 index a1839308d0fdde50aefd4c818d30ea82c49b6ca6..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887817.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887821.png b/en/application-dev/device/ui/figures/en-us_image_0000001267887821.png deleted file mode 100644 index f4ac33ba8eea89d257a3ff8f5947b007abdf4215..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887821.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887829.png b/en/application-dev/device/ui/figures/en-us_image_0000001267887829.png deleted file mode 100644 index 4487bdcb98a9b1f912be17041859d7a7a246f183..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887829.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887833.png b/en/application-dev/device/ui/figures/en-us_image_0000001267887833.png deleted file mode 100644 index 883981a250b68a29db2027dee82a9a19c34c8e1a..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887833.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887837.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267887837.gif deleted file mode 100644 index b7808565202cf12474f1282e67fde3a9c85d0e9c..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887837.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887841.png b/en/application-dev/device/ui/figures/en-us_image_0000001267887841.png deleted file mode 100644 index 664e50e404e5e7f6e4c4823bf1099391bfa45e33..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887841.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887845.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267887845.gif deleted file mode 100644 index 067268949d47e1cbefdc51b0d736200a4eee443f..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887845.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887849.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267887849.gif deleted file mode 100644 index e0d0662622fa12506072961b407ed888c2478d90..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887849.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887853.png b/en/application-dev/device/ui/figures/en-us_image_0000001267887853.png deleted file mode 100644 index 5e855312aef77f5badc0c0b0b4d5cbeac23b802f..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887853.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887861.png b/en/application-dev/device/ui/figures/en-us_image_0000001267887861.png deleted file mode 100644 index 3a97ead3b625041b9a3a33c8db8cd7cb79276a2d..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887861.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887865.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267887865.gif deleted file mode 100644 index b5e2ed34cf960792ca65ce6d9197ac0fc5d49f8c..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887865.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887869.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267887869.gif deleted file mode 100644 index d4b3de8f257c571e6fec3ff51795936b2d94d2f0..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887869.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887873.png b/en/application-dev/device/ui/figures/en-us_image_0000001267887873.png deleted file mode 100644 index acc898fe64bbdf09a994ffe8124401351516521d..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887873.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887877.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267887877.gif deleted file mode 100644 index 3482c52e25f1a60d708865d6f40ec444ebcedbfb..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887877.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887881.png b/en/application-dev/device/ui/figures/en-us_image_0000001267887881.png deleted file mode 100644 index b750fee4fb6799db6859846db3d50cb32c911bc3..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887881.png and /dev/null differ diff --git a/en/application-dev/device/ui/figures/en-us_image_0000001267887885.gif b/en/application-dev/device/ui/figures/en-us_image_0000001267887885.gif deleted file mode 100644 index b1038b5da74612ac1911e1dae9d3a1de24ee46c7..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/en-us_image_0000001267887885.gif and /dev/null differ diff --git a/en/application-dev/device/ui/figures/unnaming-(1).png b/en/application-dev/device/ui/figures/unnaming-(1).png deleted file mode 100644 index b27b0977b2a668e11011c6106e9c53fe890b16db..0000000000000000000000000000000000000000 Binary files a/en/application-dev/device/ui/figures/unnaming-(1).png and /dev/null differ diff --git a/en/application-dev/device/ui/js-framework-file.md b/en/application-dev/device/ui/js-framework-file.md deleted file mode 100644 index caf71cb477dc28feaa479be5b2cf0e1e1ec345a5..0000000000000000000000000000000000000000 --- a/en/application-dev/device/ui/js-framework-file.md +++ /dev/null @@ -1,68 +0,0 @@ -# File Organization - -## Directory Structure - -The following figure shows the typical directory structure of the JavaScript module \(entry/src/main/js/module\) for an application with feature abilities \(FA\) using JavaScript APIs. - -**Figure1** Directory structure - -![](figures/unnaming-(1).png) - -**Figure2** Directory structure for resource sharing 5+ - -![](figures/directory-structure-for-resource-sharing-5+.png "directory-structure-for-resource-sharing-5+") - -Functions of the files are as follows: - -- .hml files describe the page layout. -- .css files describe the page style. -- .js files process the interactions between pages and users. - -Functions of the folders are as follows: - -- The app.js file manages global JavaScript logics and application lifecycle. For details, see [app.js](js-framework-js-file.md). -- The pages directory stores all component pages. -- The common directory stores public resource files, such as media resources, custom components, and .js files. -- The resources directory stores resource configuration files, for example, for multi-resolution loading. For details, see [Resource Limitations and Access](js-framework-resource-restriction.md). -- The share directory5+ is used to configure resources shared by multiple instances. For example, images and JSON files in this directory can be shared by default1 and default2 instances. - ->![](public_sys-resources/icon-note.gif) **NOTE**: ->- Reserved folders \(i18n and resources\) cannot be renamed. ->- If the same resource name and directory are used under the share directory and the instance \(default\) directory, the resource in the instance directory will be used when you reference the directory. ->- The share directory does not support i18n. ->- You should create the optional folders \(shown in the directory structure\) as needed after you create the project in DevEco Studio. - -## File Access Rules - -Application resources can be accessed via an absolute or relative path. In the JS UI framework, an absolute path starts with a slash \(/\), and a relative path starts with ./ or ../. The rules are as follows: - -- To reference a code file, use a relative path, for example, ../common/utils.js. -- To reference a resource file, use an absolute path, for example, /common/xxx.png. -- Store code files and resource files in the common directory and access the files in a required fashion. -- In a .css file, use the url\(\) function to create a URL, for example, url\(/common/xxx.png\). - ->![](public_sys-resources/icon-note.gif) **NOTE**: ->When code file A needs to reference code file B: -> ->- If code files A and B are in the same directory, you can use either a relative or absolute path in code file B to reference resource files. ->- If code files A and B are in different directories, you must use an absolute path in code file B to reference resource files because the directory of code file B changes during Webpack packaging. ->- Use an absolute path if you want to dynamically change the resource file path through data binding in a .js file. - -## Media File Formats - -Table1 Supported image formats - -| Image Format | File Format | -| ------------ | ----------- | -| BMP | .bmp | -| GIF | .gif | -| JPEG | .jpg | -| PNG | .png | -| WebP | .webp | - -Table2 Supported video formats - -| Video Formats | File Format | -| ------------------------------- | ----------- | -| H.264 AVC Baseline Profile (BP) | .3gp .mp4 | - diff --git a/en/application-dev/device/ui/js-framework-js-file.md b/en/application-dev/device/ui/js-framework-js-file.md deleted file mode 100644 index f8fdc74c167642da160ad0f2fc0e0b09678b1266..0000000000000000000000000000000000000000 --- a/en/application-dev/device/ui/js-framework-js-file.md +++ /dev/null @@ -1,49 +0,0 @@ -# app.js - - -## Application Lifecycle - - You can customize the [lifecycle](js-framework-lifecycle.md) implementation logic on an application-by-application basis in app.js. The following example only prints the corresponding logs in the lifecycle function: - -``` -// app.js -export default { - onCreate() { - console.info('Application onCreate'); - }, - - onDestroy() { - console.info('Application onDestroy'); - }, -} -``` - -## Application Object6+ - - | Attribute | Data Type | Description | -| -------- | -------- | -------- | -| getApp | Function | Obtains the object exposed in the app.js file from the custom .js file. | - -The following is a sample code snippet: - - -``` -// app.js -export default { - data: { - test: "by getAPP" - }, - onCreate() { - console.info('AceApplication onCreate'); - }, - onDestroy() { - console.info('AceApplication onDestroy'); - }, -}; -``` - - -``` -// test.js Customize the logic code. -export var appData = getApp().data; -``` diff --git a/en/application-dev/device/ui/js-framework-js-tag.md b/en/application-dev/device/ui/js-framework-js-tag.md deleted file mode 100644 index ad407559177d7a7c0cd39615341ef36a8560bd37..0000000000000000000000000000000000000000 --- a/en/application-dev/device/ui/js-framework-js-tag.md +++ /dev/null @@ -1,105 +0,0 @@ -# "js" Tag - - -The "js" tag contains the instance name, window style, and page route information. - - - | Tag | Data Type | Default Value | Mandatory | Description | -| -------- | -------- | -------- | -------- | -------- | -| name | string | default | Yes | Name of the JavaScript instance. | -| pages | Array | - | Yes | Route information. For details, see ["pages"](#pages). | -| window | Object | - | No | Window information. For details, see ["window"](#window). | - - -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**: -> The "name", "window", and "pages" tags are configured in the "js" tag of the config.json file. - - -## "pages" - -The "pages" defines the route information of each page. Each page consists of the page path and page name. The following is an example: - - -``` -{ - ... - "pages": [ - "pages/index/index", - "pages/detail/detail" - ] - ... -} -``` - - -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**: -> -> - The first page in the pages list is the home page, also referred to as the entry, of the application. -> -> -> - The page name should not be a component name, for example, text.hml or button.hml. - -## window - -The "window" defines window-related configurations. To solve the screen adaptation problem, you can use either of the following methods: - -- Specify designWidth, which is the logical screen width. All size styles, such as width and font-size, are scaled at the ratio of designWidth to the physical screen width. For example, when designWidth is 720 px and if you set width to 100 px, the actual display width is scaled to 200 physical px on the screen whose physical width is 1440 px. - -- Set autoDesignWidth to true, the designWidth field will be ignored, and the component and layout will be scaled automatically based on the screen density. The logical screen width is automatically calculated based on the physical screen width and screen density. The logical screen width may vary depending on the device. Use the relative layout to adapt to different devices. For example, on a device with a resolution of 466x466 and 320 DPI (a screen density of 2x, with 160 DPI as the base), 1 px is equivalent to 2 physical px. - - > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**: - > 1. The default <length> value in the current style is calculated based on the screen density. For example, if the screen density is x2 (with 160 DPI as the baseline) and the default <length> value is 1 px, the actual length rendered on the device is 2 physical px. - > - > 2. Values of autoDesignWidth and designWidth do not affect how the default <length> value is calculated and the final effect. -| Attribute | Type | Mandatory | Default Value | Description | -| -------- | -------- | -------- | -------- | -------- | -| | | | | | -| designWidth | number | No | 720
| Logical screen width, which is a reference value for page design. The actual display width is scaled at the ratio of the value to the device width. | -| autoDesignWidth | boolean | No | false | Whether to automatically calculate the baseline width. If autoDesignWidth is set to true, designWidth is ignored. The baseline width is calculated based on the physical screen width and screen density. | - -The following is a sample code snippet: - -``` -{ - ... - "window": { - "designWidth": 720, - "autoDesignWidth": false - } - ... -} -``` - - -## Example - - -``` -{ - "app": { - "bundleName": "com.example.player", - "version": { - "code": 1, - "name": "1.0" - }, - "vendor": "example" - } - "module": { - ... - "js": [ - { - "name": "default", - "pages": [ - "pages/index/index", - "pages/detail/detail" - ], "window": { "designWidth": 720, "autoDesignWidth": false } - } - ], - "abilities": [ - { - ... - } - ] - } -} -``` diff --git a/en/application-dev/device/ui/js-framework-lifecycle.md b/en/application-dev/device/ui/js-framework-lifecycle.md deleted file mode 100644 index 292415ca893d6a6b90164efea54994a459a7f042..0000000000000000000000000000000000000000 --- a/en/application-dev/device/ui/js-framework-lifecycle.md +++ /dev/null @@ -1,45 +0,0 @@ -# Lifecycle - - -## Application Lifecycle - -You can define the following application lifecycle functions in the app.js file. - - | Attribute | Type | Description | Called When | -| -------- | -------- | -------- | -------- | -| onCreate | () => void | Listens for application creation. | The application is created. | -| onShow6+ | () => void | Listens for whether the application is running in the foreground. | The application is running in the foreground. | -| onHide6+ | () => void | Listens for whether the application is running in the background. | The application is running in the background. | -| onDestroy | () => void | Listens for application uninstallation. | The application exits. | - -## Page Lifecycle - -You can define the following page lifecycle functions in the .js file of the page. - -| Attribute | Type | Description | Called When | -| -------- | -------- | -------- | -------- | -| onInit | () => void | Listens for page initialization. | Page initialization is complete. This function is called only once in the page lifecycle. | -| onReady | () => void | Listens for page creation. | A page is created. This function is called only once in the page lifecycle. | -| onShow | () => void | Listens for page display. | The page is displayed. | -| onHide | () => void | Listens for page disappearance. | The page disappears. | -| onDestroy | () => void | Listens for page destruction. | The page is destroyed. | -| onBackPress | () => boolean | Listens for the back button action. | The back button is touched.
- true means that the page processes the return logic.
- false means that the default return logic is used.
- If no value is returned, the default return logic is used. | -| onActive()5+ | () => void | Listens for page activation. | The page is activated. | -| onInactive()5+ | () => void | Listens for page suspension. | The page is suspended. | -| onNewRequest()5+ | () => void | Listens for a new FA request. | The FA has been started and a new request is received. | - - The lifecycle functions of page A are called in the following sequence: -- Open page A: onInit() -> onReady() -> onShow() - -- Open page B on page A: onHide() - -- Go back to page A from page B: onShow() - -- Exit page A: onBackPress() -> onHide() -> onDestroy() - -- Hide page A: onInactive() -> onHide() - -- Show background page A on the foreground: onShow() -> onActive() - -![en-us_image_0000001267887881](figures/en-us_image_0000001267887881.png) - diff --git a/en/application-dev/device/ui/js-framework-multiple-languages.md b/en/application-dev/device/ui/js-framework-multiple-languages.md deleted file mode 100644 index 0405f3f9a0a22cfb83c713356af6f11e4cd33580..0000000000000000000000000000000000000000 --- a/en/application-dev/device/ui/js-framework-multiple-languages.md +++ /dev/null @@ -1,195 +0,0 @@ -# Multi-Language Capability - - -Applications designed based on the JS UI framework apply to different countries and regions. With the multi-language capability, you do not need to develop application versions in different languages, and your users can switch between various locales. This also facilitates project maintenance. - - -You only need to perform operations in [Resource Files](#resource-files) and [Resource Reference](#resource-reference) to use the multi-language capability of this framework. For details about how to obtain the current system language, see [Language Acquisition](#language-acquisition). - - -## Resource Files - -Resource files store application content in multiple languages. This framework uses JSON files to store resource definitions. Place the resource file of each locale in the i18n directory described in [File Organization](js-framework-file.md). - -Resource files should be named in _language-script-region_.json format. For example, the resource file for Hong Kong Chinese in the traditional script is named zh-Hant-HK. You can omit the region, for example, zh-CN for simplified Chinese, or omit both the script and region, for example, zh for Chinese. - - -``` -language[-script-region].json -``` - -The following table describes the requirements for the qualifiers of resource file names. - - Table1 Requirements for qualifier values - -| Qualifier Type | Description and Value Range | -| -------- | -------- | -| Language | Indicates the language used by the device. The value consists of two or three lowercase letters, for example, zh indicates Chinese, en indicates English, and mai indicates Maithili.
For details about the value range, refer to ISO 639 (codes for the representation of names of languages). | -| Script | Indicates the script type used by the device. The value starts with one uppercase letter followed by three lowercase letters, for example, Hans indicates simplified Chinese and Hant indicates traditional Chinese.
For details about the value range, refer to ISO 15924 (codes for the representation of names of scripts). | -| Country/Region | Indicates the country or region where a user is located. The value consists of two or three uppercase letters or three digits, for example, CN indicates China and GB indicates the United Kingdom.
For details about the value range, refer to ISO 3166-1 (codes for the representation of names of countries and their subdivisions). | - -If there is no resource file of the locale that matches the system language, content in the en-US.json file will be used by default. - -The format of the resource file content is as follows: - - en-US.json - -``` -{ - "strings": { - "hello": "Hello world!", - "object": "Object parameter substitution-{name}", - "array": "Array type parameter substitution-{0}", - "symbol": "@#$%^&*()_+-={}[]\\|:;\"'<>,./?" - }, - - "files": { - "image": "image/en_picture.PNG" - } -} -``` - - -Different languages have different matching rules for singular and plural forms. In the resource file, zero, one, two, few, many, and other are used to define the string content in different singular and plural forms. For example, there is only the other scenario in Chinese since the language does not have singular and plural forms. one and other scenarios are applicable to English. All six scenarios are needed for Arabic. - - -The following example takes en-US.json and ar-AE.json as examples: - - -en-US.json - - -``` -{ - "strings": { - "people": { - "one": "one person", - "other": "{count} people" - } - } -} -``` - - -ar-AE.json - - -``` -{ - "strings": { - "people": { - "zero": "لا أحد", - "one": "وحده", - "two": "اثنان", - "few": "ستة اشخاص", - "many": "خمسون شخص", - "other": "مائة شخص" - } - } -} -``` - - -## Resource Reference - -Multi-language syntax used on application development pages (including simple formatting and singular-plural formatting) can be used in .hml or .js files. - -- Simple formatting - Use the $t function to reference to resources of different locales. The $t function is available for both .hml and .js files. The system displays content based on a resource file path specified via $t and the specified resource file whose locale matches the current system language. - - Table2 Simple formatting - - | Attribute | Type | Parameter | Mandatory | Description | - | -------- | -------- | -------- | -------- | -------- | - | $t | Function | See Table3 | Yes | Sets the parameters based on the system language, for example, this.$t('strings.hello'). | - - Table3 $t function parameters - - | Parameter | Type | Mandatory | Description | - | -------- | -------- | -------- | -------- | - | path | string | Yes | Path of the language resource key | - | params | Array\|Object | No | Content used to replace placeholders during runtime. There are two types of placeholders available:
- Named placeholder, for example, {name}. The actual content must be of the object type, for example, $t('strings.object', { name: 'Hello world' }).
- Digit placeholder, for example, {0}. The actual content must be of the array type, for example, $t('strings.array', ['Hello world']. | - -- Example code for simple formatting - - ``` - -
- - {{ $t('strings.hello') }} - - {{ $t('strings.object', { name: 'Hello world' }) }} - - {{ $t('strings.array', ['Hello world']) }} - - {{ hello }} - - {{ replaceObject }} - - {{ replaceArray }} - - - - - -
- ``` - - - ``` - // xxx.js - // The following example uses the $t function in the .js file. - export default { - data: { - hello: '', - replaceObject: '', - replaceArray: '', - replaceSrc: '', - }, - onInit() { - this.hello = this.$t('strings.hello'); - this.replaceObject = this.$t('strings.object', { name: 'Hello world' }); - this.replaceArray = this.$t('strings.array', ['Hello world']); - this.replaceSrc = this.$t('files.image'); - }, - } - ``` - -- Singular-plural formatting - Table4 Singular-plural formatting - - | Attribute | Type | Parameter | Mandatory | Description | - | -------- | -------- | -------- | -------- | -------- | - | $tc | Function | See Table 5. | Yes | Converts between the singular and plural forms based on the system language, for example, this.$tc('strings.people').
> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**:
> The resource content is distinguished by the following JSON keys: zero, one, two, few, many, and other. | - - Table5 $tc function parameters - - | Parameter | Type | Mandatory | Description | - | -------- | -------- | -------- | -------- | - | path | string | Yes | Path of the language resource key | - | count | number | Yes | Number | - -- Sample code for singular-plural formatting - - ``` - -
- - {{ $tc('strings.people', 0) }} - - {{ $tc('strings.people', 1) }} - - {{ $tc('strings.people', 2) }} - - {{ $tc('strings.people', 6) }} - - {{ $tc('strings.people', 50) }} - - {{ $tc('strings.people', 100) }} -
- ``` - - -## Language Acquisition - -For details about how to obtain the language, see the Application Configuration section. diff --git a/en/application-dev/device/ui/js-framework-resource-restriction.md b/en/application-dev/device/ui/js-framework-resource-restriction.md deleted file mode 100644 index 8636ebfd2197cb2b1a875d522b6d7469816b01c3..0000000000000000000000000000000000000000 --- a/en/application-dev/device/ui/js-framework-resource-restriction.md +++ /dev/null @@ -1,95 +0,0 @@ -# Resource Limitations and Access - - -## Resource Qualifiers - -The name of a resource qualifier consists of one or more qualifiers that represent the application scenarios or device characteristics, covering the screen density, and more. The qualifiers are separated using hyphens (-). When creating a qualifiers file under resources, you need to understand the file naming conventions and the rules for matching qualifiers files and the device status. - - -## Naming Conventions for Resource Qualifiers - -- Qualifiers are ordered in the following sequence: screen density. You can select one or multiple qualifiers to name your file based on your application scenarios and device characteristics, while following the preceding sequence. - -- The qualifiers are separated using hyphens (-), for example, res-dark-ldpi.json. - -- Value range of qualifiers: The value of each qualifier must meet the requirements specified in the following table. Otherwise, the resource files in the resources directory cannot be matched. The qualifiers are case sensitive. - -- Qualifier prefix: The name of a qualifier file in the resources file has the prefix res, for example, res-ldpi.json. - -- Default resource qualifier file: By default, the resource qualifier file in resources is res-defaults.json. - -- In the resource qualifier file, color enumeration cannot be used to set resources. - - - Table1 Resource qualifiers - -| Data Type | Description and Value Range | -| -------- | -------- | -| Screen density | Indicates the screen density of the device, in dpi. The value can be:
- ldpi: low-density screen (~120 dpi) (0.75 x Reference density)
- mdpi: medium-density screen (~160 dpi) (reference density)
- hdpi: high-density screen (~240 dpi) (1.5 x Reference density)
- xhdpi: extra high-density screen (~320 dpi) (2.0 x Reference density)
- xxhdpi: extra extra high-density screen (~480 dpi) (3.0 x Reference density)
- xxxhdpi: extra extra extra high-density screen (~640 dpi) (4.0 x Reference density) | - - -## Rules for Matching Qualifiers Files and Device Resources - -- Qualifiers are matched with the device resources in the following priorities: screen orientation > dark mode > screen density. If no matching resource qualifier file is found, the default resource qualifier file is used. - -- If a qualifier file contains resource qualifiers, their values must be consistent with the current device status so that the file can be used for matching the device status. For example, the res-hdpi.json qualifier file does not match the device density xhdpi. - - -## Referencing Resources in the JS Module - -You can use the $r syntax in the application development files .hml and .js to format the JSON resources in the resources directory of the JS module and obtain the corresponding resources. - -| Attribute | Type | Description | -| -------- | -------- | -------- | -| $r | (key: string) => string | Obtains the resource content that matches the specific qualifiers, for example, this.$r('strings.hello loaded).
Parameter description:
- key: key value defined in the resource qualifier file, for example, strings.hello.
| - -Example of res-defaults.json:
- -``` -{ - strings: { - hello: 'hello world' - } -} -``` - -## Example - -resources/res-dark.json: - - -``` -{ - "image": { - "clockFace": "common/dark_face.png" - }, - "colors": { - "background": "#000000" - } -} -``` - -resources/res-defaults.json: - - -``` -{ - "image": { - "clockFace": "common/face.png" - }, - "colors": { - "background": "#ffffff" - } -} -``` - - -``` - -
- -
-``` - -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**: -> The resource qualifier file does not support color enumeration. diff --git a/en/application-dev/device/ui/js-framework-syntax-css.md b/en/application-dev/device/ui/js-framework-syntax-css.md deleted file mode 100644 index 6f4c8e3f3253e0ea9d82b84f180ad3d8d12787b2..0000000000000000000000000000000000000000 --- a/en/application-dev/device/ui/js-framework-syntax-css.md +++ /dev/null @@ -1,225 +0,0 @@ -# CSS - - -Cascading Style Sheets (CSS) is a language used to describe the HML page structure. All HML components have default styles. You can customize styles for these components using CSS to design various pages. - -## Size Unit - -1. Logical px set by <length>: - 1. The default logical screen width is 720 px (for details, see the "window" section in [config.json](js-framework-js-tag.md)). Your page will be scaled to fit the actual width of the screen. For example, on a screen with the actual width of 1440 physical px, 100 px is displayed on 200 physical px, with all sizes doubled from 720 px to 1440 px. - 2. If you set autoDesignWidth to true (for details, see the "window" section in [config.json](js-framework-js-tag.md)), the logical px are scaled based on the screen density. For example, if the screen density is 3x, 100 px will be rendered on 300 physical px. This approach is recommended when your application needs to adapt to multiple devices. - -2. Percentage set by <percentage>: The component size is represented by its percentage of the parent component size. For example, if the width <percentage> of a component is set to 50%, the width of the component is half of its parent component's width. - - -## Style Import - -CSS files can be imported using the @import statement. This facilitates module management and code reuse. - - -## Style Declaration - -The .css file with the same name as the .hml file in each page directory describes the styles of components on the HML page, determining how the components will be displayed. - -1. Internal style: The style and class attributes can be used to specify the component style. Example: - - ``` - -
- Hello World -
- ``` - - - ``` - /* index.css */ - .container { - justify-content: center; - } - ``` - -2. External style files: You need to import the files. For example, create a style.css file in the common directory and import the file at the beginning of index.css. - - ``` - /* style.css */ - .title { - font-size: 50px; - } - ``` - - - ``` - /* index.css */ - @import '../../common/style.css'; - .container { - justify-content: center; - } - ``` - - -## Selectors - -A CSS selector is used to select elements for which styles need to be added to. The following table lists the supported selectors. - -| Selector | Example | Description | -| -------- | -------- | -------- | -| .class | .container | Selects all components whose class is container. | -| \#id | \#titleId | Selects all components whose id is titleId. | -| tag | text | Selects all <text> components. | -| , | .title, .content | Selects all components whose class is title or content. | -| \#id .class tag | \#containerId .content text | Selects all grandchild <text> components whose grandparent components are identified as containerId and whose parent components are of the content class. To select child components, use > to replace the space between \#id and .class, for example, \#containerId>.content. | - -The following is an example: - - -``` - -
- Title -
- Content -
-
-``` - - -``` -/* Page style xxx.css */ -/* Set the style for all
components. */ -div { - flex-direction: column; -} -/* Set the style for the component whose class is title. */ -.title { - font-size: 30px; -} -/* Set the style for the component whose id is contentId. */ -#contentId { - font-size: 20px; -} -/* Set padding for all components of the title or content class to 5 px. */ -.title, .content { - padding: 5px; -} -/* Set the style for all texts of components whose class is container. - */ -.container text { - color: #007dff; -} -/* Set the style for direct descendant texts of components whose class is container. -*/ -.container > text { - color: #fa2a2d; -} -``` - -The above style works as follows: - -![en-us_image_0000001267607889](figures/en-us_image_0000001267607889.png) - -In the preceding example, .container text sets title and content to blue, and .container > text sets title to red. The two styles have the same priority, but .container > text declares the style later and overwrites the former style. (For details about the priority, see [Selector Specificity](#selector-specificity).) - -## Selector Specificity - -The specificity rule of the selectors complies with the W3C rule, which is only available for inline styles, id, class, tag, grandchild components, and child components. (Inline styles are those declared in the style attribute.) - -When multiple selectors point to the same element, their priorities are as follows (in descending order): inline style > id > class > tag. - - -## Pseudo-classes - -A CSS pseudo-class is a keyword added to a selector that specifies a special state of the selected element(s). For example, :disabled can be used to select the element whose disabled attribute is true. - -In addition to a single pseudo-class, a combination of pseudo-classes is supported. For example, :focus:checked selects the element whose focus and checked attributes are both set to true. The following table lists the supported single pseudo-class in descending order of priority. - - | Pseudo-class | Available Components | Description | -| -------- | -------- | -------- | -| :disabled | Components that support the disabled attribute | Selects the element whose disabled attribute is changed to true (unavailable for animation attributes). | -| :focus | Components that support the focusable attribute | Selects the element that takes focus (unavailable for animation attributes). | -| :active | Components that support the click event
| Selects the element activated by a user. For example, a pressed button or a selected tab-bar (unavailable for animation attributes). | -| :waiting | button | Selects the element whose waiting attribute is true (unavailable for animation attributes). | -| :checked | input[type="checkbox", type="radio"], and switch | Selects the element whose checked attribute is true (unavailable for animation attributes). | -| :hover6+ | Components that support the mouseover event | Selects the element that the cursor is on. | - -The following is an example for you to use the :active pseudo-class to control the style when a user presses the button. - - -``` - -
- -
-``` - - -``` -/* index.css */ -.button:active { - background-color: #888888;/* After the button is activated, the background color is changed to #888888. */ -} -``` - -> ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE**: -> Pseudo-classes are not supported for the component and its child components, including, , ,