From 93d940d6d24cda9a28b8fc4f3f2fd425fd7bf2f2 Mon Sep 17 00:00:00 2001 From: SvetoslavTsenov Date: Wed, 9 Aug 2017 17:12:12 +0300 Subject: [PATCH] Remove gallery app and include new tests in uitests app (#4679) --- apps/app/gallery-app/animations/bkg.png | Bin 311 -> 0 bytes .../gallery-app/animations/css-keyframes.css | 58 ----- .../gallery-app/animations/css-keyframes.ts | 13 -- .../gallery-app/animations/css-keyframes.xml | 18 -- .../gallery-app/animations/js-configurable.ts | 208 ------------------ .../animations/js-configurable.xml | 35 --- .../app/gallery-app/animations/js-opacity.css | 27 --- apps/app/gallery-app/animations/js-opacity.ts | 47 ---- .../app/gallery-app/animations/js-opacity.xml | 35 --- apps/app/gallery-app/animations/package.json | 2 - apps/app/gallery-app/animations/test-icon.png | Bin 1304 -> 0 bytes apps/app/gallery-app/app.css | 27 --- apps/app/gallery-app/app.ts | 6 - apps/app/gallery-app/content/border.xml | 7 - apps/app/gallery-app/content/html-view.xml | 4 - apps/app/gallery-app/content/scroll-view.xml | 24 -- apps/app/gallery-app/content/tab-view.xml | 21 -- apps/app/gallery-app/content/web-view.xml | 4 - .../gallery-app/layouts/absolute-layout.xml | 8 - apps/app/gallery-app/layouts/dock-layout.xml | 10 - apps/app/gallery-app/layouts/grid-layout.xml | 10 - apps/app/gallery-app/layouts/stack-layout.xml | 8 - apps/app/gallery-app/layouts/wrap-layout.xml | 10 - apps/app/gallery-app/main-page.ts | 8 - apps/app/gallery-app/main-page.xml | 52 ----- apps/app/gallery-app/res/telerik-logo.png | Bin 42820 -> 0 bytes apps/app/gallery-app/views/button.xml | 4 - apps/app/gallery-app/views/dialogs.ts | 110 --------- apps/app/gallery-app/views/dialogs.xml | 24 -- apps/app/gallery-app/views/image.xml | 4 - apps/app/gallery-app/views/label.xml | 4 - apps/app/gallery-app/views/list-picker.ts | 10 - apps/app/gallery-app/views/list-picker.xml | 5 - apps/app/gallery-app/views/list-view.ts | 10 - apps/app/gallery-app/views/list-view.xml | 10 - apps/app/gallery-app/views/repeater.ts | 10 - apps/app/gallery-app/views/repeater.xml | 13 -- apps/app/gallery-app/views/segmented-bar.xml | 10 - apps/app/gallery-app/views/slider.xml | 4 - apps/app/gallery-app/views/switch.xml | 4 - apps/app/gallery-app/views/text-field.xml | 4 - apps/app/gallery-app/views/text-view.xml | 6 - apps/app/gallery-app/views/time-picker.xml | 4 - .../ui-tests-app/css/padding-and-border.css | 20 -- .../date-picker}/date-picker.xml | 0 apps/app/ui-tests-app/main-page.ts | 2 + .../progress-bar}/activity-indicator.xml | 0 .../ui-tests-app/progress-bar/main-page.ts | 17 ++ .../ui-tests-app/progress-bar/main-page.xml | 6 + .../progress-bar}/progress.xml | 0 apps/app/ui-tests-app/search-bar/main-page.ts | 1 + .../search-bar}/search-bar.xml | 0 52 files changed, 26 insertions(+), 898 deletions(-) delete mode 100644 apps/app/gallery-app/animations/bkg.png delete mode 100644 apps/app/gallery-app/animations/css-keyframes.css delete mode 100644 apps/app/gallery-app/animations/css-keyframes.ts delete mode 100644 apps/app/gallery-app/animations/css-keyframes.xml delete mode 100644 apps/app/gallery-app/animations/js-configurable.ts delete mode 100644 apps/app/gallery-app/animations/js-configurable.xml delete mode 100644 apps/app/gallery-app/animations/js-opacity.css delete mode 100644 apps/app/gallery-app/animations/js-opacity.ts delete mode 100644 apps/app/gallery-app/animations/js-opacity.xml delete mode 100644 apps/app/gallery-app/animations/package.json delete mode 100644 apps/app/gallery-app/animations/test-icon.png delete mode 100644 apps/app/gallery-app/app.css delete mode 100644 apps/app/gallery-app/app.ts delete mode 100644 apps/app/gallery-app/content/border.xml delete mode 100644 apps/app/gallery-app/content/html-view.xml delete mode 100644 apps/app/gallery-app/content/scroll-view.xml delete mode 100644 apps/app/gallery-app/content/tab-view.xml delete mode 100644 apps/app/gallery-app/content/web-view.xml delete mode 100644 apps/app/gallery-app/layouts/absolute-layout.xml delete mode 100644 apps/app/gallery-app/layouts/dock-layout.xml delete mode 100644 apps/app/gallery-app/layouts/grid-layout.xml delete mode 100644 apps/app/gallery-app/layouts/stack-layout.xml delete mode 100644 apps/app/gallery-app/layouts/wrap-layout.xml delete mode 100644 apps/app/gallery-app/main-page.ts delete mode 100644 apps/app/gallery-app/main-page.xml delete mode 100644 apps/app/gallery-app/res/telerik-logo.png delete mode 100644 apps/app/gallery-app/views/button.xml delete mode 100644 apps/app/gallery-app/views/dialogs.ts delete mode 100644 apps/app/gallery-app/views/dialogs.xml delete mode 100644 apps/app/gallery-app/views/image.xml delete mode 100644 apps/app/gallery-app/views/label.xml delete mode 100644 apps/app/gallery-app/views/list-picker.ts delete mode 100644 apps/app/gallery-app/views/list-picker.xml delete mode 100644 apps/app/gallery-app/views/list-view.ts delete mode 100644 apps/app/gallery-app/views/list-view.xml delete mode 100644 apps/app/gallery-app/views/repeater.ts delete mode 100644 apps/app/gallery-app/views/repeater.xml delete mode 100644 apps/app/gallery-app/views/segmented-bar.xml delete mode 100644 apps/app/gallery-app/views/slider.xml delete mode 100644 apps/app/gallery-app/views/switch.xml delete mode 100644 apps/app/gallery-app/views/text-field.xml delete mode 100644 apps/app/gallery-app/views/text-view.xml delete mode 100644 apps/app/gallery-app/views/time-picker.xml delete mode 100644 apps/app/ui-tests-app/css/padding-and-border.css rename apps/app/{gallery-app/views => ui-tests-app/date-picker}/date-picker.xml (100%) rename apps/app/{gallery-app/views => ui-tests-app/progress-bar}/activity-indicator.xml (100%) create mode 100644 apps/app/ui-tests-app/progress-bar/main-page.ts create mode 100644 apps/app/ui-tests-app/progress-bar/main-page.xml rename apps/app/{gallery-app/views => ui-tests-app/progress-bar}/progress.xml (100%) rename apps/app/{gallery-app/views => ui-tests-app/search-bar}/search-bar.xml (100%) diff --git a/apps/app/gallery-app/animations/bkg.png b/apps/app/gallery-app/animations/bkg.png deleted file mode 100644 index fa059ba75757ee3886a8fa6b4ad4e7cba46142f1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 311 zcmeAS@N?(olHy`uVBq!ia0vp^Mj*_=1SBWM%0B~AjKx9jP7LeL$-D$|SkfJR9T^xl z_H+M9WCij$3p^r=85sBugD~Uq{1qucL5ULAh?3y^w370~qEv>0#LT=By}Z;C1rt33 zJ=4@yqg0@p6`n4RArbCxuN!h5HV|n}WSzs8|MtR8yJG)K+`CR)II5aps(+OApt+>Z zKOV^*hAg&s3A{1cOz#Rdram~g?MDXZj>l^f&jnd{Kh$a6EP}!?%)hqeeE5;3D4`=o zj&}n3AM@?svf!@pl|x6>Zx!Atyk?ND>39B-z3HOeU%S`5dop?Ry*XQtM{=cW&RP0n r{Tji$YcFr!_gLrXnMh%~69W1>69hV1_WscYx|zY#)z4*}Q$iB}A7yx< diff --git a/apps/app/gallery-app/animations/css-keyframes.css b/apps/app/gallery-app/animations/css-keyframes.css deleted file mode 100644 index b22f8c3aa..000000000 --- a/apps/app/gallery-app/animations/css-keyframes.css +++ /dev/null @@ -1,58 +0,0 @@ -@keyframes intro { - 0% { - opacity: 0; - transform: translate(-100, 0); - } - 100% { - opacity: 1; - transform: translate(0, 0); - } -} -@keyframes outro { - 0% { - opacity: 1; - transform: translate(0, 0); - } - 100% { - opacity: 0; - transform: translate(-100, 0); - } -} - -.intro { - animation-name: intro; - animation-duration: 3.0; - animation-fill-mode: forwards; - animation-iteration-count: 1; - animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1); -} -.outro { - animation-name: outro; - animation-duration: 3.0; - animation-fill-mode: forwards; - animation-iteration-count: 1; - animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1); -} - -.gone { - opacity: 0; - transform: translate(-100, 0); -} - -@keyframes play { - 0% { transform: translate(0, 0); } - 33% { transform: translate(100, 0); } - 66% { transform: translate(100, 100); } - 100% { transform: translate(0, 100); } -} - -.idle { - transform: translate(0, 0); -} -.play { - animation-name: play; - animation-duration: 3.0; - animation-fill-mode: forwards; - animation-iteration-count: 1; - animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1); -} diff --git a/apps/app/gallery-app/animations/css-keyframes.ts b/apps/app/gallery-app/animations/css-keyframes.ts deleted file mode 100644 index 4c032224d..000000000 --- a/apps/app/gallery-app/animations/css-keyframes.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { View, EventData } from "tns-core-modules/ui/core/view"; - -export function setClass(args: EventData) { - const btn = (args.object); - const img = btn.page.getViewById("img"); - img.className = btn.tag; -} - -export function setImg2Class(args: EventData) { - const btn = (args.object); - const img2 = btn.page.getViewById("img2"); - img2.className = btn.tag; -} diff --git a/apps/app/gallery-app/animations/css-keyframes.xml b/apps/app/gallery-app/animations/css-keyframes.xml deleted file mode 100644 index bfe152bb6..000000000 --- a/apps/app/gallery-app/animations/css-keyframes.xml +++ /dev/null @@ -1,18 +0,0 @@ - - -