@trops/dash-core 0.1.883 → 0.1.884
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/index.esm.js +168 -89
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +168 -89
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -79151,6 +79151,78 @@ var PAGES = {
|
|
|
79151
79151
|
themes: "the Themes page"
|
|
79152
79152
|
};
|
|
79153
79153
|
|
|
79154
|
+
/**
|
|
79155
|
+
* What the Dash team can make, for a new Dash Lead conversation (Create —
|
|
79156
|
+
* one place to start, frame 1): a card each, with a hint and an example
|
|
79157
|
+
* that goes in the box.
|
|
79158
|
+
*/
|
|
79159
|
+
var MAKE_KINDS = [{
|
|
79160
|
+
kind: "dashboard",
|
|
79161
|
+
title: "A dashboard",
|
|
79162
|
+
hint: "Widgets and bots together on one screen",
|
|
79163
|
+
example: "A dashboard for my smart home",
|
|
79164
|
+
icon: "table-cells-large"
|
|
79165
|
+
}, {
|
|
79166
|
+
kind: "widget",
|
|
79167
|
+
title: "A widget",
|
|
79168
|
+
hint: "One tile that shows or does one thing",
|
|
79169
|
+
example: "A widget that shows my calendar",
|
|
79170
|
+
icon: "puzzle-piece"
|
|
79171
|
+
}, {
|
|
79172
|
+
kind: "bot",
|
|
79173
|
+
title: "A bot",
|
|
79174
|
+
hint: "Works on its own — on a schedule, an event or a click",
|
|
79175
|
+
example: "A bot that sums up my email each morning",
|
|
79176
|
+
icon: "robot"
|
|
79177
|
+
}, {
|
|
79178
|
+
kind: "theme",
|
|
79179
|
+
title: "A theme",
|
|
79180
|
+
hint: "Colors for the app or one dashboard",
|
|
79181
|
+
example: "A Halloween theme",
|
|
79182
|
+
icon: "palette"
|
|
79183
|
+
}, {
|
|
79184
|
+
kind: "change",
|
|
79185
|
+
title: "A change",
|
|
79186
|
+
hint: "To a dashboard, widget, bot or theme you have",
|
|
79187
|
+
example: "Change one of my dashboards",
|
|
79188
|
+
icon: "pen"
|
|
79189
|
+
}];
|
|
79190
|
+
|
|
79191
|
+
/**
|
|
79192
|
+
* Other ways to start a Dash Lead conversation (frame 13; in the middle
|
|
79193
|
+
* since "one place to start"). `kind` is what LeadWorkspace's startFrom
|
|
79194
|
+
* does: "registry" | "copy" | "blank" | "import" | "widget". Describing it
|
|
79195
|
+
* is the box itself.
|
|
79196
|
+
*/
|
|
79197
|
+
var START_FROM = [{
|
|
79198
|
+
kind: "registry",
|
|
79199
|
+
title: "A dashboard from the registry",
|
|
79200
|
+
sub: "Install a ready-made one and its bots, then adjust it",
|
|
79201
|
+
icon: "cloud-arrow-down"
|
|
79202
|
+
}, {
|
|
79203
|
+
kind: "copy",
|
|
79204
|
+
title: "Copy one of your dashboards",
|
|
79205
|
+
sub: "Start from what you have and change it",
|
|
79206
|
+
icon: "copy"
|
|
79207
|
+
},
|
|
79208
|
+
// The Create window's no-AI starts (release 6c).
|
|
79209
|
+
{
|
|
79210
|
+
kind: "blank",
|
|
79211
|
+
title: "A blank dashboard",
|
|
79212
|
+
sub: "Start empty and add widgets yourself",
|
|
79213
|
+
icon: "square-plus"
|
|
79214
|
+
}, {
|
|
79215
|
+
kind: "import",
|
|
79216
|
+
title: "A dashboard file",
|
|
79217
|
+
sub: "Import one someone shared with you",
|
|
79218
|
+
icon: "file-import"
|
|
79219
|
+
}, {
|
|
79220
|
+
kind: "widget",
|
|
79221
|
+
title: "Edit a widget you have",
|
|
79222
|
+
sub: "Open it in the Widget Builder",
|
|
79223
|
+
icon: "code"
|
|
79224
|
+
}];
|
|
79225
|
+
|
|
79154
79226
|
/**
|
|
79155
79227
|
* A page's New: { kind: "widget" | "bot" | "dashboard", from?: page } →
|
|
79156
79228
|
* the conversation's start — its "Making:" line, greeting and starters,
|
|
@@ -84558,39 +84630,6 @@ var BUILD_ROLES = {
|
|
|
84558
84630
|
}
|
|
84559
84631
|
};
|
|
84560
84632
|
|
|
84561
|
-
/**
|
|
84562
|
-
* Where you can start a new Dash Lead conversation from (frame 13).
|
|
84563
|
-
* `onStartFrom(kind)`: "describe" | "registry" | "copy" | "blank" |
|
|
84564
|
-
* "import" | "widget".
|
|
84565
|
-
*/
|
|
84566
|
-
var START_FROM = [{
|
|
84567
|
-
kind: "describe",
|
|
84568
|
-
title: "Describe it",
|
|
84569
|
-
sub: "Say what you want in the box — the usual way"
|
|
84570
|
-
}, {
|
|
84571
|
-
kind: "registry",
|
|
84572
|
-
title: "A dashboard from the registry",
|
|
84573
|
-
sub: "Install a ready-made one and its bots, then adjust it"
|
|
84574
|
-
}, {
|
|
84575
|
-
kind: "copy",
|
|
84576
|
-
title: "Copy one of your dashboards",
|
|
84577
|
-
sub: "Start from what you have and change it"
|
|
84578
|
-
},
|
|
84579
|
-
// The Create window's no-AI starts (release 6c).
|
|
84580
|
-
{
|
|
84581
|
-
kind: "blank",
|
|
84582
|
-
title: "A blank dashboard",
|
|
84583
|
-
sub: "Start empty and add widgets yourself"
|
|
84584
|
-
}, {
|
|
84585
|
-
kind: "import",
|
|
84586
|
-
title: "A dashboard file",
|
|
84587
|
-
sub: "Import one someone shared with you"
|
|
84588
|
-
}, {
|
|
84589
|
-
kind: "widget",
|
|
84590
|
-
title: "Edit a widget you have",
|
|
84591
|
-
sub: "Open it in the Widget Builder"
|
|
84592
|
-
}];
|
|
84593
|
-
|
|
84594
84633
|
/**
|
|
84595
84634
|
* What each bot is doing right now — one line, from its stream: the tool
|
|
84596
84635
|
* it's calling, or that it's writing. Cleared when its run ends.
|
|
@@ -84771,8 +84810,6 @@ function memberState(m, last, status, _ref2) {
|
|
|
84771
84810
|
* earlier plan), a step's id, or null
|
|
84772
84811
|
* @param {(what) => void} onOpen
|
|
84773
84812
|
* @param {boolean} wide, onToggleWide the column's size
|
|
84774
|
-
* @param {boolean} isNew a new conversation, nothing asked yet
|
|
84775
|
-
* @param {(kind) => void} onStartFrom a Start from choice
|
|
84776
84813
|
* @param {object|null} build the plan's build (release 3b: { buildId, kind,
|
|
84777
84814
|
* leftOff }); its outputs open as "buildlog", "check" and "preview"
|
|
84778
84815
|
* @param {object|null} pb the build, live (usePlanBuild)
|
|
@@ -84809,10 +84846,6 @@ var WorkspaceSide = function WorkspaceSide(_ref3) {
|
|
|
84809
84846
|
wide = _ref3$wide === void 0 ? false : _ref3$wide,
|
|
84810
84847
|
_ref3$onToggleWide = _ref3.onToggleWide,
|
|
84811
84848
|
onToggleWide = _ref3$onToggleWide === void 0 ? null : _ref3$onToggleWide,
|
|
84812
|
-
_ref3$isNew = _ref3.isNew,
|
|
84813
|
-
isNew = _ref3$isNew === void 0 ? false : _ref3$isNew,
|
|
84814
|
-
_ref3$onStartFrom = _ref3.onStartFrom,
|
|
84815
|
-
onStartFrom = _ref3$onStartFrom === void 0 ? null : _ref3$onStartFrom,
|
|
84816
84849
|
_ref3$build = _ref3.build,
|
|
84817
84850
|
build = _ref3$build === void 0 ? null : _ref3$build,
|
|
84818
84851
|
_ref3$pb = _ref3.pb,
|
|
@@ -84823,8 +84856,6 @@ var WorkspaceSide = function WorkspaceSide(_ref3) {
|
|
|
84823
84856
|
onSummary = _ref3$onSummary === void 0 ? null : _ref3$onSummary,
|
|
84824
84857
|
_ref3$onUseRegistry = _ref3.onUseRegistry,
|
|
84825
84858
|
onUseRegistry = _ref3$onUseRegistry === void 0 ? null : _ref3$onUseRegistry,
|
|
84826
|
-
_ref3$startFromSkip = _ref3.startFromSkip,
|
|
84827
|
-
startFromSkip = _ref3$startFromSkip === void 0 ? null : _ref3$startFromSkip,
|
|
84828
84859
|
_ref3$onWidgetMode = _ref3.onWidgetMode,
|
|
84829
84860
|
onWidgetMode = _ref3$onWidgetMode === void 0 ? null : _ref3$onWidgetMode,
|
|
84830
84861
|
_ref3$onSignIn = _ref3.onSignIn,
|
|
@@ -84898,7 +84929,6 @@ var WorkspaceSide = function WorkspaceSide(_ref3) {
|
|
|
84898
84929
|
id: contact.botId,
|
|
84899
84930
|
name: contact.name
|
|
84900
84931
|
}].concat(_toConsumableArray(members)) : [];
|
|
84901
|
-
var startFrom = isNew && contact && contact.kind === "dashlead" && onStartFrom;
|
|
84902
84932
|
// Connected for real — a connect skipped before building isn't.
|
|
84903
84933
|
var connected = function connected(it) {
|
|
84904
84934
|
return !!(wp && wp.have && wp.have.has(normalizeType(it.providerType)));
|
|
@@ -85089,7 +85119,7 @@ var WorkspaceSide = function WorkspaceSide(_ref3) {
|
|
|
85089
85119
|
children: [" \xB7 ", state]
|
|
85090
85120
|
})]
|
|
85091
85121
|
}), line ? /*#__PURE__*/jsx("span", {
|
|
85092
|
-
className: "text-xs font-mono
|
|
85122
|
+
className: "text-xs truncate ".concat(tone === "working" ? "font-mono" : "", " ").concat(muted),
|
|
85093
85123
|
children: line
|
|
85094
85124
|
}) : null]
|
|
85095
85125
|
}), out ? /*#__PURE__*/jsxs("button", {
|
|
@@ -85108,31 +85138,7 @@ var WorkspaceSide = function WorkspaceSide(_ref3) {
|
|
|
85108
85138
|
children: [/*#__PURE__*/jsx("span", {
|
|
85109
85139
|
className: "text-sm font-semibold ".concat(strong),
|
|
85110
85140
|
children: "Outputs"
|
|
85111
|
-
}),
|
|
85112
|
-
className: "flex flex-col gap-2",
|
|
85113
|
-
"data-testid": "workspace-start-from",
|
|
85114
|
-
children: [/*#__PURE__*/jsx("span", {
|
|
85115
|
-
className: "text-xs ".concat(muted),
|
|
85116
|
-
children: "Start from"
|
|
85117
|
-
}), START_FROM.filter(function (s) {
|
|
85118
|
-
return !(startFromSkip || []).includes(s.kind);
|
|
85119
|
-
}).map(function (s) {
|
|
85120
|
-
return /*#__PURE__*/jsxs("button", {
|
|
85121
|
-
type: "button",
|
|
85122
|
-
onClick: function onClick() {
|
|
85123
|
-
return onStartFrom(s.kind);
|
|
85124
|
-
},
|
|
85125
|
-
className: "flex flex-col gap-0.5 rounded-lg border px-3 py-2.5 text-left ".concat(hairline),
|
|
85126
|
-
children: [/*#__PURE__*/jsx("span", {
|
|
85127
|
-
className: "text-sm font-semibold ".concat(strong),
|
|
85128
|
-
children: s.title
|
|
85129
|
-
}), /*#__PURE__*/jsx("span", {
|
|
85130
|
-
className: "text-xs ".concat(muted),
|
|
85131
|
-
children: s.sub
|
|
85132
|
-
})]
|
|
85133
|
-
}, s.kind);
|
|
85134
|
-
})]
|
|
85135
|
-
}) : null, wp && !build ? /*#__PURE__*/jsx(BeforeItBuilds, {
|
|
85141
|
+
}), wp && !build ? /*#__PURE__*/jsx(BeforeItBuilds, {
|
|
85136
85142
|
wp: wp,
|
|
85137
85143
|
readOnly: planReadOnly
|
|
85138
85144
|
}) : null, /*#__PURE__*/jsx(BuildNeedsYou, {
|
|
@@ -85199,7 +85205,7 @@ var WorkspaceSide = function WorkspaceSide(_ref3) {
|
|
|
85199
85205
|
return onOpen(s.id);
|
|
85200
85206
|
}
|
|
85201
85207
|
}, s.id);
|
|
85202
|
-
}), !answered.length && !plan && !
|
|
85208
|
+
}), !answered.length && !plan && !(planActions && next) ? /*#__PURE__*/jsx("span", {
|
|
85203
85209
|
className: "rounded-xl border border-dashed p-6 text-center text-sm ".concat(hairline, " ").concat(muted),
|
|
85204
85210
|
children: isBot ? "Its answers and results show here." : "What the team makes shows here."
|
|
85205
85211
|
}) : null, /*#__PURE__*/jsx("div", {
|
|
@@ -85920,11 +85926,13 @@ function startText(contact) {
|
|
|
85920
85926
|
text: "",
|
|
85921
85927
|
starters: []
|
|
85922
85928
|
};
|
|
85929
|
+
// What the team can make, a card each (Create — one place to start).
|
|
85923
85930
|
if (contact.kind === "dashlead") {
|
|
85924
85931
|
return {
|
|
85925
85932
|
title: "What should we make?",
|
|
85926
|
-
text: "Describe it in your own words
|
|
85927
|
-
starters: [
|
|
85933
|
+
text: "Describe it in your own words. The team plans it with you, and nothing is made until you say yes.",
|
|
85934
|
+
starters: [],
|
|
85935
|
+
kinds: MAKE_KINDS
|
|
85928
85936
|
};
|
|
85929
85937
|
}
|
|
85930
85938
|
var first = contact.members[0];
|
|
@@ -85985,6 +85993,8 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
|
|
|
85985
85993
|
rawThemes = _ref2.rawThemes,
|
|
85986
85994
|
changeCurrentTheme = _ref2.changeCurrentTheme,
|
|
85987
85995
|
themeKey = _ref2.themeKey;
|
|
85996
|
+
// An example's colour: the accent role (as the side's links).
|
|
85997
|
+
var link = "".concat(currentTheme && currentTheme["text-primary-medium"] || "", " dr-role-accent");
|
|
85988
85998
|
var username = useRegistryUsername();
|
|
85989
85999
|
var panel = getStylesForItem(themeObjects.PANEL, currentTheme, {
|
|
85990
86000
|
grow: false
|
|
@@ -85993,7 +86003,8 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
|
|
|
85993
86003
|
muted = _useConfigTokens.muted,
|
|
85994
86004
|
strong = _useConfigTokens.strong,
|
|
85995
86005
|
hairline = _useConfigTokens.hairline,
|
|
85996
|
-
selectedBg = _useConfigTokens.selectedBg
|
|
86006
|
+
selectedBg = _useConfigTokens.selectedBg,
|
|
86007
|
+
fieldBg = _useConfigTokens.fieldBg;
|
|
85997
86008
|
var statusTokens = useStatusTokens();
|
|
85998
86009
|
var composer = useRef(null);
|
|
85999
86010
|
// The conversation's handle (AskStep's askPlanner): the plan's card sends
|
|
@@ -86874,16 +86885,17 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
|
|
|
86874
86885
|
// The lead is still answering: the plan isn't changed meanwhile.
|
|
86875
86886
|
var answering = stillAnswering(messages) || askBusy;
|
|
86876
86887
|
|
|
86888
|
+
// Or start from shows in a new Dash Lead conversation (and a page's New
|
|
86889
|
+
// Dashboard), in the middle.
|
|
86890
|
+
var startsHere = !open && !!contact && contact.kind === "dashlead" && (!makingShown || makingDashboard);
|
|
86877
86891
|
// Start from (frame 13). Describing it is the box; the registry's
|
|
86878
86892
|
// dashboards open on the right (frame 42); copying a dashboard and editing
|
|
86879
86893
|
// a widget are on their pages.
|
|
86880
86894
|
var startFrom = function startFrom(kind) {
|
|
86881
|
-
if (kind === "describe") {
|
|
86882
|
-
if (composer.current) composer.current.focus();
|
|
86883
|
-
return;
|
|
86884
|
-
}
|
|
86885
86895
|
if (kind === "registry") {
|
|
86886
86896
|
setSideOpen("registry");
|
|
86897
|
+
// A small window: the right column is a panel — opened with it.
|
|
86898
|
+
if (narrow) setOutsOpen(true);
|
|
86887
86899
|
return;
|
|
86888
86900
|
}
|
|
86889
86901
|
if (kind === "blank" || kind === "import") {
|
|
@@ -87406,9 +87418,9 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
|
|
|
87406
87418
|
}).length) : null
|
|
87407
87419
|
}, "".concat(contact.key, ":").concat(open.key)) : /*#__PURE__*/jsxs(Fragment, {
|
|
87408
87420
|
children: [/*#__PURE__*/jsx("div", {
|
|
87409
|
-
className: "flex-1 min-h-0 overflow-y-auto flex flex-col
|
|
87421
|
+
className: "flex-1 min-h-0 overflow-y-auto flex flex-col px-6 py-6",
|
|
87410
87422
|
children: /*#__PURE__*/jsxs("div", {
|
|
87411
|
-
className: "flex flex-col gap-4 max-w-
|
|
87423
|
+
className: "flex flex-col gap-4 max-w-5xl my-auto",
|
|
87412
87424
|
"data-testid": "workspace-start",
|
|
87413
87425
|
children: [/*#__PURE__*/jsx("span", {
|
|
87414
87426
|
className: "text-2xl font-semibold ".concat(strong),
|
|
@@ -87421,7 +87433,7 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
|
|
|
87421
87433
|
role: "status",
|
|
87422
87434
|
"data-testid": "workspace-seed-error",
|
|
87423
87435
|
children: seedError
|
|
87424
|
-
}) : null, /*#__PURE__*/jsx("div", {
|
|
87436
|
+
}) : null, start.starters.length ? /*#__PURE__*/jsx("div", {
|
|
87425
87437
|
className: "flex flex-row flex-wrap gap-2",
|
|
87426
87438
|
children: start.starters.map(function (s) {
|
|
87427
87439
|
return /*#__PURE__*/jsx(Button2, {
|
|
@@ -87432,7 +87444,82 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
|
|
|
87432
87444
|
}
|
|
87433
87445
|
}, s);
|
|
87434
87446
|
})
|
|
87435
|
-
})
|
|
87447
|
+
}) : null, start.kinds ? /*#__PURE__*/jsxs("div", {
|
|
87448
|
+
className: "flex flex-col gap-2",
|
|
87449
|
+
children: [/*#__PURE__*/jsx("div", {
|
|
87450
|
+
className: "flex flex-row flex-wrap gap-3",
|
|
87451
|
+
"data-testid": "workspace-make-kinds",
|
|
87452
|
+
children: start.kinds.map(function (k) {
|
|
87453
|
+
return /*#__PURE__*/jsxs("button", {
|
|
87454
|
+
type: "button",
|
|
87455
|
+
"aria-label": "".concat(k.title, ". ").concat(k.hint, ". Example: ").concat(k.example),
|
|
87456
|
+
onClick: function onClick() {
|
|
87457
|
+
setDraft(k.example);
|
|
87458
|
+
if (composer.current) composer.current.focus();
|
|
87459
|
+
},
|
|
87460
|
+
className: "w-44 flex flex-col items-start gap-1.5 rounded-xl border p-3 text-left ".concat(hairline),
|
|
87461
|
+
children: [/*#__PURE__*/jsx("span", {
|
|
87462
|
+
className: "flex items-center justify-center h-8 w-8 rounded-lg ".concat(fieldBg, " dr-role-well ").concat(strong),
|
|
87463
|
+
"aria-hidden": "true",
|
|
87464
|
+
children: /*#__PURE__*/jsx(FontAwesomeIcon, {
|
|
87465
|
+
icon: k.icon,
|
|
87466
|
+
className: "h-4 w-4"
|
|
87467
|
+
})
|
|
87468
|
+
}), /*#__PURE__*/jsx("span", {
|
|
87469
|
+
className: "text-sm font-semibold ".concat(strong),
|
|
87470
|
+
children: k.title
|
|
87471
|
+
}), /*#__PURE__*/jsx("span", {
|
|
87472
|
+
className: "text-xs ".concat(muted),
|
|
87473
|
+
children: k.hint
|
|
87474
|
+
}), /*#__PURE__*/jsxs("span", {
|
|
87475
|
+
className: "text-xs ".concat(link),
|
|
87476
|
+
children: ["\u201C", k.example, "\u201D"]
|
|
87477
|
+
})]
|
|
87478
|
+
}, k.kind);
|
|
87479
|
+
})
|
|
87480
|
+
}), /*#__PURE__*/jsx("span", {
|
|
87481
|
+
className: "text-xs ".concat(muted),
|
|
87482
|
+
children: "Click one to put its example in the box \u2014 then change it to what you want."
|
|
87483
|
+
})]
|
|
87484
|
+
}) : null, startsHere ? /*#__PURE__*/jsxs("div", {
|
|
87485
|
+
className: "flex flex-col gap-2 pt-2",
|
|
87486
|
+
"data-testid": "workspace-start-from",
|
|
87487
|
+
children: [/*#__PURE__*/jsx("span", {
|
|
87488
|
+
className: "text-xs ".concat(muted),
|
|
87489
|
+
children: "Or start from"
|
|
87490
|
+
}), /*#__PURE__*/jsx("div", {
|
|
87491
|
+
className: "flex flex-row flex-wrap gap-3",
|
|
87492
|
+
children: START_FROM.filter(function (s) {
|
|
87493
|
+
return !(makingDashboard && s.kind === "widget");
|
|
87494
|
+
}).map(function (s) {
|
|
87495
|
+
return /*#__PURE__*/jsxs("button", {
|
|
87496
|
+
type: "button",
|
|
87497
|
+
"aria-label": "".concat(s.title, ". ").concat(s.sub),
|
|
87498
|
+
onClick: function onClick() {
|
|
87499
|
+
return startFrom(s.kind);
|
|
87500
|
+
},
|
|
87501
|
+
className: "w-60 flex flex-row items-start gap-3 rounded-xl border p-3 text-left ".concat(hairline, " ").concat(selectedBg),
|
|
87502
|
+
children: [/*#__PURE__*/jsx("span", {
|
|
87503
|
+
className: "flex-shrink-0 flex items-center justify-center h-8 w-8 rounded-lg ".concat(fieldBg, " dr-role-well ").concat(strong),
|
|
87504
|
+
"aria-hidden": "true",
|
|
87505
|
+
children: /*#__PURE__*/jsx(FontAwesomeIcon, {
|
|
87506
|
+
icon: s.icon,
|
|
87507
|
+
className: "h-4 w-4"
|
|
87508
|
+
})
|
|
87509
|
+
}), /*#__PURE__*/jsxs("span", {
|
|
87510
|
+
className: "flex-1 min-w-0 flex flex-col gap-0.5",
|
|
87511
|
+
children: [/*#__PURE__*/jsx("span", {
|
|
87512
|
+
className: "text-sm font-semibold ".concat(strong),
|
|
87513
|
+
children: s.title
|
|
87514
|
+
}), /*#__PURE__*/jsx("span", {
|
|
87515
|
+
className: "text-xs ".concat(muted),
|
|
87516
|
+
children: s.sub
|
|
87517
|
+
})]
|
|
87518
|
+
})]
|
|
87519
|
+
}, s.kind);
|
|
87520
|
+
})
|
|
87521
|
+
})]
|
|
87522
|
+
}) : null, makingShown && making.widget ? /*#__PURE__*/jsx("div", {
|
|
87436
87523
|
children: /*#__PURE__*/jsx(Button3, {
|
|
87437
87524
|
size: "sm",
|
|
87438
87525
|
title: "Edit the code yourself",
|
|
@@ -87531,15 +87618,7 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
|
|
|
87531
87618
|
return !v;
|
|
87532
87619
|
});
|
|
87533
87620
|
},
|
|
87534
|
-
onSummary: setSideSummary
|
|
87535
|
-
// A page's New already says what's made: no Start from —
|
|
87536
|
-
// but New Dashboard has its starts (release 6c).
|
|
87537
|
-
,
|
|
87538
|
-
isNew: !open && !isBot && (!makingShown || makingDashboard)
|
|
87539
|
-
// New Dashboard's starts are about dashboards.
|
|
87540
|
-
,
|
|
87541
|
-
startFromSkip: makingDashboard ? ["widget"] : null,
|
|
87542
|
-
onStartFrom: startFrom,
|
|
87621
|
+
onSummary: setSideSummary,
|
|
87543
87622
|
onUseRegistry: pickRegistryDashboard
|
|
87544
87623
|
}) : null]
|
|
87545
87624
|
})]
|