• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1export class Model1 {
2  public mValue1: ResourceStr | undefined = undefined
3  public mIcon1: ResourceStr | undefined = undefined
4  public mValue2: ResourceStr | undefined = undefined
5  public mIcon2: ResourceStr | undefined = undefined
6  public mValue3: ResourceStr | undefined = undefined
7  public mIcon3: ResourceStr | undefined = undefined
8  public mValue4: ResourceStr | undefined = undefined
9  public mIcon4: ResourceStr | undefined = undefined
10  public mValue5: ResourceStr | undefined = undefined
11  public mIcon5: ResourceStr | undefined = undefined
12  public mSymbolIcon1?: SymbolGlyphModifier | undefined = undefined
13  public mSymbolIcon2?: SymbolGlyphModifier | undefined = undefined
14  public mSymbolIcon3?: SymbolGlyphModifier | undefined = undefined
15  public mSymbolIcon4?: SymbolGlyphModifier | undefined = undefined
16  public mSymbolIcon5?: SymbolGlyphModifier | undefined = undefined
17
18  constructor(mSymbolIcon1: SymbolGlyphModifier | undefined = undefined,
19    mSymbolIcon2: SymbolGlyphModifier | undefined = undefined,
20    mSymbolIcon3: SymbolGlyphModifier | undefined = undefined,
21    mSymbolIcon4: SymbolGlyphModifier | undefined = undefined,
22    mSymbolIcon5: SymbolGlyphModifier | undefined = undefined, mValue1: ResourceStr = 'undefined',
23    mValue2: ResourceStr = 'undefined', mValue3: ResourceStr = 'undefined', mValue4: ResourceStr = 'undefined',
24    mValue5: ResourceStr = 'undefined', mIcon1?: ResourceStr, mIcon2?: ResourceStr, mIcon3?: ResourceStr,
25    mIcon4?: ResourceStr, mIcon5?: ResourceStr) {
26    this.mValue1 = mValue1
27    this.mIcon1 = mIcon1
28    this.mValue2 = mValue2
29    this.mIcon2 = mIcon2
30    this.mValue3 = mValue3
31    this.mIcon3 = mIcon3
32    this.mValue4 = mValue4
33    this.mIcon4 = mIcon4
34    this.mValue5 = mValue5
35    this.mIcon5 = mIcon5
36    this.mSymbolIcon1 = mSymbolIcon1
37    this.mSymbolIcon2 = mSymbolIcon2
38    this.mSymbolIcon3 = mSymbolIcon3
39    this.mSymbolIcon4 = mSymbolIcon4
40    this.mSymbolIcon5 = mSymbolIcon5
41
42  }
43}
44
45export class Model2 {
46  public controlSize: ControlSize | undefined = undefined
47  public margin: Margin | Length | undefined = undefined
48  public width: Length | undefined = undefined
49  public selected: number | Resource | undefined = undefined
50  public value: string | Resource | undefined = undefined
51  public font: Font | undefined = undefined
52  public fontColor: ResourceColor | undefined = undefined
53  public selectedOptionBgColor: ResourceColor | undefined = undefined
54  public selectedOptionFont: Font | undefined = undefined
55  public selectedOptionFontColor: ResourceColor | undefined = undefined
56  public optionBgColor: ResourceColor | undefined = undefined
57  public optionFont: Font | undefined = undefined
58  public optionFontColor: ResourceColor | undefined = undefined
59  public space: Length | undefined = undefined
60  public arrowPosition: ArrowPosition | undefined = undefined
61  public menuAlignType: MenuAlignType | undefined = undefined
62  public menuAlignOffset: Offset | undefined = undefined
63  public optionWidth: Dimension | OptionWidthMode | undefined = undefined
64  public optionHeight: Dimension | undefined = undefined
65  public divider: Optional<DividerOptions> | null | undefined = undefined
66
67  constructor(controlSize?: ControlSize | undefined, margin?: Margin | Length | undefined, width?: Length | undefined,
68    optionWidth?: Dimension | OptionWidthMode, optionHeight?: Dimension, selected?: number, value?: string, font?: Font,
69    fontColor?: ResourceColor, selectedOptionBgColor?: ResourceColor, selectedOptionFont?: Font,
70    selectedOptionFontColor?: ResourceColor, optionBgColor?: ResourceColor, optionFont?: Font,
71    optionFontColor?: ResourceColor, space?: Length, arrowPosition?: ArrowPosition, menuAlignType?: MenuAlignType
72    , menuAlignOffset?: Offset, divider?: Optional<DividerOptions> | null | undefined) {
73    this.controlSize = controlSize
74    this.selected = selected
75    this.value = value
76    this.font = font
77    this.fontColor = fontColor
78    this.selectedOptionBgColor = selectedOptionBgColor
79    this.selectedOptionFont = selectedOptionFont
80    this.selectedOptionFontColor = selectedOptionFontColor
81    this.optionBgColor = optionBgColor
82    this.optionFont = optionFont
83    this.optionFontColor = optionFontColor
84    this.space = space
85    this.arrowPosition = arrowPosition
86    this.menuAlignType = menuAlignType
87    this.menuAlignOffset = menuAlignOffset
88    this.optionWidth = optionWidth
89    this.optionHeight = optionHeight
90    this.margin = margin
91    this.width = width
92    this.divider = divider
93  }
94}