| 1267 | callback: popupCallback, | 1267 | callback: popupCallback, |
| 1268 | returns: 'popup text', | 1268 | returns: 'popup text', |
| 1269 | namedArgumentList: [ | 1269 | namedArgumentList: [ |
| 1270 | new SlashCommandNamedArgument( | 1270 | SlashCommandNamedArgument.fromProps({ |
| 1271 | 'large', 'show large popup', [ARGUMENT_TYPE.BOOLEAN], false, false, null, commonEnumProviders.boolean('onOff')(), | 1271 | name: 'large', |
| 1272 | ), | 1272 | description: 'show large popup', |
| 1273 | new SlashCommandNamedArgument( | 1273 | typeList: [ARGUMENT_TYPE.BOOLEAN], |
| 1274 | 'wide', 'show wide popup', [ARGUMENT_TYPE.BOOLEAN], false, false, null, commonEnumProviders.boolean('onOff')(), | 1274 | enumList: commonEnumProviders.boolean('onOff')(), |
| 1275 | ), | 1275 | }), |
| 1276 | new SlashCommandNamedArgument( | 1276 | SlashCommandNamedArgument.fromProps({ |
| 1277 | 'wider', 'show wider popup', [ARGUMENT_TYPE.BOOLEAN], false, false, null, commonEnumProviders.boolean('onOff')(), | 1277 | name: 'wide', |
| 1278 | ), | 1278 | description: 'show wide popup', |
| 1279 | new SlashCommandNamedArgument( | 1279 | typeList: [ARGUMENT_TYPE.BOOLEAN], |
| 1280 | 'transparent', 'show transparent popup', [ARGUMENT_TYPE.BOOLEAN], false, false, null, commonEnumProviders.boolean('onOff')(), | 1280 | enumList: commonEnumProviders.boolean('onOff')(), |
| 1281 | ), | 1281 | }), |
| 1282 | new SlashCommandNamedArgument( | 1282 | SlashCommandNamedArgument.fromProps({ |
| 1283 | 'okButton', 'text for the OK button', [ARGUMENT_TYPE.STRING], false, | 1283 | name: 'wider', |
| 1284 | ), | 1284 | description: 'show wider popup', |
| | 1285 | typeList: [ARGUMENT_TYPE.BOOLEAN], |
| | 1286 | enumList: commonEnumProviders.boolean('onOff')(), |
| | 1287 | }), |
| | 1288 | SlashCommandNamedArgument.fromProps({ |
| | 1289 | name: 'transparent', |
| | 1290 | description: 'show transparent popup', |
| | 1291 | typeList: [ARGUMENT_TYPE.BOOLEAN], |
| | 1292 | enumList: commonEnumProviders.boolean('onOff')(), |
| | 1293 | }), |
| | 1294 | SlashCommandNamedArgument.fromProps({ |
| | 1295 | name: 'okButton', |
| | 1296 | description: 'text for the OK button', |
| | 1297 | typeList: [ARGUMENT_TYPE.STRING], |
| | 1298 | defaultValue: 'OK', |
| | 1299 | }), |
| | 1300 | SlashCommandNamedArgument.fromProps({ |
| | 1301 | name: 'cancelButton', |
| | 1302 | description: 'text for the Cancel button', |
| | 1303 | typeList: [ARGUMENT_TYPE.STRING], |
| | 1304 | }), |
| 1285 | ], | 1305 | ], |
| 1286 | unnamedArgumentList: [ | 1306 | unnamedArgumentList: [ |
| 1287 | new SlashCommandArgument( | 1307 | new SlashCommandArgument( |