• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2025 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to  in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16export class MultiNavigation extends ViewPU {
17    constructor(q8, r8, s8, t8 = -1, u8 = undefined, v8) {
18        super();
19    }
20    setInitiallyProvidedValue(p8) {
21    }
22    updateStateVars(o8) {
23    }
24    purgeVariableDependenciesOnElmtId(n8) {
25    }
26    aboutToBeDeleted() {
27    }
28    initialRender() {
29        this.observeComponentCreation2((elmtId, isInitialRender) => {
30            Column.create();
31            Column.backgroundColor('#ccc');
32        }, Column);
33        this.observeComponentCreation2((elmtId, isInitialRender) => {
34            Text.create('Preview not available for this component');
35            Text.fontSize(18);
36        }, Text);
37        Text.pop();
38        Column.pop();
39    }
40    rerender() {
41        this.updateDirtyElements();
42    }
43}
44
45let MultiNavPathStack = class MultiNavPathStack extends NavPathStack {}
46
47export var SplitPolicy;
48(function (z8) {
49    z8[z8["HOME_PAGE"] = 0] = "HOME_PAGE";
50    z8[z8["DETAIL_PAGE"] = 1] = "DETAIL_PAGE";
51    z8[z8["FULL_PAGE"] = 2] = "FULL_PAGE";
52    z8[z8["PlACE_HOLDER_PAGE"] = 3] = "PlACE_HOLDER_PAGE";
53})(SplitPolicy || (SplitPolicy = {}));
54
55export default { MultiNavigation, MultiNavPathStack, SplitPolicy }