@lvce-editor/about-view 7.10.0 → 7.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aboutWorkerMain.js +29 -24
- package/package.json +1 -1
package/dist/aboutWorkerMain.js
CHANGED
|
@@ -2274,6 +2274,32 @@ const joinBySpace = (...items) => {
|
|
|
2274
2274
|
|
|
2275
2275
|
const Focusable = -1;
|
|
2276
2276
|
|
|
2277
|
+
const dialogToolBarRow = {
|
|
2278
|
+
childCount: 1,
|
|
2279
|
+
className: DialogToolBarRow,
|
|
2280
|
+
type: Div
|
|
2281
|
+
};
|
|
2282
|
+
const dialogMessageRow = {
|
|
2283
|
+
childCount: 2,
|
|
2284
|
+
className: DialogMessageRow,
|
|
2285
|
+
type: Div
|
|
2286
|
+
};
|
|
2287
|
+
const dialogContentRight = {
|
|
2288
|
+
childCount: 2,
|
|
2289
|
+
className: DialogContentRight,
|
|
2290
|
+
type: Div
|
|
2291
|
+
};
|
|
2292
|
+
const dialogHeading = {
|
|
2293
|
+
childCount: 1,
|
|
2294
|
+
className: DialogHeading$1,
|
|
2295
|
+
id: DialogHeading,
|
|
2296
|
+
type: Div
|
|
2297
|
+
};
|
|
2298
|
+
const dialogButtonsRow = {
|
|
2299
|
+
childCount: 2,
|
|
2300
|
+
className: DialogButtonsRow,
|
|
2301
|
+
type: Div
|
|
2302
|
+
};
|
|
2277
2303
|
const getDialogVirtualDom = (content, closeMessage, infoMessage, okMessage, copyMessage, productName) => {
|
|
2278
2304
|
const dom = [{
|
|
2279
2305
|
ariaLabelledBy: joinBySpace(DialogIcon, DialogHeading),
|
|
@@ -2284,11 +2310,7 @@ const getDialogVirtualDom = (content, closeMessage, infoMessage, okMessage, copy
|
|
|
2284
2310
|
role: Dialog,
|
|
2285
2311
|
tabIndex: Focusable,
|
|
2286
2312
|
type: Div
|
|
2287
|
-
}, {
|
|
2288
|
-
childCount: 1,
|
|
2289
|
-
className: DialogToolBarRow,
|
|
2290
|
-
type: Div
|
|
2291
|
-
}, {
|
|
2313
|
+
}, dialogToolBarRow, {
|
|
2292
2314
|
ariaLabel: closeMessage,
|
|
2293
2315
|
childCount: 1,
|
|
2294
2316
|
className: DialogClose,
|
|
@@ -2298,30 +2320,13 @@ const getDialogVirtualDom = (content, closeMessage, infoMessage, okMessage, copy
|
|
|
2298
2320
|
childCount: 0,
|
|
2299
2321
|
className: mergeClassNames(MaskIcon, MaskIconClose),
|
|
2300
2322
|
type: Div
|
|
2301
|
-
}, {
|
|
2302
|
-
childCount: 2,
|
|
2303
|
-
className: DialogMessageRow,
|
|
2304
|
-
type: Div
|
|
2305
|
-
}, {
|
|
2323
|
+
}, dialogMessageRow, {
|
|
2306
2324
|
ariaLabel: infoMessage,
|
|
2307
2325
|
childCount: 0,
|
|
2308
2326
|
className: mergeClassNames(DialogIcon$1, DialogInfoIcon, MaskIcon, MaskIconInfo),
|
|
2309
2327
|
id: DialogIcon,
|
|
2310
2328
|
type: Div
|
|
2311
|
-
},
|
|
2312
|
-
childCount: 2,
|
|
2313
|
-
className: DialogContentRight,
|
|
2314
|
-
type: Div
|
|
2315
|
-
}, {
|
|
2316
|
-
childCount: 1,
|
|
2317
|
-
className: DialogHeading$1,
|
|
2318
|
-
id: DialogHeading,
|
|
2319
|
-
type: Div
|
|
2320
|
-
}, text(productName), ...content, {
|
|
2321
|
-
childCount: 2,
|
|
2322
|
-
className: DialogButtonsRow,
|
|
2323
|
-
type: Div
|
|
2324
|
-
}, ...getSecondaryButtonVirtualDom(okMessage, Ok$1), ...getPrimaryButtonVirtualDom(copyMessage, Copy$1)];
|
|
2329
|
+
}, dialogContentRight, dialogHeading, text(productName), ...content, dialogButtonsRow, ...getSecondaryButtonVirtualDom(okMessage, Ok$1), ...getPrimaryButtonVirtualDom(copyMessage, Copy$1)];
|
|
2325
2330
|
return dom;
|
|
2326
2331
|
};
|
|
2327
2332
|
|