@akylas/nativescript 9.0.25 → 9.1.4
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/abortcontroller/abortsignal.js.map +1 -1
- package/abortcontroller/index.js.map +1 -1
- package/accessibility/accessibility-common.js.map +1 -1
- package/accessibility/accessibility-css-helper.js.map +1 -1
- package/accessibility/accessibility-properties.js.map +1 -1
- package/accessibility/accessibility-service-common.js.map +1 -1
- package/accessibility/accessibility-service.android.js.map +1 -1
- package/accessibility/accessibility-service.ios.js.map +1 -1
- package/accessibility/accessibility-types.js.map +1 -1
- package/accessibility/font-scale-common.js.map +1 -1
- package/accessibility/font-scale.android.js.map +1 -1
- package/accessibility/font-scale.ios.js.map +1 -1
- package/accessibility/index.android.js.map +1 -1
- package/accessibility/index.ios.js.map +1 -1
- package/animation-frame/animation-native.android.js.map +1 -1
- package/animation-frame/animation-native.ios.js.map +1 -1
- package/animation-frame/index.js.map +1 -1
- package/application/application-common.d.ts +199 -3
- package/application/application-common.js +425 -55
- package/application/application-common.js.map +1 -1
- package/application/application-interfaces.d.ts +67 -1
- package/application/application-interfaces.js.map +1 -1
- package/application/application-shims.js.map +1 -1
- package/application/application.android.d.ts +39 -0
- package/application/application.android.js +242 -17
- package/application/application.android.js.map +1 -1
- package/application/application.d.ts +161 -54
- package/application/application.ios.d.ts +189 -28
- package/application/application.ios.js +885 -379
- package/application/application.ios.js.map +1 -1
- package/application/helpers-common.d.ts +5 -0
- package/application/helpers-common.js +23 -1
- package/application/helpers-common.js.map +1 -1
- package/application/helpers.android.js.map +1 -1
- package/application/helpers.ios.js.map +1 -1
- package/application/index.android.js.map +1 -1
- package/application/index.ios.js.map +1 -1
- package/application/scene-delegate-bridge.d.ts +60 -0
- package/application/scene-delegate-bridge.js +138 -0
- package/application/scene-delegate-bridge.js.map +1 -0
- package/application-settings/application-settings-common.js.map +1 -1
- package/application-settings/index.android.js.map +1 -1
- package/application-settings/index.ios.js.map +1 -1
- package/bundle-entry-points.js.map +1 -1
- package/cli-hooks/before-checkForChanges.mjs +0 -11
- package/color/color-common.js +16 -5
- package/color/color-common.js.map +1 -1
- package/color/color-types.js.map +1 -1
- package/color/color-utils.d.ts +4 -1
- package/color/color-utils.js +14 -9
- package/color/color-utils.js.map +1 -1
- package/color/index.android.js.map +1 -1
- package/color/index.ios.js.map +1 -1
- package/color/known-colors.js.map +1 -1
- package/config/config.interface.d.ts +44 -2
- package/config/config.interface.js.map +1 -1
- package/config/index.js.map +1 -1
- package/connectivity/index.android.js.map +1 -1
- package/connectivity/index.ios.js.map +1 -1
- package/console/index.js.map +1 -1
- package/core-types/animation-types.js.map +1 -1
- package/core-types/index.d.ts +25 -2
- package/core-types/index.js +23 -0
- package/core-types/index.js.map +1 -1
- package/core-types/validators.js.map +1 -1
- package/css/CSS3Parser.js +3 -2
- package/css/CSS3Parser.js.map +1 -1
- package/css/CSSNativeScript.js.map +1 -1
- package/css/css-tree-parser.js +5 -1
- package/css/css-tree-parser.js.map +1 -1
- package/css/lib/parse/index.js +5 -1
- package/css/lib/parse/index.js.map +1 -1
- package/css/parser.js +20 -3
- package/css/parser.js.map +1 -1
- package/css/reworkcss.js.map +1 -1
- package/css/system-classes.d.ts +9 -0
- package/css/system-classes.js +23 -0
- package/css/system-classes.js.map +1 -1
- package/css-mediaquery/index.js +4 -4
- package/css-mediaquery/index.js.map +1 -1
- package/css-value/reworkcss-value.js.map +1 -1
- package/data/observable/index.d.ts +23 -0
- package/data/observable/index.js +50 -9
- package/data/observable/index.js.map +1 -1
- package/data/observable-array/index.js.map +1 -1
- package/data/virtual-array/index.js.map +1 -1
- package/debugger/InspectorBackendCommands.js.map +1 -1
- package/debugger/devtools-elements-interfaces.js.map +1 -1
- package/debugger/devtools-elements.common.js.map +1 -1
- package/debugger/devtools-elements.js.map +1 -1
- package/debugger/dom-types.js +31 -1
- package/debugger/dom-types.js.map +1 -1
- package/debugger/index.js.map +1 -1
- package/debugger/webinspector-css.js.map +1 -1
- package/debugger/webinspector-dom.js.map +1 -1
- package/debugger/webinspector-network.android.js.map +1 -1
- package/debugger/webinspector-network.ios.js.map +1 -1
- package/file-system/file-system-access.android.js.map +1 -1
- package/file-system/file-system-access.ios.js +21 -13
- package/file-system/file-system-access.ios.js.map +1 -1
- package/file-system/index.d.ts +3 -3
- package/file-system/index.js.map +1 -1
- package/fps-meter/fps-native.android.js.map +1 -1
- package/fps-meter/fps-native.ios.js.map +1 -1
- package/fps-meter/index.js.map +1 -1
- package/global-types.d.ts +39 -33
- package/globals/global-utils.d.ts +6 -1
- package/globals/global-utils.js +10 -5
- package/globals/global-utils.js.map +1 -1
- package/globals/index.js +18 -5
- package/globals/index.js.map +1 -1
- package/globals/polyfills/polyfill-xhr.js.map +1 -1
- package/globals/polyfills/utils.js +2 -0
- package/globals/polyfills/utils.js.map +1 -1
- package/http/http-interfaces.js.map +1 -1
- package/http/http-request/http-request-common.js.map +1 -1
- package/http/http-request/index.android.js.map +1 -1
- package/http/http-request/index.ios.js.map +1 -1
- package/http/http-request-internal/http-request-internal-common.d.ts +5 -1
- package/http/http-request-internal/http-request-internal-common.js +10 -0
- package/http/http-request-internal/http-request-internal-common.js.map +1 -1
- package/http/http-request-internal/index.android.d.ts +7 -1
- package/http/http-request-internal/index.android.js +2 -2
- package/http/http-request-internal/index.android.js.map +1 -1
- package/http/http-request-internal/index.ios.d.ts +7 -1
- package/http/http-request-internal/index.ios.js +2 -2
- package/http/http-request-internal/index.ios.js.map +1 -1
- package/http/index.js.map +1 -1
- package/image-asset/image-asset-common.js.map +1 -1
- package/image-asset/index.android.js.map +1 -1
- package/image-asset/index.ios.js.map +1 -1
- package/image-source/image-source-common.js.map +1 -1
- package/image-source/index.android.js.map +1 -1
- package/image-source/index.ios.js.map +1 -1
- package/index.d.ts +2 -0
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/inspector_modules.js +1 -1
- package/inspector_modules.js.map +1 -1
- package/matrix/index.js.map +1 -1
- package/media-query-list/index.js.map +1 -1
- package/module-name-resolver/helpers.js.map +1 -1
- package/module-name-resolver/index.js.map +1 -1
- package/module-name-resolver/non-bundle-workflow-compat.js.map +1 -1
- package/module-name-resolver/qualifier-matcher/index.js.map +1 -1
- package/native-window/index.d.ts +426 -0
- package/native-window/index.js +4 -0
- package/native-window/index.js.map +1 -0
- package/native-window/native-window-common.d.ts +153 -0
- package/native-window/native-window-common.js +340 -0
- package/native-window/native-window-common.js.map +1 -0
- package/native-window/native-window-interfaces.d.ts +186 -0
- package/native-window/native-window-interfaces.js +90 -0
- package/native-window/native-window-interfaces.js.map +1 -0
- package/native-window/native-window.android.d.ts +59 -0
- package/native-window/native-window.android.js +175 -0
- package/native-window/native-window.android.js.map +1 -0
- package/native-window/native-window.ios.d.ts +61 -0
- package/native-window/native-window.ios.js +220 -0
- package/native-window/native-window.ios.js.map +1 -0
- package/native-window/window-base.d.ts +111 -0
- package/native-window/window-base.js +91 -0
- package/native-window/window-base.js.map +1 -0
- package/package.json +3 -2
- package/platform/common.js.map +1 -1
- package/platform/device/index.android.js.map +1 -1
- package/platform/device/index.ios.js.map +1 -1
- package/platform/index.js.map +1 -1
- package/platform/screen/index.android.js.map +1 -1
- package/platform/screen/index.ios.d.ts +1 -0
- package/platform/screen/index.ios.js +6 -2
- package/platform/screen/index.ios.js.map +1 -1
- package/platforms/android/java/org/nativescript/widgets/BorderDrawable.java +5 -6
- package/platforms/android/java/org/nativescript/widgets/BoxShadowDrawable.java +0 -6
- package/platforms/android/java/org/nativescript/widgets/CommonLayoutParams.java +56 -0
- package/platforms/android/java/org/nativescript/widgets/ContentLayout.java +20 -4
- package/platforms/android/java/org/nativescript/widgets/CustomTransition.java +26 -9
- package/platforms/android/java/org/nativescript/widgets/FlexLine.java +3 -3
- package/platforms/android/java/org/nativescript/widgets/FlexboxLayout.java +194 -731
- package/platforms/android/java/org/nativescript/widgets/ImageView.java +2 -2
- package/platforms/android/java/org/nativescript/widgets/Utils.java +37 -9
- package/platforms/android/java/org/nativescript/widgets/ViewHelper.java +78 -0
- package/platforms/android/java/org/nativescript/widgets/image/BitmapOwner.java +1 -4
- package/platforms/android/java/org/nativescript/widgets/image/Worker.java +99 -76
- package/platforms/android/native-api-usage.json +11 -0
- package/platforms/ios/src/NativeScriptMainWindow.swift +72 -39
- package/profiling/index.js.map +1 -1
- package/references.d.ts +5 -2
- package/text/formatted-string.js.map +1 -1
- package/text/index.android.js.map +1 -1
- package/text/index.ios.js.map +1 -1
- package/text/span.js.map +1 -1
- package/text/text-common.js +1 -1
- package/text/text-common.js.map +1 -1
- package/timer/index.android.js.map +1 -1
- package/timer/index.ios.js.map +1 -1
- package/trace/index.d.ts +2 -2
- package/trace/index.js.map +1 -1
- package/ui/action-bar/action-bar-common.js.map +1 -1
- package/ui/action-bar/index.android.js +2 -7
- package/ui/action-bar/index.android.js.map +1 -1
- package/ui/action-bar/index.d.ts +13 -1
- package/ui/action-bar/index.ios.js +26 -0
- package/ui/action-bar/index.ios.js.map +1 -1
- package/ui/activity-indicator/activity-indicator-common.js.map +1 -1
- package/ui/activity-indicator/index.android.js.map +1 -1
- package/ui/activity-indicator/index.ios.js.map +1 -1
- package/ui/animation/animation-common.js.map +1 -1
- package/ui/animation/animation-interfaces.js.map +1 -1
- package/ui/animation/animation-shared.js.map +1 -1
- package/ui/animation/animation-types.js.map +1 -1
- package/ui/animation/index.android.js.map +1 -1
- package/ui/animation/index.ios.js.map +1 -1
- package/ui/animation/keyframe-animation.d.ts +3 -1
- package/ui/animation/keyframe-animation.js +72 -3
- package/ui/animation/keyframe-animation.js.map +1 -1
- package/ui/builder/binding-builder.js.map +1 -1
- package/ui/builder/component-builder/index.js.map +1 -1
- package/ui/builder/index.js +9 -1
- package/ui/builder/index.js.map +1 -1
- package/ui/button/button-common.js.map +1 -1
- package/ui/button/index.android.js.map +1 -1
- package/ui/button/index.ios.js.map +1 -1
- package/ui/content-view/index.js.map +1 -1
- package/ui/core/bindable/bindable-expressions.js.map +1 -1
- package/ui/core/bindable/bindable-resources.js.map +1 -1
- package/ui/core/bindable/bindable-types.js.map +1 -1
- package/ui/core/bindable/index.js +2 -1
- package/ui/core/bindable/index.js.map +1 -1
- package/ui/core/control-state-change/index.android.js.map +1 -1
- package/ui/core/control-state-change/index.ios.js.map +1 -1
- package/ui/core/properties/index.d.ts +37 -2
- package/ui/core/properties/index.js +205 -29
- package/ui/core/properties/index.js.map +1 -1
- package/ui/core/properties/property-shared.js +11 -2
- package/ui/core/properties/property-shared.js.map +1 -1
- package/ui/core/view/index.android.d.ts +5 -0
- package/ui/core/view/index.android.js +78 -6
- package/ui/core/view/index.android.js.map +1 -1
- package/ui/core/view/index.d.ts +58 -1
- package/ui/core/view/index.ios.d.ts +1 -0
- package/ui/core/view/index.ios.js +48 -11
- package/ui/core/view/index.ios.js.map +1 -1
- package/ui/core/view/view-common.d.ts +37 -0
- package/ui/core/view/view-common.js +81 -0
- package/ui/core/view/view-common.js.map +1 -1
- package/ui/core/view/view-helper/index.android.d.ts +1 -0
- package/ui/core/view/view-helper/index.android.js +8 -0
- package/ui/core/view/view-helper/index.android.js.map +1 -1
- package/ui/core/view/view-helper/index.d.ts +46 -0
- package/ui/core/view/view-helper/index.ios.d.ts +42 -0
- package/ui/core/view/view-helper/index.ios.js +170 -5
- package/ui/core/view/view-helper/index.ios.js.map +1 -1
- package/ui/core/view/view-helper/view-helper-common.js +21 -3
- package/ui/core/view/view-helper/view-helper-common.js.map +1 -1
- package/ui/core/view/view-helper/view-helper-shared.js.map +1 -1
- package/ui/core/view/view-interfaces.js.map +1 -1
- package/ui/core/view-base/index.js +75 -36
- package/ui/core/view-base/index.js.map +1 -1
- package/ui/core/view-base/utils.js.map +1 -1
- package/ui/core/weak-event-listener/index.js.map +1 -1
- package/ui/date-picker/date-picker-common.js.map +1 -1
- package/ui/date-picker/index.android.js.map +1 -1
- package/ui/date-picker/index.ios.js.map +1 -1
- package/ui/dialogs/dialogs-common.js.map +1 -1
- package/ui/dialogs/index.android.js +5 -5
- package/ui/dialogs/index.android.js.map +1 -1
- package/ui/dialogs/index.ios.js.map +1 -1
- package/ui/editable-text-base/editable-text-base-common.js.map +1 -1
- package/ui/editable-text-base/index.android.js +2 -1
- package/ui/editable-text-base/index.android.js.map +1 -1
- package/ui/editable-text-base/index.ios.js.map +1 -1
- package/ui/embedding/index.android.js.map +1 -1
- package/ui/embedding/index.ios.js.map +1 -1
- package/ui/enums/enums.js.map +1 -1
- package/ui/enums/index.js.map +1 -1
- package/ui/frame/activity.android.js.map +1 -1
- package/ui/frame/fragment.android.js.map +1 -1
- package/ui/frame/fragment.ios.js.map +1 -1
- package/ui/frame/fragment.transitions.android.d.ts +4 -4
- package/ui/frame/fragment.transitions.android.js +95 -78
- package/ui/frame/fragment.transitions.android.js.map +1 -1
- package/ui/frame/fragment.transitions.types.js.map +1 -1
- package/ui/frame/frame-common.d.ts +14 -2
- package/ui/frame/frame-common.js +51 -24
- package/ui/frame/frame-common.js.map +1 -1
- package/ui/frame/frame-constants.d.ts +9 -0
- package/ui/frame/frame-constants.js +10 -0
- package/ui/frame/frame-constants.js.map +1 -0
- package/ui/frame/frame-helper-for-android.d.ts +2 -2
- package/ui/frame/frame-helper-for-android.js +14 -5
- package/ui/frame/frame-helper-for-android.js.map +1 -1
- package/ui/frame/frame-helpers.js.map +1 -1
- package/ui/frame/frame-interfaces.d.ts +1 -1
- package/ui/frame/frame-interfaces.js.map +1 -1
- package/ui/frame/frame-stack.d.ts +22 -1
- package/ui/frame/frame-stack.js +43 -5
- package/ui/frame/frame-stack.js.map +1 -1
- package/ui/frame/index.android.d.ts +1 -2
- package/ui/frame/index.android.js +152 -53
- package/ui/frame/index.android.js.map +1 -1
- package/ui/frame/index.d.ts +15 -5
- package/ui/frame/index.ios.d.ts +1 -1
- package/ui/frame/index.ios.js +86 -26
- package/ui/frame/index.ios.js.map +1 -1
- package/ui/gestures/gestures-common.js.map +1 -1
- package/ui/gestures/gestures-types.d.ts +2 -0
- package/ui/gestures/gestures-types.js.map +1 -1
- package/ui/gestures/index.android.d.ts +1 -1
- package/ui/gestures/index.android.js +159 -124
- package/ui/gestures/index.android.js.map +1 -1
- package/ui/gestures/index.ios.js +30 -1
- package/ui/gestures/index.ios.js.map +1 -1
- package/ui/gestures/touch-manager.d.ts +1 -2
- package/ui/gestures/touch-manager.js +79 -50
- package/ui/gestures/touch-manager.js.map +1 -1
- package/ui/html-view/html-view-common.js.map +1 -1
- package/ui/html-view/index.android.js.map +1 -1
- package/ui/html-view/index.ios.js.map +1 -1
- package/ui/image/image-common.js +1 -1
- package/ui/image/image-common.js.map +1 -1
- package/ui/image/index.android.js +13 -1
- package/ui/image/index.android.js.map +1 -1
- package/ui/image/index.ios.js.map +1 -1
- package/ui/image/symbol-effects-common.js.map +1 -1
- package/ui/image/symbol-effects.android.js.map +1 -1
- package/ui/image/symbol-effects.ios.js.map +1 -1
- package/ui/image-cache/image-cache-common.js.map +1 -1
- package/ui/image-cache/index.android.js.map +1 -1
- package/ui/image-cache/index.ios.js.map +1 -1
- package/ui/index.d.ts +1 -1
- package/ui/index.js.map +1 -1
- package/ui/label/index.android.js.map +1 -1
- package/ui/label/index.ios.js.map +1 -1
- package/ui/layouts/absolute-layout/absolute-layout-common.js.map +1 -1
- package/ui/layouts/absolute-layout/index.android.js.map +1 -1
- package/ui/layouts/absolute-layout/index.ios.js +3 -0
- package/ui/layouts/absolute-layout/index.ios.js.map +1 -1
- package/ui/layouts/dock-layout/dock-layout-common.js.map +1 -1
- package/ui/layouts/dock-layout/index.android.js.map +1 -1
- package/ui/layouts/dock-layout/index.ios.js +3 -0
- package/ui/layouts/dock-layout/index.ios.js.map +1 -1
- package/ui/layouts/flexbox-layout/flexbox-layout-common.d.ts +7 -0
- package/ui/layouts/flexbox-layout/flexbox-layout-common.js +18 -0
- package/ui/layouts/flexbox-layout/flexbox-layout-common.js.map +1 -1
- package/ui/layouts/flexbox-layout/index.android.d.ts +5 -0
- package/ui/layouts/flexbox-layout/index.android.js +15 -0
- package/ui/layouts/flexbox-layout/index.android.js.map +1 -1
- package/ui/layouts/flexbox-layout/index.d.ts +19 -1
- package/ui/layouts/flexbox-layout/index.ios.d.ts +2 -0
- package/ui/layouts/flexbox-layout/index.ios.js +246 -195
- package/ui/layouts/flexbox-layout/index.ios.js.map +1 -1
- package/ui/layouts/grid-layout/grid-layout-common.js.map +1 -1
- package/ui/layouts/grid-layout/index.android.js.map +1 -1
- package/ui/layouts/grid-layout/index.ios.js +3 -0
- package/ui/layouts/grid-layout/index.ios.js.map +1 -1
- package/ui/layouts/index.js.map +1 -1
- package/ui/layouts/layout-base-common.d.ts +1 -0
- package/ui/layouts/layout-base-common.js +23 -1
- package/ui/layouts/layout-base-common.js.map +1 -1
- package/ui/layouts/layout-base.android.js.map +1 -1
- package/ui/layouts/layout-base.ios.js.map +1 -1
- package/ui/layouts/liquid-glass/index.android.js.map +1 -1
- package/ui/layouts/liquid-glass/index.ios.d.ts +0 -1
- package/ui/layouts/liquid-glass/index.ios.js +2 -43
- package/ui/layouts/liquid-glass/index.ios.js.map +1 -1
- package/ui/layouts/liquid-glass/liquid-glass-common.js.map +1 -1
- package/ui/layouts/liquid-glass-container/index.android.js.map +1 -1
- package/ui/layouts/liquid-glass-container/index.ios.d.ts +0 -1
- package/ui/layouts/liquid-glass-container/index.ios.js +2 -43
- package/ui/layouts/liquid-glass-container/index.ios.js.map +1 -1
- package/ui/layouts/liquid-glass-container/liquid-glass-container-common.js.map +1 -1
- package/ui/layouts/root-layout/index.android.js.map +1 -1
- package/ui/layouts/root-layout/index.ios.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-common.js.map +1 -1
- package/ui/layouts/root-layout/root-layout-stack.js.map +1 -1
- package/ui/layouts/stack-layout/index.android.js.map +1 -1
- package/ui/layouts/stack-layout/index.ios.js +3 -0
- package/ui/layouts/stack-layout/index.ios.js.map +1 -1
- package/ui/layouts/stack-layout/stack-layout-common.js.map +1 -1
- package/ui/layouts/wrap-layout/index.android.js.map +1 -1
- package/ui/layouts/wrap-layout/index.ios.js +3 -0
- package/ui/layouts/wrap-layout/index.ios.js.map +1 -1
- package/ui/layouts/wrap-layout/wrap-layout-common.js.map +1 -1
- package/ui/list-picker/index.android.js.map +1 -1
- package/ui/list-picker/index.ios.js.map +1 -1
- package/ui/list-picker/list-picker-common.js.map +1 -1
- package/ui/list-view/index.android.js +2 -2
- package/ui/list-view/index.android.js.map +1 -1
- package/ui/list-view/index.d.ts +47 -3
- package/ui/list-view/index.ios.d.ts +13 -3
- package/ui/list-view/index.ios.js +132 -41
- package/ui/list-view/index.ios.js.map +1 -1
- package/ui/list-view/list-view-common.d.ts +19 -0
- package/ui/list-view/list-view-common.js +30 -0
- package/ui/list-view/list-view-common.js.map +1 -1
- package/ui/page/events.js.map +1 -1
- package/ui/page/index.android.js.map +1 -1
- package/ui/page/index.d.ts +1 -1
- package/ui/page/index.ios.d.ts +3 -1
- package/ui/page/index.ios.js +26 -17
- package/ui/page/index.ios.js.map +1 -1
- package/ui/page/page-common.d.ts +5 -1
- package/ui/page/page-common.js.map +1 -1
- package/ui/placeholder/index.android.js.map +1 -1
- package/ui/placeholder/index.js.map +1 -1
- package/ui/placeholder/placeholder-common.js.map +1 -1
- package/ui/progress/index.android.js.map +1 -1
- package/ui/progress/index.ios.js.map +1 -1
- package/ui/progress/progress-common.js.map +1 -1
- package/ui/proxy-view-container/index.js.map +1 -1
- package/ui/repeater/index.d.ts +2 -1
- package/ui/repeater/index.js.map +1 -1
- package/ui/scroll-view/index.android.d.ts +2 -1
- package/ui/scroll-view/index.android.js +4 -1
- package/ui/scroll-view/index.android.js.map +1 -1
- package/ui/scroll-view/index.d.ts +53 -0
- package/ui/scroll-view/index.ios.d.ts +13 -1
- package/ui/scroll-view/index.ios.js +100 -20
- package/ui/scroll-view/index.ios.js.map +1 -1
- package/ui/scroll-view/scroll-view-common.d.ts +13 -0
- package/ui/scroll-view/scroll-view-common.js +27 -0
- package/ui/scroll-view/scroll-view-common.js.map +1 -1
- package/ui/search-bar/index.android.js.map +1 -1
- package/ui/search-bar/index.ios.js.map +1 -1
- package/ui/search-bar/search-bar-common.js.map +1 -1
- package/ui/segmented-bar/index.android.js.map +1 -1
- package/ui/segmented-bar/index.ios.js.map +1 -1
- package/ui/segmented-bar/segmented-bar-common.d.ts +5 -1
- package/ui/segmented-bar/segmented-bar-common.js +6 -1
- package/ui/segmented-bar/segmented-bar-common.js.map +1 -1
- package/ui/slider/index.android.js.map +1 -1
- package/ui/slider/index.ios.js.map +1 -1
- package/ui/slider/slider-common.js.map +1 -1
- package/ui/split-view/index.android.js.map +1 -1
- package/ui/split-view/index.ios.js.map +1 -1
- package/ui/split-view/split-view-common.js.map +1 -1
- package/ui/styling/background-common.d.ts +2 -0
- package/ui/styling/background-common.js +8 -0
- package/ui/styling/background-common.js.map +1 -1
- package/ui/styling/background.android.d.ts +4 -1
- package/ui/styling/background.android.js +5 -2
- package/ui/styling/background.android.js.map +1 -1
- package/ui/styling/background.d.ts +1 -1
- package/ui/styling/background.ios.js +9 -2
- package/ui/styling/background.ios.js.map +1 -1
- package/ui/styling/box-shadow.js.map +1 -1
- package/ui/styling/clip-path-function.js.map +1 -1
- package/ui/styling/converters.js.map +1 -1
- package/ui/styling/css-animation-parser.js.map +1 -1
- package/ui/styling/css-selector.d.ts +60 -13
- package/ui/styling/css-selector.js +311 -50
- package/ui/styling/css-selector.js.map +1 -1
- package/ui/styling/css-shadow.js.map +1 -1
- package/ui/styling/css-stroke.js.map +1 -1
- package/ui/styling/css-transform.js.map +1 -1
- package/ui/styling/css-utils.d.ts +16 -0
- package/ui/styling/css-utils.js +121 -7
- package/ui/styling/css-utils.js.map +1 -1
- package/ui/styling/font-common.js.map +1 -1
- package/ui/styling/font-interfaces.js.map +1 -1
- package/ui/styling/font.android.js.map +1 -1
- package/ui/styling/font.ios.js.map +1 -1
- package/ui/styling/length-shared.d.ts +2 -0
- package/ui/styling/length-shared.js +29 -2
- package/ui/styling/length-shared.js.map +1 -1
- package/ui/styling/linear-gradient.js.map +1 -1
- package/ui/styling/style/index.d.ts +16 -0
- package/ui/styling/style/index.js +1 -0
- package/ui/styling/style/index.js.map +1 -1
- package/ui/styling/style-properties.d.ts +5 -0
- package/ui/styling/style-properties.js +172 -101
- package/ui/styling/style-properties.js.map +1 -1
- package/ui/styling/style-scope.d.ts +24 -3
- package/ui/styling/style-scope.js +455 -63
- package/ui/styling/style-scope.js.map +1 -1
- package/ui/styling/styling-profile.js.map +1 -1
- package/ui/styling/styling-shared.js.map +1 -1
- package/ui/switch/index.android.js.map +1 -1
- package/ui/switch/index.ios.js +5 -1
- package/ui/switch/index.ios.js.map +1 -1
- package/ui/switch/switch-common.js.map +1 -1
- package/ui/tab-view/index.android.js +4 -1
- package/ui/tab-view/index.android.js.map +1 -1
- package/ui/tab-view/index.d.ts +5 -3
- package/ui/tab-view/index.ios.d.ts +2 -1
- package/ui/tab-view/index.ios.js +81 -18
- package/ui/tab-view/index.ios.js.map +1 -1
- package/ui/tab-view/tab-view-common.d.ts +6 -1
- package/ui/tab-view/tab-view-common.js +17 -1
- package/ui/tab-view/tab-view-common.js.map +1 -1
- package/ui/text-base/formatted-string.js.map +1 -1
- package/ui/text-base/index.android.js +5 -8
- package/ui/text-base/index.android.js.map +1 -1
- package/ui/text-base/index.ios.d.ts +3 -0
- package/ui/text-base/index.ios.js +25 -3
- package/ui/text-base/index.ios.js.map +1 -1
- package/ui/text-base/span.js.map +1 -1
- package/ui/text-base/text-base-common.js.map +1 -1
- package/ui/text-field/index.android.js.map +1 -1
- package/ui/text-field/index.ios.js +13 -5
- package/ui/text-field/index.ios.js.map +1 -1
- package/ui/text-field/text-field-common.js.map +1 -1
- package/ui/text-view/index.android.js.map +1 -1
- package/ui/text-view/index.ios.js.map +1 -1
- package/ui/text-view/text-view-common.js.map +1 -1
- package/ui/time-picker/index.android.js.map +1 -1
- package/ui/time-picker/index.ios.js.map +1 -1
- package/ui/time-picker/time-picker-common.js.map +1 -1
- package/ui/transition/fade-transition.android.js.map +1 -1
- package/ui/transition/fade-transition.ios.js.map +1 -1
- package/ui/transition/flip-transition.android.js.map +1 -1
- package/ui/transition/index.android.js.map +1 -1
- package/ui/transition/index.d.ts +2 -1
- package/ui/transition/index.ios.js.map +1 -1
- package/ui/transition/modal-transition.android.js.map +1 -1
- package/ui/transition/modal-transition.ios.js +33 -5
- package/ui/transition/modal-transition.ios.js.map +1 -1
- package/ui/transition/page-transition.android.d.ts +4 -0
- package/ui/transition/page-transition.android.js +174 -45
- package/ui/transition/page-transition.android.js.map +1 -1
- package/ui/transition/page-transition.ios.d.ts +5 -0
- package/ui/transition/page-transition.ios.js +298 -36
- package/ui/transition/page-transition.ios.js.map +1 -1
- package/ui/transition/shared-transition-helper.android.d.ts +3 -0
- package/ui/transition/shared-transition-helper.android.js +9 -0
- package/ui/transition/shared-transition-helper.android.js.map +1 -1
- package/ui/transition/shared-transition-helper.d.ts +7 -0
- package/ui/transition/shared-transition-helper.ios.d.ts +48 -0
- package/ui/transition/shared-transition-helper.ios.js +977 -95
- package/ui/transition/shared-transition-helper.ios.js.map +1 -1
- package/ui/transition/shared-transition.d.ts +134 -0
- package/ui/transition/shared-transition.js +90 -2
- package/ui/transition/shared-transition.js.map +1 -1
- package/ui/transition/slide-transition.android.js.map +1 -1
- package/ui/transition/slide-transition.ios.js.map +1 -1
- package/ui/utils.android.js.map +1 -1
- package/ui/utils.d.ts +2 -0
- package/ui/utils.ios.js.map +1 -1
- package/ui/web-view/index.android.js.map +1 -1
- package/ui/web-view/index.ios.js.map +1 -1
- package/ui/web-view/web-view-common.js.map +1 -1
- package/ui/web-view/web-view-interfaces.js.map +1 -1
- package/utils/animation-helpers.js.map +1 -1
- package/utils/common.js.map +1 -1
- package/utils/constants.android.js.map +1 -1
- package/utils/constants.ios.js.map +1 -1
- package/utils/debug-source.js.map +1 -1
- package/utils/debug.js.map +1 -1
- package/utils/index.android.js.map +1 -1
- package/utils/index.ios.js.map +1 -1
- package/utils/layout-helper/index.android.js.map +1 -1
- package/utils/layout-helper/index.ios.js +11 -3
- package/utils/layout-helper/index.ios.js.map +1 -1
- package/utils/layout-helper/layout-helper-common.js.map +1 -1
- package/utils/layout-helper/layout-helper-shared.js.map +1 -1
- package/utils/lazy.js.map +1 -1
- package/utils/macrotask-scheduler.js.map +1 -1
- package/utils/mainthread-helper.android.js.map +1 -1
- package/utils/mainthread-helper.ios.js.map +1 -1
- package/utils/module-merge.js.map +1 -1
- package/utils/native-helper-for-android.js +6 -2
- package/utils/native-helper-for-android.js.map +1 -1
- package/utils/native-helper.android.d.ts +66 -2
- package/utils/native-helper.android.js.map +1 -1
- package/utils/native-helper.d.ts +2 -2
- package/utils/native-helper.ios.d.ts +52 -2
- package/utils/native-helper.ios.js +35 -5
- package/utils/native-helper.ios.js.map +1 -1
- package/utils/native-helper.types.d.ts +2 -0
- package/utils/number-utils.js.map +1 -1
- package/utils/platform-check.d.ts +1 -1
- package/utils/platform-check.js.map +1 -1
- package/utils/shared.js.map +1 -1
- package/utils/types.js.map +1 -1
- package/utils/utils-shared.js.map +1 -1
- package/wgc/atob.js.map +1 -1
- package/wgc/btoa.js.map +1 -1
- package/wgc/crypto/SubtleCrypto.js.map +1 -1
- package/wgc/crypto/index.d.ts +1 -1
- package/wgc/crypto/index.js +12 -8
- package/wgc/crypto/index.js.map +1 -1
- package/wgc/index.js.map +1 -1
- package/xhr/index.js.map +1 -1
- package/xml/index.js.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-common.js","sourceRoot":"","sources":["../../../../packages/core/application/application-common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAA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GAAG,CAAC;IACjB,CAAC;;AAnjBD,uEAAuE;AACvE;;GAEG;AACI,oBAAE,GAA4B,YAAY,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,AAA9D,CAA+D;AACxE;;GAEG;AACI,sBAAI,GAA4B,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,AAAhE,CAAiE;AAC5E;;GAEG;AACI,qBAAG,GAA6B,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,AAAhE,CAAiE;AAC3E;;GAEG;AACI,wBAAM,GAAgC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,AAAtE,CAAuE;AACpF;;GAEG;AACI,8BAAY,GAAsC,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,AAAlF,CAAmF;AAmM5F;IADT,OAAO;qDAaP;AAGD;IADC,OAAO;uDAyBP;AAwTF,2BAA2B,CAAC,GAAG,EAAE;IAChC,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,kBAAkB,EAAE,CAAC,CAAC;IACjE,iBAAiB,CAAC,EAAE,CAAC,oBAAoB,EAAE,CAAC,IAAI,EAAE,EAAE;QACnD,YAAY,CAAC,SAAS,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
1
|
+
{"version":3,"file":"application-common.js","sourceRoot":"","sources":["../../../../packages/core/application/application-common.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AACjC,OAAO,EAAE,kBAAkB,EAAE,2BAA2B,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAA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AAC;IAED,IAAI,cAAc;QACjB,OAAO,IAAI,CAAC,GAAG,CAAC;IACjB,CAAC;;AAh+BD,uEAAuE;AACvE;;GAEG;AACI,oBAAE,GAA4B,YAAY,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,AAA9D,CAA+D;AACxE;;GAEG;AACI,sBAAI,GAA4B,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,AAAhE,CAAiE;AAC5E;;GAEG;AACI,qBAAG,GAA6B,YAAY,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC,AAAhE,CAAiE;AAC3E;;GAEG;AACI,wBAAM,GAAgC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,AAAtE,CAAuE;AACpF;;GAEG;AACI,8BAAY,GAAsC,YAAY,CAAC,YAAY,CAAC,IAAI,CAAC,YAAY,CAAC,AAAlF,CAAmF;AAsmB5F;IADT,OAAO;qDAeP;AAGD;IADC,OAAO;uDAyBP;AAgUF,2BAA2B,CAAC,GAAG,EAAE;IAChC,iBAAiB,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,kBAAkB,EAAE,CAAC,CAAC;IACjE,iBAAiB,CAAC,EAAE,CAAC,oBAAoB,EAAE,CAAC,IAAI,EAAE,EAAE;QACnD,YAAY,CAAC,SAAS,CAAC,CAAC;IACzB,CAAC,CAAC,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["import { CoreTypes } from '../core-types';\nimport { CSSUtils } from '../css/system-classes';\nimport { Device, Screen } from '../platform';\nimport { profile } from '../profiling';\nimport { Trace } from '../trace';\nimport { clearResolverCache, prepareAppForModuleResolver, _setResolver } from '../module-name-resolver/helpers';\nimport { Builder } from '../ui/builder';\nimport * as bindableResources from '../ui/core/bindable/bindable-resources';\nimport type { View } from '../ui/core/view';\nimport type { Frame } from '../ui/frame';\nimport type { NavigationEntry } from '../ui/frame/frame-interfaces';\nimport type { StyleScope } from '../ui/styling/style-scope';\nimport type { AndroidApplication as AndroidApplicationType, iOSApplication as iOSApplicationType } from '.';\nimport type { ApplicationEventData, CssChangedEventData, DiscardedErrorEventData, FontScaleChangedEventData, InitRootViewEventData, LaunchEventData, LoadAppCSSEventData, NativeScriptError, OrientationChangedEventData, SystemAppearanceChangedEventData, LayoutDirectionChangedEventData, UnhandledErrorEventData, SceneOpenURLContextsEventData, SceneContinueUserActivityEventData, ScenePerformActionForShortcutItemEventData } from './application-interfaces';\nimport { getActiveWindow, getAppMainEntry, getAutoSystemAppearanceChanged, isAppInBackground, setActiveWindow, setAppInBackground, setAppMainEntry, setAutoSystemAppearanceChanged } from './helpers-common';\nimport { getNativeScriptGlobals } from '../globals/global-utils';\nimport { SDK_VERSION } from '../utils/constants';\nimport type { NativeWindow, NativeWindowEventData, PrimaryWindowChangedEventData, WindowBase, WindowCloseEventData, WindowContentRequest, WindowContentResolver, WindowLayoutDirectionChangedEventData, WindowOpenEventData, WindowOpenOptions, WindowOrientationChangedEventData, WindowRole, WindowSystemAppearanceChangedEventData } from '../native-window';\nimport { NativeWindowEvents, WindowEvents } from '../native-window/native-window-interfaces';\n\nconst ORIENTATION_CSS_CLASSES = CSSUtils.ORIENTATION_CSS_CLASSES;\nconst SYSTEM_APPEARANCE_CSS_CLASSES = CSSUtils.SYSTEM_APPEARANCE_CSS_CLASSES;\nconst LAYOUT_DIRECTION_CSS_CLASSES = CSSUtils.LAYOUT_DIRECTION_CSS_CLASSES;\n\nconst globalEvents = getNativeScriptGlobals().events;\n\n// Scene lifecycle event names\n/**\n * @deprecated Use `NativeWindowEvents` from `@nativescript/core/native-window` instead.\n */\nexport const SceneEvents = {\n\t/** @deprecated Use `NativeWindowEvents.sceneWillConnect` instead. */\n\tsceneWillConnect: 'sceneWillConnect',\n\t/** @deprecated Use `NativeWindowEvents.sceneDidActivate` instead. */\n\tsceneDidActivate: 'sceneDidActivate',\n\t/** @deprecated Use `NativeWindowEvents.sceneWillResignActive` instead. */\n\tsceneWillResignActive: 'sceneWillResignActive',\n\t/** @deprecated Use `NativeWindowEvents.sceneWillEnterForeground` instead. */\n\tsceneWillEnterForeground: 'sceneWillEnterForeground',\n\t/** @deprecated Use `NativeWindowEvents.sceneDidEnterBackground` instead. */\n\tsceneDidEnterBackground: 'sceneDidEnterBackground',\n\t/** @deprecated Use `NativeWindowEvents.sceneDidDisconnect` instead. */\n\tsceneDidDisconnect: 'sceneDidDisconnect',\n\t/** @deprecated Use the Application 'windowOpen' event and NativeWindow.setContent() instead. */\n\tsceneContentSetup: 'sceneContentSetup',\n};\n\nexport type SceneEventName = (typeof SceneEvents)[keyof typeof SceneEvents];\n\n// helper interface to correctly type Application event handlers\ninterface ApplicationEvents {\n\toff(eventNames: string, callback?: any, thisArg?: any): void;\n\tnotify<T = ApplicationEventData>(eventData: T): void;\n\thasListeners(eventName: string): boolean;\n\n\tonce(eventNames: string, callback: (args: ApplicationEventData) => void, thisArg?: any): void;\n\ton(eventNames: string, callback: (args: ApplicationEventData) => void, thisArg?: any): void;\n\t/**\n\t * This event is raised when application css is changed.\n\t */\n\ton(event: 'cssChanged', callback: (args: CssChangedEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * Event raised then livesync operation is performed.\n\t */\n\ton(event: 'livesync', callback: (args: ApplicationEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised on application launchEvent.\n\t */\n\ton(event: 'launch', callback: (args: LaunchEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised once the JS context is initialized.\n\t */\n\ton(event: 'ready', callback: (args: ApplicationEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised after the application has performed most of its startup actions.\n\t * Its intent is to be suitable for measuring app startup times.\n\t * @experimental\n\t */\n\ton(event: 'displayed', callback: (args: ApplicationEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised when the Application is suspended.\n\t */\n\ton(event: 'suspend', callback: (args: ApplicationEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised when the Application is resumed after it has been suspended.\n\t */\n\ton(event: 'resume', callback: (args: ApplicationEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised when the Application is about to exit.\n\t *\n\t * On Android it is raised when the last window closes; the process may stay alive.\n\t * On iOS it is raised when the process itself terminates.\n\t */\n\ton(event: 'exit', callback: (args: ApplicationEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised when there is low memory on the target device.\n\t */\n\ton(event: 'lowMemory', callback: (args: ApplicationEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised when an uncaught error occurs while the application is running.\n\t */\n\ton(event: 'uncaughtError', callback: (args: UnhandledErrorEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised when an discarded error occurs while the application is running.\n\t */\n\ton(event: 'discardedError', callback: (args: DiscardedErrorEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised when the orientation of the application changes.\n\t */\n\ton(event: 'orientationChanged', callback: (args: OrientationChangedEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised when the operating system appearance changes\n\t * between light and dark theme (for Android);\n\t * between light and dark mode (for iOS) and vice versa.\n\t */\n\ton(event: 'systemAppearanceChanged', callback: (args: SystemAppearanceChangedEventData) => void, thisArg?: any): void;\n\n\t/**\n\t * This event is raised when the operating system layout direction changes\n\t * between ltr and rtl.\n\t */\n\ton(event: 'layoutDirectionChanged', callback: (args: LayoutDirectionChangedEventData) => void, thisArg?: any): void;\n\n\ton(event: 'fontScaleChanged', callback: (args: FontScaleChangedEventData) => void, thisArg?: any): void;\n\n\ton(event: 'windowOpen', callback: (args: WindowOpenEventData) => void, thisArg?: any): void;\n\ton(event: 'windowClose', callback: (args: WindowCloseEventData) => void, thisArg?: any): void;\n\ton(event: 'primaryWindowChanged', callback: (args: PrimaryWindowChangedEventData) => void, thisArg?: any): void;\n\n\ton(event: 'sceneOpenURLContexts', callback: (args: SceneOpenURLContextsEventData) => void, thisArg?: any): void;\n\ton(event: 'sceneContinueUserActivity', callback: (args: SceneContinueUserActivityEventData) => void, thisArg?: any): void;\n\ton(event: 'scenePerformActionForShortcutItem', callback: (args: ScenePerformActionForShortcutItemEventData) => void, thisArg?: any): void;\n}\n\nexport class ApplicationCommon {\n\t/**\n\t * @deprecated Use the 'ready' event for application initialization and Application.setWindowContentResolver() to provide window UI. 'launch' continues to fire before the first window's content is created, and its 'root' property is still honored, for backwards compatibility. It never fires for additional windows. In a scene-based app it fires with the first window's content, so a background launch that connects no scene does not raise it.\n\t */\n\treadonly launchEvent = 'launch';\n\t/**\n\t * Raised once per JS context, as soon as the context is initialized. It is never deferred,\n\t * so it also fires on a background launch where no window is created.\n\t *\n\t * Guaranteed ordering: `ready` -> `windowOpen` -> raw connect/create events -> content\n\t * resolution (the legacy `launch` bridge runs here, for the first window only) ->\n\t * `contentLoaded` -> `activate`/`displayed`.\n\t */\n\treadonly readyEvent = 'ready';\n\t/**\n\t * Reflects whole-app state: with multiple windows it is raised once the app itself is\n\t * no longer in the foreground, not when an individual window backgrounds. Listen on a\n\t * NativeWindow for per-window state.\n\t */\n\treadonly suspendEvent = 'suspend';\n\treadonly displayedEvent = 'displayed';\n\treadonly backgroundEvent = 'background';\n\treadonly foregroundEvent = 'foreground';\n\treadonly resumeEvent = 'resume';\n\t/**\n\t * On Android, raised when the last window closes; the process may stay alive.\n\t * On iOS, raised when the process itself terminates.\n\t */\n\treadonly exitEvent = 'exit';\n\treadonly lowMemoryEvent = 'lowMemory';\n\treadonly uncaughtErrorEvent = 'uncaughtError';\n\treadonly discardedErrorEvent = 'discardedError';\n\treadonly orientationChangedEvent = 'orientationChanged';\n\treadonly systemAppearanceChangedEvent = 'systemAppearanceChanged';\n\treadonly layoutDirectionChangedEvent = 'layoutDirectionChanged';\n\treadonly fontScaleChangedEvent = 'fontScaleChanged';\n\treadonly livesyncEvent = 'livesync';\n\treadonly loadAppCssEvent = 'loadAppCss';\n\treadonly cssChangedEvent = 'cssChanged';\n\treadonly initRootViewEvent = 'initRootView';\n\treadonly windowOpenEvent = WindowEvents.windowOpen;\n\treadonly windowCloseEvent = WindowEvents.windowClose;\n\treadonly primaryWindowChangedEvent = WindowEvents.primaryWindowChanged;\n\n\t// Expose statically for backwards compat on AndroidApplication.on etc.\n\t/**\n\t * @deprecated Use `Application.android.on()` instead.\n\t */\n\tstatic on: ApplicationEvents['on'] = globalEvents.on.bind(globalEvents);\n\t/**\n\t * @deprecated Use `Application.android.once()` instead.\n\t */\n\tstatic once: ApplicationEvents['on'] = globalEvents.once.bind(globalEvents);\n\t/**\n\t * @deprecated Use `Application.android.off()` instead.\n\t */\n\tstatic off: ApplicationEvents['off'] = globalEvents.off.bind(globalEvents);\n\t/**\n\t * @deprecated Use `Application.android.notify()` instead.\n\t */\n\tstatic notify: ApplicationEvents['notify'] = globalEvents.notify.bind(globalEvents);\n\t/**\n\t * @deprecated Use `Application.android.hasListeners()` instead.\n\t */\n\tstatic hasListeners: ApplicationEvents['hasListeners'] = globalEvents.hasListeners.bind(globalEvents);\n\n\t// Application events go through the global events.\n\ton: ApplicationEvents['on'] = globalEvents.on.bind(globalEvents);\n\toff: ApplicationEvents['off'] = globalEvents.off.bind(globalEvents);\n\tonce: ApplicationEvents['once'] = globalEvents.once.bind(globalEvents);\n\tnotify: ApplicationEvents['notify'] = globalEvents.notify.bind(globalEvents);\n\thasListeners: ApplicationEvents['hasListeners'] = globalEvents.hasListeners.bind(globalEvents);\n\n\tprivate _orientation: 'portrait' | 'landscape' | 'unknown';\n\tprivate _systemAppearance: 'dark' | 'light' | null;\n\tprivate _layoutDirection: CoreTypes.LayoutDirectionType | null;\n\tprivate _inBackground: boolean = false;\n\tprivate _suspended: boolean = false;\n\tprivate _cssFile = './app.css';\n\tprivate _readyNotified = false;\n\tprivate _appCssLoaded = false;\n\tprivate _launchBridgeConsumed = false;\n\tprivate _windowContentResolver: WindowContentResolver | null = null;\n\n\tprotected mainEntry: NavigationEntry;\n\n\tpublic started = false;\n\t/**\n\t * Boolean to enable/disable systemAppearanceChanged\n\t */\n\tpublic get autoSystemAppearanceChanged(): boolean {\n\t\treturn getAutoSystemAppearanceChanged();\n\t}\n\n\tpublic set autoSystemAppearanceChanged(value: boolean) {\n\t\tsetAutoSystemAppearanceChanged(value);\n\t}\n\n\t/**\n\t * @internal - should not be constructed by the user.\n\t */\n\tconstructor() {\n\t\tgetNativeScriptGlobals().appInstanceReady = true;\n\n\t\tglobal.__onUncaughtError = (error: NativeScriptError) => {\n\t\t\tthis.notify({\n\t\t\t\teventName: this.uncaughtErrorEvent,\n\t\t\t\tobject: this,\n\t\t\t\tandroid: error,\n\t\t\t\tios: error,\n\t\t\t\terror: error,\n\t\t\t} as DiscardedErrorEventData);\n\t\t};\n\n\t\tglobal.__onDiscardedError = (error: NativeScriptError) => {\n\t\t\tthis.notify({\n\t\t\t\teventName: this.discardedErrorEvent,\n\t\t\t\tobject: this,\n\t\t\t\terror: error,\n\t\t\t} as DiscardedErrorEventData);\n\t\t};\n\n\t\tglobal.__onLiveSync = (context?: ModuleContext) => {\n\t\t\tif (this.suspended) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst rootView = this.getRootView();\n\t\t\tthis.livesync(rootView, context);\n\t\t};\n\t}\n\n\t/**\n\t * @internal\n\t */\n\tlivesync(rootView: View, context?: ModuleContext) {\n\t\tthis.notify({ eventName: this.livesyncEvent, object: this });\n\t\tconst liveSyncCore = global.__onLiveSyncCore;\n\t\tlet reapplyAppStyles = false;\n\n\t\t// ModuleContext is available only for Hot Module Replacement\n\t\tif (context && context.path) {\n\t\t\tconst styleExtensions = ['css', 'scss'];\n\t\t\tconst appStylesFullFileName = this.getCssFileName();\n\t\t\tconst appStylesFileName = appStylesFullFileName.substring(0, appStylesFullFileName.lastIndexOf('.') + 1);\n\t\t\treapplyAppStyles = styleExtensions.some((ext) => context.path === appStylesFileName.concat(ext));\n\t\t}\n\n\t\t// Handle application styles\n\t\tif (rootView && reapplyAppStyles) {\n\t\t\trootView._onCssStateChange();\n\t\t} else if (liveSyncCore) {\n\t\t\tliveSyncCore(context);\n\t\t}\n\t}\n\n\t/**\n\t * Applies the the `newCssClass` to the `rootView` and removes all other css classes from `cssClasses`\n\t * previously applied to the `rootView`.\n\t * @param rootView\n\t * @param cssClasses\n\t * @param newCssClass\n\t * @param skipCssUpdate\n\t */\n\tapplyCssClass(rootView: View, cssClasses: string[], newCssClass: string, skipCssUpdate: boolean = false): void {\n\t\tif (!rootView.cssClasses.has(newCssClass)) {\n\t\t\tcssClasses.forEach((cssClass) => this.removeCssClass(rootView, cssClass));\n\t\t\tthis.addCssClass(rootView, newCssClass);\n\t\t\tthis.increaseStyleScopeApplicationCssSelectorVersion(rootView);\n\n\t\t\tif (!skipCssUpdate) {\n\t\t\t\trootView._onCssStateChange();\n\t\t\t}\n\n\t\t\tif (Trace.isEnabled()) {\n\t\t\t\tconst rootCssClasses = Array.from(rootView.cssClasses);\n\t\t\t\tTrace.write(`Applying root css class: ${newCssClass}. rootView css classes: ${rootCssClasses.join(' ')}`, Trace.categories.Style);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate addCssClass(rootView: View, cssClass: string) {\n\t\tCSSUtils.pushToSystemCssClasses(cssClass);\n\t\trootView.cssClasses.add(cssClass);\n\t}\n\n\tprivate removeCssClass(rootView: View, cssClass: string) {\n\t\tCSSUtils.removeSystemCssClass(cssClass);\n\t\trootView.cssClasses.delete(cssClass);\n\t}\n\n\t/**\n\t * Same as {@link applyCssClass}, minus the system class list: window-scoped classes\n\t * must not leak into it, because it seeds every window's root view.\n\t */\n\tprivate applyWindowScopedCssClass(rootView: View, cssClasses: string[], newCssClass: string): void {\n\t\tif (rootView.cssClasses.has(newCssClass)) {\n\t\t\treturn;\n\t\t}\n\n\t\tcssClasses.forEach((cssClass) => rootView.cssClasses.delete(cssClass));\n\t\trootView.cssClasses.add(newCssClass);\n\t\tthis.increaseStyleScopeApplicationCssSelectorVersion(rootView);\n\t}\n\n\t/**\n\t * The modal registry is process-wide, so only the modals presented over this root\n\t * view may follow its window-scoped classes.\n\t */\n\tprivate getOwnedModalViews(rootView: View): View[] {\n\t\treturn (<Array<View>>rootView._getRootModalViews()).filter((modalView) => modalView._getRootModalHost() === rootView);\n\t}\n\n\tpublic increaseStyleScopeApplicationCssSelectorVersion(rootView: View) {\n\t\tconst styleScope: StyleScope = rootView._styleScope ?? (rootView as Frame)?.currentPage?._styleScope;\n\n\t\tif (styleScope) {\n\t\t\tstyleScope._increaseApplicationCssSelectorVersion();\n\t\t}\n\t}\n\n\tprivate setRootViewCSSClasses(rootView: View, window?: NativeWindow): void {\n\t\tconst platform = Device.os.toLowerCase();\n\t\tconst deviceType = Device.deviceType.toLowerCase();\n\t\tconst orientation = window ? window.orientation() : this.orientation();\n\t\tconst systemAppearance = window ? window.systemAppearance() : this.systemAppearance();\n\t\tconst layoutDirection = window ? window.layoutDirection() : this.layoutDirection();\n\n\t\tif (platform) {\n\t\t\tCSSUtils.pushToSystemCssClasses(`${CSSUtils.CLASS_PREFIX}${platform}`);\n\n\t\t\t// SDK Version CSS classes\n\t\t\t// Add exact version class (e.g., .ns-ios-26 or .ns-android-36)\n\t\t\t// this acts like 'gte' for that major version range\n\t\t\t// e.g., if user wants iOS 27, they can add .ns-ios-27 specifiers\n\t\t\tCSSUtils.pushToSystemCssClasses(`${CSSUtils.CLASS_PREFIX}${platform}-${Math.floor(SDK_VERSION)}`);\n\t\t}\n\n\t\tif (deviceType) {\n\t\t\tCSSUtils.pushToSystemCssClasses(`${CSSUtils.CLASS_PREFIX}${deviceType}`);\n\t\t}\n\n\t\trootView.cssClasses.add(CSSUtils.ROOT_VIEW_CSS_CLASS);\n\t\tconst rootViewCssClasses = CSSUtils.getSystemCssClasses();\n\t\trootViewCssClasses.forEach((c) => rootView.cssClasses.add(c));\n\n\t\t// Two windows can disagree on these, so they never reach the process-wide\n\t\t// system class list — see CSSUtils.WINDOW_SCOPED_CSS_CLASSES.\n\t\tif (orientation) {\n\t\t\trootView.cssClasses.add(`${CSSUtils.CLASS_PREFIX}${orientation}`);\n\t\t}\n\n\t\tif (systemAppearance) {\n\t\t\trootView.cssClasses.add(`${CSSUtils.CLASS_PREFIX}${systemAppearance}`);\n\t\t}\n\n\t\tif (layoutDirection) {\n\t\t\trootView.cssClasses.add(`${CSSUtils.CLASS_PREFIX}${layoutDirection}`);\n\t\t}\n\n\t\tthis.increaseStyleScopeApplicationCssSelectorVersion(rootView);\n\t\trootView._onCssStateChange();\n\n\t\tif (Trace.isEnabled()) {\n\t\t\tconst rootCssClasses = Array.from(rootView.cssClasses);\n\t\t\tTrace.write(`Setting root css classes: ${rootCssClasses.join(' ')}`, Trace.categories.Style);\n\t\t}\n\t}\n\n\t/**\n\t * iOS Only\n\t * Dynamically change the preferred frame rate\n\t * For devices (iOS 15+) which support min/max/preferred frame rate you can specify ranges\n\t * For devices (iOS < 15), you can specify the max frame rate\n\t * see: https://developer.apple.com/documentation/quartzcore/optimizing_promotion_refresh_rates_for_iphone_13_pro_and_ipad_pro\n\t * To use, ensure your Info.plist has:\n\t * ```xml\n\t * <key>CADisableMinimumFrameDurationOnPhone</key>\n\t * <true/>\n\t * ```\n\t * @param options { min?: number; max?: number; preferred?: number }\n\t */\n\tsetMaxRefreshRate(options?: { min?: number; max?: number; preferred?: number }) {\n\t\t// implement in platform specific files (iOS only for now)\n\t}\n\n\t/**\n\t * @returns The main entry of the application\n\t */\n\tgetMainEntry() {\n\t\treturn getAppMainEntry();\n\t}\n\n\t/**\n\t * Sets the callback that supplies the UI for windows that need content.\n\t * Pass `null` to remove a previously set resolver.\n\t */\n\tsetWindowContentResolver(resolver: WindowContentResolver | null): void {\n\t\tthis._windowContentResolver = resolver ?? null;\n\t}\n\n\t/**\n\t * @returns The callback currently supplying window content, if any.\n\t */\n\tgetWindowContentResolver(): WindowContentResolver | null {\n\t\treturn this._windowContentResolver;\n\t}\n\n\t// --- NativeWindow registry ---\n\n\tprotected _windows: NativeWindow[] = [];\n\n\t/**\n\t * Get the primary NativeWindow.\n\t */\n\tget primaryWindow(): NativeWindow | undefined {\n\t\treturn this._windows.find((nw) => nw.isPrimary);\n\t}\n\n\t/**\n\t * Get the NativeWindow the user is currently interacting with - the one that activated most\n\t * recently and is still attached. Falls back to the primary window while no window holds\n\t * activation, which is the case before the first window activates and on a platform that\n\t * never raises `activate`.\n\t */\n\tget activeWindow(): NativeWindow | undefined {\n\t\tconst active = getActiveWindow();\n\t\tif (active && active.state === 'attached' && this._windows.indexOf(active) !== -1) {\n\t\t\treturn active;\n\t\t}\n\n\t\treturn this.primaryWindow;\n\t}\n\n\t/**\n\t * Get the active windows, filtered by role.\n\t *\n\t * Defaults to the view-carrying app windows (`application` and `embedded`).\n\t * Pass `'all'` to include every registered surface, including ones that carry no view tree.\n\t */\n\tgetWindows(role: 'all'): WindowBase[];\n\tgetWindows(role?: WindowRole | WindowRole[]): NativeWindow[];\n\tgetWindows(role?: WindowRole | WindowRole[] | 'all'): WindowBase[];\n\tgetWindows(role?: WindowRole | WindowRole[] | 'all'): WindowBase[] {\n\t\tif (role === 'all') {\n\t\t\treturn [...this._windows];\n\t\t}\n\t\tconst roles: WindowRole[] = role ? (Array.isArray(role) ? role : [role]) : ['application', 'embedded'];\n\t\treturn this._windows.filter((nw) => roles.indexOf(nw.role) !== -1);\n\t}\n\n\t/**\n\t * Get a registered NativeWindow by its id.\n\t */\n\tgetWindowById(id: string): NativeWindow | undefined {\n\t\treturn this._windows.find((nw) => nw.id === id);\n\t}\n\n\t/**\n\t * Opens a new window.\n\t *\n\t * @param options Options for the new window, including data to hand to it.\n\t */\n\topenWindow(options?: WindowOpenOptions): void {\n\t\tthrow new Error('openWindow() is not supported on this platform.');\n\t}\n\n\t/**\n\t * @internal - Get all registered NativeWindows, whatever their role.\n\t */\n\t_getWindows(): NativeWindow[] {\n\t\treturn [...this._windows];\n\t}\n\n\t/**\n\t * @internal - Register a NativeWindow created by the platform lifecycle.\n\t */\n\t_registerWindow(nativeWindow: NativeWindow): void {\n\t\tthis._windows.push(nativeWindow);\n\n\t\t// A closing window drops its own listeners, so this is never explicitly removed.\n\t\tnativeWindow.on(NativeWindowEvents.activate, this.onWindowActivated, this);\n\n\t\tif (nativeWindow.isPrimary) {\n\t\t\tthis.trackPrimaryWindowTraits(nativeWindow);\n\t\t}\n\n\t\tthis._onWindowRegistered(nativeWindow);\n\n\t\tthis.notify({\n\t\t\teventName: this.windowOpenEvent,\n\t\t\tobject: this,\n\t\t\twindow: nativeWindow,\n\t\t});\n\t}\n\n\t/**\n\t * @internal - retire the windows behind discarded window-session ids.\n\t *\n\t * A session id can only stand in for a window whose native surface is already gone.\n\t * iOS reports sessions discarded while the app was not running on the next launch,\n\t * and such an id can name the session driving the app now, so an id match alone is\n\t * no evidence that the window is finished with. Retiring an attached window tears\n\t * down the UI in use - its root view unloads and nothing ever reloads it - so only\n\t * detached windows are retired. Ids matching no window are ignored: they routinely\n\t * belong to windows this JS context has never seen.\n\t */\n\t_retireDiscardedWindows(ids: string[]): void {\n\t\tfor (const id of ids) {\n\t\t\tconst nativeWindow = id ? this.getWindowById(id) : undefined;\n\n\t\t\tif (!nativeWindow) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tif (nativeWindow.state === 'attached') {\n\t\t\t\tTrace.write(`Ignoring a discarded session for window '${id}': its surface is still attached.`, Trace.categories.NativeLifecycle, Trace.messageType.warn);\n\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnativeWindow._notifyEvent(NativeWindowEvents.close);\n\t\t\tthis._unregisterWindow(nativeWindow);\n\t\t}\n\t}\n\n\t/**\n\t * @internal - Unregister a NativeWindow when its native surface is gone for good.\n\t */\n\t_unregisterWindow(nativeWindow: NativeWindow): void {\n\t\tif (!nativeWindow._surfaceGone) {\n\t\t\tTrace.write(`Unregistering window '${nativeWindow.id}' while its native surface is still live. A window may only be retired once the platform has reported the surface gone.`, Trace.categories.NativeLifecycle, Trace.messageType.error);\n\t\t}\n\n\t\tconst idx = this._windows.indexOf(nativeWindow);\n\t\tif (idx >= 0) {\n\t\t\tthis._windows.splice(idx, 1);\n\t\t}\n\n\t\tif (getActiveWindow() === nativeWindow) {\n\t\t\tsetActiveWindow(undefined);\n\t\t}\n\n\t\tthis.notify({\n\t\t\teventName: this.windowCloseEvent,\n\t\t\tobject: this,\n\t\t\twindow: nativeWindow,\n\t\t});\n\n\t\t// If primary was removed, promote the next window that can actually host content\n\t\tif (nativeWindow.isPrimary) {\n\t\t\tnativeWindow._setIsPrimary(false);\n\n\t\t\tconst promoted = this.getWindows().find((nw) => nw.state === 'attached');\n\t\t\tthis.trackPrimaryWindowTraits(promoted);\n\n\t\t\tif (promoted) {\n\t\t\t\tpromoted._setIsPrimary(true);\n\t\t\t\tthis._onPrimaryWindowPromoted(promoted);\n\t\t\t\tthis.notify({\n\t\t\t\t\teventName: this.primaryWindowChangedEvent,\n\t\t\t\t\tobject: this,\n\t\t\t\t\twindow: promoted,\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\tnativeWindow._destroy();\n\t}\n\n\t/**\n\t * Hook for platform-specific bookkeeping right after a window joins the registry,\n\t * before `windowOpen` is raised.\n\t */\n\tprotected _onWindowRegistered(nativeWindow: NativeWindow): void {\n\t\t// noop\n\t}\n\n\t/**\n\t * Hook for platform-specific bookkeeping right after a window takes over the primary\n\t * role, before `primaryWindowChanged` is raised.\n\t */\n\tprotected _onPrimaryWindowPromoted(nativeWindow: NativeWindow): void {\n\t\t// noop\n\t}\n\n\t// --- Primary window traits ---\n\n\tprivate _traitsWindow: NativeWindow | null = null;\n\n\t/**\n\t * Points the application-level orientation, appearance and layout direction at the\n\t * primary window, which owns those values now that each window has its own.\n\t */\n\tprivate trackPrimaryWindowTraits(nativeWindow: NativeWindow | undefined): void {\n\t\tconst target = nativeWindow ?? null;\n\t\tif (this._traitsWindow === target) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst previous = this._traitsWindow;\n\t\tif (previous) {\n\t\t\tprevious.off(NativeWindowEvents.orientationChanged, this.onWindowOrientationChanged, this);\n\t\t\tprevious.off(NativeWindowEvents.systemAppearanceChanged, this.onWindowSystemAppearanceChanged, this);\n\t\t\tprevious.off(NativeWindowEvents.layoutDirectionChanged, this.onWindowLayoutDirectionChanged, this);\n\t\t}\n\n\t\tthis._traitsWindow = target;\n\n\t\tif (!target) {\n\t\t\treturn;\n\t\t}\n\n\t\ttarget.on(NativeWindowEvents.orientationChanged, this.onWindowOrientationChanged, this);\n\t\ttarget.on(NativeWindowEvents.systemAppearanceChanged, this.onWindowSystemAppearanceChanged, this);\n\t\ttarget.on(NativeWindowEvents.layoutDirectionChanged, this.onWindowLayoutDirectionChanged, this);\n\n\t\tthis.syncTraitsFromWindow(target);\n\t}\n\n\t/**\n\t * Adopts the window's values. The very first window seeds them quietly — there is no\n\t * previous application state for it to differ from — while a later promotion raises\n\t * the change events, because app code observed the outgoing window's values.\n\t */\n\tprivate syncTraitsFromWindow(nativeWindow: NativeWindow): void {\n\t\tconst orientation = nativeWindow.orientation();\n\t\tif (orientation) {\n\t\t\tif (this._orientation === undefined) {\n\t\t\t\tthis._orientation = orientation;\n\t\t\t} else {\n\t\t\t\tthis.setOrientation(orientation);\n\t\t\t}\n\t\t}\n\n\t\tconst systemAppearance = nativeWindow.systemAppearance();\n\t\tif (systemAppearance) {\n\t\t\tif (this._systemAppearance === undefined) {\n\t\t\t\tthis._systemAppearance = systemAppearance;\n\t\t\t} else {\n\t\t\t\tthis.setSystemAppearance(systemAppearance);\n\t\t\t}\n\t\t}\n\n\t\tconst layoutDirection = nativeWindow.layoutDirection();\n\t\tif (layoutDirection) {\n\t\t\tif (this._layoutDirection === undefined) {\n\t\t\t\tthis._layoutDirection = layoutDirection;\n\t\t\t} else {\n\t\t\t\tthis.setLayoutDirection(layoutDirection);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate onWindowActivated(data: NativeWindowEventData): void {\n\t\tsetActiveWindow(data.window);\n\t}\n\n\tprivate onWindowOrientationChanged(data: WindowOrientationChangedEventData): void {\n\t\tthis.setOrientation(data.newValue);\n\t}\n\n\tprivate onWindowSystemAppearanceChanged(data: WindowSystemAppearanceChangedEventData): void {\n\t\tthis.setSystemAppearance(data.newValue);\n\t}\n\n\tprivate onWindowLayoutDirectionChanged(data: WindowLayoutDirectionChangedEventData): void {\n\t\tthis.setLayoutDirection(data.newValue);\n\t}\n\n\t/**\n\t * @internal - raises `ready` at most once per JS context.\n\t */\n\tnotifyReady(): void {\n\t\tif (this._readyNotified) {\n\t\t\treturn;\n\t\t}\n\t\tthis._readyNotified = true;\n\t\tgetNativeScriptGlobals().setLaunched();\n\n\t\tthis.notify(<ApplicationEventData>{\n\t\t\teventName: this.readyEvent,\n\t\t\tobject: this,\n\t\t\tios: this.ios,\n\t\t\tandroid: this.android,\n\t\t});\n\t}\n\n\t/**\n\t * @internal - produces the content for a window that has none.\n\t *\n\t * Resolution order: the window content resolver, then the legacy `launch` event\n\t * (offered to the first window that asks for content and to no other), then the\n\t * application main entry. A resolver or a `launch` handler returning `null` takes\n\t * ownership of the content, so nothing else is tried. A missing main entry leaves\n\t * the window empty instead of throwing, because content can still arrive later\n\t * through `run()`/`resetRootView()`.\n\t *\n\t * @param options.install `false` returns the resolved view instead of applying it,\n\t * for platform pipelines that install the root view on the native surface themselves.\n\t * @param options.launchData platform payload merged into the legacy `launch` event args.\n\t * @returns The resolved view, or `null` when no content was produced.\n\t */\n\t_resolveWindowContent(window: NativeWindow, request: WindowContentRequest, options?: { install?: boolean; launchData?: any }): View | null {\n\t\tconst content = this.resolveWindowContent(request, options?.launchData);\n\n\t\tif (content == null) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (options?.install === false) {\n\t\t\treturn this.buildContentView(content);\n\t\t}\n\n\t\twindow.setContent(content);\n\n\t\treturn window.rootView;\n\t}\n\n\tprivate resolveWindowContent(request: WindowContentRequest, launchData?: any): View | NavigationEntry | string | null | undefined {\n\t\tconst launchBridgeAvailable = !this._launchBridgeConsumed;\n\t\tthis._launchBridgeConsumed = true;\n\n\t\tconst resolver = this._windowContentResolver;\n\t\tif (resolver) {\n\t\t\tconst resolved = resolver(request);\n\n\t\t\t// `null` means the resolver supplies the content itself; only `undefined` falls through.\n\t\t\tif (resolved !== undefined) {\n\t\t\t\tthis._ensureAppCssLoaded();\n\n\t\t\t\treturn resolved;\n\t\t\t}\n\t\t}\n\n\t\tif (launchBridgeAvailable) {\n\t\t\tconst root = this.notifyLaunch(launchData);\n\n\t\t\tif (root === null) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif (root) {\n\t\t\t\treturn root;\n\t\t\t}\n\t\t}\n\n\t\tthis._ensureAppCssLoaded();\n\n\t\tconst mainEntry = getAppMainEntry();\n\n\t\treturn mainEntry ? Builder.createViewFromEntry(mainEntry) : undefined;\n\t}\n\n\tprivate buildContentView(content: View | NavigationEntry | string): View {\n\t\tif (typeof content === 'string') {\n\t\t\treturn Builder.createViewFromEntry({ moduleName: content });\n\t\t}\n\n\t\tconst entry = content as NavigationEntry;\n\n\t\treturn entry.moduleName || entry.create ? Builder.createViewFromEntry(entry) : (content as View);\n\t}\n\n\t/**\n\t * Loads the app CSS once per JS context. On the legacy `launch` path this has to run\n\t * after the handlers, which are allowed to call `setCssFileName()`.\n\t */\n\tprivate _ensureAppCssLoaded(): void {\n\t\tif (this._appCssLoaded) {\n\t\t\treturn;\n\t\t}\n\t\tthis._appCssLoaded = true;\n\n\t\tthis.loadAppCss();\n\t}\n\n\t@profile\n\tprotected notifyLaunch(additionalLanchEventData?: any): View | null {\n\t\tthis._launchBridgeConsumed = true;\n\n\t\tconst launchArgs: LaunchEventData = {\n\t\t\teventName: this.launchEvent,\n\t\t\tobject: this,\n\t\t\tios: this.ios,\n\t\t\tandroid: this.android,\n\t\t\t...additionalLanchEventData,\n\t\t};\n\t\tthis.notify(launchArgs);\n\t\tthis._ensureAppCssLoaded();\n\n\t\treturn launchArgs.root;\n\t}\n\n\t@profile\n\tcreateRootView(view?: View, fireLaunchEvent = false, additionalLanchEventData?: any) {\n\t\tlet rootView = view;\n\n\t\tif (!rootView) {\n\t\t\tif (fireLaunchEvent) {\n\t\t\t\trootView = this.notifyLaunch(additionalLanchEventData);\n\n\t\t\t\t// useful for integrations that would like to set rootView asynchronously after app launch\n\t\t\t\tif (rootView === null) {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (!rootView) {\n\t\t\t\t// try to navigate to the mainEntry (if specified)\n\t\t\t\tif (!getAppMainEntry()) {\n\t\t\t\t\tthrow new Error('Main entry is missing. App cannot be started. Verify app bootstrap.');\n\t\t\t\t}\n\n\t\t\t\trootView = Builder.createViewFromEntry(getAppMainEntry());\n\t\t\t}\n\t\t}\n\n\t\treturn rootView;\n\t}\n\n\tgetRootView(): View {\n\t\tthrow new Error('getRootView() Not implemented.');\n\t}\n\n\tresetRootView(entry?: NavigationEntry | string) {\n\t\tsetAppMainEntry(typeof entry === 'string' ? { moduleName: entry } : entry);\n\t\t// rest of implementation is platform specific\n\t}\n\n\t/**\n\t * @param window the window the root view belongs to. Supplies the window-scoped CSS\n\t * classes; without it they come from the primary window.\n\t */\n\tinitRootView(rootView: View, window?: NativeWindow) {\n\t\tthis.setRootViewCSSClasses(rootView, window);\n\t\t// ensure css is \"loaded\" on the rootview so that user rootview can access css variables right away\n\t\trootView._onCssStateChange(true);\n\t\tthis.notify(<InitRootViewEventData>{ eventName: this.initRootViewEvent, rootView });\n\t}\n\n\t/**\n\t * Get application level static resources.\n\t */\n\tgetResources() {\n\t\treturn bindableResources.get();\n\t}\n\n\t/**\n\t * Set application level static resources.\n\t */\n\tsetResources(res: any) {\n\t\tbindableResources.set(res);\n\t}\n\n\t/**\n\t * Sets css file name for the application.\n\t */\n\tsetCssFileName(cssFileName: string) {\n\t\tthis._cssFile = cssFileName;\n\t\tthis.notify(<CssChangedEventData>{\n\t\t\teventName: this.cssChangedEvent,\n\t\t\tobject: this,\n\t\t\tcssFile: cssFileName,\n\t\t});\n\t}\n\n\t/**\n\t * Gets css file name for the application.\n\t */\n\tgetCssFileName(): string {\n\t\treturn this._cssFile;\n\t}\n\n\t/**\n\t * Loads immediately the app.css.\n\t * By default the app.css file is loaded shortly after \"loaded\".\n\t * For the Android snapshot the CSS can be parsed during the snapshot generation,\n\t * as the CSS does not depend on runtime APIs, and loadAppCss will be called explicitly.\n\t */\n\tloadAppCss(): void {\n\t\ttry {\n\t\t\tthis.notify(<LoadAppCSSEventData>{\n\t\t\t\teventName: this.loadAppCssEvent,\n\t\t\t\tobject: this,\n\t\t\t\tios: this.ios,\n\t\t\t\tandroid: this.android,\n\t\t\t\tcssFile: this.getCssFileName(),\n\t\t\t});\n\t\t} catch (e) {\n\t\t\tif (Trace.isEnabled()) {\n\t\t\t\tTrace.write(`The app CSS file ${this.getCssFileName()} couldn't be loaded!`, Trace.categories.Style, Trace.messageType.warn);\n\t\t\t}\n\t\t}\n\t}\n\n\taddCss(cssText: string, attributeScoped?: boolean): void {\n\t\tthis.notify(<CssChangedEventData>{\n\t\t\teventName: this.cssChangedEvent,\n\t\t\tobject: this,\n\t\t\tcssText: cssText,\n\t\t});\n\t\tif (!attributeScoped) {\n\t\t\tconst rootView = this.getRootView();\n\t\t\tif (rootView) {\n\t\t\t\trootView._onCssStateChange();\n\t\t\t}\n\t\t}\n\t}\n\n\trun(entry?: string | NavigationEntry) {\n\t\tthrow new Error('run() Not implemented.');\n\t}\n\n\tprotected getOrientation(): 'portrait' | 'landscape' | 'unknown' {\n\t\t// override in platform specific Application class\n\t\tthrow new Error('getOrientation() not implemented');\n\t}\n\n\tprotected setOrientation(value: 'portrait' | 'landscape' | 'unknown', degrees?: number) {\n\t\tif (this._orientation === value) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._orientation = value;\n\n\t\t// Update metrics early enough regardless of the existence of root view\n\t\t// Also, CSS will use the correct size values during update trigger\n\t\tScreen.mainScreen._updateMetrics();\n\n\t\tthis.orientationChanged(this.getRootView(), value);\n\t\tthis.notify(<OrientationChangedEventData>{\n\t\t\teventName: this.orientationChangedEvent,\n\t\t\tandroid: this.android,\n\t\t\tios: this.ios,\n\t\t\tnewValue: value,\n\t\t\tdegrees,\n\t\t\tobject: this,\n\t\t});\n\t}\n\n\t/**\n\t * @deprecated Use Application.primaryWindow?.orientation() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window.\n\t */\n\torientation(): 'portrait' | 'landscape' | 'unknown' {\n\t\treturn this.primaryWindow?.orientation() ?? (this._orientation ??= this.getOrientation());\n\t}\n\n\torientationChanged(rootView: View, newOrientation: 'portrait' | 'landscape' | 'unknown'): void {\n\t\tif (!rootView) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst newOrientationCssClass = `${CSSUtils.CLASS_PREFIX}${newOrientation}`;\n\t\tthis.applyWindowScopedCssClass(rootView, ORIENTATION_CSS_CLASSES, newOrientationCssClass);\n\n\t\tthis.getOwnedModalViews(rootView).forEach((rootModalView) => {\n\t\t\tthis.applyWindowScopedCssClass(rootModalView, ORIENTATION_CSS_CLASSES, newOrientationCssClass);\n\n\t\t\t// Trigger state change for root modal view classes and media queries\n\t\t\trootModalView._onCssStateChange();\n\t\t});\n\n\t\t// Trigger state change for root view classes and media queries\n\t\trootView._onCssStateChange();\n\t}\n\n\tgetNativeApplication(): any {\n\t\t// override in platform specific Application class\n\t\tthrow new Error('getNativeApplication() not implemented');\n\t}\n\n\thasLaunched(): boolean {\n\t\treturn getNativeScriptGlobals().launched;\n\t}\n\n\tprotected getSystemAppearance(): 'dark' | 'light' | null {\n\t\t// override in platform specific Application class\n\t\tthrow new Error('getSystemAppearance() not implemented');\n\t}\n\n\tprotected setSystemAppearance(value: 'dark' | 'light') {\n\t\tif (this._systemAppearance === value) {\n\t\t\treturn;\n\t\t}\n\t\tthis._systemAppearance = value;\n\t\tconst args = <SystemAppearanceChangedEventData>{\n\t\t\teventName: this.systemAppearanceChangedEvent,\n\t\t\tandroid: this.android,\n\t\t\tios: this.ios,\n\t\t\tnewValue: value,\n\t\t\tcancel: false,\n\t\t\tobject: this,\n\t\t};\n\t\tthis.notify(args);\n\t\tif (args.cancel === false && this.autoSystemAppearanceChanged) {\n\t\t\tthis.systemAppearanceChanged(this.getRootView(), value);\n\t\t}\n\t}\n\n\t/**\n\t * @deprecated Use Application.primaryWindow?.systemAppearance() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window.\n\t */\n\tsystemAppearance(): 'dark' | 'light' | null {\n\t\treturn this.primaryWindow?.systemAppearance() ?? (this._systemAppearance ??= this.getSystemAppearance());\n\t}\n\n\t/**\n\t * enable/disable systemAppearanceChanged\n\t */\n\tsetAutoSystemAppearanceChanged(value: boolean): void {\n\t\tsetAutoSystemAppearanceChanged(value);\n\t}\n\n\t/**\n\t * Updates root view classes including those of modals\n\t * @param rootView the root view\n\t * @param newSystemAppearance the new appearance change\n\t */\n\tsystemAppearanceChanged(rootView: View, newSystemAppearance: 'dark' | 'light'): void {\n\t\tif (!rootView) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst newSystemAppearanceCssClass = `${CSSUtils.CLASS_PREFIX}${newSystemAppearance}`;\n\t\tthis.applyWindowScopedCssClass(rootView, SYSTEM_APPEARANCE_CSS_CLASSES, newSystemAppearanceCssClass);\n\n\t\tthis.getOwnedModalViews(rootView).forEach((rootModalView) => {\n\t\t\tthis.applyWindowScopedCssClass(rootModalView, SYSTEM_APPEARANCE_CSS_CLASSES, newSystemAppearanceCssClass);\n\n\t\t\t// Trigger state change for root modal view classes and media queries\n\t\t\trootModalView._onCssStateChange();\n\t\t});\n\n\t\t// Trigger state change for root view classes and media queries\n\t\trootView._onCssStateChange();\n\t}\n\n\tprotected getLayoutDirection(): CoreTypes.LayoutDirectionType | null {\n\t\t// override in platform specific Application class\n\t\tthrow new Error('getLayoutDirection() not implemented');\n\t}\n\n\tprotected setLayoutDirection(value: CoreTypes.LayoutDirectionType) {\n\t\tif (this._layoutDirection === value) {\n\t\t\treturn;\n\t\t}\n\t\tthis._layoutDirection = value;\n\t\tthis.layoutDirectionChanged(this.getRootView(), value);\n\t\tthis.notify(<LayoutDirectionChangedEventData>{\n\t\t\teventName: this.layoutDirectionChangedEvent,\n\t\t\tandroid: this.android,\n\t\t\tios: this.ios,\n\t\t\tnewValue: value,\n\t\t\tobject: this,\n\t\t});\n\t}\n\n\t/**\n\t * @deprecated Use Application.primaryWindow?.layoutDirection() - or the NativeWindow of the relevant view - instead. Continues to reflect the primary window.\n\t */\n\tlayoutDirection(): CoreTypes.LayoutDirectionType | null {\n\t\treturn this.primaryWindow?.layoutDirection() ?? (this._layoutDirection ??= this.getLayoutDirection());\n\t}\n\n\t/**\n\t * Updates root view classes including those of modals\n\t * @param rootView the root view\n\t * @param newLayoutDirection the new layout direction change\n\t */\n\tlayoutDirectionChanged(rootView: View, newLayoutDirection: CoreTypes.LayoutDirectionType): void {\n\t\tif (!rootView) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst newLayoutDirectionCssClass = `${CSSUtils.CLASS_PREFIX}${newLayoutDirection}`;\n\t\tthis.applyWindowScopedCssClass(rootView, LAYOUT_DIRECTION_CSS_CLASSES, newLayoutDirectionCssClass);\n\n\t\tthis.getOwnedModalViews(rootView).forEach((rootModalView) => {\n\t\t\tthis.applyWindowScopedCssClass(rootModalView, LAYOUT_DIRECTION_CSS_CLASSES, newLayoutDirectionCssClass);\n\n\t\t\t// Trigger state change for root modal view classes and media queries\n\t\t\trootModalView._onCssStateChange();\n\t\t});\n\n\t\t// Trigger state change for root view classes and media queries\n\t\trootView._onCssStateChange();\n\t}\n\n\tget inBackground() {\n\t\treturn isAppInBackground();\n\t}\n\n\tsetInBackground(value: boolean, additonalData?: any) {\n\t\tsetAppInBackground(value);\n\n\t\tthis.notify(<ApplicationEventData>{\n\t\t\teventName: value ? this.backgroundEvent : this.foregroundEvent,\n\t\t\tobject: this,\n\t\t\tios: this.ios,\n\n\t\t\t...additonalData,\n\t\t});\n\t}\n\n\tget suspended() {\n\t\treturn this._suspended;\n\t}\n\n\tsetSuspended(value: boolean, additonalData?: any) {\n\t\tthis._suspended = value;\n\n\t\tthis.notify(<ApplicationEventData>{\n\t\t\teventName: value ? this.suspendEvent : this.resumeEvent,\n\t\t\tobject: this,\n\t\t\tios: this.ios,\n\t\t\tandroid: this.android,\n\n\t\t\t...additonalData,\n\t\t});\n\t}\n\n\tget android(): AndroidApplicationType {\n\t\treturn undefined;\n\t}\n\n\tget ios(): iOSApplicationType {\n\t\treturn undefined;\n\t}\n\n\tget AndroidApplication() {\n\t\treturn this.android;\n\t}\n\n\tget iOSApplication() {\n\t\treturn this.ios;\n\t}\n}\n\nprepareAppForModuleResolver(() => {\n\tApplicationCommon.on('livesync', (args) => clearResolverCache());\n\tApplicationCommon.on('orientationChanged', (args) => {\n\t\t_setResolver(undefined);\n\t});\n});\n"]}
|
|
@@ -2,6 +2,7 @@ import type { EventData } from '../data/observable';
|
|
|
2
2
|
import type { View } from '../ui/core/view';
|
|
3
3
|
import type { ApplicationCommon } from './application-common';
|
|
4
4
|
import type { CoreTypes } from '../core-types';
|
|
5
|
+
import type { NativeWindow } from '../native-window';
|
|
5
6
|
/**
|
|
6
7
|
* An extended JavaScript Error which will have the nativeError property initialized in case the error is caused by executing platform-specific code.
|
|
7
8
|
*/
|
|
@@ -130,6 +131,18 @@ export interface AndroidActivityEventData extends ApplicationEventData {
|
|
|
130
131
|
* The activity.
|
|
131
132
|
*/
|
|
132
133
|
activity?: androidx.appcompat.app.AppCompatActivity;
|
|
134
|
+
/**
|
|
135
|
+
* The NativeWindow the activity belongs to, when one is registered for it.
|
|
136
|
+
*/
|
|
137
|
+
window?: NativeWindow;
|
|
138
|
+
/**
|
|
139
|
+
* The name of the event.
|
|
140
|
+
*/
|
|
141
|
+
eventName: string;
|
|
142
|
+
/**
|
|
143
|
+
* The instance that has raised the event.
|
|
144
|
+
*/
|
|
145
|
+
object: any;
|
|
133
146
|
}
|
|
134
147
|
/**
|
|
135
148
|
* Data for the Android activity events with bundle.
|
|
@@ -240,7 +253,11 @@ export interface SceneEventData extends ApplicationEventData {
|
|
|
240
253
|
/**
|
|
241
254
|
* The UIWindow associated with this scene (if applicable).
|
|
242
255
|
*/
|
|
243
|
-
|
|
256
|
+
uiWindow?: UIWindow;
|
|
257
|
+
/**
|
|
258
|
+
* The NativeWindow the scene belongs to, when one is registered for it.
|
|
259
|
+
*/
|
|
260
|
+
window?: NativeWindow;
|
|
244
261
|
/**
|
|
245
262
|
* Scene connection options (for sceneWillConnect event).
|
|
246
263
|
*/
|
|
@@ -250,3 +267,52 @@ export interface SceneEventData extends ApplicationEventData {
|
|
|
250
267
|
*/
|
|
251
268
|
userInfo?: NSDictionary<any, any>;
|
|
252
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* iOS event data for the `sceneOpenURLContexts` event, raised when a scene is asked to open URLs.
|
|
272
|
+
*
|
|
273
|
+
* Replaces the `applicationOpenURLOptions` app delegate callback, which UIKit no longer
|
|
274
|
+
* calls once the app adopts scenes. Handlers registered through
|
|
275
|
+
* `Application.ios.addDelegateHandler('applicationOpenURLOptions', ...)` still run, once per context.
|
|
276
|
+
*/
|
|
277
|
+
export interface SceneOpenURLContextsEventData extends SceneEventData {
|
|
278
|
+
/**
|
|
279
|
+
* The URL contexts to open. A single delivery may carry more than one URL.
|
|
280
|
+
*/
|
|
281
|
+
urlContexts: NSSet<UIOpenURLContext>;
|
|
282
|
+
}
|
|
283
|
+
/**
|
|
284
|
+
* iOS event data for the `sceneContinueUserActivity` event, raised for Handoff and
|
|
285
|
+
* universal links directed at a scene.
|
|
286
|
+
*
|
|
287
|
+
* Replaces the `applicationContinueUserActivityRestorationHandler` app delegate callback,
|
|
288
|
+
* which UIKit no longer calls once the app adopts scenes.
|
|
289
|
+
*/
|
|
290
|
+
export interface SceneContinueUserActivityEventData extends SceneEventData {
|
|
291
|
+
/**
|
|
292
|
+
* The activity to continue.
|
|
293
|
+
*/
|
|
294
|
+
userActivity: NSUserActivity;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* iOS event data for the `scenePerformActionForShortcutItem` event, raised when a home
|
|
298
|
+
* screen quick action targets a scene.
|
|
299
|
+
*
|
|
300
|
+
* Replaces the `applicationPerformActionForShortcutItemCompletionHandler` app delegate
|
|
301
|
+
* callback, which UIKit no longer calls once the app adopts scenes.
|
|
302
|
+
*/
|
|
303
|
+
export interface ScenePerformActionForShortcutItemEventData extends SceneEventData {
|
|
304
|
+
/**
|
|
305
|
+
* The quick action the user selected.
|
|
306
|
+
*/
|
|
307
|
+
shortcutItem: UIApplicationShortcutItem;
|
|
308
|
+
/**
|
|
309
|
+
* Reports back to iOS whether the action was handled. Only the first call is delivered;
|
|
310
|
+
* later ones are ignored.
|
|
311
|
+
*
|
|
312
|
+
* Unless a legacy `applicationPerformActionForShortcutItemCompletionHandler` handler is
|
|
313
|
+
* registered — in which case that handler owns the result — the action is reported as
|
|
314
|
+
* unhandled as soon as the listeners return, so a listener that wants to report otherwise
|
|
315
|
+
* must call this before returning.
|
|
316
|
+
*/
|
|
317
|
+
completionHandler: (handled: boolean) => void;
|
|
318
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-interfaces.js","sourceRoot":"","sources":["../../../../packages/core/application/application-interfaces.ts"],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"application-interfaces.js","sourceRoot":"","sources":["../../../../packages/core/application/application-interfaces.ts"],"names":[],"mappings":"","sourcesContent":["import type { EventData, Observable } from '../data/observable';\nimport type { View } from '../ui/core/view';\nimport type { ApplicationCommon } from './application-common';\nimport type { CoreTypes } from '../core-types';\nimport type { NativeWindow } from '../native-window';\n\n/**\n * An extended JavaScript Error which will have the nativeError property initialized in case the error is caused by executing platform-specific code.\n */\nexport interface NativeScriptError extends Error {\n\t/**\n\t * Represents the native error object.\n\t */\n\tnativeException?: any;\n\t/**\n\t * The native stack trace.\n\t */\n\tstackTrace?: string;\n\t/**\n\t * Javascript portion of stack trace.\n\t */\n\tstack?: string;\n}\n\n/**\n * Event data containing information for the application events.\n */\nexport interface ApplicationEventData extends EventData {\n\t/**\n\t * The name of the event.\n\t */\n\teventName: string;\n\n\t/**\n\t * Gets the native iOS event arguments. Valid only when running on iOS.\n\t */\n\tios?: any; // iOSApplication;\n\n\t/**\n\t * Gets the native Android event arguments. Valid only when running on Android.\n\t */\n\tandroid?: any; // AndroidApplication;\n\n\t/**\n\t * The instance that has raised the event.\n\t */\n\t// TODO: find a way to do object: ApplicationCommon | Observable;\n\tobject?: any; // Application\n}\n\n/**\n * Event data containing information for launch event.\n */\nexport interface LaunchEventData extends EventData<ApplicationCommon> {\n\t/**\n\t * The root view for this Window on iOS or Activity for Android.\n\t * If not set a new Frame will be created as a root view in order to maintain backwards compatibility.\n\t * If explicitly set to null, there will be no root view.\n\t */\n\troot?: View | null;\n\n\tsavedInstanceState?: any /* android.os.Bundle */;\n\n\tandroid?: android.content.Intent;\n\n\tios?: any /* UIApplicationLaunchOptions */;\n}\n\n/**\n * Event data containing information for orientation changed event.\n */\nexport interface OrientationChangedEventData extends ApplicationEventData {\n\t/**\n\t * New orientation value.\n\t */\n\tnewValue: 'portrait' | 'landscape' | 'unknown';\n\n\t/**\n\t * current device rotation in degrees.\n\t */\n\tdegrees?: number;\n}\n\n/**\n * Event data containing information for system appearance changed event.\n */\nexport interface SystemAppearanceChangedEventData extends ApplicationEventData {\n\t/**\n\t * New system appearance value.\n\t */\n\tnewValue: 'light' | 'dark';\n\tcancel: boolean;\n}\n\n/**\n * Event data containing information for system layout direction changed event.\n */\nexport interface LayoutDirectionChangedEventData extends ApplicationEventData {\n\t/**\n\t * New layout direction value.\n\t */\n\tnewValue: CoreTypes.LayoutDirectionType;\n}\n\n/**\n * Event data containing information for font scale changed event.\n */\nexport interface FontScaleChangedEventData extends ApplicationEventData {\n\t/**\n\t * New font scale value.\n\t */\n\tnewValue: number;\n}\n\n/**\n * Event data containing information about unhandled application errors.\n */\nexport interface UnhandledErrorEventData extends ApplicationEventData {\n\tios?: NativeScriptError;\n\tandroid?: NativeScriptError;\n\terror: NativeScriptError;\n}\n\n/**\n * Event data containing information about discarded application errors.\n */\nexport interface DiscardedErrorEventData extends ApplicationEventData {\n\terror: NativeScriptError;\n}\n\n/**\n * Event data containing information about application css change.\n */\nexport interface CssChangedEventData extends ApplicationEventData {\n\tcssFile?: string;\n\tcssText?: string;\n}\n\n/**\n * Event data containing information about root view application.\n */\nexport interface InitRootViewEventData extends ApplicationEventData {\n\trootView: View;\n}\n\n/**\n * Data for the Android activity events.\n */\nexport interface AndroidActivityEventData extends ApplicationEventData {\n\t/**\n\t * The activity.\n\t */\n\tactivity?: androidx.appcompat.app.AppCompatActivity;\n\n\t/**\n\t * The NativeWindow the activity belongs to, when one is registered for it.\n\t */\n\twindow?: NativeWindow;\n\n\t/**\n\t * The name of the event.\n\t */\n\teventName: string;\n\n\t/**\n\t * The instance that has raised the event.\n\t */\n\tobject: any;\n}\n\n/**\n * Data for the Android activity events with bundle.\n */\nexport interface AndroidActivityBundleEventData extends AndroidActivityEventData {\n\t/**\n\t * The bundle.\n\t */\n\tbundle?: android.os.Bundle;\n}\n\n/**\n * Data for the Android activity onRequestPermissions callback\n */\nexport interface AndroidActivityRequestPermissionsEventData extends AndroidActivityEventData {\n\t/**\n\t * The request code.\n\t */\n\trequestCode?: number;\n\n\t/**\n\t * The Permissions.\n\t */\n\tpermissions?: Array<string>;\n\n\t/**\n\t * The Granted.\n\t */\n\tgrantResults?: Array<number>;\n}\n\n/**\n * Data for the Android activity result event.\n */\nexport interface AndroidActivityResultEventData extends AndroidActivityEventData {\n\t/**\n\t * The request code.\n\t */\n\trequestCode?: number;\n\n\t/**\n\t * The result code.\n\t */\n\tresultCode?: number;\n\n\t/**\n\t * The intent.\n\t */\n\tintent?: android.content.Intent;\n}\n\n/**\n * Data for the Android activity newIntent event.\n */\nexport interface AndroidActivityNewIntentEventData extends AndroidActivityEventData {\n\t/**\n\t * The intent.\n\t */\n\tintent?: any /* android.content.Intent */;\n}\n\n/**\n * Data for the Android activity back pressed event.\n */\nexport interface AndroidActivityBackPressedEventData extends AndroidActivityEventData {\n\t/**\n\t * In the event handler, set this value to true if you want to cancel the back navigation and do something else instead.\n\t */\n\tcancel?: boolean;\n}\n\nexport interface LoadAppCSSEventData extends ApplicationEventData {\n\tcssFile: string;\n}\n\n/**\n * Data for the Android dialog fragment onCreateView event.\n */\nexport interface AndroidDialogFragmentOnCreateViewEventData extends ApplicationEventData {\n\t/**\n\t * The name of the event.\n\t */\n\teventName: string;\n\n\t/**\n\t * Gets the window of the created dialog_min_width_major\n\t */\n\twindow?: any; // android.view.Window;\n\t/**\n\t * Gets native dialog\n\t */\n\tdialog?: any; // AndroidApplication;\n}\n\n/**\n * Data for the Android onConfigurationChange event.\n */\nexport interface AndroidConfigurationChangeEventData extends ApplicationEventData {\n\t/**\n\t * The name of the event.\n\t */\n\teventName: string;\n\n\t/**\n\t * Gets the configuration from the event\n\t */\n\tconfig?: any; // android.content.res.Configuration;\n\t/**\n\t * Gets the diff from the previous configuration\n\t */\n\tdiff?: number;\n}\n\n/**\n * iOS Event data containing information for scene lifecycle events (iOS 13+).\n */\nexport interface SceneEventData extends ApplicationEventData {\n\t/**\n\t * The UIWindowScene instance associated with this event.\n\t */\n\tscene?: UIWindowScene;\n\n\t/**\n\t * The UIWindow associated with this scene (if applicable).\n\t */\n\tuiWindow?: UIWindow;\n\n\t/**\n\t * The NativeWindow the scene belongs to, when one is registered for it.\n\t */\n\twindow?: NativeWindow;\n\n\t/**\n\t * Scene connection options (for sceneWillConnect event).\n\t */\n\tconnectionOptions?: UISceneConnectionOptions;\n\n\t/**\n\t * Additional user info from the notification.\n\t */\n\tuserInfo?: NSDictionary<any, any>;\n}\n\n/**\n * iOS event data for the `sceneOpenURLContexts` event, raised when a scene is asked to open URLs.\n *\n * Replaces the `applicationOpenURLOptions` app delegate callback, which UIKit no longer\n * calls once the app adopts scenes. Handlers registered through\n * `Application.ios.addDelegateHandler('applicationOpenURLOptions', ...)` still run, once per context.\n */\nexport interface SceneOpenURLContextsEventData extends SceneEventData {\n\t/**\n\t * The URL contexts to open. A single delivery may carry more than one URL.\n\t */\n\turlContexts: NSSet<UIOpenURLContext>;\n}\n\n/**\n * iOS event data for the `sceneContinueUserActivity` event, raised for Handoff and\n * universal links directed at a scene.\n *\n * Replaces the `applicationContinueUserActivityRestorationHandler` app delegate callback,\n * which UIKit no longer calls once the app adopts scenes.\n */\nexport interface SceneContinueUserActivityEventData extends SceneEventData {\n\t/**\n\t * The activity to continue.\n\t */\n\tuserActivity: NSUserActivity;\n}\n\n/**\n * iOS event data for the `scenePerformActionForShortcutItem` event, raised when a home\n * screen quick action targets a scene.\n *\n * Replaces the `applicationPerformActionForShortcutItemCompletionHandler` app delegate\n * callback, which UIKit no longer calls once the app adopts scenes.\n */\nexport interface ScenePerformActionForShortcutItemEventData extends SceneEventData {\n\t/**\n\t * The quick action the user selected.\n\t */\n\tshortcutItem: UIApplicationShortcutItem;\n\n\t/**\n\t * Reports back to iOS whether the action was handled. Only the first call is delivered;\n\t * later ones are ignored.\n\t *\n\t * Unless a legacy `applicationPerformActionForShortcutItemCompletionHandler` handler is\n\t * registered — in which case that handler owns the result — the action is reported as\n\t * unhandled as soon as the listeners return, so a listener that wants to report otherwise\n\t * must call this before returning.\n\t */\n\tcompletionHandler: (handled: boolean) => void;\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application-shims.js","sourceRoot":"","sources":["../../../../packages/core/application/application-shims.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAE3D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAE3E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC,YAAY,CA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AAO,GAAG,WAAW,CAAC,OAAO,CAAC;AAE3C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,WAAW,CAAC,GAAG,CAAC"}
|
|
1
|
+
{"version":3,"file":"application-shims.js","sourceRoot":"","sources":["../../../../packages/core/application/application-shims.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAE3D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,CAAC,cAAc,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAE3E;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,WAAW,CAAC,oBAAoB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAEvF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAErE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAErE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAEvE;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,WAAW,CAAC,UAAU,CAAC,IAAI,CAAC,WAAW,CAAC,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CAAC,YAAY,CAAC;AAErD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG,WAAW,CAAC,4BAA4B,CAAC;AAErF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,WAAW,CAAC,2BAA2B,CAAC;AAEnF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC,eAAe,CAAC;AAE3D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,WAAW,CAAC,eAAe,CAAC;AAE3D;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,WAAW,CAAC,YAAY,CAAC;AAErD;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAC,SAAS,CAAC;AAE/C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,WAAW,CAAC,OAAO,CAAC;AAE3C;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,GAAG,GAAG,WAAW,CAAC,GAAG,CAAC","sourcesContent":["import { Application } from './application';\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.addCss()\n * ```\n */\nexport const addCss = Application.addCss.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.getCssFileName()\n * ```\n */\nexport const getCssFileName = Application.getCssFileName.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.getMainEntry()\n * ```\n */\nexport const getMainEntry = Application.getMainEntry.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.getNativeApplication()\n * ```\n */\nexport const getNativeApplication = Application.getNativeApplication.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.getResources()\n * ```\n */\nexport const getResources = Application.getResources.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.getRootView()\n * ```\n */\nexport const getRootView = Application.getRootView.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.hasLaunched()\n * ```\n */\nexport const hasLaunched = Application.hasLaunched.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.hasListeners()\n * ```\n */\nexport const hasListeners = Application.hasListeners.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.loadAppCss()\n * ```\n */\nexport const loadAppCss = Application.loadAppCss.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.notify()\n * ```\n */\nexport const notify = Application.notify.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.off()\n * ```\n */\nexport const off = Application.off.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.on()\n * ```\n */\nexport const on = Application.on.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.orientation()\n * ```\n */\nexport const orientation = Application.orientation.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.resetRootView()\n * ```\n */\nexport const resetRootView = Application.resetRootView.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.resetRootView()\n * ```\n */\nexport const _resetRootView = Application.resetRootView.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.run()\n * ```\n */\nexport const run = Application.run.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.setAutoSystemAppearanceChanged()\n * ```\n */\nexport const setAutoSystemAppearanceChanged = Application.setAutoSystemAppearanceChanged.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.setCssFileName()\n * ```\n */\nexport const setCssFileName = Application.setCssFileName.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.setMaxRefreshRate()\n * ```\n */\nexport const setMaxRefreshRate = Application.setMaxRefreshRate.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.setResources()\n * ```\n */\nexport const setResources = Application.setResources.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.systemAppearance()\n * ```\n */\nexport const systemAppearance = Application.systemAppearance.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.systemAppearanceChanged()\n * ```\n */\nexport const systemAppearanceChanged = Application.systemAppearanceChanged.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.layoutDirection()\n * ```\n */\nexport const layoutDirection = Application.layoutDirection.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.layoutDirectionChanged()\n * ```\n */\nexport const layoutDirectionChanged = Application.layoutDirectionChanged.bind(Application);\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.discardedErrorEvent\n * ```\n */\nexport const discardedErrorEvent = Application.discardedErrorEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.uncaughtErrorEvent\n * ```\n */\nexport const uncaughtErrorEvent = Application.uncaughtErrorEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.displayedEvent\n * ```\n */\nexport const displayedEvent = Application.displayedEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.exitEvent\n * ```\n */\nexport const exitEvent = Application.exitEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.fontScaleChangedEvent\n * ```\n */\nexport const fontScaleChangedEvent = Application.fontScaleChangedEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.launchEvent\n * ```\n */\nexport const launchEvent = Application.launchEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.lowMemoryEvent\n * ```\n */\nexport const lowMemoryEvent = Application.lowMemoryEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.resumeEvent\n * ```\n */\nexport const resumeEvent = Application.resumeEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.orientationChangedEvent\n * ```\n */\nexport const orientationChangedEvent = Application.orientationChangedEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.suspendEvent\n * ```\n */\nexport const suspendEvent = Application.suspendEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.systemAppearanceChangedEvent\n * ```\n */\nexport const systemAppearanceChangedEvent = Application.systemAppearanceChangedEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.layoutDirectionChangedEvent\n * ```\n */\nexport const layoutDirectionChangedEvent = Application.layoutDirectionChangedEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.backgroundEvent\n * ```\n */\nexport const backgroundEvent = Application.backgroundEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.foregroundEvent\n * ```\n */\nexport const foregroundEvent = Application.foregroundEvent;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.inBackground\n * ```\n */\nexport const inBackground = Application.inBackground;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.suspended\n * ```\n */\nexport const suspended = Application.suspended;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.android\n * ```\n */\nexport const android = Application.android;\n\n/**\n * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release.\n * Use the `Application` class imported from \"@nativescript/core\" instead:\n * ```ts\n * import { Application } from \"@nativescript/core\";\n * Application.ios\n * ```\n */\nexport const ios = Application.ios;\n"]}
|
|
@@ -2,6 +2,10 @@ import { CoreTypes } from '../core-types';
|
|
|
2
2
|
import type { View } from '../ui/core/view';
|
|
3
3
|
import { NavigationEntry } from '../ui/frame/frame-common';
|
|
4
4
|
import { ApplicationCommon } from './application-common';
|
|
5
|
+
import type { AndroidApplication as IAndroidApplication } from './application';
|
|
6
|
+
import { AndroidNativeWindow } from '../native-window/native-window.android';
|
|
7
|
+
import { NativeWindow } from '../native-window/native-window-common';
|
|
8
|
+
import type { WindowOpenOptions } from '../native-window/native-window-interfaces';
|
|
5
9
|
export declare class AndroidApplication extends ApplicationCommon {
|
|
6
10
|
static readonly fragmentCreateEvent = "fragmentCreate";
|
|
7
11
|
static readonly activityCreateEvent = "activityCreate";
|
|
@@ -33,11 +37,13 @@ export declare class AndroidApplication extends ApplicationCommon {
|
|
|
33
37
|
readonly activityRequestPermissionsEvent = "activityRequestPermissions";
|
|
34
38
|
readonly dialogOnCreateViewEvent = "activityRequestPermissions";
|
|
35
39
|
readonly configurationChangeEvent = "activityRequestPermissions";
|
|
40
|
+
on: IAndroidApplication['on'];
|
|
36
41
|
private _nativeApp;
|
|
37
42
|
private _context;
|
|
38
43
|
private _packageName;
|
|
39
44
|
private lifecycleCallbacks;
|
|
40
45
|
private componentCallbacks;
|
|
46
|
+
private _activeWindows;
|
|
41
47
|
init(nativeApp: android.app.Application): void;
|
|
42
48
|
private _registeredReceivers;
|
|
43
49
|
private _registeredReceiversById;
|
|
@@ -62,9 +68,41 @@ export declare class AndroidApplication extends ApplicationCommon {
|
|
|
62
68
|
unregisterBroadcastReceiver(intentFilter: string): void;
|
|
63
69
|
getRegisteredBroadcastReceiver(intentFilter: string): android.content.BroadcastReceiver | undefined;
|
|
64
70
|
getRegisteredBroadcastReceivers(intentFilter: string): android.content.BroadcastReceiver[];
|
|
71
|
+
/**
|
|
72
|
+
* @internal - Get a NativeWindow by its activity.
|
|
73
|
+
*/
|
|
74
|
+
_getWindowForActivity(activity: androidx.appcompat.app.AppCompatActivity): AndroidNativeWindow | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* @internal - Feeds a window's active state into the application-level 'resume'/'suspend'
|
|
77
|
+
* events, which describe the app as a whole: they are raised when the first window becomes
|
|
78
|
+
* active and when the last active one resigns. Callers decide which activities may speak
|
|
79
|
+
* for the app; every window reaching here participates.
|
|
80
|
+
*/
|
|
81
|
+
_setWindowActive(nativeWindow: NativeWindow | undefined, active: boolean, activity?: androidx.appcompat.app.AppCompatActivity): void;
|
|
82
|
+
/**
|
|
83
|
+
* @returns whether the set flipped between empty and non-empty, which is the only point
|
|
84
|
+
* at which app-level state changes.
|
|
85
|
+
*/
|
|
86
|
+
private _trackWindowActive;
|
|
87
|
+
/**
|
|
88
|
+
* Opens a new window by launching the start activity into its own task.
|
|
89
|
+
*
|
|
90
|
+
* @param options Options for the new window. `options.data` is put on the launch
|
|
91
|
+
* intent as extras and surfaces as the window's `data`.
|
|
92
|
+
*
|
|
93
|
+
* @experimental The start activity's `launchMode` in AndroidManifest.xml decides whether a
|
|
94
|
+
* second instance can exist at all: `singleTask` (the app template default) and
|
|
95
|
+
* `singleInstance` route the intent to the existing activity's `onNewIntent` instead of
|
|
96
|
+
* creating one. `singleInstancePerTask` (API 31+) keeps single-task behavior for launcher
|
|
97
|
+
* and deep-link starts while still allowing the `MULTIPLE_TASK`/`NEW_DOCUMENT` launch used
|
|
98
|
+
* here; `standard` also works. When the app is already in split-screen, the new window
|
|
99
|
+
* opens in the adjacent pane; otherwise it covers the current one and both show in recents.
|
|
100
|
+
*/
|
|
101
|
+
openWindow(options?: WindowOpenOptions): void;
|
|
65
102
|
getRootView(): View;
|
|
66
103
|
resetRootView(entry?: NavigationEntry | string): void;
|
|
67
104
|
getSystemAppearance(): 'light' | 'dark';
|
|
105
|
+
private getConfiguration;
|
|
68
106
|
private getSystemAppearanceValue;
|
|
69
107
|
getLayoutDirection(): CoreTypes.LayoutDirectionType;
|
|
70
108
|
private getLayoutDirectionValue;
|
|
@@ -73,5 +111,6 @@ export declare class AndroidApplication extends ApplicationCommon {
|
|
|
73
111
|
get android(): this;
|
|
74
112
|
}
|
|
75
113
|
export * from './application-common';
|
|
114
|
+
export * from './application-interfaces';
|
|
76
115
|
export declare const Application: AndroidApplication;
|
|
77
116
|
export declare const iOSApplication: any;
|