view-layout-model-repository-dem-pickup-view-layout.ts 6.1 KB
Newer Older
1
export default {
chitanda's avatar
chitanda committed
2
  "layoutMode": "FLEX",
3 4 5 6 7 8 9 10 11 12 13
  "rootPanelItems": [
    {
      "panelItems": [
        {
          "panelItems": [
            {
              "caption": "控件占位",
              "itemStyle": "DEFAULT",
              "itemType": "CTRLPOS",
              "layoutPos": {
                "grow": 1,
14
                "shrink": 1,
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
                "layout": "FLEX"
              },
              "showCaption": true,
              "id": "pickupviewpanel"
            }
          ],
          "layout": {
            "layout": "FLEX"
          },
          "dataRegionType": "INHERIT",
          "caption": "容器",
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
            "grow": 1,
30
            "shrink": 1,
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
            "layout": "FLEX"
          },
          "id": "container3"
        },
        {
          "panelItems": [
            {
              "actionType": "UIACTION",
              "uiactionId": "panel_mpickupviewlayout_addselection_click@viewlayoutmodelrepository",
              "tooltip": "添加选中",
              "uiactionTarget": "NONE",
              "caption": "添加选中",
              "itemStyle": "DEFAULT",
              "itemType": "BUTTON",
              "layoutPos": {
46
                "shrink": 1,
47 48 49 50 51 52 53 54 55 56 57 58 59 60
                "layout": "FLEX"
              },
              "showCaption": true,
              "id": "addselection"
            },
            {
              "actionType": "UIACTION",
              "uiactionId": "panel_mpickupviewlayout_addall_click@viewlayoutmodelrepository",
              "tooltip": "添加全部",
              "uiactionTarget": "NONE",
              "caption": "添加全部",
              "itemStyle": "DEFAULT",
              "itemType": "BUTTON",
              "layoutPos": {
61
                "shrink": 1,
62 63 64 65 66 67 68 69 70 71 72 73 74 75
                "layout": "FLEX"
              },
              "showCaption": true,
              "id": "addall"
            },
            {
              "actionType": "UIACTION",
              "uiactionId": "panel_mpickupviewlayout_removeall_click@viewlayoutmodelrepository",
              "tooltip": "移出全部",
              "uiactionTarget": "NONE",
              "caption": "移出全部",
              "itemStyle": "DEFAULT",
              "itemType": "BUTTON",
              "layoutPos": {
76
                "shrink": 1,
77 78 79 80 81 82 83 84 85 86 87 88 89 90
                "layout": "FLEX"
              },
              "showCaption": true,
              "id": "removeall"
            },
            {
              "actionType": "UIACTION",
              "uiactionId": "panel_mpickupviewlayout_removeselection_click@viewlayoutmodelrepository",
              "tooltip": "移出选中",
              "uiactionTarget": "NONE",
              "caption": "移出选中",
              "itemStyle": "DEFAULT",
              "itemType": "BUTTON",
              "layoutPos": {
91
                "shrink": 1,
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
                "layout": "FLEX"
              },
              "showCaption": true,
              "id": "removeselection"
            }
          ],
          "layout": {
            "layout": "FLEX"
          },
          "dataRegionType": "INHERIT",
          "caption": "容器",
          "contentHeight": 36,
          "height": 36,
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
108
            "shrink": 1,
109 110 111 112 113 114 115
            "height": 36,
            "heightMode": "PX",
            "layout": "FLEX"
          },
          "id": "container4"
        },
        {
chitanda's avatar
chitanda committed
116 117 118 119 120 121
          "panelItems": [
            {
              "caption": "列表",
              "itemStyle": "DEFAULT",
              "itemType": "CTRLPOS",
              "layoutPos": {
122
                "shrink": 1,
chitanda's avatar
chitanda committed
123 124 125 126 127 128
                "layout": "FLEX"
              },
              "showCaption": true,
              "id": "simplelist"
            }
          ],
129 130 131 132 133
          "layout": {
            "layout": "FLEX"
          },
          "dataRegionType": "INHERIT",
          "caption": "容器",
chitanda's avatar
chitanda committed
134
          "contentWidth": 300,
135 136 137
          "itemStyle": "DEFAULT",
          "itemType": "CONTAINER",
          "layoutPos": {
138
            "shrink": 1,
chitanda's avatar
chitanda committed
139 140 141
            "layout": "FLEX",
            "width": 300,
            "widthMode": "PX"
142
          },
chitanda's avatar
chitanda committed
143
          "width": 300,
144 145 146 147 148 149 150 151 152 153 154 155
          "id": "container5"
        }
      ],
      "layout": {
        "dir": "row",
        "layout": "FLEX"
      },
      "dataRegionType": "INHERIT",
      "caption": "容器",
      "itemStyle": "DEFAULT",
      "itemType": "CONTAINER",
      "layoutPos": {
chitanda's avatar
chitanda committed
156
        "grow": 1,
157
        "shrink": 1,
chitanda's avatar
chitanda committed
158
        "layout": "FLEX"
159 160 161 162 163 164 165 166 167 168 169 170 171 172
      },
      "id": "container1"
    },
    {
      "panelItems": [
        {
          "actionType": "UIACTION",
          "uiactionId": "panel_mpickupviewlayout_ok_click@viewlayoutmodelrepository",
          "tooltip": "确认",
          "uiactionTarget": "NONE",
          "caption": "确认",
          "itemStyle": "DEFAULT",
          "itemType": "BUTTON",
          "layoutPos": {
173
            "shrink": 1,
174 175 176 177 178 179 180 181 182 183 184 185 186 187
            "layout": "FLEX"
          },
          "showCaption": true,
          "id": "ok"
        },
        {
          "actionType": "UIACTION",
          "uiactionId": "panel_mpickupviewlayout_cancel_click@viewlayoutmodelrepository",
          "tooltip": "取消",
          "uiactionTarget": "NONE",
          "caption": "取消",
          "itemStyle": "DEFAULT",
          "itemType": "BUTTON",
          "layoutPos": {
188
            "shrink": 1,
189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205
            "layout": "FLEX"
          },
          "showCaption": true,
          "id": "cancel"
        }
      ],
      "layout": {
        "dir": "row-reverse",
        "layout": "FLEX"
      },
      "dataRegionType": "INHERIT",
      "caption": "容器",
      "contentHeight": 54,
      "height": 54,
      "itemStyle": "DEFAULT",
      "itemType": "CONTAINER",
      "layoutPos": {
206
        "shrink": 1,
207 208
        "height": 54,
        "heightMode": "PX",
chitanda's avatar
chitanda committed
209
        "layout": "FLEX"
210 211 212 213 214 215 216 217 218 219 220 221 222
      },
      "id": "container2"
    }
  ],
  "layoutPanel": true,
  "codeName": "MPickupViewLayout",
  "controlType": "VIEWLAYOUTPANEL",
  "logicName": "多项选择视图布局面板",
  "appDataEntityId": "web.viewlayoutmodelrepository",
  "controlParam": {},
  "name": "layoutpanel",
  "id": "mpickupviewlayout"
}