arcy.js 0.1.3 → 0.1.4
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/{arcy.chat.24c8e3d6804c.js → arcy.chat.f698fce59921.js} +121 -101
- package/dist/{arcy.legacy.4e373458bb24.js → arcy.legacy.061d3b544569.js} +2 -2
- package/dist/arcy.loader.js +1 -1
- package/dist/{arcy.modern.336f518dd090.js → arcy.modern.d30bb13c138a.js} +2 -2
- package/dist/{arcy.picker.73f47221b73c.js → arcy.picker.b7e531503cf2.js} +15 -15
- package/dist/{chat-HNE6525R.js → chat-VOYR3S25.js} +33 -6
- package/dist/{chunk-7VVKR3AO.js → chunk-GDGE3HLE.js} +2 -1
- package/dist/design-mode.cjs +2 -0
- package/dist/design-mode.d.ts +19 -1
- package/dist/design-mode.js +1 -1
- package/dist/index.cjs +54 -14
- package/dist/index.js +8 -3
- package/dist/{picker-JPESE6JJ.js → picker-GPZ2GHB4.js} +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DESIGN_MODE_PROTOCOL, DESIGN_MODE_EXIT, DESIGN_MODE_SCREENSHOT, DESIGN_MODE_PICK, DESIGN_MODE_READY } from './chunk-7VVKR3AO.js';
|
|
2
1
|
import { FALLBACK_CHROME, resolveImageUrl, FONT_KEY_PROPERTY, isRenderableImageUrl, readViewport, POLICY_LINK_CLASS, BAR_TRAY_CLASS, ATTACHABLE_TYPES, TOOLTIP_CSS, surfaceWidth, clampOffsetX, dragTransform, carriesFiles, droppedFiles, MOBILE_MARGIN, CHAT_CONTRACT, CHAT_GLOBAL } from './chunk-DW3GUQ6J.js';
|
|
3
2
|
import { createShellState, safeStore, browserSessionStorage, writeJson, browserLocalStorage, readJson, hasPendingPreview, createFlowRunState, FLOW_CONTRACT, FLOW_GLOBAL } from './chunk-FR6SJSDU.js';
|
|
4
3
|
import { PICKER_CONTRACT, PICKER_GLOBAL } from './chunk-DKYMIAYF.js';
|
|
4
|
+
import { DESIGN_MODE_PROTOCOL, DESIGN_MODE_EXIT, DESIGN_MODE_SCREENSHOT, DESIGN_MODE_PICK, DESIGN_MODE_READY } from './chunk-GDGE3HLE.js';
|
|
5
5
|
import { warn, reportCspViolations, releaseHostFocus, Z_INDEX, createShell, injectStyles } from './chunk-LGWYJSYX.js';
|
|
6
6
|
import { captureEventFingerprint, containsPii } from './chunk-NY3NXM2V.js';
|
|
7
7
|
|
|
@@ -3998,6 +3998,11 @@ function createArcyInternals(internalOptions = {}) {
|
|
|
3998
3998
|
welcomeMessage: text(raw?.welcomeMessage),
|
|
3999
3999
|
inputPlaceholder: text(raw?.inputPlaceholder),
|
|
4000
4000
|
welcomeHeadline: text(raw?.welcomeHeadline),
|
|
4001
|
+
// Which copy the three texts above are (ADR 0195). Shape-checked like
|
|
4002
|
+
// everything else read out of the bootstrap (ADR 0050), and anything
|
|
4003
|
+
// that is not one of the two audiences reads as the empty string, which
|
|
4004
|
+
// the panel treats as "not known yet" and never as a change.
|
|
4005
|
+
audience: raw?.audience === "identified" || raw?.audience === "anonymous" ? raw.audience : "",
|
|
4001
4006
|
// Re-checked here rather than trusted: a rewritten bootstrap must not
|
|
4002
4007
|
// be able to turn a camera prompt on for an operator who never did
|
|
4003
4008
|
// (ADR 0050, ADR 0102).
|
|
@@ -4717,7 +4722,7 @@ var bundledChunks = {
|
|
|
4717
4722
|
cdnBase: null,
|
|
4718
4723
|
loadChat: (win, timeoutMs, setTimeoutImpl) => importChunk(
|
|
4719
4724
|
win,
|
|
4720
|
-
() => import('./chat-
|
|
4725
|
+
() => import('./chat-VOYR3S25.js'),
|
|
4721
4726
|
CHAT_GLOBAL,
|
|
4722
4727
|
CHAT_CONTRACT,
|
|
4723
4728
|
"chat panel",
|
|
@@ -4735,7 +4740,7 @@ var bundledChunks = {
|
|
|
4735
4740
|
),
|
|
4736
4741
|
loadPicker: (win, timeoutMs, setTimeoutImpl) => importChunk(
|
|
4737
4742
|
win,
|
|
4738
|
-
() => import('./picker-
|
|
4743
|
+
() => import('./picker-GPZ2GHB4.js'),
|
|
4739
4744
|
PICKER_GLOBAL,
|
|
4740
4745
|
PICKER_CONTRACT,
|
|
4741
4746
|
"design-mode picker",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PICKER_CONTRACT, PICKER_GLOBAL } from './chunk-DKYMIAYF.js';
|
|
2
|
+
import { SCREENSHOT_RENDER_BUDGET_MS } from './chunk-GDGE3HLE.js';
|
|
2
3
|
import { createShell, injectStyles, warn, HOST_ATTRIBUTE } from './chunk-LGWYJSYX.js';
|
|
3
4
|
import { matchTarget } from './chunk-NIHUDSWK.js';
|
|
4
5
|
import { resolveInteractiveTarget, createTargetFingerprint, captureEventFingerprint, closestAcrossShadow, isStableId, containsPii, SELECTOR_CANDIDATES_MAX, collectElementsDeep, querySelectorAllDeep } from './chunk-NY3NXM2V.js';
|
|
@@ -1665,7 +1666,7 @@ var CROP_MAX_HEIGHT = 1200;
|
|
|
1665
1666
|
var OUTPUT_MAX_DPR = 2;
|
|
1666
1667
|
var OUTPUT_MAX_PIXELS = 26e5;
|
|
1667
1668
|
var DATA_URL_SOFT_MAX = 36e5;
|
|
1668
|
-
var RENDER_TIMEOUT_MS =
|
|
1669
|
+
var RENDER_TIMEOUT_MS = SCREENSHOT_RENDER_BUDGET_MS;
|
|
1669
1670
|
var PII_PATTERNS = [
|
|
1670
1671
|
/[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}/g,
|
|
1671
1672
|
/\b\d{3}-\d{2}-\d{4}\b/g,
|
package/package.json
CHANGED