create-basicjs 0.0.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -2
- package/bin/create-basicjs.js +104 -1
- package/bin/verify-package.js +16 -0
- package/package.json +27 -6
- package/payload/starter/AGENTS.md +82 -0
- package/payload/starter/CLAUDE.md +1 -0
- package/payload/starter/README.md +45 -0
- package/payload/starter/_basic/VERSION +1 -0
- package/payload/starter/_basic/assets/categories/cappuccino.png +0 -0
- package/payload/starter/_basic/assets/categories/chocolate-milk.png +0 -0
- package/payload/starter/_basic/assets/categories/coffee-cup.png +0 -0
- package/payload/starter/_basic/assets/categories/coffee.png +0 -0
- package/payload/starter/_basic/assets/categories/frappe.png +0 -0
- package/payload/starter/_basic/assets/categories/iced-caffee.png +0 -0
- package/payload/starter/_basic/assets/categories/milkshake.png +0 -0
- package/payload/starter/_basic/assets/categories/orange-juice.png +0 -0
- package/payload/starter/_basic/assets/categories/tea.png +0 -0
- package/payload/starter/_basic/assets/data-table/palette.svg +2 -0
- package/payload/starter/_basic/assets/data-table/people.js +104 -0
- package/payload/starter/_basic/assets/data-table/trash.svg +2 -0
- package/payload/starter/_basic/assets/fruids/brokoli.png +0 -0
- package/payload/starter/_basic/assets/fruids/cilek.png +0 -0
- package/payload/starter/_basic/assets/fruids/domates.png +0 -0
- package/payload/starter/_basic/assets/fruids/elma.png +0 -0
- package/payload/starter/_basic/assets/fruids/havuc.png +0 -0
- package/payload/starter/_basic/assets/fruids/karpuz.png +0 -0
- package/payload/starter/_basic/assets/fruids/limon.png +0 -0
- package/payload/starter/_basic/assets/fruids/muz.png +0 -0
- package/payload/starter/_basic/assets/fruids/nar.png +0 -0
- package/payload/starter/_basic/assets/fruids/patlican.png +0 -0
- package/payload/starter/_basic/assets/fruids/yabanmersini.png +0 -0
- package/payload/starter/_basic/assets/fruids/yesilbiber.png +0 -0
- package/payload/starter/_basic/assets/icons/alert-black.png +0 -0
- package/payload/starter/_basic/assets/icons/alert.png +0 -0
- package/payload/starter/_basic/assets/icons/arrow-drop.svg +3 -0
- package/payload/starter/_basic/assets/icons/arrow-rise.svg +3 -0
- package/payload/starter/_basic/assets/icons/close.svg +1 -0
- package/payload/starter/_basic/assets/icons/lamp-on.png +0 -0
- package/payload/starter/_basic/assets/icons/lamp.png +0 -0
- package/payload/starter/_basic/assets/icons/lock.png +0 -0
- package/payload/starter/_basic/assets/icons/panel.png +0 -0
- package/payload/starter/_basic/assets/icons/plant.png +0 -0
- package/payload/starter/_basic/assets/icons/trash.png +0 -0
- package/payload/starter/_basic/assets/icons/trash.svg +2 -0
- package/payload/starter/_basic/assets/tab-bar/settings.png +0 -0
- package/payload/starter/_basic/assets/tab-bar/status.png +0 -0
- package/payload/starter/_basic/assets/tab-bar/transactions.png +0 -0
- package/payload/starter/_basic/assets/tutorial/blueberries.png +0 -0
- package/payload/starter/_basic/assets/tutorial/carrot.png +0 -0
- package/payload/starter/_basic/assets/tutorial/olives.png +0 -0
- package/payload/starter/_basic/assets/tutorial/strawberry.png +0 -0
- package/payload/starter/_basic/assets/ui-bottom-bar/setting.svg +11 -0
- package/payload/starter/_basic/basic/LICENSE +14 -0
- package/payload/starter/_basic/basic/basic.css +277 -0
- package/payload/starter/_basic/basic/basic.js +3767 -0
- package/payload/starter/_basic/basic/basic.min.css +1 -0
- package/payload/starter/_basic/basic/basic.min.js +65 -0
- package/payload/starter/_basic/basic/font/open-sans/LICENSE.txt +206 -0
- package/payload/starter/_basic/basic/font/open-sans/OpenSans-Bold.ttf +0 -0
- package/payload/starter/_basic/basic/font/open-sans/OpenSans-Regular.ttf +0 -0
- package/payload/starter/_basic/basic/scroll-bar.js +536 -0
- package/payload/starter/_basic/basic/scroll-bar.min.js +2 -0
- package/payload/starter/_basic/comp/action-button/add.png +0 -0
- package/payload/starter/_basic/comp/action-button.js +522 -0
- package/payload/starter/_basic/comp/action-tab-bar.js +383 -0
- package/payload/starter/_basic/comp/app-bar.js +236 -0
- package/payload/starter/_basic/comp/badge-v2.js +246 -0
- package/payload/starter/_basic/comp/bottom-bar.js +547 -0
- package/payload/starter/_basic/comp/breadcrumbs.js +522 -0
- package/payload/starter/_basic/comp/chart-box/chart-4.5.1.umd.min.js +13 -0
- package/payload/starter/_basic/comp/chart-box/chart-js-LICENSE.md +9 -0
- package/payload/starter/_basic/comp/chart-box.js +868 -0
- package/payload/starter/_basic/comp/check-box.js +374 -0
- package/payload/starter/_basic/comp/context-menu.js +634 -0
- package/payload/starter/_basic/comp/currency-input-b.js +190 -0
- package/payload/starter/_basic/comp/data-table/arrow.svg +2 -0
- package/payload/starter/_basic/comp/data-table.js +865 -0
- package/payload/starter/_basic/comp/dialog.js +854 -0
- package/payload/starter/_basic/comp/email-input-b.js +57 -0
- package/payload/starter/_basic/comp/filters.js +493 -0
- package/payload/starter/_basic/comp/form.js +590 -0
- package/payload/starter/_basic/comp/full-screen-select/arrow.svg +2 -0
- package/payload/starter/_basic/comp/full-screen-select/cancel.svg +2 -0
- package/payload/starter/_basic/comp/full-screen-select.js +611 -0
- package/payload/starter/_basic/comp/gauge.js +435 -0
- package/payload/starter/_basic/comp/hold-to-confirm-button/trash-red.png +0 -0
- package/payload/starter/_basic/comp/hold-to-confirm-button/trash.png +0 -0
- package/payload/starter/_basic/comp/hold-to-confirm-button.js +280 -0
- package/payload/starter/_basic/comp/input-b.js +759 -0
- package/payload/starter/_basic/comp/item-list.js +1396 -0
- package/payload/starter/_basic/comp/label-editor.js +1137 -0
- package/payload/starter/_basic/comp/left-menu/_Material Symbols & Icons - Google Fonts.webloc +8 -0
- package/payload/starter/_basic/comp/left-menu/data-table.png +0 -0
- package/payload/starter/_basic/comp/left-menu/home.png +0 -0
- package/payload/starter/_basic/comp/left-menu/reports.png +0 -0
- package/payload/starter/_basic/comp/left-menu/setting.png +0 -0
- package/payload/starter/_basic/comp/left-menu.js +476 -0
- package/payload/starter/_basic/comp/line-progress-bar.js +192 -0
- package/payload/starter/_basic/comp/loading-screen.js +382 -0
- package/payload/starter/_basic/comp/login-page-v2.js +586 -0
- package/payload/starter/_basic/comp/mini-graph-box.js +483 -0
- package/payload/starter/_basic/comp/notice.js +227 -0
- package/payload/starter/_basic/comp/number-input-b.js +121 -0
- package/payload/starter/_basic/comp/numeric-keyboard.js +296 -0
- package/payload/starter/_basic/comp/page-control.js +745 -0
- package/payload/starter/_basic/comp/page-header.js +190 -0
- package/payload/starter/_basic/comp/password-input-b/hide-btn.png +0 -0
- package/payload/starter/_basic/comp/password-input-b/hide-btn2.png +0 -0
- package/payload/starter/_basic/comp/password-input-b/show-btn.png +0 -0
- package/payload/starter/_basic/comp/password-input-b/show-btn2.png +0 -0
- package/payload/starter/_basic/comp/password-input-b.js +164 -0
- package/payload/starter/_basic/comp/period-bar.js +435 -0
- package/payload/starter/_basic/comp/phone-input-b.js +287 -0
- package/payload/starter/_basic/comp/progress-bar.js +676 -0
- package/payload/starter/_basic/comp/property-panel.js +2740 -0
- package/payload/starter/_basic/comp/radio-button.js +467 -0
- package/payload/starter/_basic/comp/rich-text-editor.js +1061 -0
- package/payload/starter/_basic/comp/scrolling-text.js +296 -0
- package/payload/starter/_basic/comp/search-input-v2/clear-round.svg +1 -0
- package/payload/starter/_basic/comp/search-input-v2/clear.svg +1 -0
- package/payload/starter/_basic/comp/search-input-v2/filter.png +0 -0
- package/payload/starter/_basic/comp/search-input-v2/filter.svg +1 -0
- package/payload/starter/_basic/comp/search-input-v2/search.svg +1 -0
- package/payload/starter/_basic/comp/search-input-v2.js +427 -0
- package/payload/starter/_basic/comp/search-results.js +560 -0
- package/payload/starter/_basic/comp/select-box.js +1740 -0
- package/payload/starter/_basic/comp/select-color.js +603 -0
- package/payload/starter/_basic/comp/select-date.js +1003 -0
- package/payload/starter/_basic/comp/select-file.js +732 -0
- package/payload/starter/_basic/comp/select-time.js +979 -0
- package/payload/starter/_basic/comp/settings-row.js +298 -0
- package/payload/starter/_basic/comp/side-panel.js +573 -0
- package/payload/starter/_basic/comp/slider-field.js +776 -0
- package/payload/starter/_basic/comp/slider.js +368 -0
- package/payload/starter/_basic/comp/smart-button/alert-black.png +0 -0
- package/payload/starter/_basic/comp/smart-button/clock.png +0 -0
- package/payload/starter/_basic/comp/smart-button.js +896 -0
- package/payload/starter/_basic/comp/smart-table/clock.png +0 -0
- package/payload/starter/_basic/comp/smart-table/down.png +0 -0
- package/payload/starter/_basic/comp/smart-table/scroll.png +0 -0
- package/payload/starter/_basic/comp/smart-table/sort.png +0 -0
- package/payload/starter/_basic/comp/smart-table/up.png +0 -0
- package/payload/starter/_basic/comp/smart-table.js +1321 -0
- package/payload/starter/_basic/comp/sortable-list.js +1172 -0
- package/payload/starter/_basic/comp/spark-line-box.js +729 -0
- package/payload/starter/_basic/comp/stepper.js +699 -0
- package/payload/starter/_basic/comp/tabs.js +1317 -0
- package/payload/starter/_basic/comp/tag-input.js +1067 -0
- package/payload/starter/_basic/comp/tap-effect.js +168 -0
- package/payload/starter/_basic/comp/textarea-b.js +184 -0
- package/payload/starter/_basic/comp/time-line.js +324 -0
- package/payload/starter/_basic/comp/tiny-select/arrow.svg +1 -0
- package/payload/starter/_basic/comp/tiny-select.js +282 -0
- package/payload/starter/_basic/comp/tiny-table.js +279 -0
- package/payload/starter/_basic/comp/toast.js +838 -0
- package/payload/starter/_basic/comp/toggle.js +636 -0
- package/payload/starter/_basic/comp/tooltip.js +471 -0
- package/payload/starter/_basic/comp/tree-view.js +1096 -0
- package/payload/starter/_basic/comp/ui-effects.js +1091 -0
- package/payload/starter/_basic/comp/ui-standards.js +402 -0
- package/payload/starter/_basic/comp/url-input-b.js +145 -0
- package/payload/starter/_basic/comp/web-view.js +534 -0
- package/payload/starter/_basic/docs/basic-js-animated-rules.md +90 -0
- package/payload/starter/_basic/docs/basic-js-code-rules.md +91 -0
- package/payload/starter/_basic/docs/basic-js-components.md +134 -0
- package/payload/starter/_basic/docs/basic-js-core.md +131 -0
- package/payload/starter/_basic/docs/component-index.md +522 -0
- package/payload/starter/_basic/docs/component-template.js +416 -0
- package/payload/starter/_basic/docs/handbook/00-introduction.md +125 -0
- package/payload/starter/_basic/docs/handbook/00-what-is-new.md +96 -0
- package/payload/starter/_basic/docs/handbook/01-label.md +104 -0
- package/payload/starter/_basic/docs/handbook/02-box.md +166 -0
- package/payload/starter/_basic/docs/handbook/03-image.md +81 -0
- package/payload/starter/_basic/docs/handbook/04-common-properties.md +159 -0
- package/payload/starter/_basic/docs/handbook/05-autolayout.md +332 -0
- package/payload/starter/_basic/docs/handbook/06-button.md +103 -0
- package/payload/starter/_basic/docs/handbook/07-input.md +78 -0
- package/payload/starter/_basic/docs/handbook/08-page.md +120 -0
- package/payload/starter/_basic/docs/handbook/09-useful-examples.md +309 -0
- package/payload/starter/_basic/docs/handbook/10-motion.md +132 -0
- package/payload/starter/_basic/docs/handbook/11-other-functions.md +92 -0
- package/payload/starter/_basic/docs/handbook/12-utilities.md +123 -0
- package/payload/starter/_basic/docs/handbook/13-sound.md +88 -0
- package/payload/starter/_basic/docs/what-is-new.md +402 -0
- package/payload/starter/_basic/examples/action-button.htm +81 -0
- package/payload/starter/_basic/examples/action-tab-bar.htm +97 -0
- package/payload/starter/_basic/examples/app-bar.htm +140 -0
- package/payload/starter/_basic/examples/badgeV2.htm +68 -0
- package/payload/starter/_basic/examples/bottom-bar/grid.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/grids.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/home.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/homes.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/icon1.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/icon1s.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/icon2.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/icon2s.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/icon3.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/icon3s.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/icon4.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/icon4s.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/search.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/searchs.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/settings.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/settingss.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/tasks.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar/taskss.png +0 -0
- package/payload/starter/_basic/examples/bottom-bar-2.htm +187 -0
- package/payload/starter/_basic/examples/bottom-bar.htm +46 -0
- package/payload/starter/_basic/examples/breadcrumbs.htm +284 -0
- package/payload/starter/_basic/examples/chart-box.htm +287 -0
- package/payload/starter/_basic/examples/check-box-1.htm +220 -0
- package/payload/starter/_basic/examples/check-box-2.htm +212 -0
- package/payload/starter/_basic/examples/check-box-3.htm +179 -0
- package/payload/starter/_basic/examples/context-menu.htm +269 -0
- package/payload/starter/_basic/examples/currency-input-b.htm +71 -0
- package/payload/starter/_basic/examples/data-table-2.htm +67 -0
- package/payload/starter/_basic/examples/data-table-3.htm +72 -0
- package/payload/starter/_basic/examples/data-table-4.htm +144 -0
- package/payload/starter/_basic/examples/data-table-5.htm +152 -0
- package/payload/starter/_basic/examples/data-table.htm +178 -0
- package/payload/starter/_basic/examples/dialog-centered.htm +130 -0
- package/payload/starter/_basic/examples/dialog.htm +209 -0
- package/payload/starter/_basic/examples/email-input-b.htm +67 -0
- package/payload/starter/_basic/examples/filters.htm +115 -0
- package/payload/starter/_basic/examples/form-1.htm +123 -0
- package/payload/starter/_basic/examples/full-screen-select.htm +114 -0
- package/payload/starter/_basic/examples/gauge.htm +133 -0
- package/payload/starter/_basic/examples/hold-to-confirm-button.htm +144 -0
- package/payload/starter/_basic/examples/input-b-ex1.htm +132 -0
- package/payload/starter/_basic/examples/input-b-ex2.htm +136 -0
- package/payload/starter/_basic/examples/input-b-ex3-style.htm +113 -0
- package/payload/starter/_basic/examples/input-b-ex4-custom-unit.htm +112 -0
- package/payload/starter/_basic/examples/input-b-ex5-warning-icon.htm +80 -0
- package/payload/starter/_basic/examples/input-b-ex6-dark.htm +108 -0
- package/payload/starter/_basic/examples/input-b-ex7-ozden.htm +153 -0
- package/payload/starter/_basic/examples/item-list-2.htm +253 -0
- package/payload/starter/_basic/examples/item-list.htm +176 -0
- package/payload/starter/_basic/examples/label-editor.htm +196 -0
- package/payload/starter/_basic/examples/left-menu.htm +81 -0
- package/payload/starter/_basic/examples/line-progress-bar.htm +145 -0
- package/payload/starter/_basic/examples/loading-screen.htm +217 -0
- package/payload/starter/_basic/examples/login-page-dark-v2.htm +269 -0
- package/payload/starter/_basic/examples/login-page-v2.htm +269 -0
- package/payload/starter/_basic/examples/mini-graph-box.htm +229 -0
- package/payload/starter/_basic/examples/notice.htm +79 -0
- package/payload/starter/_basic/examples/number-input-b.htm +68 -0
- package/payload/starter/_basic/examples/numeric-keyboard.htm +100 -0
- package/payload/starter/_basic/examples/page-control.htm +262 -0
- package/payload/starter/_basic/examples/page-header.htm +117 -0
- package/payload/starter/_basic/examples/password-input-b.htm +70 -0
- package/payload/starter/_basic/examples/period-bar.htm +94 -0
- package/payload/starter/_basic/examples/phone-input-b-select-country.htm +298 -0
- package/payload/starter/_basic/examples/phone-input-b.htm +72 -0
- package/payload/starter/_basic/examples/progress-bar-ozden.htm +168 -0
- package/payload/starter/_basic/examples/progress-bar.htm +296 -0
- package/payload/starter/_basic/examples/property-panel.htm +216 -0
- package/payload/starter/_basic/examples/radio-button-1.htm +264 -0
- package/payload/starter/_basic/examples/radio-button-2.htm +256 -0
- package/payload/starter/_basic/examples/radio-button-3.htm +168 -0
- package/payload/starter/_basic/examples/rich-text-editor.htm +228 -0
- package/payload/starter/_basic/examples/scrolling-text.htm +75 -0
- package/payload/starter/_basic/examples/search-input-v2-ozden.htm +128 -0
- package/payload/starter/_basic/examples/search-input-v2-place.htm +80 -0
- package/payload/starter/_basic/examples/search-input-v2.htm +65 -0
- package/payload/starter/_basic/examples/search-results.htm +193 -0
- package/payload/starter/_basic/examples/select-box-ozden-item.htm +114 -0
- package/payload/starter/_basic/examples/select-box-ozden-text.htm +64 -0
- package/payload/starter/_basic/examples/select-box.htm +254 -0
- package/payload/starter/_basic/examples/select-color.htm +215 -0
- package/payload/starter/_basic/examples/select-date.htm +244 -0
- package/payload/starter/_basic/examples/select-file.htm +268 -0
- package/payload/starter/_basic/examples/select-time.htm +249 -0
- package/payload/starter/_basic/examples/settings-row.htm +193 -0
- package/payload/starter/_basic/examples/side-panel-2.htm +270 -0
- package/payload/starter/_basic/examples/side-panel.htm +219 -0
- package/payload/starter/_basic/examples/slider-field.htm +223 -0
- package/payload/starter/_basic/examples/slider.htm +180 -0
- package/payload/starter/_basic/examples/smart-button-2.htm +220 -0
- package/payload/starter/_basic/examples/smart-button-3-ozden.htm +320 -0
- package/payload/starter/_basic/examples/smart-button-4-dark.htm +102 -0
- package/payload/starter/_basic/examples/smart-button-5-features.htm +205 -0
- package/payload/starter/_basic/examples/smart-button.htm +252 -0
- package/payload/starter/_basic/examples/smart-table-1.htm +142 -0
- package/payload/starter/_basic/examples/smart-table-2.htm +191 -0
- package/payload/starter/_basic/examples/smart-table-3.htm +359 -0
- package/payload/starter/_basic/examples/smart-table-4.htm +158 -0
- package/payload/starter/_basic/examples/sortable-list.htm +250 -0
- package/payload/starter/_basic/examples/spark-line-box.htm +285 -0
- package/payload/starter/_basic/examples/stepper-2.htm +172 -0
- package/payload/starter/_basic/examples/stepper.htm +255 -0
- package/payload/starter/_basic/examples/tabs-2/coffee.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i1-white.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i1.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i2-white.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i2.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i3-white.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i3.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i4-white.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i4.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i5-white.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/i5.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/lamp-on.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/lamp.png +0 -0
- package/payload/starter/_basic/examples/tabs-2/search.svg +2 -0
- package/payload/starter/_basic/examples/tabs-2.htm +188 -0
- package/payload/starter/_basic/examples/tabs.htm +300 -0
- package/payload/starter/_basic/examples/tag-input.htm +242 -0
- package/payload/starter/_basic/examples/tap-effect.htm +100 -0
- package/payload/starter/_basic/examples/textarea-b.htm +76 -0
- package/payload/starter/_basic/examples/time-line.htm +226 -0
- package/payload/starter/_basic/examples/tiny-select.htm +86 -0
- package/payload/starter/_basic/examples/tiny-table.htm +109 -0
- package/payload/starter/_basic/examples/toast.htm +262 -0
- package/payload/starter/_basic/examples/toggle-2.htm +163 -0
- package/payload/starter/_basic/examples/toggle-3.htm +218 -0
- package/payload/starter/_basic/examples/toggle.htm +93 -0
- package/payload/starter/_basic/examples/tooltip-2.htm +177 -0
- package/payload/starter/_basic/examples/tooltip-3.htm +212 -0
- package/payload/starter/_basic/examples/tooltip.htm +124 -0
- package/payload/starter/_basic/examples/tree-view.htm +285 -0
- package/payload/starter/_basic/examples/ui-effects.htm +463 -0
- package/payload/starter/_basic/examples/ui-standards.htm +261 -0
- package/payload/starter/_basic/examples/unfinished-login-page-dark-supabase.htm +221 -0
- package/payload/starter/_basic/examples/unfinished-login-page-supabase.htm +221 -0
- package/payload/starter/_basic/examples/url-input-b.htm +85 -0
- package/payload/starter/_basic/examples/web-view.htm +241 -0
- package/payload/starter/_basic/min/action-button.min.js +2 -0
- package/payload/starter/_basic/min/action-tab-bar.min.js +2 -0
- package/payload/starter/_basic/min/app-bar.min.js +2 -0
- package/payload/starter/_basic/min/badge-v2.min.js +2 -0
- package/payload/starter/_basic/min/bottom-bar.min.js +2 -0
- package/payload/starter/_basic/min/breadcrumbs.min.js +2 -0
- package/payload/starter/_basic/min/chart-box.min.js +2 -0
- package/payload/starter/_basic/min/check-box.min.js +2 -0
- package/payload/starter/_basic/min/context-menu.min.js +2 -0
- package/payload/starter/_basic/min/currency-input-b.min.js +2 -0
- package/payload/starter/_basic/min/data-table.min.js +2 -0
- package/payload/starter/_basic/min/dialog.min.js +2 -0
- package/payload/starter/_basic/min/email-input-b.min.js +2 -0
- package/payload/starter/_basic/min/filters.min.js +2 -0
- package/payload/starter/_basic/min/form.min.js +2 -0
- package/payload/starter/_basic/min/full-screen-select.min.js +2 -0
- package/payload/starter/_basic/min/gauge.min.js +2 -0
- package/payload/starter/_basic/min/hold-to-confirm-button.min.js +2 -0
- package/payload/starter/_basic/min/input-b.min.js +2 -0
- package/payload/starter/_basic/min/item-list.min.js +2 -0
- package/payload/starter/_basic/min/label-editor.min.js +2 -0
- package/payload/starter/_basic/min/left-menu.min.js +2 -0
- package/payload/starter/_basic/min/line-progress-bar.min.js +2 -0
- package/payload/starter/_basic/min/loading-screen.min.js +2 -0
- package/payload/starter/_basic/min/login-page-v2.min.js +2 -0
- package/payload/starter/_basic/min/mini-graph-box.min.js +2 -0
- package/payload/starter/_basic/min/notice.min.js +2 -0
- package/payload/starter/_basic/min/number-input-b.min.js +2 -0
- package/payload/starter/_basic/min/numeric-keyboard.min.js +2 -0
- package/payload/starter/_basic/min/page-control.min.js +2 -0
- package/payload/starter/_basic/min/page-header.min.js +2 -0
- package/payload/starter/_basic/min/password-input-b.min.js +2 -0
- package/payload/starter/_basic/min/period-bar.min.js +2 -0
- package/payload/starter/_basic/min/phone-input-b.min.js +2 -0
- package/payload/starter/_basic/min/progress-bar.min.js +2 -0
- package/payload/starter/_basic/min/property-panel.min.js +2 -0
- package/payload/starter/_basic/min/radio-button.min.js +2 -0
- package/payload/starter/_basic/min/rich-text-editor.min.js +2 -0
- package/payload/starter/_basic/min/scrolling-text.min.js +2 -0
- package/payload/starter/_basic/min/search-input-v2.min.js +2 -0
- package/payload/starter/_basic/min/search-results.min.js +2 -0
- package/payload/starter/_basic/min/select-box.min.js +2 -0
- package/payload/starter/_basic/min/select-color.min.js +2 -0
- package/payload/starter/_basic/min/select-date.min.js +2 -0
- package/payload/starter/_basic/min/select-file.min.js +2 -0
- package/payload/starter/_basic/min/select-time.min.js +2 -0
- package/payload/starter/_basic/min/settings-row.min.js +2 -0
- package/payload/starter/_basic/min/side-panel.min.js +2 -0
- package/payload/starter/_basic/min/slider-field.min.js +2 -0
- package/payload/starter/_basic/min/slider.min.js +2 -0
- package/payload/starter/_basic/min/smart-button.min.js +2 -0
- package/payload/starter/_basic/min/smart-table.min.js +2 -0
- package/payload/starter/_basic/min/sortable-list.min.js +2 -0
- package/payload/starter/_basic/min/spark-line-box.min.js +2 -0
- package/payload/starter/_basic/min/stepper.min.js +2 -0
- package/payload/starter/_basic/min/tabs.min.js +2 -0
- package/payload/starter/_basic/min/tag-input.min.js +2 -0
- package/payload/starter/_basic/min/tap-effect.min.js +2 -0
- package/payload/starter/_basic/min/textarea-b.min.js +2 -0
- package/payload/starter/_basic/min/time-line.min.js +2 -0
- package/payload/starter/_basic/min/tiny-select.min.js +2 -0
- package/payload/starter/_basic/min/tiny-table.min.js +2 -0
- package/payload/starter/_basic/min/toast.min.js +2 -0
- package/payload/starter/_basic/min/toggle.min.js +2 -0
- package/payload/starter/_basic/min/tooltip.min.js +2 -0
- package/payload/starter/_basic/min/tree-view.min.js +2 -0
- package/payload/starter/_basic/min/ui-effects.min.js +2 -0
- package/payload/starter/_basic/min/ui-standards.min.js +2 -0
- package/payload/starter/_basic/min/url-input-b.min.js +2 -0
- package/payload/starter/_basic/min/web-view.min.js +2 -0
- package/payload/starter/_basic/tools/build.js +175 -0
- package/payload/starter/_basic/tools/check.js +318 -0
- package/payload/starter/app/app.js +27 -0
- package/payload/starter/assets/.gitkeep +0 -0
- package/payload/starter/gitignore +3 -0
- package/payload/starter/index.htm +23 -0
- package/payload/templates/booking/TEMPLATE.md +77 -0
- package/payload/templates/booking/app/app.js +722 -0
- package/payload/templates/booking/app/settings.js +52 -0
- package/payload/templates/booking/app/store.js +265 -0
- package/payload/templates/booking/app/texts.js +148 -0
- package/payload/templates/booking/assets/app-icon.svg +1 -0
- package/payload/templates/booking/assets/tabs/account.svg +1 -0
- package/payload/templates/booking/assets/tabs/appointments.svg +1 -0
- package/payload/templates/booking/assets/tabs/home.svg +1 -0
- package/payload/templates/booking/assets/tabs/services.svg +1 -0
- package/payload/templates/booking/components/booking-ui.js +252 -0
- package/payload/templates/booking/index.htm +53 -0
- package/payload/templates/booking/pages/account.js +124 -0
- package/payload/templates/booking/pages/appointments.js +141 -0
- package/payload/templates/booking/pages/book.js +231 -0
- package/payload/templates/booking/pages/home.js +99 -0
- package/payload/templates/booking/pages/services.js +79 -0
- package/payload/templates/classic/TEMPLATE.md +104 -0
- package/payload/templates/classic/app/app.js +779 -0
- package/payload/templates/classic/app/settings.js +77 -0
- package/payload/templates/classic/assets/_attribute.txt +37 -0
- package/payload/templates/classic/assets/cards/dill.png +0 -0
- package/payload/templates/classic/assets/cards/fennel.png +0 -0
- package/payload/templates/classic/assets/cards/juniper.png +0 -0
- package/payload/templates/classic/assets/cards/olives.png +0 -0
- package/payload/templates/classic/assets/cards/oregano.png +0 -0
- package/payload/templates/classic/assets/cards/pepper.png +0 -0
- package/payload/templates/classic/assets/cards/rosehip.png +0 -0
- package/payload/templates/classic/assets/categories/cappuccino.png +0 -0
- package/payload/templates/classic/assets/categories/chocolate-milk.png +0 -0
- package/payload/templates/classic/assets/categories/coffee-cup.png +0 -0
- package/payload/templates/classic/assets/categories/coffee.png +0 -0
- package/payload/templates/classic/assets/categories/frappe.png +0 -0
- package/payload/templates/classic/assets/categories/iced-caffee.png +0 -0
- package/payload/templates/classic/assets/categories/milkshake.png +0 -0
- package/payload/templates/classic/assets/categories/orange-juice.png +0 -0
- package/payload/templates/classic/assets/categories/tea.png +0 -0
- package/payload/templates/classic/assets/example-tabs/coffee.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i1-white.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i1.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i2-white.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i2.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i3-white.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i3.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i4-white.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i4.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i5-white.png +0 -0
- package/payload/templates/classic/assets/example-tabs/i5.png +0 -0
- package/payload/templates/classic/assets/example-tabs/lamp-on.png +0 -0
- package/payload/templates/classic/assets/example-tabs/lamp.png +0 -0
- package/payload/templates/classic/assets/example-tabs/search.svg +2 -0
- package/payload/templates/classic/assets/files/ai.png +0 -0
- package/payload/templates/classic/assets/files/doc.png +0 -0
- package/payload/templates/classic/assets/files/folder.png +0 -0
- package/payload/templates/classic/assets/files/js.png +0 -0
- package/payload/templates/classic/assets/files/pdf.png +0 -0
- package/payload/templates/classic/assets/files/txt.png +0 -0
- package/payload/templates/classic/assets/files/xls.png +0 -0
- package/payload/templates/classic/assets/icons/arrow-drop.svg +3 -0
- package/payload/templates/classic/assets/icons/arrow-rise.svg +3 -0
- package/payload/templates/classic/assets/icons/download.svg +18 -0
- package/payload/templates/classic/assets/icons/lamp-on.png +0 -0
- package/payload/templates/classic/assets/icons/lamp.png +0 -0
- package/payload/templates/classic/assets/icons/lock-small.png +0 -0
- package/payload/templates/classic/assets/icons/lock.png +0 -0
- package/payload/templates/classic/assets/icons/logo.png +0 -0
- package/payload/templates/classic/assets/icons/trash-red.svg +2 -0
- package/payload/templates/classic/assets/icons/trash.svg +2 -0
- package/payload/templates/classic/assets/menu/t1.png +0 -0
- package/payload/templates/classic/assets/menu/t10.png +0 -0
- package/payload/templates/classic/assets/menu/t11.png +0 -0
- package/payload/templates/classic/assets/menu/t2.png +0 -0
- package/payload/templates/classic/assets/menu/t3.png +0 -0
- package/payload/templates/classic/assets/menu/t4.png +0 -0
- package/payload/templates/classic/assets/menu/t5.png +0 -0
- package/payload/templates/classic/assets/menu/t6.png +0 -0
- package/payload/templates/classic/assets/menu/t7.png +0 -0
- package/payload/templates/classic/assets/menu/t8.png +0 -0
- package/payload/templates/classic/assets/menu/t9.png +0 -0
- package/payload/templates/classic/assets/products/brokoli.png +0 -0
- package/payload/templates/classic/assets/products/cilek.png +0 -0
- package/payload/templates/classic/assets/products/domates.png +0 -0
- package/payload/templates/classic/assets/products/elma.png +0 -0
- package/payload/templates/classic/assets/products/havuc.png +0 -0
- package/payload/templates/classic/assets/products/karpuz.png +0 -0
- package/payload/templates/classic/assets/products/limon.png +0 -0
- package/payload/templates/classic/assets/products/muz.png +0 -0
- package/payload/templates/classic/assets/products/nar.png +0 -0
- package/payload/templates/classic/assets/products/patlican.png +0 -0
- package/payload/templates/classic/assets/products/yabanmersini.png +0 -0
- package/payload/templates/classic/assets/products/yesilbiber.png +0 -0
- package/payload/templates/classic/assets/tab-bar/settings.png +0 -0
- package/payload/templates/classic/assets/tab-bar/status.png +0 -0
- package/payload/templates/classic/assets/tab-bar/transactions.png +0 -0
- package/payload/templates/classic/assets/tabs/grid.png +0 -0
- package/payload/templates/classic/assets/tabs/grids.png +0 -0
- package/payload/templates/classic/assets/tabs/home.png +0 -0
- package/payload/templates/classic/assets/tabs/homes.png +0 -0
- package/payload/templates/classic/assets/tabs/search.png +0 -0
- package/payload/templates/classic/assets/tabs/searchs.png +0 -0
- package/payload/templates/classic/assets/tabs/settings.png +0 -0
- package/payload/templates/classic/assets/tabs/settingss.png +0 -0
- package/payload/templates/classic/assets/tabs/tasks.png +0 -0
- package/payload/templates/classic/assets/tabs/taskss.png +0 -0
- package/payload/templates/classic/html/privacy.htm +58 -0
- package/payload/templates/classic/index.htm +70 -0
- package/payload/templates/classic/pages/dialogs.js +205 -0
- package/payload/templates/classic/pages/example.js +296 -0
- package/payload/templates/classic/pages/examples.js +148 -0
- package/payload/templates/classic/pages/home.js +268 -0
- package/payload/templates/classic/pages/info-pages.js +95 -0
- package/payload/templates/classic/pages/lock.js +70 -0
- package/payload/templates/classic/pages/search.js +153 -0
- package/payload/templates/classic/pages/settings.js +184 -0
- package/payload/templates/classic/pages/tasks.js +221 -0
- package/payload/templates/classic/pages/template-pages.js +240 -0
- package/payload/templates/coffee-shop/TEMPLATE.md +63 -0
- package/payload/templates/coffee-shop/app/app.js +713 -0
- package/payload/templates/coffee-shop/app/settings.js +20 -0
- package/payload/templates/coffee-shop/app/store.js +52 -0
- package/payload/templates/coffee-shop/assets/cappuccino.png +0 -0
- package/payload/templates/coffee-shop/assets/chocolate-milk.png +0 -0
- package/payload/templates/coffee-shop/assets/coffee-art/cocoa.svg +1 -0
- package/payload/templates/coffee-shop/assets/coffee-art/filter.svg +1 -0
- package/payload/templates/coffee-shop/assets/coffee-art/frappe.svg +1 -0
- package/payload/templates/coffee-shop/assets/coffee-art/iced.svg +1 -0
- package/payload/templates/coffee-shop/assets/coffee-art/latte.svg +1 -0
- package/payload/templates/coffee-shop/assets/coffee-art/tea.svg +1 -0
- package/payload/templates/coffee-shop/assets/coffee.png +0 -0
- package/payload/templates/coffee-shop/assets/credits.txt +41 -0
- package/payload/templates/coffee-shop/assets/fonts/OFL.txt +93 -0
- package/payload/templates/coffee-shop/assets/fonts/gelasio-OFL.txt +93 -0
- package/payload/templates/coffee-shop/assets/fonts/gelasio.ttf +0 -0
- package/payload/templates/coffee-shop/assets/frappe.png +0 -0
- package/payload/templates/coffee-shop/assets/iced-caffee.png +0 -0
- package/payload/templates/coffee-shop/assets/tabs/cart.svg +1 -0
- package/payload/templates/coffee-shop/assets/tabs/home.svg +1 -0
- package/payload/templates/coffee-shop/assets/tabs/menu.svg +1 -0
- package/payload/templates/coffee-shop/assets/tabs/rewards.svg +1 -0
- package/payload/templates/coffee-shop/assets/tea.png +0 -0
- package/payload/templates/coffee-shop/components/coffee-ui.js +246 -0
- package/payload/templates/coffee-shop/index.htm +55 -0
- package/payload/templates/coffee-shop/pages/cart.js +82 -0
- package/payload/templates/coffee-shop/pages/drink.js +74 -0
- package/payload/templates/coffee-shop/pages/home.js +54 -0
- package/payload/templates/coffee-shop/pages/menu.js +53 -0
- package/payload/templates/coffee-shop/pages/rewards.js +38 -0
- package/payload/templates/forms/TEMPLATE.md +12 -0
- package/payload/templates/forms/app/app.js +30 -0
- package/payload/templates/forms/appointment-form.htm +969 -0
- package/payload/templates/forms/assets/error.png +0 -0
- package/payload/templates/forms/assets/logo.png +0 -0
- package/payload/templates/forms/assets/logo2.png +0 -0
- package/payload/templates/forms/assets/mail.png +0 -0
- package/payload/templates/forms/assets/success.png +0 -0
- package/payload/templates/forms/contact-form-iframe.htm +24 -0
- package/payload/templates/forms/contact-form-table.sql +11 -0
- package/payload/templates/forms/contact-form-to-mail.htm +358 -0
- package/payload/templates/forms/contact-form-to-supabase.htm +396 -0
- package/payload/templates/forms/dark-contact-form.htm +623 -0
- package/payload/templates/forms/event-registration-form.htm +1056 -0
- package/payload/templates/forms/feedback-form.htm +813 -0
- package/payload/templates/forms/order-form.htm +1187 -0
- package/payload/templates/forms/recruitment-form.htm +698 -0
- package/payload/templates/forms/service/PHPMailer/Exception.php +40 -0
- package/payload/templates/forms/service/PHPMailer/LICENSE +502 -0
- package/payload/templates/forms/service/PHPMailer/PHPMailer.php +5586 -0
- package/payload/templates/forms/service/PHPMailer/SMTP.php +1617 -0
- package/payload/templates/forms/service/readme.md +162 -0
- package/payload/templates/forms/service/send-form-mail.php +941 -0
- package/payload/templates/forms/support-ticket-form.htm +908 -0
- package/payload/templates/panel/TEMPLATE.md +16 -0
- package/payload/templates/panel/assets/_Material Symbols & Icons - Google Fonts.webloc +8 -0
- package/payload/templates/panel/assets/arrow_down.png +0 -0
- package/payload/templates/panel/assets/close.png +0 -0
- package/payload/templates/panel/assets/left-menu/bolt.png +0 -0
- package/payload/templates/panel/assets/left-menu/brick.png +0 -0
- package/payload/templates/panel/assets/left-menu/code.png +0 -0
- package/payload/templates/panel/assets/left-menu/dashboard.png +0 -0
- package/payload/templates/panel/assets/left-menu/data-table.png +0 -0
- package/payload/templates/panel/assets/left-menu/extension.png +0 -0
- package/payload/templates/panel/assets/left-menu/home.png +0 -0
- package/payload/templates/panel/assets/left-menu/reports.png +0 -0
- package/payload/templates/panel/assets/left-menu/setting.png +0 -0
- package/payload/templates/panel/assets/left-menu/url.png +0 -0
- package/payload/templates/panel/assets/light.png +0 -0
- package/payload/templates/panel/assets/maybe.png +0 -0
- package/payload/templates/panel/assets/panel-icon.png +0 -0
- package/payload/templates/panel/assets/top-bar/add.png +0 -0
- package/payload/templates/panel/assets/top-bar/add.svg +1 -0
- package/payload/templates/panel/assets/top-bar/apps.png +0 -0
- package/payload/templates/panel/assets/top-bar/apps.svg +1 -0
- package/payload/templates/panel/assets/top-bar/arrow-down.svg +1 -0
- package/payload/templates/panel/assets/top-bar/bell.svg +1 -0
- package/payload/templates/panel/assets/top-bar/bookmark.png +0 -0
- package/payload/templates/panel/assets/top-bar/bookmark.svg +1 -0
- package/payload/templates/panel/assets/top-bar/cancel.png +0 -0
- package/payload/templates/panel/assets/top-bar/close.svg +1 -0
- package/payload/templates/panel/assets/top-bar/comment.png +0 -0
- package/payload/templates/panel/assets/top-bar/filter.png +0 -0
- package/payload/templates/panel/assets/top-bar/keyboard.svg +1 -0
- package/payload/templates/panel/assets/top-bar/notification.png +0 -0
- package/payload/templates/panel/assets/top-bar/search.png +0 -0
- package/payload/templates/panel/assets/top-bar/search.svg +1 -0
- package/payload/templates/panel/assets/top-bar/user.png +0 -0
- package/payload/templates/panel/assets/top-bar/user.svg +1 -0
- package/payload/templates/panel/assets/warning.png +0 -0
- package/payload/templates/panel/common/bridge.js +1 -0
- package/payload/templates/panel/common/bridge.min.js +0 -0
- package/payload/templates/panel/common/components.js +12 -0
- package/payload/templates/panel/common/full-view.js +107 -0
- package/payload/templates/panel/common/full-view.min.js +1 -0
- package/payload/templates/panel/common/main-view.js +53 -0
- package/payload/templates/panel/common/main-view.min.js +1 -0
- package/payload/templates/panel/common/module-page.js +46 -0
- package/payload/templates/panel/common/module-page.min.js +1 -0
- package/payload/templates/panel/common/right-view.js +77 -0
- package/payload/templates/panel/common/right-view.min.js +1 -0
- package/payload/templates/panel/common/start-page.js +31 -0
- package/payload/templates/panel/common/start-page.min.js +1 -0
- package/payload/templates/panel/common/theme.js +491 -0
- package/payload/templates/panel/common/top-bar-v25-07-29-1.js +330 -0
- package/payload/templates/panel/common/top-bar-v25-07-29-2.js +265 -0
- package/payload/templates/panel/common/top-bar.js +855 -0
- package/payload/templates/panel/common/top-bar.min.js +1 -0
- package/payload/templates/panel/common/ui-standards.css +77 -0
- package/payload/templates/panel/common/ui-standards.js +133 -0
- package/payload/templates/panel/common/ui-standards.min.css +1 -0
- package/payload/templates/panel/common/ui-standards.min.js +1 -0
- package/payload/templates/panel/index.htm +642 -0
- package/payload/templates/panel/managers/database.js +1 -0
- package/payload/templates/panel/managers/database.min.js +1 -0
- package/payload/templates/panel/managers/login.js +2 -0
- package/payload/templates/panel/managers/login.min.js +1 -0
- package/payload/templates/panel/module1/empty-main.htm +26 -0
- package/payload/templates/panel/module10/greenhouse.htm +1361 -0
- package/payload/templates/panel/module11/arduino-projects.htm +1124 -0
- package/payload/templates/panel/module2/empty-full.htm +26 -0
- package/payload/templates/panel/module3/empty-right.htm +26 -0
- package/payload/templates/panel/module4/empty-main-topbar.htm +26 -0
- package/payload/templates/panel/module5/empty-right-topbar.htm +26 -0
- package/payload/templates/panel/module6/energy-hub.htm +1507 -0
- package/payload/templates/panel/module7/3d-printers.htm +1258 -0
- package/payload/templates/panel/module8/cold-rooms.htm +1250 -0
- package/payload/templates/panel/module9/elevator-fleet.htm +1488 -0
- package/payload/templates/panel/pages/_page-template.js +36 -0
- package/payload/templates/panel/pages/_page-template.min.js +1 -0
- package/payload/templates/panel/pages/activity.js +1072 -0
- package/payload/templates/panel/pages/contents.js +1555 -0
- package/payload/templates/panel/pages/contents.min.js +1 -0
- package/payload/templates/panel/pages/customers.js +1171 -0
- package/payload/templates/panel/pages/edit-user.js +381 -0
- package/payload/templates/panel/pages/edit-user.min.js +1 -0
- package/payload/templates/panel/pages/edit-users-table.min.js +1 -0
- package/payload/templates/panel/pages/home.js +637 -0
- package/payload/templates/panel/pages/home.min.js +1 -0
- package/payload/templates/panel/pages/media.js +1538 -0
- package/payload/templates/panel/pages/notifications.js +542 -0
- package/payload/templates/panel/pages/notifications.min.js +1 -0
- package/payload/templates/panel/pages/orders.js +1147 -0
- package/payload/templates/panel/pages/products.js +1281 -0
- package/payload/templates/panel/pages/reports.js +1138 -0
- package/payload/templates/panel/pages/reports.min.js +1 -0
- package/payload/templates/panel/pages/roles.js +1096 -0
- package/payload/templates/panel/pages/settings.js +1462 -0
- package/payload/templates/panel/pages/settings.min.js +1 -0
- package/payload/templates/panel/pages/user-actions.js +456 -0
- package/payload/templates/panel/pages/user-actions.min.js +2 -0
- package/payload/templates/panel/pages/user-list.js +1113 -0
- package/payload/templates/panel/pages/users.js +334 -0
- package/payload/templates/panel/pages/users.min.js +1 -0
- package/payload/templates/shop/TEMPLATE.md +69 -0
- package/payload/templates/shop/app/app.js +727 -0
- package/payload/templates/shop/app/art.js +89 -0
- package/payload/templates/shop/app/settings.js +45 -0
- package/payload/templates/shop/app/store.js +239 -0
- package/payload/templates/shop/app/texts.js +232 -0
- package/payload/templates/shop/assets/app-icon.svg +1 -0
- package/payload/templates/shop/assets/tabs/account.svg +1 -0
- package/payload/templates/shop/assets/tabs/cart.svg +1 -0
- package/payload/templates/shop/assets/tabs/home.svg +1 -0
- package/payload/templates/shop/assets/tabs/shop.svg +1 -0
- package/payload/templates/shop/components/shop-ui.js +343 -0
- package/payload/templates/shop/index.htm +57 -0
- package/payload/templates/shop/pages/account.js +190 -0
- package/payload/templates/shop/pages/cart.js +116 -0
- package/payload/templates/shop/pages/checkout.js +134 -0
- package/payload/templates/shop/pages/favorites.js +37 -0
- package/payload/templates/shop/pages/home.js +86 -0
- package/payload/templates/shop/pages/orders.js +132 -0
- package/payload/templates/shop/pages/product.js +168 -0
- package/payload/templates/shop/pages/shop.js +113 -0
- package/payload/templates/starter/TEMPLATE.md +107 -0
- package/payload/templates/starter/app/app.js +660 -0
- package/payload/templates/starter/app/settings.js +57 -0
- package/payload/templates/starter/assets/app-icon.svg +5 -0
- package/payload/templates/starter/assets/products/brokoli.png +0 -0
- package/payload/templates/starter/assets/products/cilek.png +0 -0
- package/payload/templates/starter/assets/products/domates.png +0 -0
- package/payload/templates/starter/assets/products/elma.png +0 -0
- package/payload/templates/starter/assets/products/havuc.png +0 -0
- package/payload/templates/starter/assets/products/karpuz.png +0 -0
- package/payload/templates/starter/assets/products/limon.png +0 -0
- package/payload/templates/starter/assets/products/muz.png +0 -0
- package/payload/templates/starter/assets/products/nar.png +0 -0
- package/payload/templates/starter/assets/products/patlican.png +0 -0
- package/payload/templates/starter/assets/products/yabanmersini.png +0 -0
- package/payload/templates/starter/assets/products/yesilbiber.png +0 -0
- package/payload/templates/starter/assets/tabs/grid.png +0 -0
- package/payload/templates/starter/assets/tabs/grids.png +0 -0
- package/payload/templates/starter/assets/tabs/home.png +0 -0
- package/payload/templates/starter/assets/tabs/homes.png +0 -0
- package/payload/templates/starter/assets/tabs/settings.png +0 -0
- package/payload/templates/starter/assets/tabs/settingss.png +0 -0
- package/payload/templates/starter/assets/tabs/tasks.png +0 -0
- package/payload/templates/starter/assets/tabs/taskss.png +0 -0
- package/payload/templates/starter/html/about.htm +54 -0
- package/payload/templates/starter/index.htm +57 -0
- package/payload/templates/starter/pages/about.js +23 -0
- package/payload/templates/starter/pages/home.js +81 -0
- package/payload/templates/starter/pages/product.js +45 -0
- package/payload/templates/starter/pages/products.js +61 -0
- package/payload/templates/starter/pages/settings.js +103 -0
- package/payload/templates/starter/pages/tasks.js +187 -0
- package/payload/templates/starter/pages/website.js +29 -0
|
@@ -0,0 +1,779 @@
|
|
|
1
|
+
/* Bismillah */
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
|
|
5
|
+
Mobile App Template (default) - App - v26.11
|
|
6
|
+
|
|
7
|
+
THE FRAME OF THE APP, with the look and the small motions of bug7a/javascript-mobile-app-template.
|
|
8
|
+
A page file only says what is in its page (pages/*.js); this file shows it.
|
|
9
|
+
|
|
10
|
+
THE DESIGN: the app is drawn 600 px wide (page.fit(600, 800)): every size in this template is a px of that design.
|
|
11
|
+
On a phone the design fills the width; on a wider screen it is a column of at most 800 px.
|
|
12
|
+
|
|
13
|
+
THE DESIGN: the components made for screen px (Tabs, Dialog, Toast, Tooltip, SelectBox, SelectDate) keep their size
|
|
14
|
+
on the screen: basic.uiScale = 1 / page.zoom.
|
|
15
|
+
|
|
16
|
+
THE VIEWS:
|
|
17
|
+
- The tabs (the default view): a tab changes at once. The top bar (AppBar: title, ⋮) when the page asks for it; the
|
|
18
|
+
bottom bar (BottomBar): the circle slides to the selected tab and takes its color, the name of the tab shows over
|
|
19
|
+
it for a moment.
|
|
20
|
+
- The pages over the tabs (the second view): they slide in from the right (0.2 s). A header (PageHeader) with a
|
|
21
|
+
small blue back link over a big title.
|
|
22
|
+
- The sheets (the small view): a panel rises from the bottom over a dark cover (0.2 s). (SidePanel)
|
|
23
|
+
- The side menu (⋮): from the right over a dark cover (SidePanel). The lock screen. A soft circle where the screen is
|
|
24
|
+
tapped (TapEffect).
|
|
25
|
+
|
|
26
|
+
THE PAGES:
|
|
27
|
+
- App.addPage({ id, title, create: function (box, params) {} }): a page. Objects created in create() go into the
|
|
28
|
+
page. box.after(), box.every() and box.listenTo() stop when the page closes. More keys:
|
|
29
|
+
title: a text, or function (params) that returns one.
|
|
30
|
+
scroll: 1 (default): the page scrolls; 0: the page fills its place (Ex: a list that scrolls itself).
|
|
31
|
+
color: the background of the page (default: colors.background). padding, gap: of the column of the page.
|
|
32
|
+
A tab: topBar (1: the top bar), titleAlign ("center" / "left"), topBarLine, bottomBarLine (1: a thin line).
|
|
33
|
+
A page over the tabs: backText (default "Back"), header (0: no header), headerColor, backIcon, backColor.
|
|
34
|
+
view: "default": the page opens in the place of the tab, with a back arrow in the top bar (no bottom bar).
|
|
35
|
+
- App.open(pageId, params): a tab is shown as a tab; another page slides in over the tabs.
|
|
36
|
+
- App.goBack(): closes the list, the dialog, the sheet, the menu or the page on top. The back button of Android (it
|
|
37
|
+
leaves the app when nothing is open), the back of the browser and Escape call it too.
|
|
38
|
+
|
|
39
|
+
MORE:
|
|
40
|
+
- App.refreshTab(): makes the tab under the pages again (after a page over it changed its data).
|
|
41
|
+
- App.openSheet({ height, color, content: function (box, sheet) {} }): a sheet from the bottom. Returns it.
|
|
42
|
+
- App.wait(task): the waiting screen while a task (a Promise, or a function that returns one) works.
|
|
43
|
+
- App.save(name, value), App.load(name, defaultValue): the saved data of the app (in this browser / device).
|
|
44
|
+
- App.setTabBadge(pageId, count): the number on a tab.
|
|
45
|
+
- App.lock(): the lock screen (the page "lock") over everything; App.unlock() takes it away.
|
|
46
|
+
- App.setMenuSide(side): the side menu opens from "right", "left" or "bottom" (saved).
|
|
47
|
+
- App.whenStarted(func): func runs when the app is ready.
|
|
48
|
+
- App.colors: the colors of AppSettings.colors.
|
|
49
|
+
|
|
50
|
+
Started Date: November 2026 (the frame of starter, the look of bug7a/javascript-mobile-app-template)
|
|
51
|
+
Developer: Bugra Ozden
|
|
52
|
+
Email: demo@example.com
|
|
53
|
+
Webpage: https://bug7a.github.io/js-components/
|
|
54
|
+
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
"use strict";
|
|
58
|
+
|
|
59
|
+
const App = {};
|
|
60
|
+
window.App = App; // WHY: A "const" is not a property of window; an HTML page in a WebView calls window.parent.App.
|
|
61
|
+
|
|
62
|
+
// *** CONSTANTS (px of the 600 px design):
|
|
63
|
+
App.DESIGN_WIDTH = 600;
|
|
64
|
+
App.MAX_ZOOM_WIDTH = 600; // A wider screen shows the app 800 px wide, in the middle
|
|
65
|
+
App.TOP_BAR_HEIGHT = 105;
|
|
66
|
+
App.BOTTOM_BAR_HEIGHT = 80;
|
|
67
|
+
App.BAR_SPACE = 20; // The space at the sides of the bars and the headers
|
|
68
|
+
App.TITLE_SIZE = 28;
|
|
69
|
+
App.PAGE_MOTION = "transform 0.2s"; // A page over the tabs slides in from the right
|
|
70
|
+
App.PAGE_MOTION_TIME = 250; // ms: the start of the motion (withMotion: 50 ms) and the slide
|
|
71
|
+
App.PANEL_MOTION_TIME = 200; // ms: the side menu and the sheets
|
|
72
|
+
App.SHEET_HEIGHT = 500;
|
|
73
|
+
App.SHEET_ROUND = 13;
|
|
74
|
+
App.COVER_COLOR = Black(0.4);
|
|
75
|
+
App.SIDE_MENU_WIDTH = 450;
|
|
76
|
+
App.SIDE_MENU_HEIGHT = 760; // From the bottom (SidePanel keeps the top of the screen free on a small screen)
|
|
77
|
+
App.LAUNCH_MIN_TIME = 300; // ms
|
|
78
|
+
// WHY: The launch screen is made before the app, so it needs a layer to stay over it. (Dialog: 4000 and up)
|
|
79
|
+
App.LAUNCH_LAYER = 3001;
|
|
80
|
+
|
|
81
|
+
App.ICONS = {
|
|
82
|
+
lock: "assets/icons/lock-small.png",
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
// *** VARIABLES:
|
|
86
|
+
App.colors = AppSettings.colors;
|
|
87
|
+
App.pages = {}; // id -> page
|
|
88
|
+
App.currentTabId = "";
|
|
89
|
+
App.tabView = null; // The view in the place of the tabs: a tab, or a page with view: "default"
|
|
90
|
+
App.openedViews = []; // The pages over the tabs (the last one is on top)
|
|
91
|
+
App.safeArea = { top: 0, bottom: 0 }; // The notch and the home line of a phone (design px)
|
|
92
|
+
App.startFunctions = []; // App.whenStarted()
|
|
93
|
+
App.hasHistoryEntry = 0; // 1: the entry of App.syncHistory() is in the history of the browser
|
|
94
|
+
App.skippedBackCount = 0; // The "popstate" events of the app's own history.back()
|
|
95
|
+
App.isSyncHistoryWaiting = 0;
|
|
96
|
+
App.lockView = null; // The lock screen (App.lock)
|
|
97
|
+
|
|
98
|
+
// *** PAGES:
|
|
99
|
+
|
|
100
|
+
App.addPage = function (appPage) {
|
|
101
|
+
App.pages[appPage.id] = appPage;
|
|
102
|
+
};
|
|
103
|
+
// USAGE: App.addPage({ id: "home", title: "Home", create: function (box, params) { Label({ text: "Hi" }); } });
|
|
104
|
+
|
|
105
|
+
App.getPage = function (pageId) {
|
|
106
|
+
const appPage = App.pages[pageId];
|
|
107
|
+
if (!appPage) console.warn("App: no page with the id \"" + pageId + "\" (App.addPage)");
|
|
108
|
+
return appPage;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
App.getTabIndex = function (pageId) {
|
|
112
|
+
return AppSettings.tabs.findIndex((tab) => tab.pageId == pageId);
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
App.isTab = function (pageId) {
|
|
116
|
+
return App.getTabIndex(pageId) >= 0;
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
// A text of a page: a text, or function (params) that returns one
|
|
120
|
+
App.getText = function (textOrFunction, params) {
|
|
121
|
+
return (typeof textOrFunction === "function") ? textOrFunction(params) : (textOrFunction || "");
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
App.open = function (pageId, params = {}) {
|
|
125
|
+
if (App.isTab(pageId)) {
|
|
126
|
+
App.closeAllPages();
|
|
127
|
+
// WHY: The tab that is seen keeps its scroll and its typed text (App.refreshTab() makes it again).
|
|
128
|
+
if (pageId == App.currentTabId && !App.isDefaultPageOpen()) return;
|
|
129
|
+
App.showTab(pageId, params);
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
const appPage = App.getPage(pageId);
|
|
133
|
+
if (!appPage) return;
|
|
134
|
+
if (appPage.view == "default") {
|
|
135
|
+
App.closeAllPages();
|
|
136
|
+
App.showInDefaultView(appPage, params, "default");
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
App.openPage(pageId, params);
|
|
140
|
+
};
|
|
141
|
+
// USAGE: App.open("search"); App.open("my-documents"); App.open("category", item)
|
|
142
|
+
|
|
143
|
+
App.showTab = function (pageId, params = {}) {
|
|
144
|
+
const appPage = App.getPage(pageId);
|
|
145
|
+
if (!appPage) return;
|
|
146
|
+
App.currentTabId = pageId;
|
|
147
|
+
App.showInDefaultView(appPage, params, "tab");
|
|
148
|
+
App.selectTab(pageId);
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
// The tab is made again with its data (Ex: a page over it changed the data the tab shows).
|
|
152
|
+
App.refreshTab = function () {
|
|
153
|
+
if (App.isDefaultPageOpen()) return;
|
|
154
|
+
App.showTab(App.currentTabId, App.tabView.params);
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
// kind: "tab", or "default" (a page in the place of the tab, with a back arrow and no bottom bar)
|
|
158
|
+
App.showInDefaultView = function (appPage, params, kind) {
|
|
159
|
+
if (App.tabView) App.tabView.remove();
|
|
160
|
+
App.tabView = createIn(App.tabLayer, () => App.createPageView(appPage, params, kind));
|
|
161
|
+
App.paintBars(appPage, kind);
|
|
162
|
+
App.syncHistory();
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
App.isDefaultPageOpen = function () {
|
|
166
|
+
return !!App.tabView && App.tabView.kind == "default";
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
// A page over the tabs: it slides in from the right and has a back link.
|
|
170
|
+
App.openPage = function (pageId, params = {}) {
|
|
171
|
+
const appPage = App.getPage(pageId);
|
|
172
|
+
if (!appPage) return;
|
|
173
|
+
const view = createIn(App.pageLayer, () => App.createPageView(appPage, params, "over"));
|
|
174
|
+
App.openedViews.push(view);
|
|
175
|
+
App.slideView(view, 1);
|
|
176
|
+
App.syncHistory();
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
App.closePage = function () {
|
|
180
|
+
const view = App.openedViews.pop();
|
|
181
|
+
if (!view) return;
|
|
182
|
+
App.slideView(view, 0);
|
|
183
|
+
view.after(App.PAGE_MOTION_TIME, () => view.remove());
|
|
184
|
+
App.syncHistory();
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
App.closeAllPages = function () {
|
|
188
|
+
App.openedViews.forEach((view) => view.remove());
|
|
189
|
+
App.openedViews = [];
|
|
190
|
+
App.syncHistory();
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
// WHY only the page on top: a second tap while the page slides out closed the page under it too.
|
|
194
|
+
App.closePageOf = function (view) {
|
|
195
|
+
if (App.openedViews[App.openedViews.length - 1] === view) App.closePage();
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
// The open list, the dialog, the sheet or the menu (one panel at a time: SidePanel.openedPanel), the page on top,
|
|
199
|
+
// or the page in the place of the tab
|
|
200
|
+
App.goBack = function () {
|
|
201
|
+
if (App.lockView) return; // (only a log in opens the lock screen)
|
|
202
|
+
if (FullScreenSelect.openedSelect) {
|
|
203
|
+
FullScreenSelect.openedSelect.close();
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
// WHY: A Dialog is over everything: the back of Android or of the browser must not close the page under it.
|
|
207
|
+
const topDialog = App.getTopDialog();
|
|
208
|
+
if (topDialog) {
|
|
209
|
+
if (basic.isOn(topDialog.closeOnEscape) && !topDialog.isBusy()) topDialog.close("escape");
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
if (SidePanel.openedPanel) {
|
|
213
|
+
SidePanel.openedPanel.close();
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
if (App.openedViews.length > 0) {
|
|
217
|
+
App.closePage();
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
if (App.isDefaultPageOpen()) App.showTab(App.currentTabId);
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
// WHY typeof: the template does not load comp/dialog.js; a page that loads it gets the right back.
|
|
224
|
+
App.getTopDialog = function () {
|
|
225
|
+
return (typeof Dialog === "function") ? Dialog.getTop() : null;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
// *** THE BACK OF THE BROWSER: while a page, a sheet or the menu is open, the history has one more entry, so the
|
|
229
|
+
// back of the browser (a phone browser, an installed web app) calls App.goBack() and does not leave the app.
|
|
230
|
+
|
|
231
|
+
App.getOpenedCount = function () {
|
|
232
|
+
const panelCount = SidePanel.openedPanel ? 1 : 0;
|
|
233
|
+
const defaultPageCount = App.isDefaultPageOpen() ? 1 : 0;
|
|
234
|
+
return App.openedViews.length + panelCount + defaultPageCount;
|
|
235
|
+
};
|
|
236
|
+
|
|
237
|
+
// WHY a moment later: one action may close one thing and open another (the menu closes, a page opens);
|
|
238
|
+
// the history is changed once, for the result.
|
|
239
|
+
App.syncHistory = function () {
|
|
240
|
+
if (App.isSyncHistoryWaiting) return;
|
|
241
|
+
App.isSyncHistoryWaiting = 1;
|
|
242
|
+
setTimeout(function () {
|
|
243
|
+
App.isSyncHistoryWaiting = 0;
|
|
244
|
+
const isOpened = App.getOpenedCount() > 0;
|
|
245
|
+
if (isOpened && !App.hasHistoryEntry) {
|
|
246
|
+
history.pushState({ app: AppSettings.storageKey }, "");
|
|
247
|
+
App.hasHistoryEntry = 1;
|
|
248
|
+
return;
|
|
249
|
+
}
|
|
250
|
+
if (!isOpened && App.hasHistoryEntry) {
|
|
251
|
+
App.hasHistoryEntry = 0;
|
|
252
|
+
App.skippedBackCount++;
|
|
253
|
+
history.back();
|
|
254
|
+
}
|
|
255
|
+
}, 0);
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
App.onHistoryBack = function () {
|
|
259
|
+
App.hasHistoryEntry = 0;
|
|
260
|
+
if (App.skippedBackCount > 0) {
|
|
261
|
+
App.skippedBackCount--;
|
|
262
|
+
App.syncHistory(); // WHY: something may have been opened while the entry was going
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
App.goBack();
|
|
266
|
+
App.syncHistory(); // WHY: the entry is gone even when nothing closed (a dialog that can not close)
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
// The back button of Android: at the first level (nothing open) it leaves the app, as the other apps do.
|
|
270
|
+
App.onDeviceBack = function () {
|
|
271
|
+
if (App.getOpenedCount() > 0 || App.getTopDialog() || App.lockView) {
|
|
272
|
+
App.goBack();
|
|
273
|
+
return;
|
|
274
|
+
}
|
|
275
|
+
if (window.navigator.app && window.navigator.app.exitApp) window.navigator.app.exitApp(); // Cordova
|
|
276
|
+
const capacitorApp = window.Capacitor && window.Capacitor.Plugins && window.Capacitor.Plugins.App;
|
|
277
|
+
if (capacitorApp && capacitorApp.exitApp) capacitorApp.exitApp(); // Capacitor (@capacitor/app)
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
// *** THE VIEW OF A PAGE: kind "tab" / "default" (in the place of the tabs) or "over" (over the tabs)
|
|
281
|
+
|
|
282
|
+
// WHY appPage: "page" is the main box of basic.js.
|
|
283
|
+
App.createPageView = function (appPage, params, kind) {
|
|
284
|
+
|
|
285
|
+
const spaces = App.getBodySpaces(appPage, kind);
|
|
286
|
+
const bodyHeight = "calc(100% - " + (spaces.top + spaces.bottom) + "px)";
|
|
287
|
+
|
|
288
|
+
// BOX: The page
|
|
289
|
+
const view = startBox(0, 0, "100%", "100%", { color: appPage.color || App.colors.background });
|
|
290
|
+
view.appPage = appPage;
|
|
291
|
+
view.params = params;
|
|
292
|
+
view.kind = kind;
|
|
293
|
+
|
|
294
|
+
if (kind == "over" && appPage.header !== 0) App.createPageHeader(view);
|
|
295
|
+
|
|
296
|
+
// BOX: The body (under the bar or the header, over the bottom bar)
|
|
297
|
+
view.body = startBox(0, spaces.top, "100%", bodyHeight, { color: "transparent" });
|
|
298
|
+
if (appPage.scroll !== 0) view.body.scrollY = 1;
|
|
299
|
+
App.createPageContent(appPage, params);
|
|
300
|
+
endBox();
|
|
301
|
+
|
|
302
|
+
endBox();
|
|
303
|
+
|
|
304
|
+
return view;
|
|
305
|
+
|
|
306
|
+
};
|
|
307
|
+
|
|
308
|
+
// The space of the bars over and under the body of a page
|
|
309
|
+
App.getBodySpaces = function (appPage, kind) {
|
|
310
|
+
if (kind == "over") {
|
|
311
|
+
const headerHeight = (appPage.header === 0) ? 0 : App.TOP_BAR_HEIGHT;
|
|
312
|
+
return { top: headerHeight, bottom: 0 };
|
|
313
|
+
}
|
|
314
|
+
const isDefaultPage = (kind == "default");
|
|
315
|
+
const isTopBarShown = isDefaultPage || basic.isOn(appPage.topBar);
|
|
316
|
+
return {
|
|
317
|
+
top: isTopBarShown ? App.TOP_BAR_HEIGHT : 0,
|
|
318
|
+
bottom: isDefaultPage ? 0 : App.BOTTOM_BAR_HEIGHT,
|
|
319
|
+
};
|
|
320
|
+
};
|
|
321
|
+
|
|
322
|
+
App.createPageContent = function (appPage, params) {
|
|
323
|
+
|
|
324
|
+
if (appPage.scroll === 0) {
|
|
325
|
+
// GROUP: The whole body (a group: its objects need no left / top)
|
|
326
|
+
const fullGroup = VGroup({ align: "left top" });
|
|
327
|
+
appPage.create(fullGroup, params);
|
|
328
|
+
endGroup();
|
|
329
|
+
return;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
// GROUP: The column of the page (it grows with its content and scrolls in the body)
|
|
333
|
+
const column = VGroup({
|
|
334
|
+
width: "100%",
|
|
335
|
+
height: "auto",
|
|
336
|
+
align: "left top",
|
|
337
|
+
gap: appPage.gap ?? 0,
|
|
338
|
+
padding: appPage.padding ?? 0,
|
|
339
|
+
clipContent: 0,
|
|
340
|
+
});
|
|
341
|
+
appPage.create(column, params);
|
|
342
|
+
endGroup();
|
|
343
|
+
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
// The header of a page over the tabs: a small back link over a big title
|
|
347
|
+
App.createPageHeader = function (view) {
|
|
348
|
+
const appPage = view.appPage;
|
|
349
|
+
view.header = PageHeader({
|
|
350
|
+
height: App.TOP_BAR_HEIGHT,
|
|
351
|
+
titleText: App.getText(appPage.title, view.params),
|
|
352
|
+
backText: App.getText(appPage.backText, view.params) || "Back",
|
|
353
|
+
color: appPage.headerColor || "white",
|
|
354
|
+
backColor: appPage.backColor || App.colors.blue,
|
|
355
|
+
backIconFile: appPage.backIcon || "", // "": a chevron drawn in backColor
|
|
356
|
+
onBack: () => App.closePageOf(view),
|
|
357
|
+
});
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
App.isReducedMotion = function () {
|
|
361
|
+
return window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
362
|
+
};
|
|
363
|
+
|
|
364
|
+
// isIn: 1 slides the page in from the right, 0 slides it out
|
|
365
|
+
App.slideView = function (view, isIn) {
|
|
366
|
+
|
|
367
|
+
const outTransform = "translateX(100%)";
|
|
368
|
+
|
|
369
|
+
if (App.isReducedMotion()) {
|
|
370
|
+
view.css = { transform: isIn ? "none" : outTransform };
|
|
371
|
+
return;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
view.css = { transform: outTransform };
|
|
375
|
+
if (!isIn) return;
|
|
376
|
+
view.setMotion(App.PAGE_MOTION);
|
|
377
|
+
// WHY withMotion: setMotion() turns the motion on a moment later; the page waits outside until then.
|
|
378
|
+
view.withMotion((self) => { self.css = { transform: "translateX(0)" }; });
|
|
379
|
+
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
// *** THE BARS: the top bar (tab pages that ask for it) and the bottom bar of the tabs
|
|
383
|
+
|
|
384
|
+
App.createTopBar = function () {
|
|
385
|
+
// TOP BAR: The title, the back arrow (a page in the place of the tab) and ⋮ (the side menu)
|
|
386
|
+
App.topBar = AppBar({
|
|
387
|
+
height: App.TOP_BAR_HEIGHT,
|
|
388
|
+
showMenu: (AppSettings.menu.length > 0) ? 1 : 0,
|
|
389
|
+
onBack: App.goBack,
|
|
390
|
+
onMenu: () => App.menu.open(),
|
|
391
|
+
});
|
|
392
|
+
App.topBar.visible = 0;
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
// The bars for a page: kind "tab" or "default"
|
|
396
|
+
App.paintBars = function (appPage, kind) {
|
|
397
|
+
const isDefaultPage = (kind == "default");
|
|
398
|
+
const isTopBarShown = isDefaultPage || basic.isOn(appPage.topBar);
|
|
399
|
+
App.topBar.visible = isTopBarShown ? 1 : 0;
|
|
400
|
+
App.bottomBar.visible = isDefaultPage ? 0 : 1;
|
|
401
|
+
App.setLine(App.bottomBar, "Top", appPage.bottomBarLine);
|
|
402
|
+
if (isTopBarShown) App.paintTopBar(appPage, isDefaultPage);
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
App.paintTopBar = function (appPage, isDefaultPage) {
|
|
406
|
+
const topBar = App.topBar;
|
|
407
|
+
topBar.setTitleText(App.getText(appPage.title, App.tabView.params));
|
|
408
|
+
topBar.setTitleAlign(appPage.titleAlign);
|
|
409
|
+
topBar.setBackVisible(isDefaultPage);
|
|
410
|
+
topBar.setLine(appPage.topBarLine);
|
|
411
|
+
};
|
|
412
|
+
|
|
413
|
+
// The thin line at a side of a bar (the line is always there: on, it gets its color)
|
|
414
|
+
App.setLine = function (bar, side, isOn) {
|
|
415
|
+
bar.css = { ["border" + side + "Color"]: basic.isOn(isOn) ? App.colors.line : "transparent" };
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
App.createBottomBar = function () {
|
|
419
|
+
|
|
420
|
+
const ICON_SIZE = 40;
|
|
421
|
+
const ICON_SPACE = 40; // WHY: an icon and its space make the 80 px place of a tab
|
|
422
|
+
const BAR_PADDING = 20;
|
|
423
|
+
const CIRCLE_PADDING = 14; // The circle around the selected icon (68 px, in the 80 px bar)
|
|
424
|
+
const NAME_SPACE = 19; // Between the circle and the name over it
|
|
425
|
+
|
|
426
|
+
// BOTTOM BAR: The tabs. The circle of the selected tab takes the color of the tab; its name shows over it for a
|
|
427
|
+
// moment (labelMode "float").
|
|
428
|
+
App.bottomBar = BottomBar({
|
|
429
|
+
left: 0,
|
|
430
|
+
bottom: 0,
|
|
431
|
+
width: "100%",
|
|
432
|
+
height: App.BOTTOM_BAR_HEIGHT,
|
|
433
|
+
hoverEffect: false,
|
|
434
|
+
labelMode: "float",
|
|
435
|
+
items: AppSettings.tabs.map((tab) => ({ icon: tab.icon, text: tab.text, color: tab.color })),
|
|
436
|
+
onItemClick: (item, index) => App.open(AppSettings.tabs[index].pageId),
|
|
437
|
+
// The number on a tab (App.setTabBadge): indianred with a white ring, 0 and 1 too
|
|
438
|
+
badge: {
|
|
439
|
+
showZero: 1,
|
|
440
|
+
dotForOne: 0,
|
|
441
|
+
style: { color: App.colors.red, border: 3, borderColor: "white", textColor: "white" },
|
|
442
|
+
numberStyle: { fontSize: 14, bold: 1, padding: [8, 3], round: 20, top: -10, right: -14 },
|
|
443
|
+
},
|
|
444
|
+
style: {
|
|
445
|
+
// WHY gradient: it is the CSS background of the bar box, written over its color
|
|
446
|
+
container: { color: "white", gradient: "white", border: 0 },
|
|
447
|
+
background: { gradient: "none", round: 0, border: 0 },
|
|
448
|
+
layout: { barHeight: App.BOTTOM_BAR_HEIGHT, iconBoxSize: ICON_SIZE, padding: BAR_PADDING, itemSpacing: ICON_SPACE, iconGap: 0, selectionPadding: CIRCLE_PADDING },
|
|
449
|
+
icon: { width: ICON_SIZE, height: ICON_SIZE },
|
|
450
|
+
selectedBox: { color: App.colors.dark, border: 0, round: 100, height: ICON_SIZE + CIRCLE_PADDING * 2 },
|
|
451
|
+
floatLabel: { space: NAME_SPACE, css: { textTransform: "uppercase" } },
|
|
452
|
+
},
|
|
453
|
+
});
|
|
454
|
+
App.bottomBar.css = { borderTop: "2px solid transparent" };
|
|
455
|
+
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
// The selected icon is white in a circle of the color of its tab
|
|
459
|
+
App.selectTab = function (pageId) {
|
|
460
|
+
App.bottomBar.selectByIndex(App.getTabIndex(pageId));
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
App.setTabBadge = function (pageId, count) {
|
|
464
|
+
const index = App.getTabIndex(pageId);
|
|
465
|
+
if (index < 0) return;
|
|
466
|
+
App.bottomBar.setBadge(index, count);
|
|
467
|
+
};
|
|
468
|
+
|
|
469
|
+
// *** THE SIDE MENU AND THE SHEETS (SidePanel): in the app column, over a dark cover, 0.2 s
|
|
470
|
+
|
|
471
|
+
// look: { panel: {...} } of SidePanel. Its Escape and the back of the browser go to App.goBack().
|
|
472
|
+
App.createPanel = function (params, look = {}) {
|
|
473
|
+
return SidePanel({
|
|
474
|
+
container: App.frame,
|
|
475
|
+
showHeader: 0,
|
|
476
|
+
fade: 0, // It only slides
|
|
477
|
+
closeOnEscape: 0, // WHY: Escape goes to App.goBack(): one thing closes at a time
|
|
478
|
+
duration: App.PANEL_MOTION_TIME,
|
|
479
|
+
onOpen: App.syncHistory,
|
|
480
|
+
onClose: App.syncHistory,
|
|
481
|
+
style: {
|
|
482
|
+
// round: the corners that face the page
|
|
483
|
+
panel: Object.assign({ color: "white", border: 0, boxShadow: "none", round: App.SHEET_ROUND }, look.panel),
|
|
484
|
+
backdrop: { color: App.COVER_COLOR },
|
|
485
|
+
body: { padding: [0, 0], gap: 0 },
|
|
486
|
+
},
|
|
487
|
+
...params,
|
|
488
|
+
});
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
// The side of the menu: "right", "left" or "bottom" (Settings > Menu Style saves it)
|
|
492
|
+
App.getMenuSide = function () {
|
|
493
|
+
return App.load("settings", {}).menuSide || AppSettings.menuSide;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
App.setMenuSide = function (side) {
|
|
497
|
+
const settings = App.load("settings", {});
|
|
498
|
+
settings.menuSide = side;
|
|
499
|
+
App.save("settings", settings);
|
|
500
|
+
App.menu.remove();
|
|
501
|
+
App.createMenu();
|
|
502
|
+
};
|
|
503
|
+
// USAGE: App.setMenuSide("left")
|
|
504
|
+
|
|
505
|
+
// The side menu: the title, the items of AppSettings.menu (an icon, a title, a count) and the lock button
|
|
506
|
+
App.createMenu = function () {
|
|
507
|
+
|
|
508
|
+
const side = App.getMenuSide();
|
|
509
|
+
const TITLE_SPACE = "46px 0 18px 40px"; // top, right, bottom, left
|
|
510
|
+
|
|
511
|
+
App.menu = App.createPanel({
|
|
512
|
+
side: side,
|
|
513
|
+
panelSize: (side == "bottom") ? App.SIDE_MENU_HEIGHT : App.SIDE_MENU_WIDTH,
|
|
514
|
+
ariaLabel: "Menu",
|
|
515
|
+
}, { panel: { color: App.colors.whitesmoke } });
|
|
516
|
+
|
|
517
|
+
App.menu.startBody();
|
|
518
|
+
|
|
519
|
+
// LABEL: Title
|
|
520
|
+
Label({ text: AppSettings.menuTitle, fontSize: App.TITLE_SIZE, bold: 1, textColor: App.colors.text, css: { margin: TITLE_SPACE } });
|
|
521
|
+
|
|
522
|
+
// LIST: The items of the menu (the selected one is white)
|
|
523
|
+
App.menuList = ItemList({
|
|
524
|
+
width: "100%",
|
|
525
|
+
height: "auto",
|
|
526
|
+
items: AppSettings.menu.map((item, index) => ({ key: String(index), title: item.title, menuItem: item })),
|
|
527
|
+
selectedKeys: ["0"],
|
|
528
|
+
styleName: "classic",
|
|
529
|
+
style: {
|
|
530
|
+
box: { border: 0, padding: [4, 0] },
|
|
531
|
+
row: { height: 54, padding: [36, 0], gap: 10, color: "transparent", border: 1, borderColor: "transparent", round: 4 },
|
|
532
|
+
hover: { color: Black(0.06) },
|
|
533
|
+
selected: { color: "white", borderColor: Black(0.2), opacity: 1 },
|
|
534
|
+
},
|
|
535
|
+
createItemView: App.createMenuRow,
|
|
536
|
+
onItemClick: function (self, item) {
|
|
537
|
+
App.menu.close();
|
|
538
|
+
App.open(item.menuItem.pageId, item.menuItem);
|
|
539
|
+
},
|
|
540
|
+
});
|
|
541
|
+
|
|
542
|
+
App.menu.endBody();
|
|
543
|
+
|
|
544
|
+
if (basic.isOn(AppSettings.showLockButton)) createIn(App.menu, App.createLockButton);
|
|
545
|
+
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
// A row of the menu: the icon, the title and the count (the objects made here go into the row)
|
|
549
|
+
App.createMenuRow = function (item) {
|
|
550
|
+
const menuItem = item.menuItem;
|
|
551
|
+
const ICON_SIZE = 30;
|
|
552
|
+
|
|
553
|
+
if (menuItem.iconFile) {
|
|
554
|
+
Icon({ width: ICON_SIZE, height: ICON_SIZE });
|
|
555
|
+
that.load(menuItem.iconFile);
|
|
556
|
+
that.css = { filter: "grayscale(50%)" };
|
|
557
|
+
}
|
|
558
|
+
Label({ text: menuItem.title, fontSize: 26, textColor: App.colors.text, grow: 1 });
|
|
559
|
+
if (menuItem.count !== undefined) {
|
|
560
|
+
Label({ text: String(menuItem.count), fontSize: 20, padding: [14, 6], round: 13, color: Black(0.05), textColor: App.colors.text, css: { marginRight: "26px" } });
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
// The lock button at the bottom right of the menu (it opens the lock screen)
|
|
565
|
+
App.createLockButton = function () {
|
|
566
|
+
const BUTTON_SIZE = 50;
|
|
567
|
+
const BUTTON_SPACE = 30;
|
|
568
|
+
SmartButton({
|
|
569
|
+
styleName: "ozdenType4",
|
|
570
|
+
labelText: "",
|
|
571
|
+
iconFile: App.ICONS.lock,
|
|
572
|
+
ariaLabel: "Lock",
|
|
573
|
+
width: BUTTON_SIZE,
|
|
574
|
+
height: BUTTON_SIZE,
|
|
575
|
+
right: BUTTON_SPACE,
|
|
576
|
+
bottom: BUTTON_SPACE,
|
|
577
|
+
position: "absolute",
|
|
578
|
+
style: {
|
|
579
|
+
layout: { padding: [13, 13] },
|
|
580
|
+
icon: { width: 24, height: 24, opacity: 0.9 },
|
|
581
|
+
box: { color: "white", border: 1, borderColor: Black(0.6), round: 4, boxShadow: "none" },
|
|
582
|
+
hover: { color: "white" },
|
|
583
|
+
},
|
|
584
|
+
onClick: App.lock,
|
|
585
|
+
});
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
// A sheet from the bottom: content(box, sheet) creates its objects. Returns the sheet (sheet.close()).
|
|
589
|
+
App.openSheet = function (params = {}) {
|
|
590
|
+
|
|
591
|
+
const sheet = App.createPanel({
|
|
592
|
+
side: "bottom",
|
|
593
|
+
panelSize: params.height || App.SHEET_HEIGHT,
|
|
594
|
+
ariaLabel: params.ariaLabel || "Panel",
|
|
595
|
+
onClose: function (self) {
|
|
596
|
+
App.syncHistory();
|
|
597
|
+
if (params.onClose) params.onClose(self);
|
|
598
|
+
self.after(self.duration, () => self.remove());
|
|
599
|
+
},
|
|
600
|
+
}, { panel: { color: params.color || "white" } });
|
|
601
|
+
|
|
602
|
+
sheet.startBody();
|
|
603
|
+
if (params.content) params.content(sheet.getBody(), sheet);
|
|
604
|
+
sheet.endBody();
|
|
605
|
+
|
|
606
|
+
sheet.open();
|
|
607
|
+
return sheet;
|
|
608
|
+
|
|
609
|
+
};
|
|
610
|
+
// USAGE: App.openSheet({ height: 240, content: function (box, sheet) { Label({ text: "Hi" }); } })
|
|
611
|
+
|
|
612
|
+
// *** THE LOCK SCREEN: the page "lock" (pages/lock.js) over everything; the back keys do not close it.
|
|
613
|
+
|
|
614
|
+
App.lock = function () {
|
|
615
|
+
if (App.lockView) return;
|
|
616
|
+
const lockPage = App.getPage("lock");
|
|
617
|
+
if (!lockPage) return;
|
|
618
|
+
if (SidePanel.openedPanel) SidePanel.openedPanel.close();
|
|
619
|
+
App.lockView = createIn(App.frame, function () {
|
|
620
|
+
const view = VGroup({ align: "center center", color: App.colors.whitesmoke, clickable: 1 });
|
|
621
|
+
lockPage.create(view, {});
|
|
622
|
+
endGroup();
|
|
623
|
+
return view;
|
|
624
|
+
});
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
App.unlock = function () {
|
|
628
|
+
if (!App.lockView) return;
|
|
629
|
+
App.lockView.remove();
|
|
630
|
+
App.lockView = null;
|
|
631
|
+
};
|
|
632
|
+
|
|
633
|
+
// *** WAITING, SAVED DATA:
|
|
634
|
+
|
|
635
|
+
// task: a Promise, or a function that returns one. Returns the result of the task.
|
|
636
|
+
App.wait = async function (task) {
|
|
637
|
+
App.waitingScreen.open();
|
|
638
|
+
try {
|
|
639
|
+
const promise = (typeof task === "function") ? task() : task;
|
|
640
|
+
return await promise;
|
|
641
|
+
} finally {
|
|
642
|
+
App.waitingScreen.close();
|
|
643
|
+
}
|
|
644
|
+
};
|
|
645
|
+
// USAGE: const data = await App.wait(fetch(url).then((response) => response.json()));
|
|
646
|
+
|
|
647
|
+
App.save = function (name, value) {
|
|
648
|
+
basic.storage.save(AppSettings.storageKey + "-" + name, value);
|
|
649
|
+
};
|
|
650
|
+
|
|
651
|
+
App.load = function (name, defaultValue) {
|
|
652
|
+
return basic.storage.loadOr(AppSettings.storageKey + "-" + name, defaultValue);
|
|
653
|
+
};
|
|
654
|
+
// USAGE: App.save("tasks", list); const list = App.load("tasks", []);
|
|
655
|
+
|
|
656
|
+
// *** THE DEVICE:
|
|
657
|
+
|
|
658
|
+
// The notch and the home line of a phone, in design px (0 in a browser on a computer)
|
|
659
|
+
App.readSafeArea = function () {
|
|
660
|
+
const probe = Box(0, 0, 0, 0, { color: "transparent" });
|
|
661
|
+
probe.css = { paddingTop: "env(safe-area-inset-top)", paddingBottom: "env(safe-area-inset-bottom)" };
|
|
662
|
+
const style = getComputedStyle(probe.elem);
|
|
663
|
+
App.safeArea.top = withPageZoom(parseFloat(style.paddingTop) || 0);
|
|
664
|
+
App.safeArea.bottom = withPageZoom(parseFloat(style.paddingBottom) || 0);
|
|
665
|
+
probe.remove();
|
|
666
|
+
};
|
|
667
|
+
|
|
668
|
+
// Cordova calls the app after "deviceready"; Capacitor and a browser can start at once.
|
|
669
|
+
App.whenDeviceReady = function (func) {
|
|
670
|
+
if (window.cordova) {
|
|
671
|
+
document.addEventListener("deviceready", func, false);
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
func();
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
// The back button of Android, the back of the browser and Escape; a soft circle where the screen is tapped
|
|
678
|
+
App.listenDevice = function () {
|
|
679
|
+
document.addEventListener("backbutton", App.onDeviceBack, false); // Cordova
|
|
680
|
+
const capacitorApp = window.Capacitor && window.Capacitor.Plugins && window.Capacitor.Plugins.App;
|
|
681
|
+
if (capacitorApp) capacitorApp.addListener("backButton", App.onDeviceBack); // Capacitor (@capacitor/app)
|
|
682
|
+
window.addEventListener("popstate", App.onHistoryBack);
|
|
683
|
+
// (A Dialog, a list and a popover take their own Escape first: it does not come here.)
|
|
684
|
+
window.addEventListener("keydown", function (event) {
|
|
685
|
+
if (event.key == "Escape" && !event.defaultPrevented) App.goBack();
|
|
686
|
+
});
|
|
687
|
+
TapEffect.start();
|
|
688
|
+
};
|
|
689
|
+
|
|
690
|
+
// *** THE APP COLUMN: 600 design px, in the middle of a wide screen, under the notch
|
|
691
|
+
|
|
692
|
+
App.fitPage = function () {
|
|
693
|
+
page.fit(App.DESIGN_WIDTH, App.MAX_ZOOM_WIDTH);
|
|
694
|
+
// WHY: The components made for screen px take it as their scale: they keep their size on the screen.
|
|
695
|
+
basic.uiScale = 1 / page.zoom;
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
App.refreshFrame = function () {
|
|
699
|
+
App.fitPage();
|
|
700
|
+
App.readSafeArea();
|
|
701
|
+
App.frame.left = Math.max(0, (page.width - App.DESIGN_WIDTH) / 2);
|
|
702
|
+
App.frame.top = App.safeArea.top;
|
|
703
|
+
App.frame.height = page.height - App.safeArea.top - App.safeArea.bottom;
|
|
704
|
+
App.statusBar.left = App.frame.left;
|
|
705
|
+
App.statusBar.height = App.safeArea.top;
|
|
706
|
+
};
|
|
707
|
+
|
|
708
|
+
// *** START:
|
|
709
|
+
|
|
710
|
+
// A page file can run something when the app is ready (Ex: the badge of a tab).
|
|
711
|
+
App.whenStarted = function (func) {
|
|
712
|
+
App.startFunctions.push(func);
|
|
713
|
+
};
|
|
714
|
+
// USAGE: App.whenStarted(TaskList.refreshBadge);
|
|
715
|
+
|
|
716
|
+
App.start = function () {
|
|
717
|
+
|
|
718
|
+
page.color = App.colors.outside;
|
|
719
|
+
|
|
720
|
+
// BOX: The strip over the app under the notch of a phone
|
|
721
|
+
App.statusBar = Box(0, 0, App.DESIGN_WIDTH, 0, { color: Black(0.05) });
|
|
722
|
+
|
|
723
|
+
// BOX: The app column (the safe area)
|
|
724
|
+
App.frame = Box(0, 0, App.DESIGN_WIDTH, 100, { color: App.colors.background });
|
|
725
|
+
|
|
726
|
+
createIn(App.frame, function () {
|
|
727
|
+
|
|
728
|
+
// LAYER: The tabs (under the bars)
|
|
729
|
+
App.tabLayer = Box(0, 0, "100%", "100%", { color: "transparent" });
|
|
730
|
+
|
|
731
|
+
App.createTopBar();
|
|
732
|
+
App.createBottomBar();
|
|
733
|
+
|
|
734
|
+
// LAYER: The pages over the tabs (App.openPage)
|
|
735
|
+
App.pageLayer = Box(0, 0, "100%", "100%", { color: "transparent" });
|
|
736
|
+
|
|
737
|
+
// WAITING: App.wait() (over the pages)
|
|
738
|
+
App.waitingScreen = LoadingScreen({
|
|
739
|
+
opened: 0,
|
|
740
|
+
minDuration: 300,
|
|
741
|
+
fadeDuration: 0.2,
|
|
742
|
+
style: { box: { color: App.COVER_COLOR } },
|
|
743
|
+
});
|
|
744
|
+
|
|
745
|
+
});
|
|
746
|
+
|
|
747
|
+
App.refreshFrame();
|
|
748
|
+
App.frame.onPageResize(App.refreshFrame);
|
|
749
|
+
|
|
750
|
+
App.createMenu();
|
|
751
|
+
App.listenDevice();
|
|
752
|
+
App.showTab(AppSettings.startPage);
|
|
753
|
+
App.startFunctions.forEach((func) => func());
|
|
754
|
+
|
|
755
|
+
};
|
|
756
|
+
|
|
757
|
+
// basic.js calls start() when the page is loaded.
|
|
758
|
+
const start = function () {
|
|
759
|
+
|
|
760
|
+
App.fitPage();
|
|
761
|
+
|
|
762
|
+
// LAUNCH SCREEN: whitesmoke with the logo, until the app is ready (it fades out)
|
|
763
|
+
const LOGO_SIZE = 50;
|
|
764
|
+
const launchScreen = LoadingScreen({
|
|
765
|
+
iconFile: AppSettings.appIcon,
|
|
766
|
+
spinnerType: "none",
|
|
767
|
+
minDuration: App.LAUNCH_MIN_TIME,
|
|
768
|
+
fadeDuration: 0.2,
|
|
769
|
+
removeOnClose: 1,
|
|
770
|
+
zIndex: App.LAUNCH_LAYER,
|
|
771
|
+
style: { box: { color: AppSettings.colors.whitesmoke }, icon: { size: LOGO_SIZE, round: 0, marginBottom: 0 } },
|
|
772
|
+
});
|
|
773
|
+
|
|
774
|
+
App.whenDeviceReady(function () {
|
|
775
|
+
createIn(page, App.start);
|
|
776
|
+
launchScreen.close();
|
|
777
|
+
});
|
|
778
|
+
|
|
779
|
+
};
|