• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2023 Shenzhen Kaihong Digital Industry Development 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
16enum EntryForm {
17  NORMAL = 0,
18  CAMERA = 1,
19  SINGLE_SELECT = 2,
20  MULTIPLE_SELECT = 3,
21  RECYCLE = 4,
22  DISTRIBUTED = 5,
23  CARD = 6,
24  VIEW_DATA = 7
25}
26
27export class RouterConstants {
28  static readonly ENTRY_FROM_NONE = 0;
29  static readonly ENTRY_FROM_CAMERA = 1;
30  static readonly ENTRY_FROM_SINGLE_SELECT = 2;
31  static readonly ENTRY_FROM_MULTIPLE_SELECT = 3;
32  static readonly ENTRY_FROM_RECYCLE = 4;
33  static readonly ENTRY_FROM_DISTRIBUTED = 5;
34  static readonly ENTRY_FROM_NORMAL = 6;
35  static readonly ENTRY_FROM_FORM_ABILITY = 7;
36  static readonly ENTRY_FROM_FORM_FORM_EDITOR = 8;
37  static readonly ENTRY_FROM_VIEW_DATA = 9;
38  static readonly ENTRY_FROM_FORM_ABILITY_NONE = 12;
39  static readonly ENTRY_FROM = EntryForm;
40}