@wix/form-public 0.502.0 → 0.504.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/index.cjs +295 -193
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +80 -80
- package/dist/index.css.map +1 -1
- package/dist/index.js +296 -194
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -15733,7 +15733,7 @@ var init_plugin_names = __esm({
|
|
|
15733
15733
|
var RICOS_VERSION;
|
|
15734
15734
|
var init_version = __esm({
|
|
15735
15735
|
"../../node_modules/@wix/ricos/dist/es/ricos-schema/next-schema/version.js"() {
|
|
15736
|
-
RICOS_VERSION = "11.
|
|
15736
|
+
RICOS_VERSION = "11.20.0";
|
|
15737
15737
|
}
|
|
15738
15738
|
});
|
|
15739
15739
|
|
|
@@ -23188,10 +23188,12 @@ function servicePluginsModules(getAuthStrategy) {
|
|
|
23188
23188
|
return this.parseJWT(body);
|
|
23189
23189
|
},
|
|
23190
23190
|
async processRequest(request) {
|
|
23191
|
-
const
|
|
23192
|
-
|
|
23191
|
+
const servicePluginRequest = await this.parseRequest(request);
|
|
23192
|
+
return this.processParsedRequest(servicePluginRequest, request.url);
|
|
23193
|
+
},
|
|
23194
|
+
async processParsedRequest(servicePluginRequest, url) {
|
|
23193
23195
|
try {
|
|
23194
|
-
const implMethodResult = await this.
|
|
23196
|
+
const implMethodResult = await this.executeHandler(servicePluginRequest, url);
|
|
23195
23197
|
return Response.json(implMethodResult);
|
|
23196
23198
|
} catch (err) {
|
|
23197
23199
|
if (err.errorType === "SPI" && err.applicationCode && err.httpCode) {
|
|
@@ -25952,27 +25954,27 @@ var gallery_media_default;
|
|
|
25952
25954
|
var init_gallery_media_scss = __esm({
|
|
25953
25955
|
"../../node_modules/@wix/ricos/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js"() {
|
|
25954
25956
|
gallery_media_default = {
|
|
25955
|
-
"media": "
|
|
25956
|
-
"fit": "
|
|
25957
|
-
"failure": "
|
|
25958
|
-
"playButton": "
|
|
25959
|
-
"playIcon": "
|
|
25960
|
-
"navigationArrow": "
|
|
25961
|
-
"arrowStart": "
|
|
25962
|
-
"arrowEnd": "
|
|
25963
|
-
"arrowIcon": "
|
|
25964
|
-
"fill": "
|
|
25965
|
-
"intrinsic": "
|
|
25966
|
-
"cell": "
|
|
25967
|
-
"expandButton": "
|
|
25968
|
-
"expandIcon": "
|
|
25969
|
-
"expandChrome": "
|
|
25970
|
-
"expandIconGlyph": "
|
|
25971
|
-
"editorOverlay": "
|
|
25972
|
-
"horizontal": "
|
|
25973
|
-
"viewport": "
|
|
25974
|
-
"track": "
|
|
25975
|
-
"previous": "
|
|
25957
|
+
"media": "BYj-D",
|
|
25958
|
+
"fit": "GYoUx",
|
|
25959
|
+
"failure": "sE4wg",
|
|
25960
|
+
"playButton": "ChIn-",
|
|
25961
|
+
"playIcon": "lO9sz",
|
|
25962
|
+
"navigationArrow": "sKUmG",
|
|
25963
|
+
"arrowStart": "eafcn",
|
|
25964
|
+
"arrowEnd": "ct3mr",
|
|
25965
|
+
"arrowIcon": "_4RIRs",
|
|
25966
|
+
"fill": "h8tgO",
|
|
25967
|
+
"intrinsic": "_5X23C",
|
|
25968
|
+
"cell": "xDt4R",
|
|
25969
|
+
"expandButton": "H-2Qq",
|
|
25970
|
+
"expandIcon": "PI7br",
|
|
25971
|
+
"expandChrome": "hY4vP",
|
|
25972
|
+
"expandIconGlyph": "aLNhD",
|
|
25973
|
+
"editorOverlay": "-salV",
|
|
25974
|
+
"horizontal": "_5djrR",
|
|
25975
|
+
"viewport": "nsMzs",
|
|
25976
|
+
"track": "MpXDY",
|
|
25977
|
+
"previous": "M-BGj"
|
|
25976
25978
|
};
|
|
25977
25979
|
}
|
|
25978
25980
|
});
|
|
@@ -26684,9 +26686,9 @@ var init_data_hooks = __esm({
|
|
|
26684
26686
|
var styleDataHash, injectCss, fullscreen_default;
|
|
26685
26687
|
var init_fullscreen_scss = __esm({
|
|
26686
26688
|
"../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js"() {
|
|
26687
|
-
styleDataHash = "
|
|
26689
|
+
styleDataHash = "2209a6e8";
|
|
26688
26690
|
injectCss = (() => {
|
|
26689
|
-
var css =
|
|
26691
|
+
var css = `.uKVFY [data-hook^=gallery-media-]{display:block;inline-size:100%;overflow:hidden;position:relative}.uKVFY [data-hook^=gallery-media-]>img,.uKVFY [data-hook^=gallery-media-]>video{block-size:100%;display:block;inline-size:100%;object-position:center}.uKVFY [data-hook^=gallery-media-]{align-items:center;display:flex;justify-content:center}.uKVFY [data-hook^=gallery-media-]>img,.uKVFY [data-hook^=gallery-media-]>video{block-size:auto;inline-size:auto;margin:auto;max-block-size:100%;max-inline-size:100%;object-fit:contain}.uKVFY [data-hook=gallery-media-failure]{background:#e5e5e5;min-block-size:1px;min-inline-size:1px}.uKVFY [data-hook=gallery-video-play]{appearance:none;background:transparent;border:0;cursor:pointer;inline-size:100%;inset:0;padding:0;position:absolute}.uKVFY [data-hook=gallery-video-play]:focus-visible{outline:2px solid #3899ec;outline-offset:-2px}.uKVFY [data-hook=gallery-video-play]>span{block-size:0;border-block:12px solid transparent;border-inline-start:18px solid #fff;filter:drop-shadow(0 1px 2px rgba(0,0,0,.6));inline-size:0;inset-block-start:50%;inset-inline-start:50%;position:absolute;transform:translate(-40%,-50%)}.nVV6j{align-items:center;appearance:none;background:transparent;block-size:39px;border:0;border-radius:0;color:#000;cursor:pointer;display:inline-flex;inline-size:23px;justify-content:center;overflow:hidden;padding:0;position:relative;transition:opacity .12s ease}.nVV6j:disabled,[aria-disabled=true].nVV6j:not(:focus-visible){pointer-events:none;visibility:hidden}.nVV6j:focus-visible{outline:2px solid #3899ec;outline-offset:2px}@media (prefers-reduced-motion:reduce){.nVV6j{transition:none}}.nVV6j{inset-block-start:50%;position:absolute;transform:translateY(-50%)}.nVV6j svg{block-size:39px;display:block;inline-size:46px;inset-block-start:0;inset-inline-end:0;position:absolute;fill:currentColor;filter:drop-shadow(0 1px .15px #b2b2b2)}.cGNV0,.ncx3G{background:#fff;box-sizing:border-box;display:grid;grid-template-rows:minmax(0,1fr) auto;height:100dvh;inset:0;position:fixed;width:100vw;z-index:100001}.ncx3G{padding-block:70px 20px}@media only screen and (max-width:640px){.ncx3G{padding-block-start:40px}}.cGNV0{padding:0}.MnmQz{background:transparent;border:hidden;border-radius:4px;box-sizing:border-box;color:#000;cursor:pointer;height:fit-content;padding:0;position:fixed;right:17px;top:10px;width:fit-content;z-index:1001}@media only screen and (max-width:640px){.MnmQz{right:20px;top:5px}.MnmQz>svg{height:30px;width:30px}}.MnmQz:focus-visible{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}.pjRHV{background:transparent;border:hidden;border-radius:4px;box-sizing:border-box;color:#000;cursor:pointer;height:fit-content;left:22px;padding:0;position:fixed;top:10px;width:fit-content;z-index:1001}.pjRHV:focus-visible{outline:5px auto Highlight!important;outline:5px auto -webkit-focus-ring-color!important}.RK4GW{font-size:14px;line-height:20px;text-align:center;white-space:normal}.nrc-A{box-sizing:border-box;display:flex;justify-content:center;min-height:60px;padding:16px 20px;width:100%}.SQjwd{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border:0;white-space:nowrap}.GvC-Y{height:100%;min-height:0;min-width:0;position:relative;--ricos-internal-gallery-arrow-inset:20px}.DHzv7{height:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:inline mandatory;scrollbar-width:none}.DHzv7::-webkit-scrollbar{display:none}.eYMTg{display:flex;height:100%;list-style:none;margin:0;padding:0}.uKVFY{flex:0 0 100%;height:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;width:100%}.uKVFY [data-hook^=gallery-media-]{background:transparent;height:100%}.nVV6j{color:inherit;z-index:1}.nVV6j[data-hook=gallery-navigation-previous]{inset-inline-start:var(--ricos-internal-gallery-arrow-inset,12px)}.nVV6j[data-hook=gallery-navigation-previous] svg{inset-inline-end:auto;inset-inline-start:0}.nVV6j[data-hook=gallery-navigation-next]{inset-inline-end:var(--ricos-internal-gallery-arrow-inset,12px)}`;
|
|
26690
26692
|
typeof process !== "undefined" && process.env && false;
|
|
26691
26693
|
if (typeof document === "undefined") {
|
|
26692
26694
|
return;
|
|
@@ -26707,18 +26709,18 @@ var init_fullscreen_scss = __esm({
|
|
|
26707
26709
|
});
|
|
26708
26710
|
injectCss();
|
|
26709
26711
|
fullscreen_default = {
|
|
26710
|
-
"slide": "
|
|
26711
|
-
"arrow": "
|
|
26712
|
-
"fullscreen_mode": "
|
|
26713
|
-
"expand_mode": "
|
|
26714
|
-
"close": "
|
|
26715
|
-
"expand_button": "
|
|
26716
|
-
"title": "
|
|
26717
|
-
"info_container": "
|
|
26718
|
-
"visuallyHidden": "
|
|
26719
|
-
"carousel": "
|
|
26720
|
-
"viewport": "
|
|
26721
|
-
"track": "
|
|
26712
|
+
"slide": "uKVFY",
|
|
26713
|
+
"arrow": "nVV6j",
|
|
26714
|
+
"fullscreen_mode": "cGNV0",
|
|
26715
|
+
"expand_mode": "ncx3G",
|
|
26716
|
+
"close": "MnmQz",
|
|
26717
|
+
"expand_button": "pjRHV",
|
|
26718
|
+
"title": "RK4GW",
|
|
26719
|
+
"info_container": "nrc-A",
|
|
26720
|
+
"visuallyHidden": "SQjwd",
|
|
26721
|
+
"carousel": "GvC-Y",
|
|
26722
|
+
"viewport": "DHzv7",
|
|
26723
|
+
"track": "eYMTg"
|
|
26722
26724
|
};
|
|
26723
26725
|
}
|
|
26724
26726
|
});
|
|
@@ -33941,9 +33943,9 @@ var require_messages_zh = __commonJS({
|
|
|
33941
33943
|
var styleDataHash6, injectCss6, viewer_inline_toolbar_default;
|
|
33942
33944
|
var init_viewer_inline_toolbar_scss = __esm({
|
|
33943
33945
|
"../../node_modules/@wix/ricos/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js"() {
|
|
33944
|
-
styleDataHash6 = "
|
|
33946
|
+
styleDataHash6 = "f225be53";
|
|
33945
33947
|
injectCss6 = (() => {
|
|
33946
|
-
var css = `.
|
|
33948
|
+
var css = `.axLsN{background-color:#fff;border:1px solid #ededed;border-radius:6px;box-shadow:0 4px 8px 0 rgba(0,0,0,.07);display:flex;height:43px;overflow:hidden;position:absolute;transform:translate(-50%,-100%);transition:all .5s ease-out}.CuyEJ{align-items:center;background:#fff;border:none;cursor:pointer;display:flex;justify-content:center;width:43px}`;
|
|
33947
33949
|
typeof process !== "undefined" && process.env && false;
|
|
33948
33950
|
if (typeof document === "undefined") {
|
|
33949
33951
|
return;
|
|
@@ -33964,8 +33966,8 @@ var init_viewer_inline_toolbar_scss = __esm({
|
|
|
33964
33966
|
});
|
|
33965
33967
|
injectCss6();
|
|
33966
33968
|
viewer_inline_toolbar_default = {
|
|
33967
|
-
"toolbar": "
|
|
33968
|
-
"button": "
|
|
33969
|
+
"toolbar": "axLsN",
|
|
33970
|
+
"button": "CuyEJ"
|
|
33969
33971
|
};
|
|
33970
33972
|
}
|
|
33971
33973
|
});
|
|
@@ -39204,7 +39206,8 @@ function mergeViewerProps({
|
|
|
39204
39206
|
debugMode,
|
|
39205
39207
|
jsdomMode,
|
|
39206
39208
|
baseUrl,
|
|
39207
|
-
firstFoldNodeCount
|
|
39209
|
+
firstFoldNodeCount,
|
|
39210
|
+
responsiveBehavior
|
|
39208
39211
|
}) {
|
|
39209
39212
|
const rcvPluginProps = pluginsStrategy({
|
|
39210
39213
|
plugins: plugins?.filter(isViewerPlugin),
|
|
@@ -39246,7 +39249,8 @@ function mergeViewerProps({
|
|
|
39246
39249
|
jsdomMode,
|
|
39247
39250
|
baseUrl,
|
|
39248
39251
|
userDomainMedia,
|
|
39249
|
-
firstFoldNodeCount
|
|
39252
|
+
firstFoldNodeCount,
|
|
39253
|
+
responsiveBehavior
|
|
39250
39254
|
};
|
|
39251
39255
|
const mergedRCProps = pipe(
|
|
39252
39256
|
deepMerge(
|
|
@@ -39844,26 +39848,31 @@ var vitalTranslations_json_default = {
|
|
|
39844
39848
|
var import_classnames20 = __toESM(require_classnames(), 1);
|
|
39845
39849
|
init_ricos_content();
|
|
39846
39850
|
init_ricos_styles();
|
|
39851
|
+
|
|
39852
|
+
// ../../node_modules/@wix/ricos/dist/es/_shared/build-responsive-attributes.js
|
|
39853
|
+
var buildResponsiveAttributes = (responsiveBehavior) => responsiveBehavior === "viewport" ? { "data-ricos-responsive": "viewport" } : {};
|
|
39854
|
+
|
|
39855
|
+
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/content-viewer.js
|
|
39847
39856
|
init_use_isomorphic_layout_effect();
|
|
39848
39857
|
init_wix_rich_content_common();
|
|
39849
39858
|
|
|
39850
39859
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js
|
|
39851
39860
|
var rich_content_viewer_default = {
|
|
39852
|
-
"fontElementMap": "
|
|
39853
|
-
"wrapper": "
|
|
39854
|
-
"pluginContainerMobile": "
|
|
39855
|
-
"viewer": "
|
|
39856
|
-
"android": "
|
|
39857
|
-
"rootedTraversedContent": "
|
|
39858
|
-
"atomic": "
|
|
39859
|
-
"toolbar": "
|
|
39860
|
-
"block": "
|
|
39861
|
+
"fontElementMap": "foN3c",
|
|
39862
|
+
"wrapper": "DxgWL",
|
|
39863
|
+
"pluginContainerMobile": "IYHIJ",
|
|
39864
|
+
"viewer": "Ztb7q",
|
|
39865
|
+
"android": "bxIYS",
|
|
39866
|
+
"rootedTraversedContent": "_119kl",
|
|
39867
|
+
"atomic": "_8OXQ1",
|
|
39868
|
+
"toolbar": "yEYNg",
|
|
39869
|
+
"block": "_3wMje"
|
|
39861
39870
|
};
|
|
39862
39871
|
|
|
39863
39872
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/statics/rtl-scss.js
|
|
39864
39873
|
var rtl_default = {
|
|
39865
|
-
"rtl": "
|
|
39866
|
-
"ltr": "
|
|
39874
|
+
"rtl": "hKQHr",
|
|
39875
|
+
"ltr": "O0ZTD"
|
|
39867
39876
|
};
|
|
39868
39877
|
|
|
39869
39878
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/components/anchor.js
|
|
@@ -40159,13 +40168,13 @@ init_ricos_context2();
|
|
|
40159
40168
|
|
|
40160
40169
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/statics/indentation-scss.js
|
|
40161
40170
|
var indentation_default = {
|
|
40162
|
-
"indentZero": "
|
|
40163
|
-
"indentOne": "
|
|
40164
|
-
"indentTwo": "
|
|
40165
|
-
"indentThree": "
|
|
40166
|
-
"indentFour": "
|
|
40167
|
-
"indentFive": "
|
|
40168
|
-
"indentSix": "
|
|
40171
|
+
"indentZero": "oUcKW",
|
|
40172
|
+
"indentOne": "ZUIVQ",
|
|
40173
|
+
"indentTwo": "nhO5Y",
|
|
40174
|
+
"indentThree": "_5PA9H",
|
|
40175
|
+
"indentFour": "z7A6b",
|
|
40176
|
+
"indentFive": "u1LrQ",
|
|
40177
|
+
"indentSix": "cqI2i"
|
|
40169
40178
|
};
|
|
40170
40179
|
var Anchorable = ({ nodeId, children }) => {
|
|
40171
40180
|
return React172__default.default.cloneElement(React172__default.default.Children.only(children), {
|
|
@@ -40198,8 +40207,8 @@ var alignmentToFlex = {
|
|
|
40198
40207
|
|
|
40199
40208
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js
|
|
40200
40209
|
var blockquote_default = {
|
|
40201
|
-
"quoteContainer": "
|
|
40202
|
-
"quote": "
|
|
40210
|
+
"quoteContainer": "jYTPF",
|
|
40211
|
+
"quote": "tjETq"
|
|
40203
40212
|
};
|
|
40204
40213
|
|
|
40205
40214
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote.js
|
|
@@ -40241,27 +40250,27 @@ init_v1();
|
|
|
40241
40250
|
|
|
40242
40251
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/statics/alignment-scss.js
|
|
40243
40252
|
var alignment_default = {
|
|
40244
|
-
"alignLeft": "
|
|
40245
|
-
"textWrapNowrap": "
|
|
40246
|
-
"alignRight": "
|
|
40247
|
-
"alignCenter": "
|
|
40248
|
-
"sizeFullWidth": "
|
|
40249
|
-
"renderedInTable": "
|
|
40250
|
-
"sizeOriginal": "
|
|
40251
|
-
"sizeContent": "
|
|
40252
|
-
"sizeSmall": "
|
|
40253
|
-
"sizeSmallCenter": "
|
|
40254
|
-
"flex": "
|
|
40255
|
-
"LEFT": "
|
|
40256
|
-
"CENTER": "
|
|
40257
|
-
"RIGHT": "
|
|
40258
|
-
"AUTO": "
|
|
40259
|
-
"JUSTIFY": "
|
|
40253
|
+
"alignLeft": "Pmy-r",
|
|
40254
|
+
"textWrapNowrap": "bLUh-",
|
|
40255
|
+
"alignRight": "fgmUU",
|
|
40256
|
+
"alignCenter": "hZnqD",
|
|
40257
|
+
"sizeFullWidth": "_9zD4n",
|
|
40258
|
+
"renderedInTable": "_2FXpS",
|
|
40259
|
+
"sizeOriginal": "vhF7I",
|
|
40260
|
+
"sizeContent": "Qvd1D",
|
|
40261
|
+
"sizeSmall": "XhBET",
|
|
40262
|
+
"sizeSmallCenter": "cUffh",
|
|
40263
|
+
"flex": "vkRoT",
|
|
40264
|
+
"LEFT": "D5Imq",
|
|
40265
|
+
"CENTER": "-n7f5",
|
|
40266
|
+
"RIGHT": "drIg9",
|
|
40267
|
+
"AUTO": "rQSGI",
|
|
40268
|
+
"JUSTIFY": "THAsa"
|
|
40260
40269
|
};
|
|
40261
40270
|
|
|
40262
40271
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js
|
|
40263
40272
|
var codeblock_default = {
|
|
40264
|
-
"codeBlock": "
|
|
40273
|
+
"codeBlock": "sYPTy _1OaR1"};
|
|
40265
40274
|
|
|
40266
40275
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js
|
|
40267
40276
|
var CodeBlock = ({ node, nodeIndex, RicosNodesRenderer: RicosNodesRenderer2 }) => {
|
|
@@ -40300,15 +40309,15 @@ init_v1();
|
|
|
40300
40309
|
|
|
40301
40310
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js
|
|
40302
40311
|
var heading_default = {
|
|
40303
|
-
"fontElementMap": "
|
|
40304
|
-
"elementSpacing": "
|
|
40305
|
-
"headerOne": "
|
|
40306
|
-
"headerTwo": "
|
|
40307
|
-
"headerThree": "
|
|
40308
|
-
"headerFour": "
|
|
40309
|
-
"headerFive": "
|
|
40310
|
-
"headerSix": "
|
|
40311
|
-
"child": "
|
|
40312
|
+
"fontElementMap": "hwiM8",
|
|
40313
|
+
"elementSpacing": "HaWix",
|
|
40314
|
+
"headerOne": "Uef77 HaWix",
|
|
40315
|
+
"headerTwo": "VAiYQ HaWix",
|
|
40316
|
+
"headerThree": "p9bqS HaWix",
|
|
40317
|
+
"headerFour": "_0MJNL HaWix",
|
|
40318
|
+
"headerFive": "KzrPD HaWix",
|
|
40319
|
+
"headerSix": "_3Jr55 HaWix",
|
|
40320
|
+
"child": "-qG0v"
|
|
40312
40321
|
};
|
|
40313
40322
|
|
|
40314
40323
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js
|
|
@@ -40385,16 +40394,16 @@ init_ricos_context2();
|
|
|
40385
40394
|
|
|
40386
40395
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js
|
|
40387
40396
|
var layout_default = {
|
|
40388
|
-
"sectionDividerClip": "
|
|
40389
|
-
"sectionDivider": "
|
|
40390
|
-
"sectionDividerTop": "
|
|
40391
|
-
"sectionDividerBottom": "
|
|
40392
|
-
"layoutWrapper": "
|
|
40393
|
-
"layout": "
|
|
40394
|
-
"designOnLayout": "
|
|
40395
|
-
"designOnCell": "
|
|
40396
|
-
"cell": "
|
|
40397
|
-
"mobile": "
|
|
40397
|
+
"sectionDividerClip": "xsKBF",
|
|
40398
|
+
"sectionDivider": "E14V6",
|
|
40399
|
+
"sectionDividerTop": "RO-eQ",
|
|
40400
|
+
"sectionDividerBottom": "_9C42s",
|
|
40401
|
+
"layoutWrapper": "_4Hh47",
|
|
40402
|
+
"layout": "_9B7Yj",
|
|
40403
|
+
"designOnLayout": "UBc-H",
|
|
40404
|
+
"designOnCell": "IjJwV",
|
|
40405
|
+
"cell": "eRq-8",
|
|
40406
|
+
"mobile": "-T9d0"
|
|
40398
40407
|
};
|
|
40399
40408
|
|
|
40400
40409
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/cell.js
|
|
@@ -40732,6 +40741,20 @@ var getDividerLayers = (divider) => {
|
|
|
40732
40741
|
init_ricos_context2();
|
|
40733
40742
|
init_viewer_context();
|
|
40734
40743
|
|
|
40744
|
+
// ../../node_modules/@wix/ricos/dist/es/_shared/build-responsive-css.js
|
|
40745
|
+
var VIEWPORT_ROOT = "[data-ricos-responsive=viewport]";
|
|
40746
|
+
var buildResponsiveCss = (query, rules) => {
|
|
40747
|
+
const scoped = (scope) => rules.map(({ selector, declarations }) => `${scope(selector)} {${declarations}}`).join("\n");
|
|
40748
|
+
return `
|
|
40749
|
+
@container ${query} {
|
|
40750
|
+
${scoped((selector) => `${selector}:where(:not(${VIEWPORT_ROOT} *))`)}
|
|
40751
|
+
}
|
|
40752
|
+
@media ${query} {
|
|
40753
|
+
${scoped((selector) => `:where(${VIEWPORT_ROOT}) ${selector}`)}
|
|
40754
|
+
}
|
|
40755
|
+
`;
|
|
40756
|
+
};
|
|
40757
|
+
|
|
40735
40758
|
// ../../node_modules/@wix/ricos/dist/es/_shared/is-edge-banner.js
|
|
40736
40759
|
init_next_schema();
|
|
40737
40760
|
var isEdgeBanner = (banner) => !!banner && banner.position !== LayoutData_BannerPosition.PAYWALL;
|
|
@@ -40748,9 +40771,9 @@ function resolveBackwardCompatOverlay(color, imageOpacity, opacityMax) {
|
|
|
40748
40771
|
init_resolve_css_color();
|
|
40749
40772
|
|
|
40750
40773
|
// ../../node_modules/@wix/ricos/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js
|
|
40751
|
-
var styleDataHash2 = "
|
|
40774
|
+
var styleDataHash2 = "aa012177";
|
|
40752
40775
|
var injectCss2 = (() => {
|
|
40753
|
-
var css = `.
|
|
40776
|
+
var css = `.lueNP{--shimmer-base-color:#f5f5f5;background-color:var(--shimmer-base-color);inset:0;pointer-events:none;position:absolute;z-index:1}._8VSta{inset:0;overflow:hidden;position:absolute}._8VSta:after{animation:EaLZo 1s linear infinite;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.3),transparent 50%);bottom:0;content:"";left:0;position:absolute;right:0;top:0;transform:translateX(-100%)}@keyframes EaLZo{to{transform:translateX(100%)}}`;
|
|
40754
40777
|
typeof process !== "undefined" && process.env && false;
|
|
40755
40778
|
if (typeof document === "undefined") {
|
|
40756
40779
|
return;
|
|
@@ -40771,8 +40794,8 @@ var injectCss2 = (() => {
|
|
|
40771
40794
|
});
|
|
40772
40795
|
injectCss2();
|
|
40773
40796
|
var layout_background_loader_default = {
|
|
40774
|
-
"overlay": "
|
|
40775
|
-
"shimmer": "
|
|
40797
|
+
"overlay": "lueNP",
|
|
40798
|
+
"shimmer": "_8VSta"};
|
|
40776
40799
|
|
|
40777
40800
|
// ../../node_modules/@wix/ricos/dist/es/ui-components/layout-background-loader/layout-background-loader.js
|
|
40778
40801
|
var DEFAULT_BACKGROUND_COLOR = "#f5f5f5";
|
|
@@ -40857,27 +40880,23 @@ var getStyleContent = (node) => {
|
|
|
40857
40880
|
`layout-${node.id}-${responsivenessBreakpoint}-${responsivenessBehaviour}`
|
|
40858
40881
|
);
|
|
40859
40882
|
const isWrapping = responsivenessBehaviour === "wrap";
|
|
40860
|
-
const
|
|
40861
|
-
|
|
40883
|
+
const selector = `[data-layout-scope=${scopeValue}].${layout_default.layout}`;
|
|
40884
|
+
const declarations = `
|
|
40862
40885
|
--ricos-internal-layout-display: ${isWrapping ? "flex" : "grid"};
|
|
40863
40886
|
--ricos-internal-layout-justify-content: ${isWrapping ? "center" : "auto"};
|
|
40864
40887
|
--ricos-internal-layout-grid-template: grid-template-columns: minmax(0, 1fr);
|
|
40865
40888
|
--ricos-internal-layout-cell-min-width: ${isWrapping ? `${Math.floor(responsivenessBreakpoint / node.nodes.length)}px` : "100%"};
|
|
40866
40889
|
--ricos-internal-layout-cell-height: ${isWrapping ? "auto" : "100%"};
|
|
40867
|
-
}
|
|
40868
40890
|
`;
|
|
40869
40891
|
return {
|
|
40870
40892
|
scopeValue,
|
|
40871
40893
|
content: `
|
|
40872
40894
|
@supports not (contain: inline-size) {
|
|
40873
40895
|
@media only screen and (max-width: ${responsivenessBreakpoint}px) {
|
|
40874
|
-
${
|
|
40896
|
+
${selector} {${declarations}}
|
|
40875
40897
|
}
|
|
40876
40898
|
}
|
|
40877
|
-
|
|
40878
|
-
@container (max-width: ${responsivenessBreakpoint}px) {
|
|
40879
|
-
${styleContent}
|
|
40880
|
-
}
|
|
40899
|
+
${buildResponsiveCss(`(max-width: ${responsivenessBreakpoint}px)`, [{ selector, declarations }])}
|
|
40881
40900
|
`
|
|
40882
40901
|
};
|
|
40883
40902
|
};
|
|
@@ -41087,11 +41106,11 @@ init_v1();
|
|
|
41087
41106
|
|
|
41088
41107
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js
|
|
41089
41108
|
var lists_default = {
|
|
41090
|
-
"orderedlist": "
|
|
41091
|
-
"bulletedlist": "
|
|
41092
|
-
"listItem": "
|
|
41093
|
-
"checkboxList": "
|
|
41094
|
-
"checkboxInput": "
|
|
41109
|
+
"orderedlist": "EE2bJ",
|
|
41110
|
+
"bulletedlist": "CS-Er",
|
|
41111
|
+
"listItem": "YtFdT",
|
|
41112
|
+
"checkboxList": "_7HDni",
|
|
41113
|
+
"checkboxInput": "G1Ecr"
|
|
41095
41114
|
};
|
|
41096
41115
|
|
|
41097
41116
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/bulleted-list.js
|
|
@@ -41279,8 +41298,8 @@ init_v1();
|
|
|
41279
41298
|
|
|
41280
41299
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js
|
|
41281
41300
|
var paragraph_default = {
|
|
41282
|
-
"text": "
|
|
41283
|
-
"child": "
|
|
41301
|
+
"text": "lkQt0 _1nK5N",
|
|
41302
|
+
"child": "_4K-BC"
|
|
41284
41303
|
};
|
|
41285
41304
|
|
|
41286
41305
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js
|
|
@@ -41412,9 +41431,9 @@ init_v1();
|
|
|
41412
41431
|
__toESM(require_classnames(), 1);
|
|
41413
41432
|
|
|
41414
41433
|
// ../../node_modules/@wix/ricos/dist/es/wix-rich-content-common/statics/styles/general-scss.js
|
|
41415
|
-
var styleDataHash3 = "
|
|
41434
|
+
var styleDataHash3 = "b1ce36bb";
|
|
41416
41435
|
var injectCss3 = (() => {
|
|
41417
|
-
var css = `.
|
|
41436
|
+
var css = `.p2ebN{margin-left:0;margin-right:auto;z-index:1}.p2ebN:not(.M6uvN){float:left;margin-right:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){.p2ebN:not(.M6uvN){float:none;margin-right:auto}}}@container (width < 480px){.p2ebN:not(.M6uvN):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-right:auto}}@media (width < 480px){.p2ebN:not(.M6uvN):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .p2ebN:not(.M6uvN){float:none;margin-right:auto}}.fwiIi{margin-left:auto;margin-right:0;z-index:1}.fwiIi:not(.M6uvN){float:right;margin-left:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){.fwiIi:not(.M6uvN){float:none;margin-left:auto}}}@container (width < 480px){.fwiIi:not(.M6uvN):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-left:auto}}@media (width < 480px){.fwiIi:not(.M6uvN):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .fwiIi:not(.M6uvN){float:none;margin-left:auto}}.GI6z5{clear:both;display:block}.GI6z5:not(.JE166){margin-left:auto;margin-right:auto;max-width:100%}.JE166,.M6uvN{width:100%}.VgxPr .JE166,.VgxPr .M6uvN{margin:0 -8px;width:auto}.wUNHA{width:fit-content}._6TNvD{margin-left:auto;margin-right:auto;max-width:100%}.BFJZa{width:min(350px,100%)!important}.VgxPr .BFJZa{width:50%}.eKE21{margin-left:auto;margin-right:auto}.VgxPr .eKE21{width:150px}.G4bof{display:flex}`;
|
|
41418
41437
|
typeof process !== "undefined" && process.env && false;
|
|
41419
41438
|
if (typeof document === "undefined") {
|
|
41420
41439
|
return;
|
|
@@ -41436,9 +41455,9 @@ var injectCss3 = (() => {
|
|
|
41436
41455
|
injectCss3();
|
|
41437
41456
|
|
|
41438
41457
|
// ../../node_modules/@wix/ricos/dist/es/editor-common/statics/styles/general-scss.js
|
|
41439
|
-
var styleDataHash4 = "
|
|
41458
|
+
var styleDataHash4 = "913ea73b";
|
|
41440
41459
|
var injectCss4 = (() => {
|
|
41441
|
-
var css = `.
|
|
41460
|
+
var css = `.FcLic,._5FzYe,button{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}._3lA4E{display:flex}.dR7Ru:hover{border-radius:var(--ricos-native-whitebox-border-radius,0);box-shadow:0 0 0 1.5px #116dff;cursor:default}.o-J3X{border-radius:var(--ricos-native-whitebox-border-radius,0);box-shadow:0 0 0 1.5px #116dff;cursor:default}.CR-A9 .o-J3X{box-shadow:none!important}[data-hook^=figure-][data-cropping] .o-J3X{box-shadow:none!important}.CR-A9 :is([data-resize-handle],[data-hook=image-corner-radius-handle],[data-hook=image-corner-radius-label]){display:none!important}.f-a-3{cursor:move;display:block;height:100%;left:0;position:absolute;top:0;width:100%}.f-a-3._-37WI{pointer-events:none}.EdZMm ::selection{background:transparent}.TSADE{display:none}.FcLic{position:relative}.TLHqS{max-width:100%}.Z4pZ9{color:#333;text-decoration:none}.EPlfK{display:block}.Ca1kk{position:relative}.Ec5X3{margin-left:-20px;margin-right:-20px;overflow-x:auto;overflow-y:hidden}.Ec5X3.S72dN::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.5)}.Ec5X3.ejePb::-webkit-scrollbar-thumb{background-color:transparent}.BGkCi{max-width:max-content!important;min-width:100%}.Ec5X3::-webkit-scrollbar{-webkit-appearance:none}.Ec5X3::-webkit-scrollbar-thumb{border:2px solid #fff;border-radius:8px}.Ec5X3::-webkit-scrollbar:horizontal{height:10px}`;
|
|
41442
41461
|
typeof process !== "undefined" && process.env && false;
|
|
41443
41462
|
if (typeof document === "undefined") {
|
|
41444
41463
|
return;
|
|
@@ -41468,21 +41487,21 @@ var getContainerData = (node) => {
|
|
|
41468
41487
|
|
|
41469
41488
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js
|
|
41470
41489
|
var plugin_default = {
|
|
41471
|
-
"alignLeft": "
|
|
41472
|
-
"textWrapNowrap": "
|
|
41473
|
-
"alignRight": "
|
|
41474
|
-
"alignCenter": "
|
|
41475
|
-
"sizeFullWidth": "
|
|
41476
|
-
"renderedInTable": "
|
|
41477
|
-
"sizeOriginal": "
|
|
41478
|
-
"sizeContent": "
|
|
41479
|
-
"sizeSmall": "
|
|
41480
|
-
"sizeSmallCenter": "
|
|
41481
|
-
"flex": "
|
|
41482
|
-
"atomic": "
|
|
41483
|
-
"embed": "
|
|
41484
|
-
"horizontalScrollbar": "
|
|
41485
|
-
"pluginContainerMobile": "
|
|
41490
|
+
"alignLeft": "dYRLU",
|
|
41491
|
+
"textWrapNowrap": "kKRji",
|
|
41492
|
+
"alignRight": "I-U2C",
|
|
41493
|
+
"alignCenter": "_9Zmc2",
|
|
41494
|
+
"sizeFullWidth": "F1xwv",
|
|
41495
|
+
"renderedInTable": "km4zW",
|
|
41496
|
+
"sizeOriginal": "JVc55",
|
|
41497
|
+
"sizeContent": "m7Jum",
|
|
41498
|
+
"sizeSmall": "RehgI",
|
|
41499
|
+
"sizeSmallCenter": "FeEFR",
|
|
41500
|
+
"flex": "GcKDD",
|
|
41501
|
+
"atomic": "p2aJX",
|
|
41502
|
+
"embed": "q5cSc",
|
|
41503
|
+
"horizontalScrollbar": "KPA3u",
|
|
41504
|
+
"pluginContainerMobile": "qms9d"
|
|
41486
41505
|
};
|
|
41487
41506
|
|
|
41488
41507
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/get-class-names.js
|
|
@@ -41580,8 +41599,8 @@ init_wix_rich_content_common();
|
|
|
41580
41599
|
|
|
41581
41600
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js
|
|
41582
41601
|
var link_viewer_wrapper_default = {
|
|
41583
|
-
"anchor": "
|
|
41584
|
-
"link": "
|
|
41602
|
+
"anchor": "tl2sN",
|
|
41603
|
+
"link": "xBo10"
|
|
41585
41604
|
};
|
|
41586
41605
|
|
|
41587
41606
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper.js
|
|
@@ -41933,9 +41952,9 @@ init_v1();
|
|
|
41933
41952
|
var import_classnames19 = __toESM(require_classnames(), 1);
|
|
41934
41953
|
|
|
41935
41954
|
// ../../node_modules/@wix/ricos/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js
|
|
41936
|
-
var styleDataHash5 = "
|
|
41955
|
+
var styleDataHash5 = "72c85e2a";
|
|
41937
41956
|
var injectCss5 = (() => {
|
|
41938
|
-
var css = `.
|
|
41957
|
+
var css = `.NBIfU,.Z-Y22{cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;position:relative;width:100%}.NBIfU:not(._89pVJ):hover .qsJC8,.Z-Y22:not(._89pVJ):hover .qsJC8{opacity:1}.NBIfU._89pVJ,._89pVJ.Z-Y22{cursor:auto;height:0;pointer-events:none}.Z-Y22{cursor:none;pointer-events:none}.QQwLC .qsJC8{opacity:1}.qsJC8{background-color:#116dff;height:2px;opacity:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .2s ease;width:100%;z-index:1000000}.qsJC8:after,.qsJC8:before{background-color:#116dff;content:"";height:3px;left:0;opacity:.3;position:absolute;width:100%}.qsJC8:before{top:-3px}.qsJC8:after{bottom:-3px}.HTm-M{background:var(--wds-tooltip-background-fill,var(--wsr-color-D10,#000624));border-radius:var(--wds-tooltip-border-radius,8px);box-shadow:var(--wds-shadow-surface-overlay-dark,var(--wsr-shadow30,0 6px 6px 0 rgba(22,45,61,.06),0 0 18px 0 rgba(22,45,61,.12)));color:var(--wds-tooltip-text-fill,var(--wsr-color-D80,#fff));font-family:var(--wds-font-family-default,var(--wsr-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,"\\30E1\\30A4\\30EA\\30AA","meiryo","\\30D2\\30E9\\30AE\\30CE\\89D2\\30B4 pro w3","hiragino kaku gothic pro",sans-serif));font-size:var(--wds-font-size-body-tiny,var(--wsr-text-font-size-tiny,12px));font-weight:var(--wds-font-weight-regular,var(--wsr-font-weight-regular,400));letter-spacing:var(--wds-font-letter-spacing-0,unset);line-height:var(--wds-font-line-height-body-tiny,var(--wsr-text-line-height-tiny,15px));padding:var(--wds-tooltip-padding-vertical-small,8px) var(--wds-tooltip-padding-horizontal-small,12px) var(--wds-tooltip-padding-vertical-small,7px);position:absolute;word-wrap:break-word;border:none;max-width:180px;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-100%) scale(.8);transition:opacity .15s ease-out,transform .15s ease-out;word-break:break-word;z-index:1000000}.i8d2F{display:none}@supports not (contain:inline-size){@media only screen and (max-width:480px){.i8d2F{display:block}}}@container (width < 480px){.i8d2F:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){display:block}}@media (width < 480px){.i8d2F:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .i8d2F{display:block}}.iqkFn{margin-top:14px}`;
|
|
41939
41958
|
typeof process !== "undefined" && process.env && false;
|
|
41940
41959
|
if (typeof document === "undefined") {
|
|
41941
41960
|
return;
|
|
@@ -41956,9 +41975,9 @@ var injectCss5 = (() => {
|
|
|
41956
41975
|
});
|
|
41957
41976
|
injectCss5();
|
|
41958
41977
|
var gap_spacer_styles_default = {
|
|
41959
|
-
"gapSpacerViewer": "
|
|
41960
|
-
"collapsed": "
|
|
41961
|
-
"betweenFloated": "
|
|
41978
|
+
"gapSpacerViewer": "Z-Y22",
|
|
41979
|
+
"collapsed": "_89pVJ",
|
|
41980
|
+
"betweenFloated": "i8d2F"};
|
|
41962
41981
|
|
|
41963
41982
|
// ../../node_modules/@wix/ricos/dist/es/ricos-viewer-next/ContentViewer/components/gap-spacer.js
|
|
41964
41983
|
var GapSpacer = ({
|
|
@@ -42436,7 +42455,8 @@ var ContentViewer = (props2) => {
|
|
|
42436
42455
|
nodeViewRenderers,
|
|
42437
42456
|
nodeViewDecorators: nodeViewDecorators2,
|
|
42438
42457
|
experiments = {},
|
|
42439
|
-
t
|
|
42458
|
+
t,
|
|
42459
|
+
responsiveBehavior
|
|
42440
42460
|
} = props2;
|
|
42441
42461
|
const [minHeight, setMinHeight] = React172.useState(void 0);
|
|
42442
42462
|
const viewerRef = React172.useRef(null);
|
|
@@ -42496,7 +42516,8 @@ var ContentViewer = (props2) => {
|
|
|
42496
42516
|
onMouseOver,
|
|
42497
42517
|
ref: handleRef,
|
|
42498
42518
|
...dataId,
|
|
42499
|
-
...fontModeAttributes
|
|
42519
|
+
...fontModeAttributes,
|
|
42520
|
+
...buildResponsiveAttributes(responsiveBehavior)
|
|
42500
42521
|
},
|
|
42501
42522
|
props2.devTools,
|
|
42502
42523
|
/* @__PURE__ */ React172__default.default.createElement(
|
|
@@ -44632,6 +44653,7 @@ var BannerPosition;
|
|
|
44632
44653
|
(function(BannerPosition3) {
|
|
44633
44654
|
BannerPosition3["TOP"] = "TOP";
|
|
44634
44655
|
BannerPosition3["BOTTOM"] = "BOTTOM";
|
|
44656
|
+
BannerPosition3["PAYWALL"] = "PAYWALL";
|
|
44635
44657
|
})(BannerPosition || (BannerPosition = {}));
|
|
44636
44658
|
var DesignTarget;
|
|
44637
44659
|
(function(DesignTarget3) {
|
|
@@ -45516,6 +45538,7 @@ var BannerPosition2;
|
|
|
45516
45538
|
(function(BannerPosition3) {
|
|
45517
45539
|
BannerPosition3["TOP"] = "TOP";
|
|
45518
45540
|
BannerPosition3["BOTTOM"] = "BOTTOM";
|
|
45541
|
+
BannerPosition3["PAYWALL"] = "PAYWALL";
|
|
45519
45542
|
})(BannerPosition2 || (BannerPosition2 = {}));
|
|
45520
45543
|
var DesignTarget2;
|
|
45521
45544
|
(function(DesignTarget3) {
|
|
@@ -53721,6 +53744,49 @@ var DatePickerTriggerButton = /* @__PURE__ */ React172.forwardRef((props2, ref)
|
|
|
53721
53744
|
onPress: handlePress
|
|
53722
53745
|
});
|
|
53723
53746
|
});
|
|
53747
|
+
var DROPDOWN_FIELD_TYPES = [
|
|
53748
|
+
FIELD_TYPES.DROPDOWN,
|
|
53749
|
+
FIELD_TYPES.DEXT_DROPDOWN,
|
|
53750
|
+
FIELD_TYPES.SERVICES_DROPDOWN,
|
|
53751
|
+
FIELD_TYPES.DATE_INPUT,
|
|
53752
|
+
FIELD_TYPES.CONTACTS_BIRTHDATE,
|
|
53753
|
+
FIELD_TYPES.DATE_TIME_INPUT,
|
|
53754
|
+
FIELD_TYPES.DEXT_DATE_TIME_INPUT
|
|
53755
|
+
];
|
|
53756
|
+
var PHONE_FIELD_TYPES = [
|
|
53757
|
+
FIELD_TYPES.PHONE,
|
|
53758
|
+
FIELD_TYPES.CONTACTS_PHONE,
|
|
53759
|
+
FIELD_TYPES.BOOKINGS_PHONE,
|
|
53760
|
+
FIELD_TYPES.DEXT_PHONE
|
|
53761
|
+
];
|
|
53762
|
+
var ADDRESS_FIELD_TYPES = [
|
|
53763
|
+
FIELD_TYPES.MULTILINE_ADDRESS,
|
|
53764
|
+
FIELD_TYPES.BOOKINGS_ADDRESS,
|
|
53765
|
+
FIELD_TYPES.ECOM_ADDRESS
|
|
53766
|
+
];
|
|
53767
|
+
var hasCountryOptions = ({ properties }) => properties.validation?.string?.phoneOptions?.allowedCountryCodes?.length !== 1;
|
|
53768
|
+
var showsCountry = ({ properties }) => properties.fieldSettings?.country?.show !== false;
|
|
53769
|
+
var hasDropdown = (field, isMobile2) => {
|
|
53770
|
+
if (PHONE_FIELD_TYPES.includes(field.fieldType)) {
|
|
53771
|
+
return !isMobile2 && hasCountryOptions(field);
|
|
53772
|
+
}
|
|
53773
|
+
if (ADDRESS_FIELD_TYPES.includes(field.fieldType)) {
|
|
53774
|
+
return showsCountry(field);
|
|
53775
|
+
}
|
|
53776
|
+
return DROPDOWN_FIELD_TYPES.includes(field.fieldType);
|
|
53777
|
+
};
|
|
53778
|
+
var isOpenableDropdown = (field, isMobile2) => hasDropdown(field, isMobile2) && !field.properties.hidden && !field.properties.disabled && !field.properties.readOnly;
|
|
53779
|
+
var byLayoutPosition = (first2, second) => first2.layout.row - second.layout.row || first2.layout.column - second.layout.column;
|
|
53780
|
+
var useIsForcedOpenDropdown = (fieldId) => {
|
|
53781
|
+
const isOpenState = useElementProps().dropdown?.open === true;
|
|
53782
|
+
const formView = React172.useContext(FormViewContext);
|
|
53783
|
+
const { isMobile: isMobile2 = false } = useConfig();
|
|
53784
|
+
const firstDropdownId = React172.useMemo(() => formView && !formView.parentId ? formView.fields.filter((field) => isOpenableDropdown(field, isMobile2)).sort(byLayoutPosition)[0]?.id : void 0, [
|
|
53785
|
+
formView,
|
|
53786
|
+
isMobile2
|
|
53787
|
+
]);
|
|
53788
|
+
return isOpenState && firstDropdownId === fieldId;
|
|
53789
|
+
};
|
|
53724
53790
|
|
|
53725
53791
|
// ../form-fields/dist/esm/ui/date-input-field/date-input-field-headless.js
|
|
53726
53792
|
var DateInput = ({ children, className }) => {
|
|
@@ -53756,11 +53822,12 @@ var DateInput = ({ children, className }) => {
|
|
|
53756
53822
|
});
|
|
53757
53823
|
};
|
|
53758
53824
|
var Month = ({ children, className }) => {
|
|
53759
|
-
const { disabled, readOnly, showDateLabels, hidePlaceholder } = useFieldPropsV2();
|
|
53825
|
+
const { id: id6, disabled, readOnly, showDateLabels, hidePlaceholder } = useFieldPropsV2();
|
|
53760
53826
|
const { labelId } = useDateFieldAttributes(SupportedDateParts.MONTH);
|
|
53761
53827
|
const { partValue, partError, onPartChange } = useDatePart(SupportedDateParts.MONTH);
|
|
53762
53828
|
const { t } = useTranslation2();
|
|
53763
53829
|
const [isOpen, setIsOpen] = React172.useState(false);
|
|
53830
|
+
const isForcedOpen = useIsForcedOpenDropdown(id6);
|
|
53764
53831
|
const [container, setContainer] = React172.useState(null);
|
|
53765
53832
|
const placeholder = hidePlaceholder ? void 0 : t("field.date.placeholder.month");
|
|
53766
53833
|
const handleMonthChange = React172.useCallback((selectedValue) => {
|
|
@@ -53797,9 +53864,11 @@ var Month = ({ children, className }) => {
|
|
|
53797
53864
|
isDisabled: disabled,
|
|
53798
53865
|
isInvalid: partError,
|
|
53799
53866
|
placeholder,
|
|
53800
|
-
isOpen,
|
|
53801
|
-
onOpenChange: handleOpenChange
|
|
53802
|
-
}, triggerElement, optionsElement
|
|
53867
|
+
isOpen: isForcedOpen || isOpen,
|
|
53868
|
+
onOpenChange: isForcedOpen ? void 0 : handleOpenChange
|
|
53869
|
+
}, triggerElement, applyInternalProps(optionsElement, {
|
|
53870
|
+
isForcedOpen
|
|
53871
|
+
}))));
|
|
53803
53872
|
};
|
|
53804
53873
|
var MonthLabel = ({ className }) => {
|
|
53805
53874
|
return /* @__PURE__ */ React172__default.default.createElement(DateLabel, {
|
|
@@ -53826,7 +53895,8 @@ var MonthTrigger = ({ children, className }) => {
|
|
|
53826
53895
|
"data-readonly": readOnly || void 0
|
|
53827
53896
|
}, /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.SelectValue, null), children);
|
|
53828
53897
|
};
|
|
53829
|
-
var MonthOptions = ({ children, className }) => {
|
|
53898
|
+
var MonthOptions = ({ children, className, ...internal }) => {
|
|
53899
|
+
const { isForcedOpen } = internal;
|
|
53830
53900
|
const { language } = useConfig();
|
|
53831
53901
|
const months = React172.useMemo(() => getMonthList(language), [
|
|
53832
53902
|
language
|
|
@@ -53836,7 +53906,9 @@ var MonthOptions = ({ children, className }) => {
|
|
|
53836
53906
|
className,
|
|
53837
53907
|
containerPadding: 0,
|
|
53838
53908
|
offset: 0
|
|
53839
|
-
}, /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.ListBox,
|
|
53909
|
+
}, /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.ListBox, {
|
|
53910
|
+
autoFocus: isForcedOpen ? false : void 0
|
|
53911
|
+
}, months.map((month, index2) => applyInternalProps(optionElement, {
|
|
53840
53912
|
key: String(index2 + 1),
|
|
53841
53913
|
value: String(index2 + 1),
|
|
53842
53914
|
label: month
|
|
@@ -54336,11 +54408,12 @@ var DateTimeInput = ({ children, className }) => {
|
|
|
54336
54408
|
});
|
|
54337
54409
|
};
|
|
54338
54410
|
var Month2 = ({ children, className }) => {
|
|
54339
|
-
const { disabled, readOnly, showDateLabels, hidePlaceholder } = useFieldPropsV2();
|
|
54411
|
+
const { id: id6, disabled, readOnly, showDateLabels, hidePlaceholder } = useFieldPropsV2();
|
|
54340
54412
|
const { labelId } = useDateTimeFieldAttributes(SupportedDateParts.MONTH);
|
|
54341
54413
|
const { partValue, partError, onPartChange } = useFieldPart(SupportedDateParts.MONTH);
|
|
54342
54414
|
const { t } = useTranslation2();
|
|
54343
54415
|
const [isOpen, setIsOpen] = React172.useState(false);
|
|
54416
|
+
const isForcedOpen = useIsForcedOpenDropdown(id6);
|
|
54344
54417
|
const [container, setContainer] = React172.useState(null);
|
|
54345
54418
|
const placeholder = hidePlaceholder ? void 0 : t("field.date.placeholder.month");
|
|
54346
54419
|
const handleMonthChange = React172.useCallback((selectedValue) => {
|
|
@@ -54377,9 +54450,11 @@ var Month2 = ({ children, className }) => {
|
|
|
54377
54450
|
isDisabled: disabled,
|
|
54378
54451
|
isInvalid: partError,
|
|
54379
54452
|
placeholder,
|
|
54380
|
-
isOpen,
|
|
54381
|
-
onOpenChange: handleOpenChange
|
|
54382
|
-
}, triggerElement, optionsElement
|
|
54453
|
+
isOpen: isForcedOpen || isOpen,
|
|
54454
|
+
onOpenChange: isForcedOpen ? void 0 : handleOpenChange
|
|
54455
|
+
}, triggerElement, applyInternalProps(optionsElement, {
|
|
54456
|
+
isForcedOpen
|
|
54457
|
+
}))));
|
|
54383
54458
|
};
|
|
54384
54459
|
var MonthLabel2 = ({ className }) => {
|
|
54385
54460
|
return /* @__PURE__ */ React172__default.default.createElement(DateTimeLabel, {
|
|
@@ -54406,7 +54481,8 @@ var MonthTrigger3 = ({ children, className }) => {
|
|
|
54406
54481
|
"data-readonly": readOnly || void 0
|
|
54407
54482
|
}, /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.SelectValue, null), children);
|
|
54408
54483
|
};
|
|
54409
|
-
var MonthOptions2 = ({ children, className }) => {
|
|
54484
|
+
var MonthOptions2 = ({ children, className, ...internal }) => {
|
|
54485
|
+
const { isForcedOpen } = internal;
|
|
54410
54486
|
const { language } = useConfig();
|
|
54411
54487
|
const months = React172.useMemo(() => getMonthList(language), [
|
|
54412
54488
|
language
|
|
@@ -54416,7 +54492,9 @@ var MonthOptions2 = ({ children, className }) => {
|
|
|
54416
54492
|
className,
|
|
54417
54493
|
containerPadding: 0,
|
|
54418
54494
|
offset: 0
|
|
54419
|
-
}, /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.ListBox,
|
|
54495
|
+
}, /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.ListBox, {
|
|
54496
|
+
autoFocus: isForcedOpen ? false : void 0
|
|
54497
|
+
}, months.map((month, index2) => applyInternalProps(optionElement, {
|
|
54420
54498
|
key: String(index2 + 1),
|
|
54421
54499
|
value: String(index2 + 1),
|
|
54422
54500
|
label: month
|
|
@@ -55154,23 +55232,6 @@ Donation.Options = Options2;
|
|
|
55154
55232
|
Donation.OtherInput = OtherInput2;
|
|
55155
55233
|
Donation.Description = Description;
|
|
55156
55234
|
Donation.Error = Error2;
|
|
55157
|
-
var DROPDOWN_FIELD_TYPES = [
|
|
55158
|
-
FIELD_TYPES.DROPDOWN,
|
|
55159
|
-
FIELD_TYPES.DEXT_DROPDOWN,
|
|
55160
|
-
FIELD_TYPES.SERVICES_DROPDOWN
|
|
55161
|
-
];
|
|
55162
|
-
var isOpenableDropdown = ({ fieldType, properties }) => DROPDOWN_FIELD_TYPES.includes(fieldType) && !properties.hidden && !properties.disabled && !properties.readOnly;
|
|
55163
|
-
var byLayoutPosition = (first2, second) => first2.layout.row - second.layout.row || first2.layout.column - second.layout.column;
|
|
55164
|
-
var useIsForcedOpenDropdown = (fieldId) => {
|
|
55165
|
-
const isOpenState = useElementProps().dropdown?.open === true;
|
|
55166
|
-
const formView = React172.useContext(FormViewContext);
|
|
55167
|
-
const firstDropdownId = React172.useMemo(() => formView && !formView.parentId ? formView.fields.filter(isOpenableDropdown).sort(byLayoutPosition)[0]?.id : void 0, [
|
|
55168
|
-
formView
|
|
55169
|
-
]);
|
|
55170
|
-
return isOpenState && firstDropdownId === fieldId;
|
|
55171
|
-
};
|
|
55172
|
-
|
|
55173
|
-
// ../form-fields/dist/esm/ui/dropdown-field/dropdown-field-headless.js
|
|
55174
55235
|
var Dropdown = ({ children }) => {
|
|
55175
55236
|
const { id: id6, value, defaultValue, options = [], readOnly, onChange, placeholder, disabled, required, onBlur, onFocus, FieldLayout, hasError } = useFieldPropsV2();
|
|
55176
55237
|
const [isOpen, setIsOpen] = React172.useState(false);
|
|
@@ -57753,6 +57814,26 @@ City.Error = Error2;
|
|
|
57753
57814
|
|
|
57754
57815
|
// ../form-fields/dist/esm/ui/multiline-address-field/headless/country-field-headless.js
|
|
57755
57816
|
init_esm2();
|
|
57817
|
+
var KeepComboBoxOpen = ({ isOpen }) => {
|
|
57818
|
+
const state = React172.useContext(reactAriaComponents.ComboBoxStateContext);
|
|
57819
|
+
const wasOpen = React172.useRef(false);
|
|
57820
|
+
React172.useEffect(() => {
|
|
57821
|
+
if (isOpen && state && !state.isOpen) {
|
|
57822
|
+
state.open(null, "manual");
|
|
57823
|
+
}
|
|
57824
|
+
if (isOpen && state?.selectionManager.focusedKey != null) {
|
|
57825
|
+
state.selectionManager.setFocusedKey(null);
|
|
57826
|
+
}
|
|
57827
|
+
if (!isOpen && wasOpen.current) {
|
|
57828
|
+
state?.close();
|
|
57829
|
+
}
|
|
57830
|
+
wasOpen.current = isOpen;
|
|
57831
|
+
}, [
|
|
57832
|
+
isOpen,
|
|
57833
|
+
state
|
|
57834
|
+
]);
|
|
57835
|
+
return null;
|
|
57836
|
+
};
|
|
57756
57837
|
var useOpenOnClick = ({ readOnly, disabled } = {}) => {
|
|
57757
57838
|
const state = React172.useContext(reactAriaComponents.ComboBoxStateContext);
|
|
57758
57839
|
return React172.useCallback(() => {
|
|
@@ -57838,7 +57919,8 @@ var useOptionComboBox = ({ options, value, commit, clear, onBlur }) => {
|
|
|
57838
57919
|
};
|
|
57839
57920
|
|
|
57840
57921
|
// ../form-fields/dist/esm/ui/multiline-address-field/headless/country-field-headless.js
|
|
57841
|
-
var Country = ({ children }) => {
|
|
57922
|
+
var Country = ({ children, ...internal }) => {
|
|
57923
|
+
const { isForcedOpen = false } = internal;
|
|
57842
57924
|
const { id: id6, value, onChange, disabled, readOnly, required, hasError, onBlur, onFocus, FieldLayout, options } = useFieldPropsV2();
|
|
57843
57925
|
const { labelId } = useFieldAttributes();
|
|
57844
57926
|
const { t } = useTranslation2();
|
|
@@ -57893,6 +57975,8 @@ var Country = ({ children }) => {
|
|
|
57893
57975
|
onKeyDown: onInputKeyDown
|
|
57894
57976
|
}), applyInternalProps(optionsElement, {
|
|
57895
57977
|
options: countryOptions
|
|
57978
|
+
}), /* @__PURE__ */ React172__default.default.createElement(KeepComboBoxOpen, {
|
|
57979
|
+
isOpen: isForcedOpen
|
|
57896
57980
|
})),
|
|
57897
57981
|
renderDescription: () => /* @__PURE__ */ React172__default.default.createElement(React172__default.default.Fragment, null, errorElement, descriptionElement)
|
|
57898
57982
|
});
|
|
@@ -58675,7 +58759,10 @@ var MultilineAddress = ({ children }) => {
|
|
|
58675
58759
|
const field = form?.fields?.find((f) => "target" in f && f.target === firstError?.errorPath);
|
|
58676
58760
|
return field?.id;
|
|
58677
58761
|
});
|
|
58678
|
-
const
|
|
58762
|
+
const isForcedOpen = useIsForcedOpenDropdown(id6);
|
|
58763
|
+
const countryElement = applyInternalProps(findChildOfType(children, MultilineAddress.Country), {
|
|
58764
|
+
isForcedOpen
|
|
58765
|
+
});
|
|
58679
58766
|
const subdivisionElement = findChildOfType(children, MultilineAddress.Subdivision);
|
|
58680
58767
|
const cityElement = findChildOfType(children, MultilineAddress.City);
|
|
58681
58768
|
const addressLineElement = findChildOfType(children, MultilineAddress.AddressLine);
|
|
@@ -59197,10 +59284,12 @@ var CountryButtonEmptyState = ({ children, className }) => {
|
|
|
59197
59284
|
CountryButton.Flag = CountryButtonFlag;
|
|
59198
59285
|
CountryButton.EmptyState = CountryButtonEmptyState;
|
|
59199
59286
|
var CountryOptions = ({ children, className, "aria-label": ariaLabel, placement, offset, ...internal }) => {
|
|
59200
|
-
const { triggerRef, optionsRef } = internal;
|
|
59287
|
+
const { triggerRef, optionsRef, isForcedOpen } = internal;
|
|
59201
59288
|
const { popoverContainer } = usePhoneInputContext();
|
|
59202
59289
|
const searchElement = findChildOfType(children, CountryOptions.Search);
|
|
59203
|
-
const content = /* @__PURE__ */ React172__default.default.createElement(CountryOptionsContent,
|
|
59290
|
+
const content = /* @__PURE__ */ React172__default.default.createElement(CountryOptionsContent, {
|
|
59291
|
+
isForcedOpen
|
|
59292
|
+
}, children);
|
|
59204
59293
|
return /* @__PURE__ */ React172__default.default.createElement($72abaeab4d80592f$export$78efe591171d7d45, {
|
|
59205
59294
|
getContainer: () => popoverContainer
|
|
59206
59295
|
}, /* @__PURE__ */ React172__default.default.createElement(NonModalPopover, {
|
|
@@ -59210,7 +59299,7 @@ var CountryOptions = ({ children, className, "aria-label": ariaLabel, placement,
|
|
|
59210
59299
|
placement,
|
|
59211
59300
|
offset,
|
|
59212
59301
|
containerPadding: 0
|
|
59213
|
-
}, searchElement ? /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.Dialog, {
|
|
59302
|
+
}, searchElement && !isForcedOpen ? /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.Dialog, {
|
|
59214
59303
|
"aria-label": ariaLabel
|
|
59215
59304
|
}, content) : content));
|
|
59216
59305
|
};
|
|
@@ -59240,7 +59329,7 @@ var CountryOptionsModal = ({ children, className, overlayClassName, "aria-label"
|
|
|
59240
59329
|
}
|
|
59241
59330
|
}, children)))));
|
|
59242
59331
|
};
|
|
59243
|
-
var CountryOptionsContent = ({ children, listBoxProps }) => {
|
|
59332
|
+
var CountryOptionsContent = ({ children, listBoxProps, isForcedOpen }) => {
|
|
59244
59333
|
const { countries } = usePhoneInputContext();
|
|
59245
59334
|
const optionElement = findChildOfType(children, CountryOptions.Option);
|
|
59246
59335
|
const searchElement = findChildOfType(children, CountryOptions.Search);
|
|
@@ -59263,16 +59352,20 @@ var CountryOptionsContent = ({ children, listBoxProps }) => {
|
|
|
59263
59352
|
const country = countries.find((item) => item.shortCountryCode === node.key);
|
|
59264
59353
|
return !!country && isCountryMatching(country, query);
|
|
59265
59354
|
}
|
|
59266
|
-
}, searchElement,
|
|
59355
|
+
}, isForcedOpen ? applyInternalProps(searchElement, {
|
|
59356
|
+
autoFocus: false
|
|
59357
|
+
}) : searchElement, listbox) : listbox;
|
|
59267
59358
|
};
|
|
59268
59359
|
CountryOptions.Popover = CountryOptions;
|
|
59269
59360
|
CountryOptions.Modal = CountryOptionsModal;
|
|
59270
|
-
var CountrySearch = ({ className, children, "aria-label": ariaLabel }) => {
|
|
59361
|
+
var CountrySearch = ({ className, children, "aria-label": ariaLabel, ...internal }) => {
|
|
59362
|
+
const { autoFocus = true } = internal;
|
|
59271
59363
|
return /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.SearchField, {
|
|
59272
|
-
className,
|
|
59273
59364
|
"aria-label": ariaLabel,
|
|
59274
|
-
autoFocus
|
|
59275
|
-
},
|
|
59365
|
+
autoFocus
|
|
59366
|
+
}, /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.Group, {
|
|
59367
|
+
className
|
|
59368
|
+
}, children));
|
|
59276
59369
|
};
|
|
59277
59370
|
var CountrySearchInput = ({ className, placeholder }) => /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.Input, {
|
|
59278
59371
|
className,
|
|
@@ -59355,7 +59448,8 @@ var Control7 = ({ children, className }) => {
|
|
|
59355
59448
|
const controlRef = React172.useRef(null);
|
|
59356
59449
|
const optionsRef = React172.useRef(null);
|
|
59357
59450
|
const isFocused = React172.useRef(false);
|
|
59358
|
-
const { disabled, readOnly, required, hasError, showFlag, onFocus, onBlur } = useFieldPropsV2();
|
|
59451
|
+
const { id: id6, disabled, readOnly, required, hasError, showFlag, onFocus, onBlur } = useFieldPropsV2();
|
|
59452
|
+
const [isOpen, setIsOpen] = React172.useState(false);
|
|
59359
59453
|
const invokeBlur = useInvokeCallback(onBlur);
|
|
59360
59454
|
const { t } = useTranslation2();
|
|
59361
59455
|
const { selectedCountryCode, handleCountryCodeChange, countries } = usePhoneInputContext();
|
|
@@ -59363,6 +59457,11 @@ var Control7 = ({ children, className }) => {
|
|
|
59363
59457
|
const modalElement = findChildOfType(children, PhoneInput.CountryOptions.Modal);
|
|
59364
59458
|
const countryOptionsElement = modalElement ?? findChildOfType(children, PhoneInput.CountryOptions.Popover);
|
|
59365
59459
|
const phoneNumberElement = findChildOfType(children, PhoneInput.PhoneNumber);
|
|
59460
|
+
const hasCountryOptions2 = countries.length > 1;
|
|
59461
|
+
const isForcedOpen = useIsForcedOpenDropdown(id6) && !modalElement && hasCountryOptions2;
|
|
59462
|
+
const controlClassName = typeof className === "function" ? className({
|
|
59463
|
+
hasCountryOptions: hasCountryOptions2
|
|
59464
|
+
}) : className;
|
|
59366
59465
|
const focusHandlers = {
|
|
59367
59466
|
onFocus: () => {
|
|
59368
59467
|
if (!isFocused.current) {
|
|
@@ -59381,7 +59480,7 @@ var Control7 = ({ children, className }) => {
|
|
|
59381
59480
|
if (countries.length === 1) {
|
|
59382
59481
|
return /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.Group, {
|
|
59383
59482
|
ref: controlRef,
|
|
59384
|
-
className,
|
|
59483
|
+
className: controlClassName,
|
|
59385
59484
|
isDisabled: disabled,
|
|
59386
59485
|
isInvalid: hasError,
|
|
59387
59486
|
...focusHandlers
|
|
@@ -59391,11 +59490,12 @@ var Control7 = ({ children, className }) => {
|
|
|
59391
59490
|
}
|
|
59392
59491
|
const selector = /* @__PURE__ */ React172__default.default.createElement(React172__default.default.Fragment, null, countryButtonElement, applyInternalProps(countryOptionsElement, {
|
|
59393
59492
|
triggerRef: controlRef,
|
|
59394
|
-
optionsRef
|
|
59493
|
+
optionsRef,
|
|
59494
|
+
isForcedOpen
|
|
59395
59495
|
}));
|
|
59396
59496
|
return /* @__PURE__ */ React172__default.default.createElement(reactAriaComponents.Group, {
|
|
59397
59497
|
ref: controlRef,
|
|
59398
|
-
className,
|
|
59498
|
+
className: controlClassName,
|
|
59399
59499
|
isDisabled: disabled,
|
|
59400
59500
|
isInvalid: hasError,
|
|
59401
59501
|
...focusHandlers
|
|
@@ -59406,7 +59506,9 @@ var Control7 = ({ children, className }) => {
|
|
|
59406
59506
|
isDisabled: disabled || readOnly,
|
|
59407
59507
|
isInvalid: hasError,
|
|
59408
59508
|
isRequired: required,
|
|
59409
|
-
placeholder: ""
|
|
59509
|
+
placeholder: "",
|
|
59510
|
+
isOpen: isForcedOpen || isOpen && !disabled && !readOnly,
|
|
59511
|
+
onOpenChange: isForcedOpen ? void 0 : setIsOpen
|
|
59410
59512
|
}, selector), phoneNumberElement);
|
|
59411
59513
|
};
|
|
59412
59514
|
PhoneInput.Label = Label;
|