"use strict";(self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[4666],{74666:function(t,e,n){n.r(e);var a={contexts:["*"],versions:["*"],prefix:"sn-open-drawer",label:"Open view (drawer)",description:"Open a view in drawer via ctx.openView",locales:{"zh-CN":{label:"\u6253\u5F00\u89C6\u56FE\uFF08\u62BD\u5C49\uFF09",description:"\u901A\u8FC7 ctx.openView \u4EE5\u62BD\u5C49\u65B9\u5F0F\u6253\u5F00\u89C6\u56FE"}},content:`
// Open a view as drawer and pass arguments at top-level
const popupUid = ctx.model.uid + '-1'; // popupUid should be stable and better bound to ctx.model.uid
await ctx.openView(popupUid, {
  mode: 'drawer',
  title: ctx.t('Sample drawer'),
  size: 'large',
});
`};e.default=a}}]);
