intlayer-editor 7.3.13 → 7.3.14
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/client/dist/assets/{CodeBlockShiki-By6BGsDF.js → CodeBlockShiki-B4oIr_Ja.js} +3 -3
- package/client/dist/assets/{bundle-web-BoFApE23.js → bundle-web-iXynhYBw.js} +117 -117
- package/client/dist/assets/{index-CpI4KDfc.css → index-B6iFg1jy.css} +6 -0
- package/client/dist/assets/{index-ZwO-oPRC.js → index-DZJci7kl.js} +124 -95
- package/client/dist/index.html +2 -2
- package/package.json +12 -12
|
@@ -12546,7 +12546,7 @@ const logger = (content2, details) => {
|
|
|
12546
12546
|
if (level === "error") return error(...flatContent);
|
|
12547
12547
|
log2(...flatContent);
|
|
12548
12548
|
};
|
|
12549
|
-
let ANSIColors = /* @__PURE__ */ function(ANSIColors$1) {
|
|
12549
|
+
let ANSIColors = /* @__PURE__ */ (function(ANSIColors$1) {
|
|
12550
12550
|
ANSIColors$1["RESET"] = "\x1B[0m";
|
|
12551
12551
|
ANSIColors$1["GREY"] = "\x1B[90m";
|
|
12552
12552
|
ANSIColors$1["GREY_DARK"] = "\x1B[38;5;239m";
|
|
@@ -12562,7 +12562,7 @@ let ANSIColors = /* @__PURE__ */ function(ANSIColors$1) {
|
|
|
12562
12562
|
ANSIColors$1["WHITE"] = "\x1B[37m";
|
|
12563
12563
|
ANSIColors$1["BOLD"] = "\x1B[1m";
|
|
12564
12564
|
return ANSIColors$1;
|
|
12565
|
-
}({});
|
|
12565
|
+
})({});
|
|
12566
12566
|
const getAppLogger = (configuration2, globalDetails) => (content2, details) => logger(content2, {
|
|
12567
12567
|
...details ?? {},
|
|
12568
12568
|
config: {
|
|
@@ -13524,7 +13524,7 @@ const ALL_LOCALES = {
|
|
|
13524
13524
|
ARABIC_CHAD,
|
|
13525
13525
|
ARABIC_COMOROS
|
|
13526
13526
|
};
|
|
13527
|
-
let NodeType = /* @__PURE__ */ function(NodeType$1) {
|
|
13527
|
+
let NodeType = /* @__PURE__ */ (function(NodeType$1) {
|
|
13528
13528
|
NodeType$1["Translation"] = "translation";
|
|
13529
13529
|
NodeType$1["Enumeration"] = "enumeration";
|
|
13530
13530
|
NodeType$1["Condition"] = "condition";
|
|
@@ -13542,7 +13542,7 @@ let NodeType = /* @__PURE__ */ function(NodeType$1) {
|
|
|
13542
13542
|
NodeType$1["Null"] = "null";
|
|
13543
13543
|
NodeType$1["Unknown"] = "unknown";
|
|
13544
13544
|
return NodeType$1;
|
|
13545
|
-
}({});
|
|
13545
|
+
})({});
|
|
13546
13546
|
var internationalization_exports = /* @__PURE__ */ __export$1({
|
|
13547
13547
|
DEFAULT_LOCALE: () => DEFAULT_LOCALE,
|
|
13548
13548
|
LOCALES: () => LOCALES,
|
|
@@ -14930,7 +14930,7 @@ const mergeIframeClick = (event) => {
|
|
|
14930
14930
|
window.dispatchEvent(simulatedClickEvent);
|
|
14931
14931
|
window.dispatchEvent(simulatedMouseDownEvent);
|
|
14932
14932
|
};
|
|
14933
|
-
let MessageKey = /* @__PURE__ */ function(MessageKey$1) {
|
|
14933
|
+
let MessageKey = /* @__PURE__ */ (function(MessageKey$1) {
|
|
14934
14934
|
MessageKey$1["INTLAYER_CONFIGURATION"] = "INTLAYER_CONFIGURATION";
|
|
14935
14935
|
MessageKey$1["INTLAYER_CURRENT_LOCALE"] = "INTLAYER_CURRENT_LOCALE";
|
|
14936
14936
|
MessageKey$1["INTLAYER_EDITOR_ENABLED"] = "INTLAYER_EDITOR_ENABLED";
|
|
@@ -14942,7 +14942,7 @@ let MessageKey = /* @__PURE__ */ function(MessageKey$1) {
|
|
|
14942
14942
|
MessageKey$1["INTLAYER_EDITED_CONTENT_CHANGED"] = "INTLAYER_EDITED_CONTENT_CHANGED";
|
|
14943
14943
|
MessageKey$1["INTLAYER_IFRAME_CLICKED"] = "INTLAYER_IFRAME_CLICKED";
|
|
14944
14944
|
return MessageKey$1;
|
|
14945
|
-
}({});
|
|
14945
|
+
})({});
|
|
14946
14946
|
const useCrossFrameMessageListener = (key2, onEventTriggered, revalidator) => {
|
|
14947
14947
|
const { allowedOrigins, postMessage, senderId } = useCommunicator();
|
|
14948
14948
|
reactExports.useEffect(() => {
|
|
@@ -20925,7 +20925,7 @@ const containerVariants$1 = cva("flex flex-col text-text backdrop-blur", {
|
|
|
20925
20925
|
gap: "none"
|
|
20926
20926
|
}
|
|
20927
20927
|
});
|
|
20928
|
-
let ContainerRoundedSize = /* @__PURE__ */ function(ContainerRoundedSize$1) {
|
|
20928
|
+
let ContainerRoundedSize = /* @__PURE__ */ (function(ContainerRoundedSize$1) {
|
|
20929
20929
|
ContainerRoundedSize$1["NONE"] = "none";
|
|
20930
20930
|
ContainerRoundedSize$1["SM"] = "sm";
|
|
20931
20931
|
ContainerRoundedSize$1["MD"] = "md";
|
|
@@ -20935,7 +20935,7 @@ let ContainerRoundedSize = /* @__PURE__ */ function(ContainerRoundedSize$1) {
|
|
|
20935
20935
|
ContainerRoundedSize$1["THREE_XL"] = "3xl";
|
|
20936
20936
|
ContainerRoundedSize$1["FULL"] = "full";
|
|
20937
20937
|
return ContainerRoundedSize$1;
|
|
20938
|
-
}({});
|
|
20938
|
+
})({});
|
|
20939
20939
|
const Container = ({
|
|
20940
20940
|
children,
|
|
20941
20941
|
roundedSize,
|
|
@@ -21055,7 +21055,7 @@ const Loader = ({
|
|
|
21055
21055
|
})
|
|
21056
21056
|
}) : children ?? /* @__PURE__ */ jsxRuntimeExports.jsx(jsxRuntimeExports.Fragment, {})
|
|
21057
21057
|
});
|
|
21058
|
-
let ButtonSize = /* @__PURE__ */ function(ButtonSize$1) {
|
|
21058
|
+
let ButtonSize = /* @__PURE__ */ (function(ButtonSize$1) {
|
|
21059
21059
|
ButtonSize$1["SM"] = "sm";
|
|
21060
21060
|
ButtonSize$1["MD"] = "md";
|
|
21061
21061
|
ButtonSize$1["LG"] = "lg";
|
|
@@ -21065,7 +21065,7 @@ let ButtonSize = /* @__PURE__ */ function(ButtonSize$1) {
|
|
|
21065
21065
|
ButtonSize$1["ICON_LG"] = "icon-lg";
|
|
21066
21066
|
ButtonSize$1["ICON_XL"] = "icon-xl";
|
|
21067
21067
|
return ButtonSize$1;
|
|
21068
|
-
}({});
|
|
21068
|
+
})({});
|
|
21069
21069
|
const buttonIconVariants = cva("flex-none shrink-0", {
|
|
21070
21070
|
variants: {
|
|
21071
21071
|
size: {
|
|
@@ -21083,7 +21083,7 @@ const buttonIconVariants = cva("flex-none shrink-0", {
|
|
|
21083
21083
|
size: ButtonSize.MD
|
|
21084
21084
|
}
|
|
21085
21085
|
});
|
|
21086
|
-
let ButtonVariant = /* @__PURE__ */ function(ButtonVariant$1) {
|
|
21086
|
+
let ButtonVariant = /* @__PURE__ */ (function(ButtonVariant$1) {
|
|
21087
21087
|
ButtonVariant$1["DEFAULT"] = "default";
|
|
21088
21088
|
ButtonVariant$1["NONE"] = "none";
|
|
21089
21089
|
ButtonVariant$1["OUTLINE"] = "outline";
|
|
@@ -21093,8 +21093,8 @@ let ButtonVariant = /* @__PURE__ */ function(ButtonVariant$1) {
|
|
|
21093
21093
|
ButtonVariant$1["FADE"] = "fade";
|
|
21094
21094
|
ButtonVariant$1["INPUT"] = "input";
|
|
21095
21095
|
return ButtonVariant$1;
|
|
21096
|
-
}({});
|
|
21097
|
-
let ButtonColor = /* @__PURE__ */ function(ButtonColor$1) {
|
|
21096
|
+
})({});
|
|
21097
|
+
let ButtonColor = /* @__PURE__ */ (function(ButtonColor$1) {
|
|
21098
21098
|
ButtonColor$1["PRIMARY"] = "primary";
|
|
21099
21099
|
ButtonColor$1["SECONDARY"] = "secondary";
|
|
21100
21100
|
ButtonColor$1["DESTRUCTIVE"] = "destructive";
|
|
@@ -21109,13 +21109,13 @@ let ButtonColor = /* @__PURE__ */ function(ButtonColor$1) {
|
|
|
21109
21109
|
ButtonColor$1["SUCCESS"] = "success";
|
|
21110
21110
|
ButtonColor$1["CUSTOM"] = "custom";
|
|
21111
21111
|
return ButtonColor$1;
|
|
21112
|
-
}({});
|
|
21113
|
-
let ButtonTextAlign = /* @__PURE__ */ function(ButtonTextAlign$1) {
|
|
21112
|
+
})({});
|
|
21113
|
+
let ButtonTextAlign = /* @__PURE__ */ (function(ButtonTextAlign$1) {
|
|
21114
21114
|
ButtonTextAlign$1["LEFT"] = "left";
|
|
21115
21115
|
ButtonTextAlign$1["CENTER"] = "center";
|
|
21116
21116
|
ButtonTextAlign$1["RIGHT"] = "right";
|
|
21117
21117
|
return ButtonTextAlign$1;
|
|
21118
|
-
}({});
|
|
21118
|
+
})({});
|
|
21119
21119
|
const buttonVariants = cva("relative inline-flex cursor-pointer items-center justify-center font-medium ring-0 transition-all duration-300 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50", {
|
|
21120
21120
|
variants: {
|
|
21121
21121
|
size: {
|
|
@@ -21594,7 +21594,7 @@ const Accordion = ({
|
|
|
21594
21594
|
})]
|
|
21595
21595
|
});
|
|
21596
21596
|
};
|
|
21597
|
-
let BadgeColor = /* @__PURE__ */ function(BadgeColor$1) {
|
|
21597
|
+
let BadgeColor = /* @__PURE__ */ (function(BadgeColor$1) {
|
|
21598
21598
|
BadgeColor$1["PRIMARY"] = "primary";
|
|
21599
21599
|
BadgeColor$1["SECONDARY"] = "secondary";
|
|
21600
21600
|
BadgeColor$1["DESTRUCTIVE"] = "destructive";
|
|
@@ -21606,20 +21606,20 @@ let BadgeColor = /* @__PURE__ */ function(BadgeColor$1) {
|
|
|
21606
21606
|
BadgeColor$1["TEXT"] = "text";
|
|
21607
21607
|
BadgeColor$1["CUSTOM"] = "custom";
|
|
21608
21608
|
return BadgeColor$1;
|
|
21609
|
-
}({});
|
|
21610
|
-
let BadgeVariant = /* @__PURE__ */ function(BadgeVariant$1) {
|
|
21609
|
+
})({});
|
|
21610
|
+
let BadgeVariant = /* @__PURE__ */ (function(BadgeVariant$1) {
|
|
21611
21611
|
BadgeVariant$1["DEFAULT"] = "default";
|
|
21612
21612
|
BadgeVariant$1["NONE"] = "none";
|
|
21613
21613
|
BadgeVariant$1["OUTLINE"] = "outline";
|
|
21614
21614
|
BadgeVariant$1["HOVERABLE"] = "hoverable";
|
|
21615
21615
|
return BadgeVariant$1;
|
|
21616
|
-
}({});
|
|
21617
|
-
let BadgeSize = /* @__PURE__ */ function(BadgeSize$1) {
|
|
21616
|
+
})({});
|
|
21617
|
+
let BadgeSize = /* @__PURE__ */ (function(BadgeSize$1) {
|
|
21618
21618
|
BadgeSize$1["SMALL"] = "sm";
|
|
21619
21619
|
BadgeSize$1["MEDIUM"] = "md";
|
|
21620
21620
|
BadgeSize$1["LARGE"] = "lg";
|
|
21621
21621
|
return BadgeSize$1;
|
|
21622
|
-
}({});
|
|
21622
|
+
})({});
|
|
21623
21623
|
const badgeVariants = cva("inline-flex items-center rounded-md border px-2.5 py-0.5 font-semibold text-xs transition-colors focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2", {
|
|
21624
21624
|
variants: {
|
|
21625
21625
|
color: {
|
|
@@ -21711,15 +21711,15 @@ const Badge = ({
|
|
|
21711
21711
|
})]
|
|
21712
21712
|
});
|
|
21713
21713
|
};
|
|
21714
|
-
let LinkVariant = /* @__PURE__ */ function(LinkVariant$1) {
|
|
21714
|
+
let LinkVariant = /* @__PURE__ */ (function(LinkVariant$1) {
|
|
21715
21715
|
LinkVariant$1["DEFAULT"] = "default";
|
|
21716
21716
|
LinkVariant$1["INVISIBLE_LINK"] = "invisible-link";
|
|
21717
21717
|
LinkVariant$1["BUTTON"] = "button";
|
|
21718
21718
|
LinkVariant$1["BUTTON_OUTLINED"] = "button-outlined";
|
|
21719
21719
|
LinkVariant$1["HOVERABLE"] = "hoverable";
|
|
21720
21720
|
return LinkVariant$1;
|
|
21721
|
-
}({});
|
|
21722
|
-
let LinkColor = /* @__PURE__ */ function(LinkColor$1) {
|
|
21721
|
+
})({});
|
|
21722
|
+
let LinkColor = /* @__PURE__ */ (function(LinkColor$1) {
|
|
21723
21723
|
LinkColor$1["PRIMARY"] = "primary";
|
|
21724
21724
|
LinkColor$1["SECONDARY"] = "secondary";
|
|
21725
21725
|
LinkColor$1["DESTRUCTIVE"] = "destructive";
|
|
@@ -21732,13 +21732,13 @@ let LinkColor = /* @__PURE__ */ function(LinkColor$1) {
|
|
|
21732
21732
|
LinkColor$1["SUCCESS"] = "success";
|
|
21733
21733
|
LinkColor$1["CUSTOM"] = "custom";
|
|
21734
21734
|
return LinkColor$1;
|
|
21735
|
-
}({});
|
|
21736
|
-
let LinkUnderlined = /* @__PURE__ */ function(LinkUnderlined$1) {
|
|
21735
|
+
})({});
|
|
21736
|
+
let LinkUnderlined = /* @__PURE__ */ (function(LinkUnderlined$1) {
|
|
21737
21737
|
LinkUnderlined$1["DEFAULT"] = "default";
|
|
21738
21738
|
LinkUnderlined$1["TRUE"] = "true";
|
|
21739
21739
|
LinkUnderlined$1["FALSE"] = "false";
|
|
21740
21740
|
return LinkUnderlined$1;
|
|
21741
|
-
}({});
|
|
21741
|
+
})({});
|
|
21742
21742
|
const linkVariants = cva("gap-3 transition focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50", {
|
|
21743
21743
|
variants: {
|
|
21744
21744
|
variant: {
|
|
@@ -30168,7 +30168,7 @@ class VisualElementDragControls {
|
|
|
30168
30168
|
}
|
|
30169
30169
|
frame.read(measureDragConstraints);
|
|
30170
30170
|
const stopResizeListener = addDomEvent(window, "resize", () => this.scalePositionWithinConstraints());
|
|
30171
|
-
const stopLayoutUpdateListener = projection.addEventListener("didUpdate", ({ delta, hasLayoutChanged }) => {
|
|
30171
|
+
const stopLayoutUpdateListener = projection.addEventListener("didUpdate", (({ delta, hasLayoutChanged }) => {
|
|
30172
30172
|
if (this.isDragging && hasLayoutChanged) {
|
|
30173
30173
|
eachAxis((axis) => {
|
|
30174
30174
|
const motionValue2 = this.getAxisMotionValue(axis);
|
|
@@ -30179,7 +30179,7 @@ class VisualElementDragControls {
|
|
|
30179
30179
|
});
|
|
30180
30180
|
this.visualElement.render();
|
|
30181
30181
|
}
|
|
30182
|
-
});
|
|
30182
|
+
}));
|
|
30183
30183
|
return () => {
|
|
30184
30184
|
stopResizeListener();
|
|
30185
30185
|
stopPointerListener();
|
|
@@ -31995,14 +31995,14 @@ const domAnimation = {
|
|
|
31995
31995
|
...animations,
|
|
31996
31996
|
...gestureAnimations
|
|
31997
31997
|
};
|
|
31998
|
-
let ModalSize = /* @__PURE__ */ function(ModalSize$1) {
|
|
31998
|
+
let ModalSize = /* @__PURE__ */ (function(ModalSize$1) {
|
|
31999
31999
|
ModalSize$1["SM"] = "sm";
|
|
32000
32000
|
ModalSize$1["MD"] = "md";
|
|
32001
32001
|
ModalSize$1["LG"] = "lg";
|
|
32002
32002
|
ModalSize$1["XL"] = "xl";
|
|
32003
32003
|
ModalSize$1["UNSET"] = "unset";
|
|
32004
32004
|
return ModalSize$1;
|
|
32005
|
-
}({});
|
|
32005
|
+
})({});
|
|
32006
32006
|
const modalVariants = cva("flex cursor-default flex-col overflow-hidden p-3 shadow-sm", {
|
|
32007
32007
|
variants: {
|
|
32008
32008
|
size: {
|
|
@@ -32209,11 +32209,11 @@ const inputVariants = cva(["w-full select-text resize-none text-base shadow-none
|
|
|
32209
32209
|
validationStyleEnabled: "disabled"
|
|
32210
32210
|
}
|
|
32211
32211
|
});
|
|
32212
|
-
let InputVariant = /* @__PURE__ */ function(InputVariant$1) {
|
|
32212
|
+
let InputVariant = /* @__PURE__ */ (function(InputVariant$1) {
|
|
32213
32213
|
InputVariant$1["DEFAULT"] = "default";
|
|
32214
32214
|
InputVariant$1["INVISIBLE"] = "invisible";
|
|
32215
32215
|
return InputVariant$1;
|
|
32216
|
-
}({});
|
|
32216
|
+
})({});
|
|
32217
32217
|
const Input = ({
|
|
32218
32218
|
validationStyleEnabled = false,
|
|
32219
32219
|
variant,
|
|
@@ -38291,9 +38291,6 @@ async function startAuthentication(options) {
|
|
|
38291
38291
|
authenticatorAttachment: toAuthenticatorAttachment(credential.authenticatorAttachment)
|
|
38292
38292
|
};
|
|
38293
38293
|
}
|
|
38294
|
-
function capitalizeFirstLetter(str) {
|
|
38295
|
-
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
38296
|
-
}
|
|
38297
38294
|
var define_globalThis_process_env_default = {};
|
|
38298
38295
|
var define_process_env_default = {};
|
|
38299
38296
|
const _envShim = /* @__PURE__ */ Object.create(null);
|
|
@@ -38470,6 +38467,9 @@ const createLogger = (options) => {
|
|
|
38470
38467
|
};
|
|
38471
38468
|
};
|
|
38472
38469
|
createLogger();
|
|
38470
|
+
function capitalizeFirstLetter(str) {
|
|
38471
|
+
return str.charAt(0).toUpperCase() + str.slice(1);
|
|
38472
|
+
}
|
|
38473
38473
|
var BetterAuthError = class extends Error {
|
|
38474
38474
|
constructor(message, cause) {
|
|
38475
38475
|
super(message);
|
|
@@ -44101,11 +44101,11 @@ var ItemIndicator = SelectItemIndicator;
|
|
|
44101
44101
|
var ScrollUpButton = SelectScrollUpButton$1;
|
|
44102
44102
|
var ScrollDownButton = SelectScrollDownButton$1;
|
|
44103
44103
|
var Separator = SelectSeparator$1;
|
|
44104
|
-
let SelectContentPosition = /* @__PURE__ */ function(SelectContentPosition$1) {
|
|
44104
|
+
let SelectContentPosition = /* @__PURE__ */ (function(SelectContentPosition$1) {
|
|
44105
44105
|
SelectContentPosition$1["POPPER"] = "popper";
|
|
44106
44106
|
SelectContentPosition$1["ITEM_ALIGNED"] = "item-aligned";
|
|
44107
44107
|
return SelectContentPosition$1;
|
|
44108
|
-
}({});
|
|
44108
|
+
})({});
|
|
44109
44109
|
const SelectRoot = Root2$1;
|
|
44110
44110
|
const SelectGroup = Group;
|
|
44111
44111
|
const SelectValue = Value;
|
|
@@ -44199,9 +44199,10 @@ Select.Label = SelectLabel;
|
|
|
44199
44199
|
Select.Item = SelectItem;
|
|
44200
44200
|
Select.Separator = SelectSeparator;
|
|
44201
44201
|
const selectorDefault = (option) => option?.getAttribute("aria-selected") === "true";
|
|
44202
|
-
const useItemSelector = (optionsRefs, { selector: selector2 = selectorDefault, isHoverable = false } = {
|
|
44202
|
+
const useItemSelector = (optionsRefs, { selector: selector2 = selectorDefault, isHoverable = false, orientation = "horizontal" } = {
|
|
44203
44203
|
selector: selectorDefault,
|
|
44204
|
-
isHoverable: false
|
|
44204
|
+
isHoverable: false,
|
|
44205
|
+
orientation: "horizontal"
|
|
44205
44206
|
}) => {
|
|
44206
44207
|
const [choiceIndicatorPosition, setChoiceIndicatorPosition] = reactExports.useState(null);
|
|
44207
44208
|
const [hoveredItem, setHoveredItem] = reactExports.useState(null);
|
|
@@ -44211,7 +44212,13 @@ const useItemSelector = (optionsRefs, { selector: selector2 = selectorDefault, i
|
|
|
44211
44212
|
if (hoveredItem) targetElement = hoveredItem;
|
|
44212
44213
|
else targetElement = optionsRefs.current.find(selector2) ?? null;
|
|
44213
44214
|
if (!targetElement) {
|
|
44214
|
-
setChoiceIndicatorPosition((prev) => ({
|
|
44215
|
+
if (orientation === "vertical") setChoiceIndicatorPosition((prev) => ({
|
|
44216
|
+
top: 0,
|
|
44217
|
+
height: 0,
|
|
44218
|
+
...prev,
|
|
44219
|
+
opacity: 0
|
|
44220
|
+
}));
|
|
44221
|
+
else setChoiceIndicatorPosition((prev) => ({
|
|
44215
44222
|
left: 0,
|
|
44216
44223
|
width: 0,
|
|
44217
44224
|
...prev,
|
|
@@ -44219,13 +44226,23 @@ const useItemSelector = (optionsRefs, { selector: selector2 = selectorDefault, i
|
|
|
44219
44226
|
}));
|
|
44220
44227
|
return;
|
|
44221
44228
|
}
|
|
44222
|
-
|
|
44223
|
-
|
|
44224
|
-
|
|
44225
|
-
|
|
44226
|
-
|
|
44227
|
-
|
|
44228
|
-
|
|
44229
|
+
if (orientation === "vertical") {
|
|
44230
|
+
const top = targetElement.offsetTop;
|
|
44231
|
+
const height = targetElement.offsetHeight;
|
|
44232
|
+
setChoiceIndicatorPosition({
|
|
44233
|
+
top,
|
|
44234
|
+
height,
|
|
44235
|
+
opacity: 1
|
|
44236
|
+
});
|
|
44237
|
+
} else {
|
|
44238
|
+
const left = targetElement.offsetLeft;
|
|
44239
|
+
const width = targetElement.offsetWidth;
|
|
44240
|
+
setChoiceIndicatorPosition({
|
|
44241
|
+
left,
|
|
44242
|
+
width,
|
|
44243
|
+
opacity: 1
|
|
44244
|
+
});
|
|
44245
|
+
}
|
|
44229
44246
|
};
|
|
44230
44247
|
reactExports.useEffect(() => {
|
|
44231
44248
|
calculatePosition();
|
|
@@ -44287,11 +44304,13 @@ const useItemSelector = (optionsRefs, { selector: selector2 = selectorDefault, i
|
|
|
44287
44304
|
optionsRefs,
|
|
44288
44305
|
selector2,
|
|
44289
44306
|
hoveredItem,
|
|
44290
|
-
itemsLength
|
|
44307
|
+
itemsLength,
|
|
44308
|
+
orientation
|
|
44291
44309
|
]);
|
|
44292
44310
|
return {
|
|
44293
44311
|
choiceIndicatorPosition,
|
|
44294
|
-
calculatePosition
|
|
44312
|
+
calculatePosition,
|
|
44313
|
+
orientation
|
|
44295
44314
|
};
|
|
44296
44315
|
};
|
|
44297
44316
|
const defaultChoices = [{
|
|
@@ -44301,7 +44320,7 @@ const defaultChoices = [{
|
|
|
44301
44320
|
content: "On",
|
|
44302
44321
|
value: true
|
|
44303
44322
|
}];
|
|
44304
|
-
let SwitchSelectorColor = /* @__PURE__ */ function(SwitchSelectorColor$1) {
|
|
44323
|
+
let SwitchSelectorColor = /* @__PURE__ */ (function(SwitchSelectorColor$1) {
|
|
44305
44324
|
SwitchSelectorColor$1["PRIMARY"] = "primary";
|
|
44306
44325
|
SwitchSelectorColor$1["SECONDARY"] = "secondary";
|
|
44307
44326
|
SwitchSelectorColor$1["DESTRUCTIVE"] = "destructive";
|
|
@@ -44310,7 +44329,7 @@ let SwitchSelectorColor = /* @__PURE__ */ function(SwitchSelectorColor$1) {
|
|
|
44310
44329
|
SwitchSelectorColor$1["DARK"] = "dark";
|
|
44311
44330
|
SwitchSelectorColor$1["TEXT"] = "text";
|
|
44312
44331
|
return SwitchSelectorColor$1;
|
|
44313
|
-
}({});
|
|
44332
|
+
})({});
|
|
44314
44333
|
const switchSelectorVariant = cva("flex w-fit cursor-pointer flex-row gap-2 rounded-full border-[1.5px] p-[1.5px]", {
|
|
44315
44334
|
variants: {
|
|
44316
44335
|
color: {
|
|
@@ -44327,12 +44346,12 @@ const switchSelectorVariant = cva("flex w-fit cursor-pointer flex-row gap-2 roun
|
|
|
44327
44346
|
color: `${SwitchSelectorColor.PRIMARY}`
|
|
44328
44347
|
}
|
|
44329
44348
|
});
|
|
44330
|
-
let SwitchSelectorSize = /* @__PURE__ */ function(SwitchSelectorSize$1) {
|
|
44349
|
+
let SwitchSelectorSize = /* @__PURE__ */ (function(SwitchSelectorSize$1) {
|
|
44331
44350
|
SwitchSelectorSize$1["SM"] = "sm";
|
|
44332
44351
|
SwitchSelectorSize$1["MD"] = "md";
|
|
44333
44352
|
SwitchSelectorSize$1["LG"] = "lg";
|
|
44334
44353
|
return SwitchSelectorSize$1;
|
|
44335
|
-
}({});
|
|
44354
|
+
})({});
|
|
44336
44355
|
const choiceVariant = cva("z-1 w-full flex-1 cursor-pointer font-medium text-sm transition-all duration-300 ease-in-out aria-selected:cursor-default data-[indicator=true]:text-text-opposite motion-reduce:transition-none", {
|
|
44337
44356
|
variants: {
|
|
44338
44357
|
size: {
|
|
@@ -46890,36 +46909,36 @@ function i(r2, e) {
|
|
|
46890
46909
|
return n2;
|
|
46891
46910
|
}
|
|
46892
46911
|
function a(o$1, a2, u2) {
|
|
46893
|
-
if (void 0 === u2 && (u2 = {}), function(r2) {
|
|
46912
|
+
if (void 0 === u2 && (u2 = {}), (function(r2) {
|
|
46894
46913
|
return "_def" in r2 && "object" == typeof r2._def && "typeName" in r2._def;
|
|
46895
|
-
}(o$1)) return function(n2, i2, c) {
|
|
46914
|
+
})(o$1)) return function(n2, i2, c) {
|
|
46896
46915
|
try {
|
|
46897
46916
|
return Promise.resolve(t(function() {
|
|
46898
46917
|
return Promise.resolve(o$1["sync" === u2.mode ? "parse" : "parseAsync"](n2, a2)).then(function(e) {
|
|
46899
46918
|
return c.shouldUseNativeValidation && o({}, c), { errors: {}, values: u2.raw ? Object.assign({}, n2) : e };
|
|
46900
46919
|
});
|
|
46901
46920
|
}, function(r2) {
|
|
46902
|
-
if (function(r3) {
|
|
46921
|
+
if ((function(r3) {
|
|
46903
46922
|
return Array.isArray(null == r3 ? void 0 : r3.issues);
|
|
46904
|
-
}(r2)) return { values: {}, errors: s$1(s(r2.errors, !c.shouldUseNativeValidation && "all" === c.criteriaMode), c) };
|
|
46923
|
+
})(r2)) return { values: {}, errors: s$1(s(r2.errors, !c.shouldUseNativeValidation && "all" === c.criteriaMode), c) };
|
|
46905
46924
|
throw r2;
|
|
46906
46925
|
}));
|
|
46907
46926
|
} catch (r2) {
|
|
46908
46927
|
return Promise.reject(r2);
|
|
46909
46928
|
}
|
|
46910
46929
|
};
|
|
46911
|
-
if (function(r2) {
|
|
46930
|
+
if ((function(r2) {
|
|
46912
46931
|
return "_zod" in r2 && "object" == typeof r2._zod;
|
|
46913
|
-
}(o$1)) return function(s2, c, f) {
|
|
46932
|
+
})(o$1)) return function(s2, c, f) {
|
|
46914
46933
|
try {
|
|
46915
46934
|
return Promise.resolve(t(function() {
|
|
46916
46935
|
return Promise.resolve(("sync" === u2.mode ? parse$2 : parseAsync$1)(o$1, s2, a2)).then(function(e) {
|
|
46917
46936
|
return f.shouldUseNativeValidation && o({}, f), { errors: {}, values: u2.raw ? Object.assign({}, s2) : e };
|
|
46918
46937
|
});
|
|
46919
46938
|
}, function(r2) {
|
|
46920
|
-
if (function(r3) {
|
|
46939
|
+
if ((function(r3) {
|
|
46921
46940
|
return r3 instanceof $ZodError;
|
|
46922
|
-
}(r2)) return { values: {}, errors: s$1(i(r2.issues, !f.shouldUseNativeValidation && "all" === f.criteriaMode), f) };
|
|
46941
|
+
})(r2)) return { values: {}, errors: s$1(i(r2.issues, !f.shouldUseNativeValidation && "all" === f.criteriaMode), f) };
|
|
46923
46942
|
throw r2;
|
|
46924
46943
|
}));
|
|
46925
46944
|
} catch (r2) {
|
|
@@ -48295,10 +48314,10 @@ const ZodType = /* @__PURE__ */ $constructor("ZodType", (inst, def) => {
|
|
|
48295
48314
|
};
|
|
48296
48315
|
inst.clone = (def2, params) => clone(inst, def2, params);
|
|
48297
48316
|
inst.brand = () => inst;
|
|
48298
|
-
inst.register = (reg, meta) => {
|
|
48317
|
+
inst.register = ((reg, meta) => {
|
|
48299
48318
|
reg.add(inst, meta);
|
|
48300
48319
|
return inst;
|
|
48301
|
-
};
|
|
48320
|
+
});
|
|
48302
48321
|
inst.parse = (data, params) => parse$1(inst, data, params, { callee: inst.parse });
|
|
48303
48322
|
inst.safeParse = (data, params) => safeParse(inst, data, params);
|
|
48304
48323
|
inst.parseAsync = async (data, params) => parseAsync(inst, data, params, { callee: inst.parseAsync });
|
|
@@ -48794,11 +48813,11 @@ const Trigger = ({
|
|
|
48794
48813
|
...props,
|
|
48795
48814
|
children
|
|
48796
48815
|
});
|
|
48797
|
-
let DropDownAlign = /* @__PURE__ */ function(DropDownAlign$1) {
|
|
48816
|
+
let DropDownAlign = /* @__PURE__ */ (function(DropDownAlign$1) {
|
|
48798
48817
|
DropDownAlign$1["START"] = "start";
|
|
48799
48818
|
DropDownAlign$1["END"] = "end";
|
|
48800
48819
|
return DropDownAlign$1;
|
|
48801
|
-
}({});
|
|
48820
|
+
})({});
|
|
48802
48821
|
const Panel = ({
|
|
48803
48822
|
children,
|
|
48804
48823
|
isHidden: isHidden2 = void 0,
|
|
@@ -49417,7 +49436,7 @@ function createPatternAlphabet(pattern) {
|
|
|
49417
49436
|
}
|
|
49418
49437
|
return mask;
|
|
49419
49438
|
}
|
|
49420
|
-
const stripDiacritics = String.prototype.normalize ? (str) => str.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g, "") : (str) => str;
|
|
49439
|
+
const stripDiacritics = String.prototype.normalize ? ((str) => str.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g, "")) : ((str) => str);
|
|
49421
49440
|
class BitapSearch {
|
|
49422
49441
|
constructor(pattern, {
|
|
49423
49442
|
location = Config.location,
|
|
@@ -50452,7 +50471,7 @@ const CodeDefault = ({
|
|
|
50452
50471
|
})
|
|
50453
50472
|
})
|
|
50454
50473
|
});
|
|
50455
|
-
const CodeBlockShiki = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-
|
|
50474
|
+
const CodeBlockShiki = reactExports.lazy(() => __vitePreload(() => import("./CodeBlockShiki-B4oIr_Ja.js"), true ? [] : void 0).then((mod) => ({
|
|
50456
50475
|
default: mod.CodeBlockShiki
|
|
50457
50476
|
})));
|
|
50458
50477
|
const CodeBlock = ({
|
|
@@ -50477,16 +50496,16 @@ const CodeBlock = ({
|
|
|
50477
50496
|
})
|
|
50478
50497
|
})
|
|
50479
50498
|
});
|
|
50480
|
-
let PopoverXAlign = /* @__PURE__ */ function(PopoverXAlign$1) {
|
|
50499
|
+
let PopoverXAlign = /* @__PURE__ */ (function(PopoverXAlign$1) {
|
|
50481
50500
|
PopoverXAlign$1["START"] = "start";
|
|
50482
50501
|
PopoverXAlign$1["END"] = "end";
|
|
50483
50502
|
return PopoverXAlign$1;
|
|
50484
|
-
}({});
|
|
50485
|
-
let PopoverYAlign = /* @__PURE__ */ function(PopoverYAlign$1) {
|
|
50503
|
+
})({});
|
|
50504
|
+
let PopoverYAlign = /* @__PURE__ */ (function(PopoverYAlign$1) {
|
|
50486
50505
|
PopoverYAlign$1["BELOW"] = "bellow";
|
|
50487
50506
|
PopoverYAlign$1["ABOVE"] = "above";
|
|
50488
50507
|
return PopoverYAlign$1;
|
|
50489
|
-
}({});
|
|
50508
|
+
})({});
|
|
50490
50509
|
const PopoverStatic = ({
|
|
50491
50510
|
children,
|
|
50492
50511
|
className,
|
|
@@ -50846,7 +50865,7 @@ const Code = ({
|
|
|
50846
50865
|
})
|
|
50847
50866
|
});
|
|
50848
50867
|
};
|
|
50849
|
-
let TabSelectorColor = /* @__PURE__ */ function(TabSelectorColor$1) {
|
|
50868
|
+
let TabSelectorColor = /* @__PURE__ */ (function(TabSelectorColor$1) {
|
|
50850
50869
|
TabSelectorColor$1["PRIMARY"] = "primary";
|
|
50851
50870
|
TabSelectorColor$1["SECONDARY"] = "secondary";
|
|
50852
50871
|
TabSelectorColor$1["DESTRUCTIVE"] = "destructive";
|
|
@@ -50855,7 +50874,7 @@ let TabSelectorColor = /* @__PURE__ */ function(TabSelectorColor$1) {
|
|
|
50855
50874
|
TabSelectorColor$1["DARK"] = "dark";
|
|
50856
50875
|
TabSelectorColor$1["TEXT"] = "text";
|
|
50857
50876
|
return TabSelectorColor$1;
|
|
50858
|
-
}({});
|
|
50877
|
+
})({});
|
|
50859
50878
|
const tabSelectorVariant = cva("relative flex size-full flex-row items-center gap-2", {
|
|
50860
50879
|
variants: {
|
|
50861
50880
|
color: {
|
|
@@ -50872,7 +50891,7 @@ const tabSelectorVariant = cva("relative flex size-full flex-row items-center ga
|
|
|
50872
50891
|
color: "primary"
|
|
50873
50892
|
}
|
|
50874
50893
|
});
|
|
50875
|
-
const indicatorVariant = cva("absolute
|
|
50894
|
+
const indicatorVariant = cva("absolute z-[-1] rounded-lg duration-300 ease-in-out motion-reduce:transition-none", {
|
|
50876
50895
|
variants: {
|
|
50877
50896
|
color: {
|
|
50878
50897
|
primary: "bg-primary/10 aria-selected:text-text",
|
|
@@ -50882,7 +50901,14 @@ const indicatorVariant = cva("absolute top-0 z-[-1] h-full w-auto rounded-lg tra
|
|
|
50882
50901
|
light: "bg-white/10 aria-selected:text-black",
|
|
50883
50902
|
dark: "bg-neutral-800/10 aria-selected:text-white",
|
|
50884
50903
|
text: "bg-text/10 aria-selected:text-text-opposite"
|
|
50904
|
+
},
|
|
50905
|
+
orientation: {
|
|
50906
|
+
horizontal: "top-0 h-full w-auto transition-[left,width]",
|
|
50907
|
+
vertical: "left-0 h-auto w-full transition-[top,height]"
|
|
50885
50908
|
}
|
|
50909
|
+
},
|
|
50910
|
+
defaultVariants: {
|
|
50911
|
+
orientation: "horizontal"
|
|
50886
50912
|
}
|
|
50887
50913
|
});
|
|
50888
50914
|
const TabSelector = ({
|
|
@@ -50891,6 +50917,7 @@ const TabSelector = ({
|
|
|
50891
50917
|
onTabClick,
|
|
50892
50918
|
color: color2 = TabSelectorColor.PRIMARY,
|
|
50893
50919
|
hoverable = false,
|
|
50920
|
+
orientation = "horizontal",
|
|
50894
50921
|
className
|
|
50895
50922
|
}) => {
|
|
50896
50923
|
const optionsRefs = reactExports.useRef([]);
|
|
@@ -50899,7 +50926,8 @@ const TabSelector = ({
|
|
|
50899
50926
|
choiceIndicatorPosition,
|
|
50900
50927
|
calculatePosition
|
|
50901
50928
|
} = useItemSelector(optionsRefs, {
|
|
50902
|
-
isHoverable: hoverable
|
|
50929
|
+
isHoverable: hoverable,
|
|
50930
|
+
orientation
|
|
50903
50931
|
});
|
|
50904
50932
|
reactExports.useEffect(() => {
|
|
50905
50933
|
calculatePosition();
|
|
@@ -50908,7 +50936,7 @@ const TabSelector = ({
|
|
|
50908
50936
|
className: cn$2(tabSelectorVariant({
|
|
50909
50937
|
color: color2
|
|
50910
50938
|
}), className),
|
|
50911
|
-
"aria-orientation":
|
|
50939
|
+
"aria-orientation": orientation,
|
|
50912
50940
|
"aria-multiselectable": "false",
|
|
50913
50941
|
role: "tablist",
|
|
50914
50942
|
children: [tabs.map((Tab2, index2) => {
|
|
@@ -50930,7 +50958,8 @@ const TabSelector = ({
|
|
|
50930
50958
|
});
|
|
50931
50959
|
}), choiceIndicatorPosition && /* @__PURE__ */ jsxRuntimeExports.jsx("div", {
|
|
50932
50960
|
className: cn$2(indicatorVariant({
|
|
50933
|
-
color: color2
|
|
50961
|
+
color: color2,
|
|
50962
|
+
orientation
|
|
50934
50963
|
})),
|
|
50935
50964
|
style: choiceIndicatorPosition,
|
|
50936
50965
|
ref: indicatorRef
|
|
@@ -53459,11 +53488,11 @@ const ObjectTextEditor = ({
|
|
|
53459
53488
|
})
|
|
53460
53489
|
})
|
|
53461
53490
|
});
|
|
53462
|
-
var MarkdownViewMode = /* @__PURE__ */ function(MarkdownViewMode$1) {
|
|
53491
|
+
var MarkdownViewMode = /* @__PURE__ */ (function(MarkdownViewMode$1) {
|
|
53463
53492
|
MarkdownViewMode$1[MarkdownViewMode$1["Edit"] = 0] = "Edit";
|
|
53464
53493
|
MarkdownViewMode$1[MarkdownViewMode$1["Preview"] = 1] = "Preview";
|
|
53465
53494
|
return MarkdownViewMode$1;
|
|
53466
|
-
}(MarkdownViewMode || {});
|
|
53495
|
+
})(MarkdownViewMode || {});
|
|
53467
53496
|
const MarkdownTextEditor = ({
|
|
53468
53497
|
section,
|
|
53469
53498
|
keyPath,
|
|
@@ -55277,13 +55306,13 @@ const StructureEditor = ({
|
|
|
55277
55306
|
dictionaryLocalId: localId
|
|
55278
55307
|
});
|
|
55279
55308
|
};
|
|
55280
|
-
var EditorViewType = /* @__PURE__ */ function(EditorViewType$1) {
|
|
55309
|
+
var EditorViewType = /* @__PURE__ */ (function(EditorViewType$1) {
|
|
55281
55310
|
EditorViewType$1[EditorViewType$1["DetailsEditor"] = 0] = "DetailsEditor";
|
|
55282
55311
|
EditorViewType$1[EditorViewType$1["ContentEditor"] = 1] = "ContentEditor";
|
|
55283
55312
|
EditorViewType$1[EditorViewType$1["StructureEditor"] = 2] = "StructureEditor";
|
|
55284
55313
|
EditorViewType$1[EditorViewType$1["JSONEditor"] = 3] = "JSONEditor";
|
|
55285
55314
|
return EditorViewType$1;
|
|
55286
|
-
}(EditorViewType || {});
|
|
55315
|
+
})(EditorViewType || {});
|
|
55287
55316
|
const DictionaryFieldEditor = ({
|
|
55288
55317
|
dictionary,
|
|
55289
55318
|
onClickDictionaryList,
|
|
@@ -55596,7 +55625,7 @@ const RightDrawer = ({
|
|
|
55596
55625
|
})
|
|
55597
55626
|
});
|
|
55598
55627
|
};
|
|
55599
|
-
let TagRoundedSize = /* @__PURE__ */ function(TagRoundedSize$1) {
|
|
55628
|
+
let TagRoundedSize = /* @__PURE__ */ (function(TagRoundedSize$1) {
|
|
55600
55629
|
TagRoundedSize$1["NONE"] = "none";
|
|
55601
55630
|
TagRoundedSize$1["SM"] = "sm";
|
|
55602
55631
|
TagRoundedSize$1["MD"] = "md";
|
|
@@ -55606,8 +55635,8 @@ let TagRoundedSize = /* @__PURE__ */ function(TagRoundedSize$1) {
|
|
|
55606
55635
|
TagRoundedSize$1["XXXL"] = "3xl";
|
|
55607
55636
|
TagRoundedSize$1["FULL"] = "full";
|
|
55608
55637
|
return TagRoundedSize$1;
|
|
55609
|
-
}({});
|
|
55610
|
-
let TagColor = /* @__PURE__ */ function(TagColor$1) {
|
|
55638
|
+
})({});
|
|
55639
|
+
let TagColor = /* @__PURE__ */ (function(TagColor$1) {
|
|
55611
55640
|
TagColor$1["SUCCESS"] = "success";
|
|
55612
55641
|
TagColor$1["ERROR"] = "error";
|
|
55613
55642
|
TagColor$1["WARNING"] = "warning";
|
|
@@ -55625,25 +55654,25 @@ let TagColor = /* @__PURE__ */ function(TagColor$1) {
|
|
|
55625
55654
|
TagColor$1["BLACK"] = "black";
|
|
55626
55655
|
TagColor$1["WHITE"] = "white";
|
|
55627
55656
|
return TagColor$1;
|
|
55628
|
-
}({});
|
|
55629
|
-
let TagSize = /* @__PURE__ */ function(TagSize$1) {
|
|
55657
|
+
})({});
|
|
55658
|
+
let TagSize = /* @__PURE__ */ (function(TagSize$1) {
|
|
55630
55659
|
TagSize$1["XS"] = "xs";
|
|
55631
55660
|
TagSize$1["SM"] = "sm";
|
|
55632
55661
|
TagSize$1["MD"] = "md";
|
|
55633
55662
|
TagSize$1["LG"] = "lg";
|
|
55634
55663
|
TagSize$1["XL"] = "xl";
|
|
55635
55664
|
return TagSize$1;
|
|
55636
|
-
}({});
|
|
55637
|
-
let TagBorder = /* @__PURE__ */ function(TagBorder$1) {
|
|
55665
|
+
})({});
|
|
55666
|
+
let TagBorder = /* @__PURE__ */ (function(TagBorder$1) {
|
|
55638
55667
|
TagBorder$1["NONE"] = "none";
|
|
55639
55668
|
TagBorder$1["WITH"] = "with";
|
|
55640
55669
|
return TagBorder$1;
|
|
55641
|
-
}({});
|
|
55642
|
-
let TagBackground = /* @__PURE__ */ function(TagBackground$1) {
|
|
55670
|
+
})({});
|
|
55671
|
+
let TagBackground = /* @__PURE__ */ (function(TagBackground$1) {
|
|
55643
55672
|
TagBackground$1["NONE"] = "none";
|
|
55644
55673
|
TagBackground$1["WITH"] = "with";
|
|
55645
55674
|
return TagBackground$1;
|
|
55646
|
-
}({});
|
|
55675
|
+
})({});
|
|
55647
55676
|
const containerVariants = cva("w-fit backdrop-blur", {
|
|
55648
55677
|
variants: {
|
|
55649
55678
|
roundedSize: {
|
|
@@ -56406,13 +56435,13 @@ const ToastDescription = ({
|
|
|
56406
56435
|
});
|
|
56407
56436
|
const TOAST_LIMIT = 1;
|
|
56408
56437
|
const TOAST_REMOVE_DELAY = 900 * 1e3;
|
|
56409
|
-
var ActionTypes = /* @__PURE__ */ function(ActionTypes$1) {
|
|
56438
|
+
var ActionTypes = /* @__PURE__ */ (function(ActionTypes$1) {
|
|
56410
56439
|
ActionTypes$1["ADD_TOAST"] = "ADD_TOAST";
|
|
56411
56440
|
ActionTypes$1["UPDATE_TOAST"] = "UPDATE_TOAST";
|
|
56412
56441
|
ActionTypes$1["DISMISS_TOAST"] = "DISMISS_TOAST";
|
|
56413
56442
|
ActionTypes$1["REMOVE_TOAST"] = "REMOVE_TOAST";
|
|
56414
56443
|
return ActionTypes$1;
|
|
56415
|
-
}(ActionTypes || {});
|
|
56444
|
+
})(ActionTypes || {});
|
|
56416
56445
|
let count = 0;
|
|
56417
56446
|
const genId = () => {
|
|
56418
56447
|
count = (count + 1) % Number.MAX_SAFE_INTEGER;
|