syntaxic-react-editor 1.0.7 → 1.0.9
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/README.md +1 -1
- package/dist/index.js +697 -524
- package/dist/index.umd.cjs +5 -25
- package/package.json +2 -3
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`/*! tailwindcss v4.2.2 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50:oklch(97.1% .013 17.38);--color-red-100:oklch(93.6% .032 17.717);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-yellow-200:oklch(94.5% .129 101.54);--color-green-50:oklch(98.2% .018 155.826);--color-green-100:oklch(96.2% .044 156.743);--color-green-200:oklch(92.5% .084 155.995);--color-green-400:oklch(79.2% .209 151.711);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-400:oklch(70.7% .022 261.325);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--font-weight-extrabold:800;--tracking-tighter:-.05em;--tracking-tight:-.025em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--leading-relaxed:1.625;--radius-sm:.25rem;--radius-lg:.5rem;--radius-xl:.75rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.top-0{top:calc(var(--spacing) * 0)}.top-3\\.5{top:calc(var(--spacing) * 3.5)}.right-0{right:calc(var(--spacing) * 0)}.right-3\\.5{right:calc(var(--spacing) * 3.5)}.-bottom-0\\.5{bottom:calc(var(--spacing) * -.5)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-3{bottom:calc(var(--spacing) * 3)}.bottom-\\[-18px\\]{bottom:-18px}.left-0{left:calc(var(--spacing) * 0)}.left-1{left:calc(var(--spacing) * 1)}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-40{z-index:40}.z-\\[98\\]{z-index:98}.z-\\[99\\]{z-index:99}.z-\\[100\\]{z-index:100}.z-\\[9999\\]{z-index:9999}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-1{margin-inline:calc(var(--spacing) * 1)}.mt-0\\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mr-1{margin-right:calc(var(--spacing) * 1)}.mr-1\\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-2{margin-right:calc(var(--spacing) * 2)}.mb-0\\.5{margin-bottom:calc(var(--spacing) * .5)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-1\\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-1\\.5{margin-left:calc(var(--spacing) * 1.5)}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-0{height:calc(var(--spacing) * 0)}.h-0\\.5{height:calc(var(--spacing) * .5)}.h-2{height:calc(var(--spacing) * 2)}.h-3{height:calc(var(--spacing) * 3)}.h-3\\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-12{height:calc(var(--spacing) * 12)}.h-\\[3px\\]{height:3px}.h-\\[18px\\]{height:18px}.h-\\[52px\\]{height:52px}.h-\\[60px\\]{height:60px}.h-\\[88px\\]{height:88px}.h-\\[105px\\]{height:105px}.h-full{height:100%}.max-h-\\[400px\\]{max-height:400px}.min-h-0{min-height:calc(var(--spacing) * 0)}.min-h-full{min-height:100%}.w-0{width:calc(var(--spacing) * 0)}.w-0\\.5{width:calc(var(--spacing) * .5)}.w-2{width:calc(var(--spacing) * 2)}.w-3{width:calc(var(--spacing) * 3)}.w-3\\.5{width:calc(var(--spacing) * 3.5)}.w-5{width:calc(var(--spacing) * 5)}.w-14{width:calc(var(--spacing) * 14)}.w-28{width:calc(var(--spacing) * 28)}.w-\\[1px\\]{width:1px}.w-\\[18px\\]{width:18px}.w-\\[36px\\]{width:36px}.w-\\[50px\\]{width:50px}.w-\\[52px\\]{width:52px}.w-\\[60px\\]{width:60px}.w-\\[70px\\]{width:70px}.w-\\[210mm\\]{width:210mm}.w-\\[320px\\]{width:320px}.w-full{width:100%}.w-px{width:1px}.max-w-\\[120px\\]{max-width:120px}.max-w-\\[200px\\]{max-width:200px}.max-w-full{max-width:100%}.min-w-\\[70px\\]{min-width:70px}.min-w-\\[80px\\]{min-width:80px}.min-w-\\[120px\\]{min-width:120px}.min-w-\\[130px\\]{min-width:130px}.min-w-\\[240px\\]{min-width:240px}.min-w-full{min-width:100%}.flex-1{flex:1}.shrink-0{flex-shrink:0}.border-collapse{border-collapse:collapse}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%;scale:var(--tw-scale-x) var(--tw-scale-y)}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-ew-resize{cursor:ew-resize}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-flow-col{grid-auto-flow:column}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-rows-2{grid-template-rows:repeat(2,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:calc(var(--spacing) * 0)}.gap-0\\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-\\[2px\\]{gap:2px}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.self-center{align-self:center}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-b-sm{border-bottom-right-radius:var(--radius-sm);border-bottom-left-radius:var(--radius-sm)}.border{border-style:var(--tw-border-style);border-width:1px}.border-x{border-inline-style:var(--tw-border-style);border-inline-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-r-\\[6px\\]{border-right-style:var(--tw-border-style);border-right-width:6px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-b-\\[8px\\]{border-bottom-style:var(--tw-border-style);border-bottom-width:8px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-\\[6px\\]{border-left-style:var(--tw-border-style);border-left-width:6px}.border-\\[\\#2b579a\\]{border-color:#2b579a}.border-black{border-color:var(--color-black)}.border-blue-100{border-color:var(--color-blue-100)}.border-blue-200{border-color:var(--color-blue-200)}.border-blue-400{border-color:var(--color-blue-400)}.border-gray-100{border-color:var(--color-gray-100)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-300{border-color:var(--color-gray-300)}.border-gray-400{border-color:var(--color-gray-400)}.border-green-100{border-color:var(--color-green-100)}.border-green-200{border-color:var(--color-green-200)}.border-green-400{border-color:var(--color-green-400)}.border-red-100{border-color:var(--color-red-100)}.border-transparent{border-color:#0000}.border-t-white{border-top-color:var(--color-white)}.border-r-transparent{border-right-color:#0000}.border-b-\\[\\#2b579a\\]{border-bottom-color:#2b579a}.border-l-transparent{border-left-color:#0000}.bg-\\[\\#2b579a\\]{background-color:#2b579a}.bg-\\[\\#c1d3ee\\]{background-color:#c1d3ee}.bg-\\[\\#e6e6e6\\]{background-color:#e6e6e6}.bg-\\[\\#e8e8e8\\]{background-color:#e8e8e8}.bg-\\[\\#f0f0f0\\]{background-color:#f0f0f0}.bg-\\[\\#f0f7ff\\]{background-color:#f0f7ff}.bg-\\[\\#f3f3f3\\]{background-color:#f3f3f3}.bg-\\[\\#f5fff5\\]{background-color:#f5fff5}.bg-\\[\\#f6f8fb\\]{background-color:#f6f8fb}.bg-\\[\\#fafafa\\]{background-color:#fafafa}.bg-black{background-color:var(--color-black)}.bg-blue-50{background-color:var(--color-blue-50)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-200\\/50{background-color:#e5e7eb80}@supports (color:color-mix(in lab, red, red)){.bg-gray-200\\/50{background-color:color-mix(in oklab, var(--color-gray-200) 50%, transparent)}}.bg-gray-300{background-color:var(--color-gray-300)}.bg-green-50{background-color:var(--color-green-50)}.bg-green-600{background-color:var(--color-green-600)}.bg-red-50{background-color:var(--color-red-50)}.bg-white{background-color:var(--color-white)}.bg-yellow-200{background-color:var(--color-yellow-200)}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:calc(var(--spacing) * 1)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.px-0\\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-1\\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-\\[20\\%\\]{padding-inline:20%}.py-0\\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-8{padding-block:calc(var(--spacing) * 8)}.pt-1{padding-top:calc(var(--spacing) * 1)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pr-1{padding-right:calc(var(--spacing) * 1)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-0\\.5{padding-bottom:calc(var(--spacing) * .5)}.pb-\\[18px\\]{padding-bottom:18px}.pb-\\[22px\\]{padding-bottom:22px}.pl-1{padding-left:calc(var(--spacing) * 1)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-4{padding-left:calc(var(--spacing) * 4)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[7px\\]{font-size:7px}.text-\\[8px\\]{font-size:8px}.text-\\[9px\\]{font-size:9px}.text-\\[10px\\]{font-size:10px}.text-\\[11pt\\]{font-size:11pt}.text-\\[11px\\]{font-size:11px}.text-\\[12pt\\]{font-size:12pt}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-extrabold{--tw-font-weight:var(--font-weight-extrabold);font-weight:var(--font-weight-extrabold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-tighter{--tw-tracking:var(--tracking-tighter);letter-spacing:var(--tracking-tighter)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.whitespace-nowrap{white-space:nowrap}.text-\\[\\#2b579a\\]{color:#2b579a}.text-\\[\\#555\\]{color:#555}.text-black{color:var(--color-black)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-gray-300{color:var(--color-gray-300)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-red-500{color:var(--color-red-500)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.accent-green-600{accent-color:var(--color-green-600)}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow-2xl{--tw-shadow:0 25px 50px -12px var(--tw-shadow-color,#00000040);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[-10px_0_15px_-3px_rgba\\(0\\,0\\,0\\,0\\.05\\)\\]{--tw-shadow:-10px 0 15px -3px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_1px_1px_rgba\\(0\\,0\\,0\\,0\\.1\\)\\]{--tw-shadow:0 1px 1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[inset_0_-1px_3px_rgba\\(0\\,0\\,0\\,0\\.05\\)\\]{--tw-shadow:inset 0 -1px 3px var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-inner{--tw-shadow:inset 0 2px 4px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[\\#2b579a\\]\\/20{--tw-shadow-color:#2b579a33}@supports (color:color-mix(in lab, red, red)){.shadow-\\[\\#2b579a\\]\\/20{--tw-shadow-color:color-mix(in oklab, oklab(46.1347% -.0235032 -.11731/.2) var(--tw-shadow-alpha), transparent)}}.shadow-green-600\\/20{--tw-shadow-color:#00a54433}@supports (color:color-mix(in lab, red, red)){.shadow-green-600\\/20{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-green-600) 20%, transparent) var(--tw-shadow-alpha), transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.select-text{-webkit-user-select:text;user-select:text}.group-focus-within\\:text-\\[\\#2b579a\\]:is(:where(.group):focus-within *){color:#2b579a}.group-focus-within\\:text-green-600:is(:where(.group):focus-within *){color:var(--color-green-600)}@media (hover:hover){.group-hover\\:scale-110:is(:where(.group):hover *){--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.group-hover\\:border-b-blue-600:is(:where(.group):hover *){border-bottom-color:var(--color-blue-600)}.group-hover\\:bg-blue-600:is(:where(.group):hover *){background-color:var(--color-blue-600)}.group-hover\\:text-\\[\\#2b579a\\]:is(:where(.group):hover *){color:#2b579a}}.placeholder\\:text-gray-400\\/70::placeholder{color:#99a1afb3}@supports (color:color-mix(in lab, red, red)){.placeholder\\:text-gray-400\\/70::placeholder{color:color-mix(in oklab, var(--color-gray-400) 70%, transparent)}}@media (hover:hover){.hover\\:scale-125:hover{--tw-scale-x:125%;--tw-scale-y:125%;--tw-scale-z:125%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:border-\\[\\#2b579a\\]:hover{border-color:#2b579a}.hover\\:border-blue-400:hover{border-color:var(--color-blue-400)}.hover\\:border-gray-300:hover{border-color:var(--color-gray-300)}.hover\\:border-gray-400:hover{border-color:var(--color-gray-400)}.hover\\:bg-\\[\\#1a3a6a\\]:hover{background-color:#1a3a6a}.hover\\:bg-\\[\\#1e3e6d\\]:hover{background-color:#1e3e6d}.hover\\:bg-\\[\\#d0d0d0\\]:hover{background-color:#d0d0d0}.hover\\:bg-blue-50:hover{background-color:var(--color-blue-50)}.hover\\:bg-blue-50\\/30:hover{background-color:#eff6ff4d}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-blue-50\\/30:hover{background-color:color-mix(in oklab, var(--color-blue-50) 30%, transparent)}}.hover\\:bg-gray-50:hover{background-color:var(--color-gray-50)}.hover\\:bg-gray-100:hover{background-color:var(--color-gray-100)}.hover\\:bg-gray-200:hover{background-color:var(--color-gray-200)}.hover\\:bg-green-700:hover{background-color:var(--color-green-700)}.hover\\:bg-red-50:hover{background-color:var(--color-red-50)}.hover\\:bg-white:hover{background-color:var(--color-white)}.hover\\:text-gray-600:hover{color:var(--color-gray-600)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}}.focus\\:border-\\[\\#2b579a\\]:focus{border-color:#2b579a}.focus\\:border-blue-500:focus{border-color:var(--color-blue-500)}.focus\\:border-green-600:focus{border-color:var(--color-green-600)}.focus\\:ring-4:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\\:ring-\\[\\#2b579a\\]:focus{--tw-ring-color:#2b579a}.focus\\:ring-\\[\\#2b579a\\]\\/5:focus{--tw-ring-color:oklab(46.1347% -.0235032 -.11731/.05)}.focus\\:ring-green-600\\/5:focus{--tw-ring-color:#00a5440d}@supports (color:color-mix(in lab, red, red)){.focus\\:ring-green-600\\/5:focus{--tw-ring-color:color-mix(in oklab, var(--color-green-600) 5%, transparent)}}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}}td::selection{color:#000!important;background-color:#c1d3ee!important}th::selection{color:#000!important;background-color:#c1d3ee!important}td ::selection{color:#000!important;background-color:#c1d3ee!important}th ::selection{color:#000!important;background-color:#c1d3ee!important}td,th{outline-offset:-1px;transition:background-color .1s;position:relative}td[data-selected=true],th[data-selected=true]{box-shadow:inset 0 0 0 1px #2b579a;background-color:#e7f0fd!important}*{box-sizing:border-box}body{margin:0;padding:0}.locked-region{-webkit-user-select:all;user-select:all;background-color:#f3f4f680;border:1px dashed #d1d5db;transition:all .2s;position:relative}span.locked-region{vertical-align:baseline;border-radius:4px;margin:0 2px;padding:0 4px;line-height:normal;display:inline-block}.locked-region:hover{background-color:#f3f4f6cc;border-color:#9ca3af}.locked-region:hover:after{content:"🔒 Locked";color:#fff;pointer-events:none;z-index:10;background:#374151;border-radius:4px;padding:2px 6px;font-size:10px;position:absolute;top:-18px;right:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-duration{syntax:"*";inherits:false}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`:root{--swe-bg-gray:#f3f3f3;--swe-bg-workspace:#e6e6e6;--swe-border-color:#d1d5db;--swe-primary-blue:#2b579a;--swe-primary-blue-hover:#1e3e6d;--swe-text-gray:#4b5563;--swe-shadow:0 4px 6px -1px #0000001a, 0 2px 4px -1px #0000000f;--swe-shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;--swe-shadow-xl:0 20px 25px -5px #0000001a, 0 10px 10px -5px #0000000a;--swe-dropdown-shadow:0 10px 15px -3px #0000001a, 0 4px 6px -2px #0000000d;--swe-bg-premium:#fff}.swe-text-primary-blue{color:var(--swe-primary-blue)}.swe-editor-root{background-color:var(--swe-bg-gray);-webkit-user-select:none;user-select:none;border:1px solid var(--swe-border-color);flex-direction:column;width:100%;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:.875rem;display:flex;overflow:hidden}.swe-toolbar-container{background-color:var(--swe-bg-gray);border-bottom:1px solid var(--swe-border-color);flex-shrink:0;padding:4px 4px 0;display:flex;position:relative}.swe-tab{cursor:pointer;color:#374151;border-top:1px solid #0000;border-left:1px solid #0000;border-right:1px solid #0000;padding:4px 16px;font-size:.75rem;transition:background-color .2s,border-color .2s}.swe-tab:hover{border-left-color:var(--swe-border-color);border-right-color:var(--swe-border-color);background-color:#fff}.swe-tab-active{border-left-color:var(--swe-border-color);border-right-color:var(--swe-border-color);border-top-color:var(--swe-border-color);color:var(--swe-primary-blue);background-color:#fff;font-weight:600}.swe-tab-blue{color:#1e40af;background-color:#f0f7ff;border-color:#60a5fa}.swe-tab-green{color:#166534;background-color:#f5fff5;border-color:#4ade80}.swe-ribbon{background-color:var(--swe-bg-gray);border-bottom:1px solid var(--swe-border-color);z-index:30;flex-wrap:nowrap;flex-shrink:0;align-items:flex-start;gap:8px;height:105px;padding:6px 8px;display:flex;position:relative;overflow-x:auto}.swe-workspace{flex:1;display:flex;overflow:hidden}.swe-scroll-area{background-color:var(--swe-bg-workspace);z-index:10;flex:1;position:relative;overflow:auto}.swe-btn{cursor:pointer;color:#374151;background:0 0;border:1px solid #0000;border-radius:2px;flex-direction:column;justify-content:center;align-items:center;padding:6px;transition:all .2s;display:flex}.swe-btn:hover{background-color:#d0d0d0;border-color:#9ca3af}.swe-btn-active{border-color:var(--swe-primary-blue);background-color:#c1d3ee;box-shadow:inset 0 2px 4px #0000000f}.swe-btn-disabled{opacity:.5;cursor:not-allowed}.swe-btn-label{margin-top:2px;font-size:8px}.swe-page-container{flex-direction:column;align-items:center;min-width:100%;min-height:100%;padding-top:0;padding-bottom:32px;display:flex;position:relative}.swe-page-wrapper{border:1px solid var(--swe-border-color);background-color:#fff;flex-direction:column;width:210mm;max-width:100%;margin:0 auto;display:flex;position:relative;box-shadow:0 10px 15px -3px #0000001a}.swe-editor-content{color:#000;word-break:break-word;outline:none;width:100%;min-height:297mm;line-height:1.5}.swe-editor-content p{min-height:1.5em;margin:0}.swe-editor-root td::selection{color:#000!important;background-color:#c1d3ee!important}.swe-editor-root th::selection{color:#000!important;background-color:#c1d3ee!important}.swe-editor-root td ::selection{color:#000!important;background-color:#c1d3ee!important}.swe-editor-root th ::selection{color:#000!important;background-color:#c1d3ee!important}.swe-editor-root td,.swe-editor-root th{outline-offset:-1px;border:1px solid #000;min-width:30px;padding:8px;transition:background-color .1s;position:relative}.swe-editor-root td[data-selected=true],.swe-editor-root th[data-selected=true]{box-shadow:inset 0 0 0 1px #2b579a;background-color:#e7f0fd!important}.swe-locked-region{border:1px dashed var(--swe-border-color);-webkit-user-select:all;user-select:all;background-color:#f3f4f680;transition:all .2s;position:relative}span.swe-locked-region{vertical-align:baseline;border-radius:4px;margin:0 2px;padding:0 4px;line-height:normal;display:inline-block}.swe-locked-region:hover{background-color:#f3f4f6cc;border-color:#9ca3af}.swe-locked-region:hover:after{content:"🔒 Locked";color:#fff;pointer-events:none;z-index:10;background:#374151;border-radius:4px;padding:2px 6px;font-size:10px;position:absolute;top:-18px;right:0}.swe-toolbar-group{border-right:1px solid var(--swe-border-color);height:88px;margin-right:8px;padding-bottom:18px;padding-right:8px;display:flex;position:relative}.swe-toolbar-group-label{text-align:center;color:#6b7280;text-transform:uppercase;letter-spacing:.05em;pointer-events:none;padding-bottom:2px;font-size:8px;font-weight:800;position:absolute;bottom:0;left:0;right:0}.swe-vertical-divider{background-color:var(--swe-border-color);width:1px;height:16px;margin:0 4px}.swe-dropdown-menu{background-color:var(--swe-bg-premium);border:1px solid var(--swe-border-color);box-shadow:var(--swe-shadow-xl);z-index:110;color:#333;border-radius:6px;flex-direction:column;padding:8px 0;display:flex;position:fixed}.swe-dropdown-item{text-align:left;cursor:pointer;color:#374151;background:0 0;border:none;align-items:center;gap:8px;width:100%;padding:8px 16px;font-size:12px;transition:background-color .1s;display:flex}.swe-dropdown-item:hover{background-color:var(--swe-bg-gray)}.swe-table-grid{border:1px solid var(--swe-border-color);background-color:#fff;border-radius:4px;flex-direction:column;gap:2px;padding:8px;display:flex}.swe-table-cell{cursor:pointer;border:1px solid #e5e7eb;border-radius:2px;width:20px;height:20px;transition:background-color .1s}.swe-table-cell-active{border-color:var(--swe-primary-blue);background-color:#c1d3ee}.swe-input{border:1px solid var(--swe-border-color);border-radius:2px;outline:none;width:100%;padding:4px 8px;font-size:14px}.swe-input:focus{border-color:var(--swe-primary-blue)}.swe-input-sm{border:1px solid var(--swe-border-color);background-color:#fff;border-radius:2px;outline:none;width:56px;height:24px;padding:0 6px;font-size:12px;transition:border-color .1s}.swe-input-sm:focus{border-color:var(--swe-primary-blue)}.swe-form-label{color:#374151;text-align:right;min-width:60px;font-size:10px}.swe-kbd{border:1px solid var(--swe-border-color);color:#374151;text-align:center;background-color:#f3f4f6;border-radius:4px;min-width:60px;padding:2px 6px;font-family:monospace;font-size:10px;font-weight:700;box-shadow:0 1px #0000001a}.swe-shortcut-item{align-items:center;gap:8px;min-width:140px;display:flex}.swe-shortcut-grid{grid-template-rows:repeat(2,1fr);grid-auto-flow:column;gap:8px 24px;display:grid}.swe-btn-icon{cursor:pointer;background:0 0;border:1px solid #0000;border-radius:2px;justify-content:center;align-items:center;padding:4px;transition:all .1s;display:flex}.swe-btn-icon:hover{background-color:var(--swe-bg-hover);border-color:var(--swe-border-color)}.swe-divider-v{background-color:var(--swe-border-color);width:1px;height:24px;margin:0 4px}.swe-divider-h{background-color:var(--swe-border-color);width:100%;height:1px;margin:8px 0}.swe-grid-3{border:1px solid var(--swe-border-color);border-radius:4px;grid-template-columns:repeat(3,1fr);gap:2px;padding:2px;display:grid}.swe-text-red-500{color:#ef4444}.swe-text-red-700{color:#b91c1c}.swe-text-green-700{color:#15803d}.swe-text-green-800{color:#166534}.swe-text-gray-100{color:#f3f4f6}.swe-text-gray-200{color:#e5e7eb}.swe-text-gray-300{color:#d1d5db}.swe-text-gray-400{color:#9ca3af}.swe-text-gray-500{color:#6b7280}.swe-text-gray-600{color:#4b5563}.swe-text-gray-700{color:#374151}.swe-text-gray-800{color:#1f2937}.swe-text-gray-900{color:#111827}.swe-text-center{text-align:center}.swe-toolbar-group-green{background-color:#f0fdf4;border-right:1px solid #bbf7d0;border-radius:4px;flex-direction:row;height:60px;display:flex;position:relative}.swe-accent-green{accent-color:#16a34a}.swe-color-picker-btn{cursor:pointer;background:0 0;border:1px solid #0000;flex-direction:column;justify-content:center;align-items:center;width:36px;height:52px;transition:all .1s;display:flex}.swe-color-picker-btn:hover:not(:disabled){background-color:var(--swe-bg-hover);border-color:var(--swe-border-color);box-shadow:0 1px 2px #0000000d}.swe-color-picker-btn-compact{width:auto;height:32px;padding:0 4px}.swe-color-picker-content{background-color:var(--swe-bg-premium);border:1px solid var(--swe-border-color);box-shadow:var(--swe-shadow-xl);color:#333;border-radius:8px;flex-direction:column;gap:12px;padding:16px;display:flex}.swe-color-picker-title{color:#6b7280;text-transform:uppercase;letter-spacing:.05em;margin-bottom:6px;font-size:10px;font-weight:700}.swe-color-swatch{cursor:pointer;border:1px solid #e5e7eb;width:18px;height:18px;transition:transform .1s}.swe-color-swatch:hover{z-index:10;border-color:#9ca3af;transform:scale(1.2)}.swe-color-btn-action{cursor:pointer;text-align:left;color:#333;background:0 0;border:none;border-radius:6px;align-items:center;gap:10px;width:100%;padding:8px 12px;font-size:13px;transition:all .1s;display:flex}.swe-color-btn-action:hover{background-color:#f3f4f6}.swe-color-btn-more{color:var(--swe-primary-blue);font-weight:500}.swe-color-btn-more:hover{background-color:#eff6ff}.swe-btn-primary{background-color:var(--swe-primary-blue);color:#fff;cursor:pointer;border:none;border-radius:2px;padding:4px 12px;font-size:12px}.swe-btn-primary:hover{background-color:#1a3a6a}.swe-btn-secondary{color:#4b5563;cursor:pointer;background-color:#0000;border:1px solid #0000;border-radius:2px;padding:4px 12px;font-size:12px}.swe-btn-secondary:hover{background-color:#f3f4f6}.swe-sidebar{border-left:1px solid var(--swe-border-color);z-index:40;color:#333;background-color:#fff;flex-direction:column;flex-shrink:0;width:320px;display:flex;position:relative;box-shadow:-10px 0 15px -3px #0000000d}.swe-sidebar-header{background-color:var(--swe-bg-gray);border-bottom:1px solid var(--swe-border-color);color:#333;justify-content:space-between;align-items:center;height:48px;padding:0 16px;display:flex}.swe-sidebar-tabs{z-index:10;background-color:#fff;border-bottom:1px solid #e5e7eb;display:flex;position:sticky;top:0}.swe-sidebar-tab{text-transform:uppercase;letter-spacing:.05em;color:#9ca3af;cursor:pointer;background:0 0;border:none;flex:1;padding:12px 0;font-size:10px;font-weight:800}.swe-sidebar-tab-active{color:var(--swe-primary-blue);border-bottom-color:var(--swe-primary-blue)}.swe-sidebar-content{flex:1;padding:20px;overflow-y:auto}.swe-custom-scrollbar::-webkit-scrollbar{width:6px;height:6px}.swe-custom-scrollbar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:4px}.swe-custom-scrollbar::-webkit-scrollbar-track{background:0 0}.swe-hidden{display:none}.swe-flex{display:flex}.swe-flex-col{flex-direction:column;display:flex}.swe-items-center{align-items:center}.swe-justify-between{justify-content:space-between}.swe-w-full{width:100%}.swe-h-full{height:100%}.swe-relative{position:relative}.swe-absolute{position:absolute}.swe-p-8{padding:32px}.swe-py-8{padding-top:32px;padding-bottom:32px}.swe-flex-1{flex:1}.swe-min-w-full{min-width:100%}.swe-max-w-full{max-width:100%}.swe-min-h-full{min-height:100%}.swe-overflow-hidden{overflow:hidden}.swe-overflow-auto{overflow:auto}.swe-sticky{position:sticky}.swe-top-0{top:0}.swe-z-10{z-index:10}.swe-z-20{z-index:20}.swe-bg-white{background-color:#fff}.swe-shadow-xl{box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.swe-border{border:1px solid var(--swe-border-color)}.swe-outline-none{outline-offset:2px;outline:2px solid #0000}.swe-text-black{color:#000}.swe-text-12pt{font-size:12pt}.swe-text-11pt{font-size:11pt}.swe-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.swe-resize-none{resize:none}.swe-fixed{position:fixed}.swe-inset-0{inset:0}.swe-z-overlay{z-index:100}.swe-z-modal{z-index:110}.swe-overlay{z-index:100;background-color:#0000;position:fixed;inset:0}.swe-ruler-container{background-color:var(--swe-bg-gray);border-bottom:1px solid var(--swe-border-color);justify-content:center;width:100%;height:26px;display:flex;overflow:hidden}.swe-ruler-content{background-color:#fff;align-items:flex-end;height:100%;display:flex;position:relative}.swe-ruler-margin-area{opacity:.8;z-index:10;pointer-events:none;background-color:#e8e8e8;height:100%;position:absolute;top:0}.swe-ruler-margin-left{border-right:1px solid #9ca3af;left:0}.swe-ruler-margin-right{border-left:1px solid #9ca3af;right:0}.swe-ruler-marker{z-index:30;cursor:ew-resize;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:0}.swe-ruler-marker-triangle{border-left:6px solid #0000;border-right:6px solid #0000;border-bottom:8px solid var(--swe-primary-blue);width:0;height:0;transition:border-bottom-color .1s}.swe-ruler-marker:hover .swe-ruler-marker-triangle{border-bottom-color:var(--swe-primary-blue-hover)}.swe-ruler-marker-box{background-color:var(--swe-primary-blue);border-bottom-right-radius:2px;border-bottom-left-radius:2px;width:14px;height:8px;transition:background-color .1s}.swe-ruler-marker:hover .swe-ruler-marker-box{background-color:var(--swe-primary-blue-hover)}.swe-ruler-ticks{z-index:0;align-items:flex-end;width:100%;height:100%;display:flex;position:absolute;inset:0}.swe-ruler-tick-group{border-left:1px solid #d1d5db;flex:1;align-items:flex-end;height:100%;display:flex;position:relative}.swe-ruler-tick-label{color:#6b7280;font-size:8px;font-weight:500;position:absolute;bottom:8px;left:4px}.swe-ruler-subticks{justify-content:space-between;width:100%;padding:0 20%;display:flex}.swe-ruler-tick-small{background-color:#aaa;width:1px;height:4px}.swe-sidebar-label{text-transform:uppercase;color:#6b7280;letter-spacing:.05em;margin-bottom:8px;margin-left:4px;font-size:10px;font-weight:800;display:block}.swe-sidebar-input-wrapper{width:100%;margin-bottom:16px;position:relative}.swe-sidebar-input{background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;outline:none;width:100%;padding:10px 36px 10px 12px;font-size:13px;transition:all .2s;box-shadow:inset 0 1px 2px #0000000d}.swe-sidebar-input:focus{border-color:var(--swe-primary-blue);background-color:#fff;box-shadow:0 0 0 4px #2b579a0d}.swe-sidebar-input-icon{color:#d1d5db;pointer-events:none;transition:color .2s;position:absolute;top:50%;right:12px;transform:translateY(-50%)}.swe-sidebar-input:focus+.swe-sidebar-input-icon{color:var(--swe-primary-blue)}.swe-sidebar-help-box{color:#9ca3af;background-color:#f9fafb;border:1px solid #f3f4f6;border-radius:8px;margin-top:32px;padding:16px;font-size:10px;font-style:italic;line-height:1.6}.swe-sidebar-help-icon{color:#e5e7eb;margin-bottom:8px}@keyframes swe-fade-in{0%{opacity:0}to{opacity:1}}@keyframes swe-slide-in-top{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.swe-animate-fade{animation:.2s ease-out swe-fade-in}.swe-animate-slide{animation:.2s ease-out swe-slide-in-top}.swe-status-msg{border-radius:6px;align-items:center;gap:8px;margin-bottom:16px;padding:12px;font-size:10px;font-weight:700;display:flex}.swe-status-error{color:#dc2626;background-color:#fef2f2;border:1px solid #fee2e2}.swe-status-success{color:#16a34a;background-color:#f0fdf4;border:1px solid #dcfce7}.swe-status-info{color:#2563eb;background-color:#eff6ff;border:1px solid #dbeafe}.swe-search-results-list{flex-direction:column;gap:8px;max-height:400px;padding-right:4px;display:flex;overflow-y:auto}.swe-search-result-item{text-align:left;cursor:pointer;background-color:#fff;border:1px solid #f3f4f6;border-radius:8px;width:100%;padding:10px;transition:all .2s;box-shadow:0 1px 2px #00000005}.swe-search-result-item:hover{border-color:var(--swe-primary-blue);background-color:#f0f7ff;transform:translateY(-1px)}.swe-search-result-item:active{transform:translateY(0)}.swe-gap-1{gap:4px}.swe-gap-2{gap:8px}.swe-gap-3{gap:12px}.swe-gap-4{gap:16px}.swe-p-1{padding:4px}.swe-p-2{padding:8px}.swe-p-3{padding:12px}.swe-mt-1{margin-top:4px}.swe-mt-2{margin-top:8px}.swe-mt-4{margin-top:16px}.swe-mb-1{margin-bottom:4px}.swe-mb-2{margin-bottom:8px}.swe-mb-4{margin-bottom:16px}.swe-ml-1{margin-left:4px}.swe-mr-1{margin-right:4px}.swe-font-bold{font-weight:700}.swe-text-xs{font-size:.75rem}.swe-text-sm{font-size:.875rem}.swe-uppercase{text-transform:uppercase}.swe-tracking-wide{letter-spacing:.025em}.swe-tracking-widest{letter-spacing:.1em}.swe-italic{font-style:italic}.swe-rounded-full{border-radius:9999px}.swe-btn-sidebar-main{cursor:pointer;border:none;border-radius:10px;justify-content:center;align-items:center;gap:8px;width:100%;padding:12px;font-size:11px;font-weight:700;transition:all .2s;display:flex}.swe-btn-sidebar-primary{background-color:var(--swe-primary-blue);color:#fff;box-shadow:0 4px 6px -1px #2b579a33}.swe-btn-sidebar-primary:hover:not(:disabled){background-color:var(--swe-primary-blue-hover);transform:translateY(-1px)}.swe-btn-sidebar-success{color:#fff;background-color:#16a34a;box-shadow:0 4px 6px -1px #16a34a33}.swe-btn-sidebar-success:hover:not(:disabled){background-color:#15803d;transform:translateY(-1px)}.swe-btn-sidebar-outline{color:#374151;background-color:#fff;border:1px solid #d1d5db}.swe-btn-sidebar-outline:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af}.swe-btn-sidebar-main:disabled{opacity:.5;cursor:not-allowed}.swe-btn-sidebar-main:active:not(:disabled){transform:translateY(0)}.swe-pt-1{padding-top:4px}.swe-pt-2{padding-top:8px}.swe-pt-3{padding-top:12px}.swe-pt-4{padding-top:16px}.swe-pb-1{padding-bottom:4px}.swe-pb-2{padding-bottom:8px}.swe-pl-1{padding-left:4px}.swe-pl-2{padding-left:8px}.swe-accent-blue{accent-color:var(--swe-primary-blue)}/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();
|
|
2
2
|
import e, { createElement as t, forwardRef as n, useCallback as r, useEffect as i, useLayoutEffect as a, useRef as o, useState as s } from "react";
|
|
3
3
|
import c from "react-dom";
|
|
4
4
|
import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
@@ -33,7 +33,7 @@ var f = Object.create, p = Object.defineProperty, m = Object.getOwnPropertyDescr
|
|
|
33
33
|
], ne = 2 ** 53 - 1;
|
|
34
34
|
}));
|
|
35
35
|
//#endregion
|
|
36
|
-
//#region
|
|
36
|
+
//#region node_modules/underscore/modules/restArguments.js
|
|
37
37
|
function U(e, t) {
|
|
38
38
|
return t = t == null ? e.length - 1 : +t, function() {
|
|
39
39
|
for (var n = Math.max(arguments.length - t, 0), r = Array(n), i = 0; i < n; i++) r[i] = arguments[i + t];
|
|
@@ -49,26 +49,26 @@ function U(e, t) {
|
|
|
49
49
|
}
|
|
50
50
|
var W = v((() => {}));
|
|
51
51
|
//#endregion
|
|
52
|
-
//#region
|
|
52
|
+
//#region node_modules/underscore/modules/isObject.js
|
|
53
53
|
function re(e) {
|
|
54
54
|
var t = typeof e;
|
|
55
55
|
return t === "function" || t === "object" && !!e;
|
|
56
56
|
}
|
|
57
57
|
var G = v((() => {}));
|
|
58
58
|
//#endregion
|
|
59
|
-
//#region
|
|
59
|
+
//#region node_modules/underscore/modules/isNull.js
|
|
60
60
|
function ie(e) {
|
|
61
61
|
return e === null;
|
|
62
62
|
}
|
|
63
63
|
var ae = v((() => {}));
|
|
64
64
|
//#endregion
|
|
65
|
-
//#region
|
|
65
|
+
//#region node_modules/underscore/modules/isUndefined.js
|
|
66
66
|
function oe(e) {
|
|
67
67
|
return e === void 0;
|
|
68
68
|
}
|
|
69
69
|
var se = v((() => {}));
|
|
70
70
|
//#endregion
|
|
71
|
-
//#region
|
|
71
|
+
//#region node_modules/underscore/modules/isBoolean.js
|
|
72
72
|
function ce(e) {
|
|
73
73
|
return e === !0 || e === !1 || M.call(e) === "[object Boolean]";
|
|
74
74
|
}
|
|
@@ -76,13 +76,13 @@ var le = v((() => {
|
|
|
76
76
|
H();
|
|
77
77
|
}));
|
|
78
78
|
//#endregion
|
|
79
|
-
//#region
|
|
79
|
+
//#region node_modules/underscore/modules/isElement.js
|
|
80
80
|
function ue(e) {
|
|
81
81
|
return !!(e && e.nodeType === 1);
|
|
82
82
|
}
|
|
83
83
|
var de = v((() => {}));
|
|
84
84
|
//#endregion
|
|
85
|
-
//#region
|
|
85
|
+
//#region node_modules/underscore/modules/_tagTester.js
|
|
86
86
|
function K(e) {
|
|
87
87
|
var t = "[object " + e + "]";
|
|
88
88
|
return function(e) {
|
|
@@ -115,7 +115,7 @@ var fe = v((() => {
|
|
|
115
115
|
H(), je(), Me = F && (!/\[native code\]/.test(String(DataView)) || Ae(/* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(8)))), Ne = typeof Map < "u" && Ae(/* @__PURE__ */ new Map());
|
|
116
116
|
}));
|
|
117
117
|
//#endregion
|
|
118
|
-
//#region
|
|
118
|
+
//#region node_modules/underscore/modules/isDataView.js
|
|
119
119
|
function Fe(e) {
|
|
120
120
|
return e != null && q(e.getInt8) && Te(e.buffer);
|
|
121
121
|
}
|
|
@@ -125,7 +125,7 @@ var Ie, Le, Re = v((() => {
|
|
|
125
125
|
H(), fe(), ze = I || K("Array");
|
|
126
126
|
}));
|
|
127
127
|
//#endregion
|
|
128
|
-
//#region
|
|
128
|
+
//#region node_modules/underscore/modules/_has.js
|
|
129
129
|
function J(e, t) {
|
|
130
130
|
return e != null && N.call(e, t);
|
|
131
131
|
}
|
|
@@ -139,7 +139,7 @@ var Ve = v((() => {
|
|
|
139
139
|
})(), Ue = He;
|
|
140
140
|
}));
|
|
141
141
|
//#endregion
|
|
142
|
-
//#region
|
|
142
|
+
//#region node_modules/underscore/modules/isFinite.js
|
|
143
143
|
function Ge(e) {
|
|
144
144
|
return !Ce(e) && ee(e) && !isNaN(parseFloat(e));
|
|
145
145
|
}
|
|
@@ -147,7 +147,7 @@ var Ke = v((() => {
|
|
|
147
147
|
H(), we();
|
|
148
148
|
}));
|
|
149
149
|
//#endregion
|
|
150
|
-
//#region
|
|
150
|
+
//#region node_modules/underscore/modules/isNaN.js
|
|
151
151
|
function qe(e) {
|
|
152
152
|
return he(e) && B(e);
|
|
153
153
|
}
|
|
@@ -155,7 +155,7 @@ var Je = v((() => {
|
|
|
155
155
|
H(), ge();
|
|
156
156
|
}));
|
|
157
157
|
//#endregion
|
|
158
|
-
//#region
|
|
158
|
+
//#region node_modules/underscore/modules/constant.js
|
|
159
159
|
function Ye(e) {
|
|
160
160
|
return function() {
|
|
161
161
|
return e;
|
|
@@ -163,7 +163,7 @@ function Ye(e) {
|
|
|
163
163
|
}
|
|
164
164
|
var Xe = v((() => {}));
|
|
165
165
|
//#endregion
|
|
166
|
-
//#region
|
|
166
|
+
//#region node_modules/underscore/modules/_createSizePropertyCheck.js
|
|
167
167
|
function Ze(e) {
|
|
168
168
|
return function(t) {
|
|
169
169
|
var n = e(t);
|
|
@@ -174,7 +174,7 @@ var Qe = v((() => {
|
|
|
174
174
|
H();
|
|
175
175
|
}));
|
|
176
176
|
//#endregion
|
|
177
|
-
//#region
|
|
177
|
+
//#region node_modules/underscore/modules/_shallowProperty.js
|
|
178
178
|
function $e(e) {
|
|
179
179
|
return function(t) {
|
|
180
180
|
return t?.[e];
|
|
@@ -186,7 +186,7 @@ var et = v((() => {})), tt, nt = v((() => {
|
|
|
186
186
|
Qe(), nt(), rt = Ze(tt);
|
|
187
187
|
}));
|
|
188
188
|
//#endregion
|
|
189
|
-
//#region
|
|
189
|
+
//#region node_modules/underscore/modules/isTypedArray.js
|
|
190
190
|
function Y(e) {
|
|
191
191
|
return z ? z(e) && !Le(e) : rt(e) && at.test(M.call(e));
|
|
192
192
|
}
|
|
@@ -196,7 +196,7 @@ var at, ot, st = v((() => {
|
|
|
196
196
|
et(), ct = $e("length");
|
|
197
197
|
}));
|
|
198
198
|
//#endregion
|
|
199
|
-
//#region
|
|
199
|
+
//#region node_modules/underscore/modules/_collectNonEnumProps.js
|
|
200
200
|
function ut(e) {
|
|
201
201
|
for (var t = {}, n = e.length, r = 0; r < n; ++r) t[e[r]] = !0;
|
|
202
202
|
return {
|
|
@@ -217,7 +217,7 @@ var ft = v((() => {
|
|
|
217
217
|
H(), ke(), Ve();
|
|
218
218
|
}));
|
|
219
219
|
//#endregion
|
|
220
|
-
//#region
|
|
220
|
+
//#region node_modules/underscore/modules/keys.js
|
|
221
221
|
function pt(e) {
|
|
222
222
|
if (!re(e)) return [];
|
|
223
223
|
if (L) return L(e);
|
|
@@ -229,7 +229,7 @@ var mt = v((() => {
|
|
|
229
229
|
G(), H(), Ve(), ft();
|
|
230
230
|
}));
|
|
231
231
|
//#endregion
|
|
232
|
-
//#region
|
|
232
|
+
//#region node_modules/underscore/modules/isEmpty.js
|
|
233
233
|
function ht(e) {
|
|
234
234
|
if (e == null) return !0;
|
|
235
235
|
var t = ct(e);
|
|
@@ -239,7 +239,7 @@ var gt = v((() => {
|
|
|
239
239
|
lt(), Be(), me(), We(), mt();
|
|
240
240
|
}));
|
|
241
241
|
//#endregion
|
|
242
|
-
//#region
|
|
242
|
+
//#region node_modules/underscore/modules/isMatch.js
|
|
243
243
|
function _t(e, t) {
|
|
244
244
|
var n = pt(t), r = n.length;
|
|
245
245
|
if (e == null) return !r;
|
|
@@ -253,7 +253,7 @@ var vt = v((() => {
|
|
|
253
253
|
mt();
|
|
254
254
|
}));
|
|
255
255
|
//#endregion
|
|
256
|
-
//#region
|
|
256
|
+
//#region node_modules/underscore/modules/underscore.js
|
|
257
257
|
function X(e) {
|
|
258
258
|
if (e instanceof X) return e;
|
|
259
259
|
if (!(this instanceof X)) return new X(e);
|
|
@@ -267,7 +267,7 @@ var yt = v((() => {
|
|
|
267
267
|
};
|
|
268
268
|
}));
|
|
269
269
|
//#endregion
|
|
270
|
-
//#region
|
|
270
|
+
//#region node_modules/underscore/modules/_toBufferView.js
|
|
271
271
|
function bt(e) {
|
|
272
272
|
return new Uint8Array(e.buffer || e, e.byteOffset || 0, tt(e));
|
|
273
273
|
}
|
|
@@ -275,7 +275,7 @@ var xt = v((() => {
|
|
|
275
275
|
nt();
|
|
276
276
|
}));
|
|
277
277
|
//#endregion
|
|
278
|
-
//#region
|
|
278
|
+
//#region node_modules/underscore/modules/isEqual.js
|
|
279
279
|
function St(e, t) {
|
|
280
280
|
for (var n = [{
|
|
281
281
|
a: e,
|
|
@@ -369,7 +369,7 @@ var Ct, wt = v((() => {
|
|
|
369
369
|
yt(), H(), nt(), st(), ke(), Pe(), Re(), mt(), Ve(), xt(), Ct = "[object DataView]";
|
|
370
370
|
}));
|
|
371
371
|
//#endregion
|
|
372
|
-
//#region
|
|
372
|
+
//#region node_modules/underscore/modules/allKeys.js
|
|
373
373
|
function Tt(e) {
|
|
374
374
|
if (!re(e)) return [];
|
|
375
375
|
var t = [];
|
|
@@ -380,7 +380,7 @@ var Et = v((() => {
|
|
|
380
380
|
G(), H(), ft();
|
|
381
381
|
}));
|
|
382
382
|
//#endregion
|
|
383
|
-
//#region
|
|
383
|
+
//#region node_modules/underscore/modules/_methodFingerprint.js
|
|
384
384
|
function Dt(e) {
|
|
385
385
|
var t = ct(e);
|
|
386
386
|
return function(n) {
|
|
@@ -405,7 +405,7 @@ var Ot, kt, At, jt, Mt, Nt, Pt, Ft = v((() => {
|
|
|
405
405
|
fe(), Ht = K("WeakSet");
|
|
406
406
|
}));
|
|
407
407
|
//#endregion
|
|
408
|
-
//#region
|
|
408
|
+
//#region node_modules/underscore/modules/values.js
|
|
409
409
|
function Wt(e) {
|
|
410
410
|
for (var t = pt(e), n = t.length, r = Array(n), i = 0; i < n; i++) r[i] = e[t[i]];
|
|
411
411
|
return r;
|
|
@@ -414,7 +414,7 @@ var Gt = v((() => {
|
|
|
414
414
|
mt();
|
|
415
415
|
}));
|
|
416
416
|
//#endregion
|
|
417
|
-
//#region
|
|
417
|
+
//#region node_modules/underscore/modules/pairs.js
|
|
418
418
|
function Kt(e) {
|
|
419
419
|
for (var t = pt(e), n = t.length, r = Array(n), i = 0; i < n; i++) r[i] = [t[i], e[t[i]]];
|
|
420
420
|
return r;
|
|
@@ -423,7 +423,7 @@ var qt = v((() => {
|
|
|
423
423
|
mt();
|
|
424
424
|
}));
|
|
425
425
|
//#endregion
|
|
426
|
-
//#region
|
|
426
|
+
//#region node_modules/underscore/modules/invert.js
|
|
427
427
|
function Jt(e) {
|
|
428
428
|
for (var t = {}, n = pt(e), r = 0, i = n.length; r < i; r++) t[e[n[r]]] = n[r];
|
|
429
429
|
return t;
|
|
@@ -432,7 +432,7 @@ var Yt = v((() => {
|
|
|
432
432
|
mt();
|
|
433
433
|
}));
|
|
434
434
|
//#endregion
|
|
435
|
-
//#region
|
|
435
|
+
//#region node_modules/underscore/modules/functions.js
|
|
436
436
|
function Xt(e) {
|
|
437
437
|
var t = [];
|
|
438
438
|
for (var n in e) q(e[n]) && t.push(n);
|
|
@@ -442,7 +442,7 @@ var Zt = v((() => {
|
|
|
442
442
|
ke();
|
|
443
443
|
}));
|
|
444
444
|
//#endregion
|
|
445
|
-
//#region
|
|
445
|
+
//#region node_modules/underscore/modules/_createAssigner.js
|
|
446
446
|
function Qt(e, t) {
|
|
447
447
|
return function(n) {
|
|
448
448
|
var r = arguments.length;
|
|
@@ -462,7 +462,7 @@ var $t = v((() => {})), en, tn = v((() => {
|
|
|
462
462
|
$t(), Et(), an = Qt(Tt, !0);
|
|
463
463
|
}));
|
|
464
464
|
//#endregion
|
|
465
|
-
//#region
|
|
465
|
+
//#region node_modules/underscore/modules/_baseCreate.js
|
|
466
466
|
function sn() {
|
|
467
467
|
return function() {};
|
|
468
468
|
}
|
|
@@ -478,7 +478,7 @@ var ln = v((() => {
|
|
|
478
478
|
G(), H();
|
|
479
479
|
}));
|
|
480
480
|
//#endregion
|
|
481
|
-
//#region
|
|
481
|
+
//#region node_modules/underscore/modules/create.js
|
|
482
482
|
function un(e, t) {
|
|
483
483
|
var n = cn(e);
|
|
484
484
|
return t && nn(n, t), n;
|
|
@@ -487,7 +487,7 @@ var dn = v((() => {
|
|
|
487
487
|
ln(), rn();
|
|
488
488
|
}));
|
|
489
489
|
//#endregion
|
|
490
|
-
//#region
|
|
490
|
+
//#region node_modules/underscore/modules/clone.js
|
|
491
491
|
function fn(e) {
|
|
492
492
|
return re(e) ? ze(e) ? e.slice() : en({}, e) : e;
|
|
493
493
|
}
|
|
@@ -495,13 +495,13 @@ var pn = v((() => {
|
|
|
495
495
|
G(), Be(), tn();
|
|
496
496
|
}));
|
|
497
497
|
//#endregion
|
|
498
|
-
//#region
|
|
498
|
+
//#region node_modules/underscore/modules/tap.js
|
|
499
499
|
function mn(e, t) {
|
|
500
500
|
return t(e), e;
|
|
501
501
|
}
|
|
502
502
|
var hn = v((() => {}));
|
|
503
503
|
//#endregion
|
|
504
|
-
//#region
|
|
504
|
+
//#region node_modules/underscore/modules/toPath.js
|
|
505
505
|
function gn(e) {
|
|
506
506
|
return ze(e) ? e : [e];
|
|
507
507
|
}
|
|
@@ -509,7 +509,7 @@ var _n = v((() => {
|
|
|
509
509
|
yt(), Be(), X.toPath = gn;
|
|
510
510
|
}));
|
|
511
511
|
//#endregion
|
|
512
|
-
//#region
|
|
512
|
+
//#region node_modules/underscore/modules/_toPath.js
|
|
513
513
|
function vn(e) {
|
|
514
514
|
return X.toPath(e);
|
|
515
515
|
}
|
|
@@ -517,7 +517,7 @@ var yn = v((() => {
|
|
|
517
517
|
yt(), _n();
|
|
518
518
|
}));
|
|
519
519
|
//#endregion
|
|
520
|
-
//#region
|
|
520
|
+
//#region node_modules/underscore/modules/_deepGet.js
|
|
521
521
|
function bn(e, t) {
|
|
522
522
|
for (var n = t.length, r = 0; r < n; r++) {
|
|
523
523
|
if (e == null) return;
|
|
@@ -527,7 +527,7 @@ function bn(e, t) {
|
|
|
527
527
|
}
|
|
528
528
|
var xn = v((() => {}));
|
|
529
529
|
//#endregion
|
|
530
|
-
//#region
|
|
530
|
+
//#region node_modules/underscore/modules/get.js
|
|
531
531
|
function Sn(e, t, n) {
|
|
532
532
|
var r = bn(e, vn(t));
|
|
533
533
|
return oe(r) ? n : r;
|
|
@@ -536,7 +536,7 @@ var Cn = v((() => {
|
|
|
536
536
|
yn(), xn(), se();
|
|
537
537
|
}));
|
|
538
538
|
//#endregion
|
|
539
|
-
//#region
|
|
539
|
+
//#region node_modules/underscore/modules/has.js
|
|
540
540
|
function wn(e, t) {
|
|
541
541
|
t = vn(t);
|
|
542
542
|
for (var n = t.length, r = 0; r < n; r++) {
|
|
@@ -550,13 +550,13 @@ var Tn = v((() => {
|
|
|
550
550
|
Ve(), yn();
|
|
551
551
|
}));
|
|
552
552
|
//#endregion
|
|
553
|
-
//#region
|
|
553
|
+
//#region node_modules/underscore/modules/identity.js
|
|
554
554
|
function En(e) {
|
|
555
555
|
return e;
|
|
556
556
|
}
|
|
557
557
|
var Dn = v((() => {}));
|
|
558
558
|
//#endregion
|
|
559
|
-
//#region
|
|
559
|
+
//#region node_modules/underscore/modules/matcher.js
|
|
560
560
|
function On(e) {
|
|
561
561
|
return e = nn({}, e), function(t) {
|
|
562
562
|
return _t(t, e);
|
|
@@ -566,7 +566,7 @@ var kn = v((() => {
|
|
|
566
566
|
rn(), vt();
|
|
567
567
|
}));
|
|
568
568
|
//#endregion
|
|
569
|
-
//#region
|
|
569
|
+
//#region node_modules/underscore/modules/property.js
|
|
570
570
|
function An(e) {
|
|
571
571
|
return e = vn(e), function(t) {
|
|
572
572
|
return bn(t, e);
|
|
@@ -576,7 +576,7 @@ var jn = v((() => {
|
|
|
576
576
|
xn(), yn();
|
|
577
577
|
}));
|
|
578
578
|
//#endregion
|
|
579
|
-
//#region
|
|
579
|
+
//#region node_modules/underscore/modules/_optimizeCb.js
|
|
580
580
|
function Mn(e, t, n) {
|
|
581
581
|
if (t === void 0) return e;
|
|
582
582
|
switch (n ?? 3) {
|
|
@@ -596,7 +596,7 @@ function Mn(e, t, n) {
|
|
|
596
596
|
}
|
|
597
597
|
var Nn = v((() => {}));
|
|
598
598
|
//#endregion
|
|
599
|
-
//#region
|
|
599
|
+
//#region node_modules/underscore/modules/_baseIteratee.js
|
|
600
600
|
function Pn(e, t, n) {
|
|
601
601
|
return e == null ? En : q(e) ? Mn(e, t, n) : re(e) && !ze(e) ? On(e) : An(e);
|
|
602
602
|
}
|
|
@@ -604,7 +604,7 @@ var Fn = v((() => {
|
|
|
604
604
|
Dn(), ke(), G(), Be(), kn(), jn(), Nn();
|
|
605
605
|
}));
|
|
606
606
|
//#endregion
|
|
607
|
-
//#region
|
|
607
|
+
//#region node_modules/underscore/modules/iteratee.js
|
|
608
608
|
function In(e, t) {
|
|
609
609
|
return Pn(e, t, Infinity);
|
|
610
610
|
}
|
|
@@ -612,7 +612,7 @@ var Ln = v((() => {
|
|
|
612
612
|
yt(), Fn(), X.iteratee = In;
|
|
613
613
|
}));
|
|
614
614
|
//#endregion
|
|
615
|
-
//#region
|
|
615
|
+
//#region node_modules/underscore/modules/_cb.js
|
|
616
616
|
function Rn(e, t, n) {
|
|
617
617
|
return X.iteratee === In ? Pn(e, t, n) : X.iteratee(e, t);
|
|
618
618
|
}
|
|
@@ -620,7 +620,7 @@ var zn = v((() => {
|
|
|
620
620
|
yt(), Fn(), Ln();
|
|
621
621
|
}));
|
|
622
622
|
//#endregion
|
|
623
|
-
//#region
|
|
623
|
+
//#region node_modules/underscore/modules/mapObject.js
|
|
624
624
|
function Bn(e, t, n) {
|
|
625
625
|
t = Rn(t, n);
|
|
626
626
|
for (var r = pt(e), i = r.length, a = {}, o = 0; o < i; o++) {
|
|
@@ -633,11 +633,11 @@ var Vn = v((() => {
|
|
|
633
633
|
zn(), mt();
|
|
634
634
|
}));
|
|
635
635
|
//#endregion
|
|
636
|
-
//#region
|
|
636
|
+
//#region node_modules/underscore/modules/noop.js
|
|
637
637
|
function Hn() {}
|
|
638
638
|
var Un = v((() => {}));
|
|
639
639
|
//#endregion
|
|
640
|
-
//#region
|
|
640
|
+
//#region node_modules/underscore/modules/propertyOf.js
|
|
641
641
|
function Wn(e) {
|
|
642
642
|
return e == null ? Hn : function(t) {
|
|
643
643
|
return Sn(e, t);
|
|
@@ -647,7 +647,7 @@ var Gn = v((() => {
|
|
|
647
647
|
Un(), Cn();
|
|
648
648
|
}));
|
|
649
649
|
//#endregion
|
|
650
|
-
//#region
|
|
650
|
+
//#region node_modules/underscore/modules/times.js
|
|
651
651
|
function Kn(e, t, n) {
|
|
652
652
|
var r = Array(Math.max(0, e));
|
|
653
653
|
t = Mn(t, n, 1);
|
|
@@ -658,7 +658,7 @@ var qn = v((() => {
|
|
|
658
658
|
Nn();
|
|
659
659
|
}));
|
|
660
660
|
//#endregion
|
|
661
|
-
//#region
|
|
661
|
+
//#region node_modules/underscore/modules/random.js
|
|
662
662
|
function Jn(e, t) {
|
|
663
663
|
return t ?? (t = e, e = 0), e + Math.floor(Math.random() * (t - e + 1));
|
|
664
664
|
}
|
|
@@ -668,7 +668,7 @@ var Yn = v((() => {})), Xn, Zn = v((() => {
|
|
|
668
668
|
};
|
|
669
669
|
}));
|
|
670
670
|
//#endregion
|
|
671
|
-
//#region
|
|
671
|
+
//#region node_modules/underscore/modules/_createEscaper.js
|
|
672
672
|
function Qn(e) {
|
|
673
673
|
var t = function(t) {
|
|
674
674
|
return e[t];
|
|
@@ -702,7 +702,7 @@ var $n = v((() => {
|
|
|
702
702
|
};
|
|
703
703
|
}));
|
|
704
704
|
//#endregion
|
|
705
|
-
//#region
|
|
705
|
+
//#region node_modules/underscore/modules/template.js
|
|
706
706
|
function ur(e) {
|
|
707
707
|
return "\\" + pr[e];
|
|
708
708
|
}
|
|
@@ -743,7 +743,7 @@ var fr, pr, mr, hr, gr = v((() => {
|
|
|
743
743
|
}, mr = /\\|'|\r|\n|\u2028|\u2029/g, hr = /^\s*(\w|\$)+\s*$/;
|
|
744
744
|
}));
|
|
745
745
|
//#endregion
|
|
746
|
-
//#region
|
|
746
|
+
//#region node_modules/underscore/modules/result.js
|
|
747
747
|
function _r(e, t, n) {
|
|
748
748
|
t = vn(t);
|
|
749
749
|
var r = t.length;
|
|
@@ -758,7 +758,7 @@ var vr = v((() => {
|
|
|
758
758
|
ke(), yn();
|
|
759
759
|
}));
|
|
760
760
|
//#endregion
|
|
761
|
-
//#region
|
|
761
|
+
//#region node_modules/underscore/modules/uniqueId.js
|
|
762
762
|
function yr(e) {
|
|
763
763
|
var t = ++br + "";
|
|
764
764
|
return e ? e + t : t;
|
|
@@ -767,7 +767,7 @@ var br, xr = v((() => {
|
|
|
767
767
|
br = 0;
|
|
768
768
|
}));
|
|
769
769
|
//#endregion
|
|
770
|
-
//#region
|
|
770
|
+
//#region node_modules/underscore/modules/chain.js
|
|
771
771
|
function Sr(e) {
|
|
772
772
|
var t = X(e);
|
|
773
773
|
return t._chain = !0, t;
|
|
@@ -776,7 +776,7 @@ var Cr = v((() => {
|
|
|
776
776
|
yt();
|
|
777
777
|
}));
|
|
778
778
|
//#endregion
|
|
779
|
-
//#region
|
|
779
|
+
//#region node_modules/underscore/modules/_executeBound.js
|
|
780
780
|
function wr(e, t, n, r, i) {
|
|
781
781
|
if (!(r instanceof t)) return e.apply(n, i);
|
|
782
782
|
var a = cn(e.prototype), o = e.apply(a, i);
|
|
@@ -805,7 +805,7 @@ var Tr = v((() => {
|
|
|
805
805
|
Qe(), lt(), Ar = Ze(ct);
|
|
806
806
|
}));
|
|
807
807
|
//#endregion
|
|
808
|
-
//#region
|
|
808
|
+
//#region node_modules/underscore/modules/_flatten.js
|
|
809
809
|
function Mr(e, t, n) {
|
|
810
810
|
!t && t !== 0 && (t = Infinity);
|
|
811
811
|
for (var r = [], i = 0, a = 0, o = ct(e) || 0, s = [];;) {
|
|
@@ -838,7 +838,7 @@ var Nr = v((() => {
|
|
|
838
838
|
});
|
|
839
839
|
}));
|
|
840
840
|
//#endregion
|
|
841
|
-
//#region
|
|
841
|
+
//#region node_modules/underscore/modules/memoize.js
|
|
842
842
|
function Ir(e, t) {
|
|
843
843
|
var n = function(r) {
|
|
844
844
|
var i = n.cache, a = "" + (t ? t.apply(this, arguments) : r);
|
|
@@ -858,7 +858,7 @@ var Lr = v((() => {
|
|
|
858
858
|
Dr(), zr(), yt(), Br = Er(Rr, X, 1);
|
|
859
859
|
}));
|
|
860
860
|
//#endregion
|
|
861
|
-
//#region
|
|
861
|
+
//#region node_modules/underscore/modules/throttle.js
|
|
862
862
|
function Hr(e, t, n) {
|
|
863
863
|
var r, i, a, o, s = 0;
|
|
864
864
|
n ||= {};
|
|
@@ -878,7 +878,7 @@ var Ur = v((() => {
|
|
|
878
878
|
Zn();
|
|
879
879
|
}));
|
|
880
880
|
//#endregion
|
|
881
|
-
//#region
|
|
881
|
+
//#region node_modules/underscore/modules/debounce.js
|
|
882
882
|
function Wr(e, t, n) {
|
|
883
883
|
var r, i, a, o, s, c = function() {
|
|
884
884
|
var l = Xn() - i;
|
|
@@ -894,7 +894,7 @@ var Gr = v((() => {
|
|
|
894
894
|
W(), Zn();
|
|
895
895
|
}));
|
|
896
896
|
//#endregion
|
|
897
|
-
//#region
|
|
897
|
+
//#region node_modules/underscore/modules/wrap.js
|
|
898
898
|
function Kr(e, t) {
|
|
899
899
|
return Er(t, e);
|
|
900
900
|
}
|
|
@@ -902,7 +902,7 @@ var qr = v((() => {
|
|
|
902
902
|
Dr();
|
|
903
903
|
}));
|
|
904
904
|
//#endregion
|
|
905
|
-
//#region
|
|
905
|
+
//#region node_modules/underscore/modules/negate.js
|
|
906
906
|
function Jr(e) {
|
|
907
907
|
return function() {
|
|
908
908
|
return !e.apply(this, arguments);
|
|
@@ -910,7 +910,7 @@ function Jr(e) {
|
|
|
910
910
|
}
|
|
911
911
|
var Yr = v((() => {}));
|
|
912
912
|
//#endregion
|
|
913
|
-
//#region
|
|
913
|
+
//#region node_modules/underscore/modules/compose.js
|
|
914
914
|
function Xr() {
|
|
915
915
|
var e = arguments, t = e.length - 1;
|
|
916
916
|
return function() {
|
|
@@ -920,7 +920,7 @@ function Xr() {
|
|
|
920
920
|
}
|
|
921
921
|
var Zr = v((() => {}));
|
|
922
922
|
//#endregion
|
|
923
|
-
//#region
|
|
923
|
+
//#region node_modules/underscore/modules/after.js
|
|
924
924
|
function Qr(e, t) {
|
|
925
925
|
return function() {
|
|
926
926
|
if (--e < 1) return t.apply(this, arguments);
|
|
@@ -928,7 +928,7 @@ function Qr(e, t) {
|
|
|
928
928
|
}
|
|
929
929
|
var $r = v((() => {}));
|
|
930
930
|
//#endregion
|
|
931
|
-
//#region
|
|
931
|
+
//#region node_modules/underscore/modules/before.js
|
|
932
932
|
function ei(e, t) {
|
|
933
933
|
var n;
|
|
934
934
|
return function() {
|
|
@@ -939,7 +939,7 @@ var ti = v((() => {})), ni, ri = v((() => {
|
|
|
939
939
|
Dr(), ti(), ni = Er(ei, 2);
|
|
940
940
|
}));
|
|
941
941
|
//#endregion
|
|
942
|
-
//#region
|
|
942
|
+
//#region node_modules/underscore/modules/findKey.js
|
|
943
943
|
function ii(e, t, n) {
|
|
944
944
|
t = Rn(t, n);
|
|
945
945
|
for (var r = pt(e), i, a = 0, o = r.length; a < o; a++) if (i = r[a], t(e[i], i, e)) return i;
|
|
@@ -948,7 +948,7 @@ var ai = v((() => {
|
|
|
948
948
|
zn(), mt();
|
|
949
949
|
}));
|
|
950
950
|
//#endregion
|
|
951
|
-
//#region
|
|
951
|
+
//#region node_modules/underscore/modules/_createPredicateIndexFinder.js
|
|
952
952
|
function oi(e) {
|
|
953
953
|
return function(t, n, r) {
|
|
954
954
|
n = Rn(n, r);
|
|
@@ -964,7 +964,7 @@ var si = v((() => {
|
|
|
964
964
|
si(), ui = oi(-1);
|
|
965
965
|
}));
|
|
966
966
|
//#endregion
|
|
967
|
-
//#region
|
|
967
|
+
//#region node_modules/underscore/modules/sortedIndex.js
|
|
968
968
|
function fi(e, t, n, r) {
|
|
969
969
|
n = Rn(n, r, 1);
|
|
970
970
|
for (var i = n(t), a = 0, o = ct(e); a < o;) {
|
|
@@ -977,7 +977,7 @@ var pi = v((() => {
|
|
|
977
977
|
zn(), lt();
|
|
978
978
|
}));
|
|
979
979
|
//#endregion
|
|
980
|
-
//#region
|
|
980
|
+
//#region node_modules/underscore/modules/_createIndexFinder.js
|
|
981
981
|
function mi(e, t, n) {
|
|
982
982
|
return function(r, i, a) {
|
|
983
983
|
var o = 0, s = ct(r);
|
|
@@ -996,7 +996,7 @@ var hi = v((() => {
|
|
|
996
996
|
di(), hi(), vi = mi(-1, ui);
|
|
997
997
|
}));
|
|
998
998
|
//#endregion
|
|
999
|
-
//#region
|
|
999
|
+
//#region node_modules/underscore/modules/find.js
|
|
1000
1000
|
function bi(e, t, n) {
|
|
1001
1001
|
var r = (Ar(e) ? ci : ii)(e, t, n);
|
|
1002
1002
|
if (r !== void 0 && r !== -1) return e[r];
|
|
@@ -1005,7 +1005,7 @@ var xi = v((() => {
|
|
|
1005
1005
|
jr(), li(), ai();
|
|
1006
1006
|
}));
|
|
1007
1007
|
//#endregion
|
|
1008
|
-
//#region
|
|
1008
|
+
//#region node_modules/underscore/modules/findWhere.js
|
|
1009
1009
|
function Si(e, t) {
|
|
1010
1010
|
return bi(e, On(t));
|
|
1011
1011
|
}
|
|
@@ -1013,7 +1013,7 @@ var Ci = v((() => {
|
|
|
1013
1013
|
xi(), kn();
|
|
1014
1014
|
}));
|
|
1015
1015
|
//#endregion
|
|
1016
|
-
//#region
|
|
1016
|
+
//#region node_modules/underscore/modules/each.js
|
|
1017
1017
|
function wi(e, t, n) {
|
|
1018
1018
|
t = Mn(t, n);
|
|
1019
1019
|
var r, i;
|
|
@@ -1028,7 +1028,7 @@ var Ti = v((() => {
|
|
|
1028
1028
|
Nn(), jr(), mt();
|
|
1029
1029
|
}));
|
|
1030
1030
|
//#endregion
|
|
1031
|
-
//#region
|
|
1031
|
+
//#region node_modules/underscore/modules/map.js
|
|
1032
1032
|
function Ei(e, t, n) {
|
|
1033
1033
|
t = Rn(t, n);
|
|
1034
1034
|
for (var r = !Ar(e) && pt(e), i = (r || e).length, a = Array(i), o = 0; o < i; o++) {
|
|
@@ -1041,7 +1041,7 @@ var Di = v((() => {
|
|
|
1041
1041
|
zn(), jr(), mt();
|
|
1042
1042
|
}));
|
|
1043
1043
|
//#endregion
|
|
1044
|
-
//#region
|
|
1044
|
+
//#region node_modules/underscore/modules/_createReduce.js
|
|
1045
1045
|
function Oi(e) {
|
|
1046
1046
|
var t = function(t, n, r, i) {
|
|
1047
1047
|
var a = !Ar(t) && pt(t), o = (a || t).length, s = e > 0 ? 0 : o - 1;
|
|
@@ -1064,7 +1064,7 @@ var ki = v((() => {
|
|
|
1064
1064
|
ki(), Mi = Oi(-1);
|
|
1065
1065
|
}));
|
|
1066
1066
|
//#endregion
|
|
1067
|
-
//#region
|
|
1067
|
+
//#region node_modules/underscore/modules/filter.js
|
|
1068
1068
|
function Pi(e, t, n) {
|
|
1069
1069
|
var r = [];
|
|
1070
1070
|
return t = Rn(t, n), wi(e, function(e, n, i) {
|
|
@@ -1075,7 +1075,7 @@ var Fi = v((() => {
|
|
|
1075
1075
|
zn(), Ti();
|
|
1076
1076
|
}));
|
|
1077
1077
|
//#endregion
|
|
1078
|
-
//#region
|
|
1078
|
+
//#region node_modules/underscore/modules/reject.js
|
|
1079
1079
|
function Ii(e, t, n) {
|
|
1080
1080
|
return Pi(e, Jr(Rn(t)), n);
|
|
1081
1081
|
}
|
|
@@ -1083,7 +1083,7 @@ var Li = v((() => {
|
|
|
1083
1083
|
Fi(), Yr(), zn();
|
|
1084
1084
|
}));
|
|
1085
1085
|
//#endregion
|
|
1086
|
-
//#region
|
|
1086
|
+
//#region node_modules/underscore/modules/every.js
|
|
1087
1087
|
function Ri(e, t, n) {
|
|
1088
1088
|
t = Rn(t, n);
|
|
1089
1089
|
for (var r = !Ar(e) && pt(e), i = (r || e).length, a = 0; a < i; a++) {
|
|
@@ -1096,7 +1096,7 @@ var zi = v((() => {
|
|
|
1096
1096
|
zn(), jr(), mt();
|
|
1097
1097
|
}));
|
|
1098
1098
|
//#endregion
|
|
1099
|
-
//#region
|
|
1099
|
+
//#region node_modules/underscore/modules/some.js
|
|
1100
1100
|
function Bi(e, t, n) {
|
|
1101
1101
|
t = Rn(t, n);
|
|
1102
1102
|
for (var r = !Ar(e) && pt(e), i = (r || e).length, a = 0; a < i; a++) {
|
|
@@ -1109,7 +1109,7 @@ var Vi = v((() => {
|
|
|
1109
1109
|
zn(), jr(), mt();
|
|
1110
1110
|
}));
|
|
1111
1111
|
//#endregion
|
|
1112
|
-
//#region
|
|
1112
|
+
//#region node_modules/underscore/modules/contains.js
|
|
1113
1113
|
function Hi(e, t, n, r) {
|
|
1114
1114
|
return Ar(e) || (e = Wt(e)), (typeof n != "number" || r) && (n = 0), gi(e, t, n) >= 0;
|
|
1115
1115
|
}
|
|
@@ -1129,7 +1129,7 @@ var Ui = v((() => {
|
|
|
1129
1129
|
});
|
|
1130
1130
|
}));
|
|
1131
1131
|
//#endregion
|
|
1132
|
-
//#region
|
|
1132
|
+
//#region node_modules/underscore/modules/pluck.js
|
|
1133
1133
|
function Ki(e, t) {
|
|
1134
1134
|
return Ei(e, An(t));
|
|
1135
1135
|
}
|
|
@@ -1137,7 +1137,7 @@ var qi = v((() => {
|
|
|
1137
1137
|
Di(), jn();
|
|
1138
1138
|
}));
|
|
1139
1139
|
//#endregion
|
|
1140
|
-
//#region
|
|
1140
|
+
//#region node_modules/underscore/modules/where.js
|
|
1141
1141
|
function Ji(e, t) {
|
|
1142
1142
|
return Pi(e, On(t));
|
|
1143
1143
|
}
|
|
@@ -1145,7 +1145,7 @@ var Yi = v((() => {
|
|
|
1145
1145
|
Fi(), kn();
|
|
1146
1146
|
}));
|
|
1147
1147
|
//#endregion
|
|
1148
|
-
//#region
|
|
1148
|
+
//#region node_modules/underscore/modules/max.js
|
|
1149
1149
|
function Xi(e, t, n) {
|
|
1150
1150
|
var r = -Infinity, i = -Infinity, a, o;
|
|
1151
1151
|
if (t == null || typeof t == "number" && typeof e[0] != "object" && e != null) {
|
|
@@ -1160,7 +1160,7 @@ var Zi = v((() => {
|
|
|
1160
1160
|
jr(), Gt(), zn(), Ti();
|
|
1161
1161
|
}));
|
|
1162
1162
|
//#endregion
|
|
1163
|
-
//#region
|
|
1163
|
+
//#region node_modules/underscore/modules/min.js
|
|
1164
1164
|
function Qi(e, t, n) {
|
|
1165
1165
|
var r = Infinity, i = Infinity, a, o;
|
|
1166
1166
|
if (t == null || typeof t == "number" && typeof e[0] != "object" && e != null) {
|
|
@@ -1175,7 +1175,7 @@ var $i = v((() => {
|
|
|
1175
1175
|
jr(), Gt(), zn(), Ti();
|
|
1176
1176
|
}));
|
|
1177
1177
|
//#endregion
|
|
1178
|
-
//#region
|
|
1178
|
+
//#region node_modules/underscore/modules/toArray.js
|
|
1179
1179
|
function ea(e) {
|
|
1180
1180
|
return e ? ze(e) ? j.call(e) : pe(e) ? e.match(ta) : Ar(e) ? Ei(e, En) : Wt(e) : [];
|
|
1181
1181
|
}
|
|
@@ -1183,7 +1183,7 @@ var ta, na = v((() => {
|
|
|
1183
1183
|
Be(), H(), me(), jr(), Di(), Dn(), Gt(), ta = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;
|
|
1184
1184
|
}));
|
|
1185
1185
|
//#endregion
|
|
1186
|
-
//#region
|
|
1186
|
+
//#region node_modules/underscore/modules/sample.js
|
|
1187
1187
|
function ra(e, t, n) {
|
|
1188
1188
|
if (t == null || n) return Ar(e) || (e = Wt(e)), e[Jn(e.length - 1)];
|
|
1189
1189
|
var r = ea(e), i = ct(r);
|
|
@@ -1198,7 +1198,7 @@ var ia = v((() => {
|
|
|
1198
1198
|
jr(), Gt(), lt(), Yn(), na();
|
|
1199
1199
|
}));
|
|
1200
1200
|
//#endregion
|
|
1201
|
-
//#region
|
|
1201
|
+
//#region node_modules/underscore/modules/shuffle.js
|
|
1202
1202
|
function aa(e) {
|
|
1203
1203
|
return ra(e, Infinity);
|
|
1204
1204
|
}
|
|
@@ -1206,7 +1206,7 @@ var oa = v((() => {
|
|
|
1206
1206
|
ia();
|
|
1207
1207
|
}));
|
|
1208
1208
|
//#endregion
|
|
1209
|
-
//#region
|
|
1209
|
+
//#region node_modules/underscore/modules/sortBy.js
|
|
1210
1210
|
function sa(e, t, n) {
|
|
1211
1211
|
var r = 0;
|
|
1212
1212
|
return t = Rn(t, n), Ki(Ei(e, function(e, n, i) {
|
|
@@ -1228,7 +1228,7 @@ var ca = v((() => {
|
|
|
1228
1228
|
zn(), qi(), Di();
|
|
1229
1229
|
}));
|
|
1230
1230
|
//#endregion
|
|
1231
|
-
//#region
|
|
1231
|
+
//#region node_modules/underscore/modules/_group.js
|
|
1232
1232
|
function la(e, t) {
|
|
1233
1233
|
return function(n, r, i) {
|
|
1234
1234
|
var a = t ? [[], []] : {};
|
|
@@ -1257,7 +1257,7 @@ var ua = v((() => {
|
|
|
1257
1257
|
}, !0);
|
|
1258
1258
|
}));
|
|
1259
1259
|
//#endregion
|
|
1260
|
-
//#region
|
|
1260
|
+
//#region node_modules/underscore/modules/size.js
|
|
1261
1261
|
function ya(e) {
|
|
1262
1262
|
return e == null ? 0 : Ar(e) ? e.length : pt(e).length;
|
|
1263
1263
|
}
|
|
@@ -1265,7 +1265,7 @@ var ba = v((() => {
|
|
|
1265
1265
|
jr(), mt();
|
|
1266
1266
|
}));
|
|
1267
1267
|
//#endregion
|
|
1268
|
-
//#region
|
|
1268
|
+
//#region node_modules/underscore/modules/_keyInObj.js
|
|
1269
1269
|
function xa(e, t, n) {
|
|
1270
1270
|
return t in n;
|
|
1271
1271
|
}
|
|
@@ -1289,7 +1289,7 @@ var Sa = v((() => {})), Ca, wa = v((() => {
|
|
|
1289
1289
|
});
|
|
1290
1290
|
}));
|
|
1291
1291
|
//#endregion
|
|
1292
|
-
//#region
|
|
1292
|
+
//#region node_modules/underscore/modules/initial.js
|
|
1293
1293
|
function Da(e, t, n) {
|
|
1294
1294
|
return j.call(e, 0, Math.max(0, e.length - (t == null || n ? 1 : t)));
|
|
1295
1295
|
}
|
|
@@ -1297,7 +1297,7 @@ var Oa = v((() => {
|
|
|
1297
1297
|
H();
|
|
1298
1298
|
}));
|
|
1299
1299
|
//#endregion
|
|
1300
|
-
//#region
|
|
1300
|
+
//#region node_modules/underscore/modules/first.js
|
|
1301
1301
|
function ka(e, t, n) {
|
|
1302
1302
|
return e == null || e.length < 1 ? t == null || n ? void 0 : [] : t == null || n ? e[0] : Da(e, e.length - t);
|
|
1303
1303
|
}
|
|
@@ -1305,7 +1305,7 @@ var Aa = v((() => {
|
|
|
1305
1305
|
Oa();
|
|
1306
1306
|
}));
|
|
1307
1307
|
//#endregion
|
|
1308
|
-
//#region
|
|
1308
|
+
//#region node_modules/underscore/modules/rest.js
|
|
1309
1309
|
function ja(e, t, n) {
|
|
1310
1310
|
return j.call(e, t == null || n ? 1 : t);
|
|
1311
1311
|
}
|
|
@@ -1313,7 +1313,7 @@ var Ma = v((() => {
|
|
|
1313
1313
|
H();
|
|
1314
1314
|
}));
|
|
1315
1315
|
//#endregion
|
|
1316
|
-
//#region
|
|
1316
|
+
//#region node_modules/underscore/modules/last.js
|
|
1317
1317
|
function Na(e, t, n) {
|
|
1318
1318
|
return e == null || e.length < 1 ? t == null || n ? void 0 : [] : t == null || n ? e[e.length - 1] : ja(e, Math.max(0, e.length - t));
|
|
1319
1319
|
}
|
|
@@ -1321,7 +1321,7 @@ var Pa = v((() => {
|
|
|
1321
1321
|
Ma();
|
|
1322
1322
|
}));
|
|
1323
1323
|
//#endregion
|
|
1324
|
-
//#region
|
|
1324
|
+
//#region node_modules/underscore/modules/compact.js
|
|
1325
1325
|
function Fa(e) {
|
|
1326
1326
|
return Pi(e, Boolean);
|
|
1327
1327
|
}
|
|
@@ -1329,7 +1329,7 @@ var Ia = v((() => {
|
|
|
1329
1329
|
Fi();
|
|
1330
1330
|
}));
|
|
1331
1331
|
//#endregion
|
|
1332
|
-
//#region
|
|
1332
|
+
//#region node_modules/underscore/modules/flatten.js
|
|
1333
1333
|
function La(e, t) {
|
|
1334
1334
|
return Mr(e, t, !1);
|
|
1335
1335
|
}
|
|
@@ -1347,7 +1347,7 @@ var Ra = v((() => {
|
|
|
1347
1347
|
});
|
|
1348
1348
|
}));
|
|
1349
1349
|
//#endregion
|
|
1350
|
-
//#region
|
|
1350
|
+
//#region node_modules/underscore/modules/uniq.js
|
|
1351
1351
|
function Ua(e, t, n, r) {
|
|
1352
1352
|
ce(t) || (r = n, n = t, t = !1), n != null && (n = Rn(n, r));
|
|
1353
1353
|
for (var i = [], a = [], o = 0, s = ct(e); o < s; o++) {
|
|
@@ -1364,7 +1364,7 @@ var Wa = v((() => {
|
|
|
1364
1364
|
});
|
|
1365
1365
|
}));
|
|
1366
1366
|
//#endregion
|
|
1367
|
-
//#region
|
|
1367
|
+
//#region node_modules/underscore/modules/intersection.js
|
|
1368
1368
|
function qa(e) {
|
|
1369
1369
|
for (var t = [], n = arguments.length, r = 0, i = ct(e); r < i; r++) {
|
|
1370
1370
|
var a = e[r];
|
|
@@ -1380,7 +1380,7 @@ var Ja = v((() => {
|
|
|
1380
1380
|
lt(), Ui();
|
|
1381
1381
|
}));
|
|
1382
1382
|
//#endregion
|
|
1383
|
-
//#region
|
|
1383
|
+
//#region node_modules/underscore/modules/unzip.js
|
|
1384
1384
|
function Ya(e) {
|
|
1385
1385
|
for (var t = e && Xi(e, ct).length || 0, n = Array(t), r = 0; r < t; r++) n[r] = Ki(e, r);
|
|
1386
1386
|
return n;
|
|
@@ -1391,7 +1391,7 @@ var Xa = v((() => {
|
|
|
1391
1391
|
W(), Xa(), Za = U(Ya);
|
|
1392
1392
|
}));
|
|
1393
1393
|
//#endregion
|
|
1394
|
-
//#region
|
|
1394
|
+
//#region node_modules/underscore/modules/object.js
|
|
1395
1395
|
function $a(e, t) {
|
|
1396
1396
|
for (var n = {}, r = 0, i = ct(e); r < i; r++) t ? n[e[r]] = t[r] : n[e[r][0]] = e[r][1];
|
|
1397
1397
|
return n;
|
|
@@ -1400,7 +1400,7 @@ var eo = v((() => {
|
|
|
1400
1400
|
lt();
|
|
1401
1401
|
}));
|
|
1402
1402
|
//#endregion
|
|
1403
|
-
//#region
|
|
1403
|
+
//#region node_modules/underscore/modules/range.js
|
|
1404
1404
|
function to(e, t, n) {
|
|
1405
1405
|
t ?? (t = e || 0, e = 0), n ||= t < e ? -1 : 1;
|
|
1406
1406
|
for (var r = Math.max(Math.ceil((t - e) / n), 0), i = Array(r), a = 0; a < r; a++, e += n) i[a] = e;
|
|
@@ -1408,7 +1408,7 @@ function to(e, t, n) {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
var no = v((() => {}));
|
|
1410
1410
|
//#endregion
|
|
1411
|
-
//#region
|
|
1411
|
+
//#region node_modules/underscore/modules/chunk.js
|
|
1412
1412
|
function ro(e, t) {
|
|
1413
1413
|
if (t == null || t < 1) return [];
|
|
1414
1414
|
for (var n = [], r = 0, i = e.length; r < i;) n.push(j.call(e, r, r += t));
|
|
@@ -1418,7 +1418,7 @@ var io = v((() => {
|
|
|
1418
1418
|
H();
|
|
1419
1419
|
}));
|
|
1420
1420
|
//#endregion
|
|
1421
|
-
//#region
|
|
1421
|
+
//#region node_modules/underscore/modules/_chainResult.js
|
|
1422
1422
|
function ao(e, t) {
|
|
1423
1423
|
return e._chain ? X(t).chain() : t;
|
|
1424
1424
|
}
|
|
@@ -1426,7 +1426,7 @@ var oo = v((() => {
|
|
|
1426
1426
|
yt();
|
|
1427
1427
|
}));
|
|
1428
1428
|
//#endregion
|
|
1429
|
-
//#region
|
|
1429
|
+
//#region node_modules/underscore/modules/mixin.js
|
|
1430
1430
|
function so(e) {
|
|
1431
1431
|
return wi(Xt(e), function(t) {
|
|
1432
1432
|
var n = X[t] = e[t];
|
|
@@ -22387,7 +22387,7 @@ function kc(e, t, n, r) {
|
|
|
22387
22387
|
r?.onFocusRequested?.();
|
|
22388
22388
|
}
|
|
22389
22389
|
//#endregion
|
|
22390
|
-
//#region
|
|
22390
|
+
//#region node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
22391
22391
|
var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (...e) => e.filter((e, t, n) => !!e && e.trim() !== "" && n.indexOf(e) === t).join(" ").trim(), Mc = {
|
|
22392
22392
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22393
22393
|
width: 24,
|
|
@@ -23136,10 +23136,10 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23136
23136
|
},
|
|
23137
23137
|
title: n,
|
|
23138
23138
|
disabled: o,
|
|
23139
|
-
className: `
|
|
23139
|
+
className: `swe-btn ${o ? "swe-btn-disabled" : r ? "swe-btn-active" : ""} ${i}`,
|
|
23140
23140
|
...s,
|
|
23141
23141
|
children: [t, a && /* @__PURE__ */ u("span", {
|
|
23142
|
-
className: "
|
|
23142
|
+
className: "swe-btn-label",
|
|
23143
23143
|
children: a
|
|
23144
23144
|
})]
|
|
23145
23145
|
}), Al = ({ showHtml: t, execCommand: n, activeStyles: r, fontConf: i, paragraphConf: a, changeLineSpacing: o, changeListStyleType: s, clipboardConf: f, handlePaste: p, toggleHtmlView: m, onOpenFind: h, onOpenReplace: g, editingConf: _, pluginContributions: v = [], toggleSelectionLock: y, fonts: b, sizes: x, saveSelection: S, openTextColorPicker: C, openHighlightColorPicker: w }) => {
|
|
@@ -23181,26 +23181,30 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23181
23181
|
};
|
|
23182
23182
|
return /* @__PURE__ */ d(l, { children: [
|
|
23183
23183
|
f && /* @__PURE__ */ d("div", {
|
|
23184
|
-
className: "
|
|
23184
|
+
className: "swe-toolbar-group",
|
|
23185
23185
|
children: [
|
|
23186
23186
|
/* @__PURE__ */ d("div", {
|
|
23187
|
-
className: "flex
|
|
23187
|
+
className: "swe-flex swe-items-center",
|
|
23188
23188
|
children: [f.paste && /* @__PURE__ */ d("button", {
|
|
23189
23189
|
onClick: p,
|
|
23190
23190
|
disabled: t,
|
|
23191
|
-
className:
|
|
23191
|
+
className: `swe-btn ${t ? "swe-btn-disabled" : ""}`,
|
|
23192
|
+
style: {
|
|
23193
|
+
height: "60px",
|
|
23194
|
+
width: "50px"
|
|
23195
|
+
},
|
|
23192
23196
|
title: "Paste (Ctrl+V)",
|
|
23193
23197
|
children: [/* @__PURE__ */ u(Zc, {
|
|
23194
23198
|
size: 28,
|
|
23195
|
-
className: "text-
|
|
23199
|
+
className: "swe-text-primary-blue"
|
|
23196
23200
|
}), /* @__PURE__ */ u("span", {
|
|
23197
|
-
className: "
|
|
23201
|
+
className: "swe-btn-label",
|
|
23198
23202
|
children: "Paste"
|
|
23199
23203
|
})]
|
|
23200
23204
|
}), /* @__PURE__ */ d("div", {
|
|
23201
|
-
className: "flex
|
|
23205
|
+
className: "swe-flex-col",
|
|
23202
23206
|
children: [/* @__PURE__ */ d("div", {
|
|
23203
|
-
className: "flex items-center
|
|
23207
|
+
className: "swe-flex swe-items-center",
|
|
23204
23208
|
children: [f.cut && /* @__PURE__ */ u($, {
|
|
23205
23209
|
onClick: () => n("cut"),
|
|
23206
23210
|
icon: /* @__PURE__ */ u(bl, { size: 14 }),
|
|
@@ -23213,7 +23217,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23213
23217
|
title: "Undo (Ctrl+Z)"
|
|
23214
23218
|
})]
|
|
23215
23219
|
}), /* @__PURE__ */ d("div", {
|
|
23216
|
-
className: "flex items-center
|
|
23220
|
+
className: "swe-flex swe-items-center",
|
|
23217
23221
|
children: [f.copy && /* @__PURE__ */ u($, {
|
|
23218
23222
|
onClick: () => n("copy"),
|
|
23219
23223
|
icon: /* @__PURE__ */ u($c, { size: 14 }),
|
|
@@ -23229,23 +23233,23 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23229
23233
|
})]
|
|
23230
23234
|
}),
|
|
23231
23235
|
/* @__PURE__ */ u("div", {
|
|
23232
|
-
className: "pt-2",
|
|
23236
|
+
className: "swe-pt-2",
|
|
23233
23237
|
children: k("clipboard")
|
|
23234
23238
|
}),
|
|
23235
23239
|
/* @__PURE__ */ u("div", {
|
|
23236
|
-
className: "
|
|
23240
|
+
className: "swe-toolbar-group-label",
|
|
23237
23241
|
children: "Clipboard"
|
|
23238
23242
|
})
|
|
23239
23243
|
]
|
|
23240
23244
|
}),
|
|
23241
23245
|
i && /* @__PURE__ */ d("div", {
|
|
23242
|
-
className: "
|
|
23246
|
+
className: "swe-toolbar-group",
|
|
23243
23247
|
children: [/* @__PURE__ */ d("div", {
|
|
23244
|
-
className: "flex
|
|
23248
|
+
className: "swe-flex",
|
|
23245
23249
|
children: [/* @__PURE__ */ d("div", {
|
|
23246
|
-
className: "flex items-center",
|
|
23250
|
+
className: "swe-flex swe-items-center",
|
|
23247
23251
|
children: [/* @__PURE__ */ d("div", {
|
|
23248
|
-
className: "flex
|
|
23252
|
+
className: "swe-flex-col swe-items-center",
|
|
23249
23253
|
children: [i.bold && /* @__PURE__ */ u($, {
|
|
23250
23254
|
onClick: () => n("bold"),
|
|
23251
23255
|
icon: /* @__PURE__ */ u(Gc, { size: 14 }),
|
|
@@ -23260,7 +23264,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23260
23264
|
title: "Italic (Ctrl+I)"
|
|
23261
23265
|
})]
|
|
23262
23266
|
}), /* @__PURE__ */ d("div", {
|
|
23263
|
-
className: "flex
|
|
23267
|
+
className: "swe-flex-col swe-items-center",
|
|
23264
23268
|
children: [i.underline && /* @__PURE__ */ u($, {
|
|
23265
23269
|
onClick: () => n("underline"),
|
|
23266
23270
|
icon: /* @__PURE__ */ u(Dl, { size: 14 }),
|
|
@@ -23277,17 +23281,17 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23277
23281
|
})]
|
|
23278
23282
|
}), k("font")]
|
|
23279
23283
|
}), /* @__PURE__ */ u("div", {
|
|
23280
|
-
className: "
|
|
23284
|
+
className: "swe-toolbar-group-label",
|
|
23281
23285
|
children: "Font"
|
|
23282
23286
|
})]
|
|
23283
23287
|
}),
|
|
23284
23288
|
a && /* @__PURE__ */ d("div", {
|
|
23285
|
-
className: "
|
|
23289
|
+
className: "swe-toolbar-group",
|
|
23286
23290
|
children: [
|
|
23287
23291
|
/* @__PURE__ */ d("div", {
|
|
23288
|
-
className: "flex
|
|
23292
|
+
className: "swe-flex-col",
|
|
23289
23293
|
children: [/* @__PURE__ */ d("div", {
|
|
23290
|
-
className: "flex items-center
|
|
23294
|
+
className: "swe-flex swe-items-center",
|
|
23291
23295
|
children: [
|
|
23292
23296
|
a.bullets && /* @__PURE__ */ u($, {
|
|
23293
23297
|
onClick: (e) => A(e, "ul"),
|
|
@@ -23303,7 +23307,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23303
23307
|
disabled: t,
|
|
23304
23308
|
title: "Numbering"
|
|
23305
23309
|
}),
|
|
23306
|
-
(a.bullets || a.numbering) && /* @__PURE__ */ u("div", { className: "
|
|
23310
|
+
(a.bullets || a.numbering) && /* @__PURE__ */ u("div", { className: "swe-vertical-divider" }),
|
|
23307
23311
|
a.outdent && /* @__PURE__ */ u($, {
|
|
23308
23312
|
onClick: () => n("outdent"),
|
|
23309
23313
|
icon: /* @__PURE__ */ u(il, { size: 14 }),
|
|
@@ -23316,22 +23320,19 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23316
23320
|
disabled: t,
|
|
23317
23321
|
title: "Increase Indent"
|
|
23318
23322
|
}),
|
|
23319
|
-
(a.outdent || a.indent) && /* @__PURE__ */ u("div", { className: "
|
|
23320
|
-
a.lineSpacing && /* @__PURE__ */ u(
|
|
23321
|
-
|
|
23322
|
-
|
|
23323
|
-
|
|
23324
|
-
|
|
23325
|
-
|
|
23326
|
-
|
|
23327
|
-
|
|
23328
|
-
|
|
23329
|
-
|
|
23330
|
-
|
|
23331
|
-
|
|
23332
|
-
disabled: t,
|
|
23333
|
-
title: "Line Spacing"
|
|
23334
|
-
})
|
|
23323
|
+
(a.outdent || a.indent) && /* @__PURE__ */ u("div", { className: "swe-vertical-divider" }),
|
|
23324
|
+
a.lineSpacing && /* @__PURE__ */ u($, {
|
|
23325
|
+
onClick: (e) => {
|
|
23326
|
+
let t = e.currentTarget.getBoundingClientRect();
|
|
23327
|
+
O({
|
|
23328
|
+
open: !0,
|
|
23329
|
+
x: t.left,
|
|
23330
|
+
y: t.bottom
|
|
23331
|
+
});
|
|
23332
|
+
},
|
|
23333
|
+
icon: /* @__PURE__ */ u(fl, { size: 14 }),
|
|
23334
|
+
disabled: t,
|
|
23335
|
+
title: "Line Spacing"
|
|
23335
23336
|
}),
|
|
23336
23337
|
a.blockquote && /* @__PURE__ */ u($, {
|
|
23337
23338
|
onClick: () => n("formatBlock", "blockquote"),
|
|
@@ -23341,7 +23342,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23341
23342
|
})
|
|
23342
23343
|
]
|
|
23343
23344
|
}), /* @__PURE__ */ d("div", {
|
|
23344
|
-
className: "flex items-center
|
|
23345
|
+
className: "swe-flex swe-items-center",
|
|
23345
23346
|
children: [
|
|
23346
23347
|
a.alignLeft && /* @__PURE__ */ u($, {
|
|
23347
23348
|
onClick: () => n("justifyLeft"),
|
|
@@ -23376,55 +23377,56 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23376
23377
|
}),
|
|
23377
23378
|
k("paragraph"),
|
|
23378
23379
|
/* @__PURE__ */ u("div", {
|
|
23379
|
-
className: "
|
|
23380
|
+
className: "swe-toolbar-group-label",
|
|
23380
23381
|
children: "Paragraph"
|
|
23381
23382
|
})
|
|
23382
23383
|
]
|
|
23383
23384
|
}),
|
|
23384
23385
|
_ && /* @__PURE__ */ d("div", {
|
|
23385
|
-
className: "
|
|
23386
|
+
className: "swe-toolbar-group",
|
|
23386
23387
|
children: [/* @__PURE__ */ d("div", {
|
|
23387
|
-
className: "flex
|
|
23388
|
+
className: "swe-flex swe-items-center",
|
|
23388
23389
|
children: [/* @__PURE__ */ d("div", {
|
|
23389
|
-
className: "flex
|
|
23390
|
+
className: "swe-flex-col",
|
|
23390
23391
|
children: [_.find && /* @__PURE__ */ d("button", {
|
|
23391
23392
|
onClick: h,
|
|
23392
23393
|
disabled: t,
|
|
23393
|
-
className:
|
|
23394
|
+
className: `swe-btn ${t ? "swe-btn-disabled" : ""}`,
|
|
23394
23395
|
children: [/* @__PURE__ */ u(xl, {
|
|
23395
23396
|
size: 14,
|
|
23396
|
-
className: "text-
|
|
23397
|
+
className: "swe-text-primary-blue"
|
|
23397
23398
|
}), /* @__PURE__ */ u("span", {
|
|
23398
|
-
className: "
|
|
23399
|
+
className: "swe-btn-label",
|
|
23399
23400
|
children: "Find"
|
|
23400
23401
|
})]
|
|
23401
23402
|
}), _.replace && /* @__PURE__ */ d("button", {
|
|
23402
23403
|
onClick: g,
|
|
23403
23404
|
disabled: t,
|
|
23404
|
-
className:
|
|
23405
|
+
className: `swe-btn ${t ? "swe-btn-disabled" : ""}`,
|
|
23405
23406
|
children: [/* @__PURE__ */ u(_l, {
|
|
23406
23407
|
size: 14,
|
|
23407
|
-
className: "text-
|
|
23408
|
+
className: "swe-text-primary-blue"
|
|
23408
23409
|
}), /* @__PURE__ */ u("span", {
|
|
23409
|
-
className: "
|
|
23410
|
+
className: "swe-btn-label",
|
|
23410
23411
|
children: "Replace"
|
|
23411
23412
|
})]
|
|
23412
23413
|
})]
|
|
23413
23414
|
}), k("editing")]
|
|
23414
23415
|
}), /* @__PURE__ */ u("div", {
|
|
23415
|
-
className: "
|
|
23416
|
+
className: "swe-toolbar-group-label",
|
|
23416
23417
|
children: "Editing"
|
|
23417
23418
|
})]
|
|
23418
23419
|
}),
|
|
23419
23420
|
k("custom"),
|
|
23420
23421
|
T.open && c.createPortal(/* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
|
|
23421
|
-
className: "
|
|
23422
|
+
className: "swe-overlay",
|
|
23423
|
+
style: { zIndex: 98 },
|
|
23422
23424
|
onClick: () => E((e) => ({
|
|
23423
23425
|
...e,
|
|
23424
23426
|
open: !1
|
|
23425
23427
|
}))
|
|
23426
23428
|
}), /* @__PURE__ */ u("div", {
|
|
23427
|
-
className: "
|
|
23429
|
+
className: "swe-dropdown-menu",
|
|
23428
23430
|
style: {
|
|
23429
23431
|
left: T.x,
|
|
23430
23432
|
top: T.y
|
|
@@ -23437,7 +23439,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23437
23439
|
open: !1
|
|
23438
23440
|
}));
|
|
23439
23441
|
},
|
|
23440
|
-
className: "
|
|
23442
|
+
className: "swe-dropdown-item",
|
|
23441
23443
|
children: [/* @__PURE__ */ u("div", { className: "w-2 h-2 rounded-full bg-black" }), " Dot"]
|
|
23442
23444
|
}),
|
|
23443
23445
|
/* @__PURE__ */ d("button", {
|
|
@@ -23447,7 +23449,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23447
23449
|
open: !1
|
|
23448
23450
|
}));
|
|
23449
23451
|
},
|
|
23450
|
-
className: "
|
|
23452
|
+
className: "swe-dropdown-item",
|
|
23451
23453
|
children: [/* @__PURE__ */ u("div", { className: "w-2 h-2 rounded-full border border-black" }), " Circle"]
|
|
23452
23454
|
}),
|
|
23453
23455
|
/* @__PURE__ */ d("button", {
|
|
@@ -23457,7 +23459,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23457
23459
|
open: !1
|
|
23458
23460
|
}));
|
|
23459
23461
|
},
|
|
23460
|
-
className: "
|
|
23462
|
+
className: "swe-dropdown-item",
|
|
23461
23463
|
children: [/* @__PURE__ */ u("div", { className: "w-2 h-2 bg-black" }), " Square"]
|
|
23462
23464
|
})
|
|
23463
23465
|
] }) : /* @__PURE__ */ d(l, { children: [
|
|
@@ -23468,7 +23470,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23468
23470
|
open: !1
|
|
23469
23471
|
}));
|
|
23470
23472
|
},
|
|
23471
|
-
className: "
|
|
23473
|
+
className: "swe-dropdown-item",
|
|
23472
23474
|
children: "1. Number"
|
|
23473
23475
|
}),
|
|
23474
23476
|
/* @__PURE__ */ u("button", {
|
|
@@ -23478,7 +23480,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23478
23480
|
open: !1
|
|
23479
23481
|
}));
|
|
23480
23482
|
},
|
|
23481
|
-
className: "
|
|
23483
|
+
className: "swe-dropdown-item",
|
|
23482
23484
|
children: "a. Lower Alpha"
|
|
23483
23485
|
}),
|
|
23484
23486
|
/* @__PURE__ */ u("button", {
|
|
@@ -23488,7 +23490,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23488
23490
|
open: !1
|
|
23489
23491
|
}));
|
|
23490
23492
|
},
|
|
23491
|
-
className: "
|
|
23493
|
+
className: "swe-dropdown-item",
|
|
23492
23494
|
children: "A. Upper Alpha"
|
|
23493
23495
|
}),
|
|
23494
23496
|
/* @__PURE__ */ u("button", {
|
|
@@ -23498,7 +23500,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23498
23500
|
open: !1
|
|
23499
23501
|
}));
|
|
23500
23502
|
},
|
|
23501
|
-
className: "
|
|
23503
|
+
className: "swe-dropdown-item",
|
|
23502
23504
|
children: "i. Lower Roman"
|
|
23503
23505
|
}),
|
|
23504
23506
|
/* @__PURE__ */ u("button", {
|
|
@@ -23508,22 +23510,24 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23508
23510
|
open: !1
|
|
23509
23511
|
}));
|
|
23510
23512
|
},
|
|
23511
|
-
className: "
|
|
23513
|
+
className: "swe-dropdown-item",
|
|
23512
23514
|
children: "I. Upper Roman"
|
|
23513
23515
|
})
|
|
23514
23516
|
] })
|
|
23515
23517
|
})] }), document.body),
|
|
23516
23518
|
D.open && c.createPortal(/* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
|
|
23517
|
-
className: "
|
|
23519
|
+
className: "swe-overlay",
|
|
23520
|
+
style: { zIndex: 98 },
|
|
23518
23521
|
onClick: () => O((e) => ({
|
|
23519
23522
|
...e,
|
|
23520
23523
|
open: !1
|
|
23521
23524
|
}))
|
|
23522
23525
|
}), /* @__PURE__ */ u("div", {
|
|
23523
|
-
className: "
|
|
23526
|
+
className: "swe-dropdown-menu",
|
|
23524
23527
|
style: {
|
|
23525
23528
|
left: D.x,
|
|
23526
|
-
top: D.y + 4
|
|
23529
|
+
top: D.y + 4,
|
|
23530
|
+
minWidth: "80px"
|
|
23527
23531
|
},
|
|
23528
23532
|
children: [
|
|
23529
23533
|
"1.0",
|
|
@@ -23539,7 +23543,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23539
23543
|
open: !1
|
|
23540
23544
|
}));
|
|
23541
23545
|
},
|
|
23542
|
-
className: "
|
|
23546
|
+
className: "swe-dropdown-item",
|
|
23543
23547
|
children: e
|
|
23544
23548
|
}, e))
|
|
23545
23549
|
})] }), document.body)
|
|
@@ -23580,45 +23584,51 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23580
23584
|
};
|
|
23581
23585
|
return /* @__PURE__ */ d(l, { children: [
|
|
23582
23586
|
n && /* @__PURE__ */ d("div", {
|
|
23583
|
-
className: "
|
|
23587
|
+
className: "swe-toolbar-group",
|
|
23584
23588
|
ref: r,
|
|
23585
23589
|
children: [/* @__PURE__ */ d("div", {
|
|
23586
|
-
className: "
|
|
23590
|
+
className: "swe-flex swe-items-center",
|
|
23587
23591
|
children: [/* @__PURE__ */ d("button", {
|
|
23588
23592
|
onClick: () => o((e) => !e),
|
|
23589
23593
|
disabled: t,
|
|
23590
|
-
className: `
|
|
23594
|
+
className: `swe-btn ${i ? "swe-btn-active" : ""} ${t ? "swe-btn-disabled" : ""}`,
|
|
23595
|
+
style: {
|
|
23596
|
+
height: "60px",
|
|
23597
|
+
width: "52px"
|
|
23598
|
+
},
|
|
23591
23599
|
children: [/* @__PURE__ */ u(Tl, {
|
|
23592
23600
|
size: 22,
|
|
23593
|
-
className: "text-
|
|
23601
|
+
className: "swe-text-primary-blue"
|
|
23594
23602
|
}), /* @__PURE__ */ d("span", {
|
|
23595
|
-
className: "
|
|
23603
|
+
className: "swe-btn-label swe-flex swe-items-center",
|
|
23596
23604
|
children: ["Table ", /* @__PURE__ */ u(Kc, { size: 10 })]
|
|
23597
23605
|
})]
|
|
23598
23606
|
}), i && !t && c.createPortal(/* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
|
|
23599
|
-
className: "
|
|
23607
|
+
className: "swe-overlay",
|
|
23600
23608
|
onClick: () => o(!1)
|
|
23601
23609
|
}), /* @__PURE__ */ d("div", {
|
|
23602
|
-
className: "
|
|
23610
|
+
className: "swe-dropdown-menu",
|
|
23603
23611
|
style: {
|
|
23604
23612
|
top: w.top,
|
|
23605
|
-
left: w.left
|
|
23613
|
+
left: w.left,
|
|
23614
|
+
padding: "16px",
|
|
23615
|
+
alignItems: "center"
|
|
23606
23616
|
},
|
|
23607
23617
|
children: [/* @__PURE__ */ u("div", {
|
|
23608
|
-
className: "text-sm
|
|
23618
|
+
className: "swe-text-sm swe-font-bold swe-mb-2",
|
|
23609
23619
|
children: f.r > 0 ? `Insert Table ${f.c}×${f.r}` : "Choose Table Dimensions"
|
|
23610
23620
|
}), /* @__PURE__ */ u("div", {
|
|
23611
|
-
className: "
|
|
23621
|
+
className: "swe-table-grid",
|
|
23612
23622
|
onMouseLeave: () => p({
|
|
23613
23623
|
r: 0,
|
|
23614
23624
|
c: 0
|
|
23615
23625
|
}),
|
|
23616
23626
|
children: [...Array(8)].map((e, t) => /* @__PURE__ */ u("div", {
|
|
23617
|
-
className: "flex gap-
|
|
23627
|
+
className: "swe-flex swe-gap-1 swe-mb-1",
|
|
23618
23628
|
children: [...Array(10)].map((e, n) => {
|
|
23619
23629
|
let r = t + 1, i = n + 1;
|
|
23620
23630
|
return /* @__PURE__ */ u("div", {
|
|
23621
|
-
className: `
|
|
23631
|
+
className: `swe-table-cell ${r <= f.r && i <= f.c ? "swe-table-cell-active" : ""}`,
|
|
23622
23632
|
onMouseEnter: () => p({
|
|
23623
23633
|
r,
|
|
23624
23634
|
c: i
|
|
@@ -23632,58 +23642,68 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23632
23642
|
})]
|
|
23633
23643
|
})] }), document.body)]
|
|
23634
23644
|
}), /* @__PURE__ */ u("div", {
|
|
23635
|
-
className: "
|
|
23645
|
+
className: "swe-toolbar-group-label",
|
|
23636
23646
|
children: "Table"
|
|
23637
23647
|
})]
|
|
23638
23648
|
}),
|
|
23639
23649
|
h && /* @__PURE__ */ d("div", {
|
|
23640
|
-
className: "
|
|
23650
|
+
className: "swe-toolbar-group",
|
|
23641
23651
|
children: [/* @__PURE__ */ d("button", {
|
|
23642
23652
|
onClick: () => g.current?.click(),
|
|
23643
23653
|
disabled: t,
|
|
23644
|
-
className:
|
|
23654
|
+
className: `swe-btn ${t ? "swe-btn-disabled" : ""}`,
|
|
23655
|
+
style: {
|
|
23656
|
+
height: "60px",
|
|
23657
|
+
width: "52px"
|
|
23658
|
+
},
|
|
23645
23659
|
title: "Insert Picture",
|
|
23646
23660
|
children: [/* @__PURE__ */ u(rl, {
|
|
23647
23661
|
size: 22,
|
|
23648
|
-
className: "text-
|
|
23662
|
+
className: "swe-text-primary-blue"
|
|
23649
23663
|
}), /* @__PURE__ */ u("span", {
|
|
23650
|
-
className: "
|
|
23664
|
+
className: "swe-btn-label",
|
|
23651
23665
|
children: "Picture"
|
|
23652
23666
|
})]
|
|
23653
23667
|
}), /* @__PURE__ */ u("div", {
|
|
23654
|
-
className: "
|
|
23668
|
+
className: "swe-toolbar-group-label",
|
|
23655
23669
|
children: "Media"
|
|
23656
23670
|
})]
|
|
23657
23671
|
}),
|
|
23658
23672
|
_ && /* @__PURE__ */ d("div", {
|
|
23659
|
-
className: "
|
|
23673
|
+
className: "swe-toolbar-group",
|
|
23660
23674
|
children: [/* @__PURE__ */ d("div", {
|
|
23661
|
-
className: "
|
|
23675
|
+
className: "swe-flex swe-items-center",
|
|
23662
23676
|
ref: E,
|
|
23663
23677
|
children: [/* @__PURE__ */ d("button", {
|
|
23664
23678
|
onClick: D,
|
|
23665
23679
|
disabled: t,
|
|
23666
|
-
className: `
|
|
23680
|
+
className: `swe-btn ${b ? "swe-btn-active" : ""} ${t ? "swe-btn-disabled" : ""}`,
|
|
23681
|
+
style: {
|
|
23682
|
+
height: "60px",
|
|
23683
|
+
width: "52px"
|
|
23684
|
+
},
|
|
23667
23685
|
title: "Insert Link",
|
|
23668
23686
|
children: [/* @__PURE__ */ u(cl, {
|
|
23669
23687
|
size: 22,
|
|
23670
|
-
className: "text-
|
|
23688
|
+
className: "swe-text-primary-blue"
|
|
23671
23689
|
}), /* @__PURE__ */ u("span", {
|
|
23672
|
-
className: "
|
|
23690
|
+
className: "swe-btn-label",
|
|
23673
23691
|
children: "Link"
|
|
23674
23692
|
})]
|
|
23675
23693
|
}), b && !t && c.createPortal(/* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u("div", {
|
|
23676
|
-
className: "
|
|
23694
|
+
className: "swe-overlay",
|
|
23677
23695
|
onClick: () => x(!1)
|
|
23678
23696
|
}), /* @__PURE__ */ d("div", {
|
|
23679
|
-
className: "
|
|
23697
|
+
className: "swe-dropdown-menu",
|
|
23680
23698
|
style: {
|
|
23681
23699
|
top: w.top,
|
|
23682
|
-
left: w.left
|
|
23700
|
+
left: w.left,
|
|
23701
|
+
padding: "12px",
|
|
23702
|
+
minWidth: "240px"
|
|
23683
23703
|
},
|
|
23684
23704
|
children: [
|
|
23685
23705
|
/* @__PURE__ */ u("label", {
|
|
23686
|
-
className: "text-xs font-
|
|
23706
|
+
className: "swe-text-xs swe-font-bold swe-mb-1",
|
|
23687
23707
|
children: "Address:"
|
|
23688
23708
|
}),
|
|
23689
23709
|
/* @__PURE__ */ u("input", {
|
|
@@ -23692,128 +23712,145 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23692
23712
|
value: S,
|
|
23693
23713
|
onChange: (e) => C(e.target.value),
|
|
23694
23714
|
onKeyDown: (e) => e.key === "Enter" && O(),
|
|
23695
|
-
className: "
|
|
23715
|
+
className: "swe-input",
|
|
23696
23716
|
placeholder: "https://example.com"
|
|
23697
23717
|
}),
|
|
23698
23718
|
/* @__PURE__ */ d("div", {
|
|
23699
|
-
className: "flex justify-end gap-2 mt-
|
|
23719
|
+
className: "swe-flex swe-justify-end swe-gap-2 swe-mt-2",
|
|
23700
23720
|
children: [/* @__PURE__ */ u("button", {
|
|
23701
23721
|
onClick: () => x(!1),
|
|
23702
|
-
className: "
|
|
23722
|
+
className: "swe-btn-secondary",
|
|
23703
23723
|
children: "Cancel"
|
|
23704
23724
|
}), /* @__PURE__ */ u("button", {
|
|
23705
23725
|
onClick: O,
|
|
23706
|
-
className: "
|
|
23726
|
+
className: "swe-btn-primary",
|
|
23707
23727
|
children: "OK"
|
|
23708
23728
|
})]
|
|
23709
23729
|
})
|
|
23710
23730
|
]
|
|
23711
23731
|
})] }), document.body)]
|
|
23712
23732
|
}), /* @__PURE__ */ u("div", {
|
|
23713
|
-
className: "
|
|
23733
|
+
className: "swe-toolbar-group-label",
|
|
23714
23734
|
children: "Links"
|
|
23715
23735
|
})]
|
|
23716
23736
|
})
|
|
23717
23737
|
] });
|
|
23718
23738
|
}, Ml = ({ showHtml: e, inputIndentLeft: t, setInputIndentLeft: n, inputIndentRight: r, setInputIndentRight: i, applyIndent: a, inputSpacingBefore: o, setInputSpacingBefore: s, inputSpacingAfter: c, setInputSpacingAfter: f, applySpacing: p, insertPageBreak: m, pagesConf: h }) => /* @__PURE__ */ d(l, { children: [h && !e && /* @__PURE__ */ d("div", {
|
|
23719
|
-
className: "
|
|
23739
|
+
className: "swe-toolbar-group",
|
|
23720
23740
|
children: [/* @__PURE__ */ d("button", {
|
|
23721
23741
|
onClick: m,
|
|
23722
23742
|
disabled: e,
|
|
23723
|
-
className:
|
|
23743
|
+
className: `swe-btn ${e ? "swe-btn-disabled" : ""}`,
|
|
23744
|
+
style: {
|
|
23745
|
+
height: "60px",
|
|
23746
|
+
width: "52px"
|
|
23747
|
+
},
|
|
23724
23748
|
title: "Page Break (Ctrl+Enter)",
|
|
23725
23749
|
children: [/* @__PURE__ */ u(bl, {
|
|
23726
23750
|
size: 22,
|
|
23727
|
-
className: "text-
|
|
23728
|
-
}), /* @__PURE__ */
|
|
23729
|
-
className: "
|
|
23730
|
-
children:
|
|
23731
|
-
"Page",
|
|
23732
|
-
/* @__PURE__ */ u("br", {}),
|
|
23733
|
-
"Break"
|
|
23734
|
-
]
|
|
23751
|
+
className: "swe-text-primary-blue"
|
|
23752
|
+
}), /* @__PURE__ */ u("span", {
|
|
23753
|
+
className: "swe-btn-label",
|
|
23754
|
+
children: "Page Break"
|
|
23735
23755
|
})]
|
|
23736
23756
|
}), /* @__PURE__ */ u("div", {
|
|
23737
|
-
className: "
|
|
23757
|
+
className: "swe-toolbar-group-label",
|
|
23738
23758
|
children: "Page Setup"
|
|
23739
23759
|
})]
|
|
23740
23760
|
}), !e && /* @__PURE__ */ d("div", {
|
|
23741
|
-
className: "
|
|
23761
|
+
className: "swe-toolbar-group",
|
|
23762
|
+
style: { gap: "16px" },
|
|
23742
23763
|
children: [
|
|
23743
23764
|
/* @__PURE__ */ d("div", {
|
|
23744
|
-
className: "flex
|
|
23765
|
+
className: "swe-flex-col swe-justify-center",
|
|
23766
|
+
style: { height: "60px" },
|
|
23745
23767
|
children: [/* @__PURE__ */ d("div", {
|
|
23746
|
-
className: "flex items-center
|
|
23768
|
+
className: "swe-flex swe-items-center",
|
|
23769
|
+
style: {
|
|
23770
|
+
gap: "6px",
|
|
23771
|
+
height: "24px"
|
|
23772
|
+
},
|
|
23747
23773
|
children: [/* @__PURE__ */ u("span", {
|
|
23748
|
-
className: "
|
|
23774
|
+
className: "swe-form-label",
|
|
23749
23775
|
children: "Indent Left"
|
|
23750
23776
|
}), /* @__PURE__ */ u("input", {
|
|
23751
23777
|
type: "text",
|
|
23752
|
-
"data-field": "indentLeft",
|
|
23753
23778
|
value: t,
|
|
23754
23779
|
onChange: (e) => {
|
|
23755
23780
|
n(e.target.value);
|
|
23756
23781
|
let t = parseFloat(e.target.value);
|
|
23757
23782
|
isNaN(t) || a("left", t);
|
|
23758
23783
|
},
|
|
23759
|
-
className: "
|
|
23784
|
+
className: "swe-input-sm"
|
|
23760
23785
|
})]
|
|
23761
23786
|
}), /* @__PURE__ */ d("div", {
|
|
23762
|
-
className: "flex items-center
|
|
23787
|
+
className: "swe-flex swe-items-center",
|
|
23788
|
+
style: {
|
|
23789
|
+
gap: "6px",
|
|
23790
|
+
height: "24px"
|
|
23791
|
+
},
|
|
23763
23792
|
children: [/* @__PURE__ */ u("span", {
|
|
23764
|
-
className: "
|
|
23793
|
+
className: "swe-form-label",
|
|
23765
23794
|
children: "Indent Right"
|
|
23766
23795
|
}), /* @__PURE__ */ u("input", {
|
|
23767
23796
|
type: "text",
|
|
23768
|
-
"data-field": "indentRight",
|
|
23769
23797
|
value: r,
|
|
23770
23798
|
onChange: (e) => {
|
|
23771
23799
|
i(e.target.value);
|
|
23772
23800
|
let t = parseFloat(e.target.value);
|
|
23773
23801
|
isNaN(t) || a("right", t);
|
|
23774
23802
|
},
|
|
23775
|
-
className: "
|
|
23803
|
+
className: "swe-input-sm"
|
|
23776
23804
|
})]
|
|
23777
23805
|
})]
|
|
23778
23806
|
}),
|
|
23779
23807
|
/* @__PURE__ */ d("div", {
|
|
23780
|
-
className: "flex
|
|
23808
|
+
className: "swe-flex-col swe-justify-center",
|
|
23809
|
+
style: { height: "60px" },
|
|
23781
23810
|
children: [/* @__PURE__ */ d("div", {
|
|
23782
|
-
className: "flex items-center
|
|
23811
|
+
className: "swe-flex swe-items-center",
|
|
23812
|
+
style: {
|
|
23813
|
+
gap: "6px",
|
|
23814
|
+
height: "24px"
|
|
23815
|
+
},
|
|
23783
23816
|
children: [/* @__PURE__ */ u("span", {
|
|
23784
|
-
className: "
|
|
23817
|
+
className: "swe-form-label",
|
|
23818
|
+
style: { minWidth: "70px" },
|
|
23785
23819
|
children: "Spacing Before"
|
|
23786
23820
|
}), /* @__PURE__ */ u("input", {
|
|
23787
23821
|
type: "text",
|
|
23788
|
-
"data-field": "spacingBefore",
|
|
23789
23822
|
value: o,
|
|
23790
23823
|
onChange: (e) => {
|
|
23791
23824
|
s(e.target.value);
|
|
23792
23825
|
let t = parseFloat(e.target.value);
|
|
23793
23826
|
isNaN(t) || p("before", t);
|
|
23794
23827
|
},
|
|
23795
|
-
className: "
|
|
23828
|
+
className: "swe-input-sm"
|
|
23796
23829
|
})]
|
|
23797
23830
|
}), /* @__PURE__ */ d("div", {
|
|
23798
|
-
className: "flex items-center
|
|
23831
|
+
className: "swe-flex swe-items-center",
|
|
23832
|
+
style: {
|
|
23833
|
+
gap: "6px",
|
|
23834
|
+
height: "24px"
|
|
23835
|
+
},
|
|
23799
23836
|
children: [/* @__PURE__ */ u("span", {
|
|
23800
|
-
className: "
|
|
23837
|
+
className: "swe-form-label",
|
|
23838
|
+
style: { minWidth: "70px" },
|
|
23801
23839
|
children: "Spacing After"
|
|
23802
23840
|
}), /* @__PURE__ */ u("input", {
|
|
23803
23841
|
type: "text",
|
|
23804
|
-
"data-field": "spacingAfter",
|
|
23805
23842
|
value: c,
|
|
23806
23843
|
onChange: (e) => {
|
|
23807
23844
|
f(e.target.value);
|
|
23808
23845
|
let t = parseFloat(e.target.value);
|
|
23809
23846
|
isNaN(t) || p("after", t);
|
|
23810
23847
|
},
|
|
23811
|
-
className: "
|
|
23848
|
+
className: "swe-input-sm"
|
|
23812
23849
|
})]
|
|
23813
23850
|
})]
|
|
23814
23851
|
}),
|
|
23815
23852
|
/* @__PURE__ */ u("div", {
|
|
23816
|
-
className: "
|
|
23853
|
+
className: "swe-toolbar-group-label",
|
|
23817
23854
|
children: "Paragraph"
|
|
23818
23855
|
})
|
|
23819
23856
|
]
|
|
@@ -23934,27 +23971,42 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23934
23971
|
b(t), n(t);
|
|
23935
23972
|
}, E = l === "compact";
|
|
23936
23973
|
return /* @__PURE__ */ d("div", {
|
|
23937
|
-
className: "relative inline-block",
|
|
23974
|
+
className: "swe-relative swe-inline-block",
|
|
23938
23975
|
children: [/* @__PURE__ */ d("button", {
|
|
23939
23976
|
ref: _,
|
|
23940
23977
|
onMouseDown: S,
|
|
23941
23978
|
disabled: r,
|
|
23942
23979
|
title: e,
|
|
23943
|
-
className: `
|
|
23980
|
+
className: `swe-color-picker-btn ${E ? "swe-color-picker-btn-compact" : ""} ${p ? "swe-bg-white" : ""}`,
|
|
23981
|
+
style: p ? {
|
|
23982
|
+
borderColor: "var(--swe-border-color)",
|
|
23983
|
+
backgroundColor: "white"
|
|
23984
|
+
} : {},
|
|
23944
23985
|
children: [/* @__PURE__ */ d("div", {
|
|
23945
|
-
className: `relative flex
|
|
23986
|
+
className: `swe-relative swe-flex-col swe-items-center ${E ? "swe-scale-90" : ""}`,
|
|
23946
23987
|
children: [t, f && /* @__PURE__ */ u("div", {
|
|
23947
|
-
className: "absolute
|
|
23948
|
-
style: {
|
|
23988
|
+
className: "swe-absolute",
|
|
23989
|
+
style: {
|
|
23990
|
+
bottom: "-2px",
|
|
23991
|
+
left: 0,
|
|
23992
|
+
right: 0,
|
|
23993
|
+
height: "3px",
|
|
23994
|
+
borderRadius: "8px",
|
|
23995
|
+
backgroundColor: f,
|
|
23996
|
+
boxShadow: "0 1px 1px rgba(0,0,0,0.1)"
|
|
23997
|
+
}
|
|
23949
23998
|
})]
|
|
23950
23999
|
}), /* @__PURE__ */ u(Kc, {
|
|
23951
24000
|
size: E ? 8 : 10,
|
|
23952
|
-
className:
|
|
24001
|
+
className: "swe-text-gray-500 swe-mt-1",
|
|
24002
|
+
style: p ? { transform: "rotate(180deg)" } : {}
|
|
23953
24003
|
})]
|
|
23954
24004
|
}), p && h && c.createPortal(/* @__PURE__ */ d("div", {
|
|
23955
24005
|
ref: v,
|
|
23956
|
-
className: "
|
|
24006
|
+
className: "swe-color-picker-content",
|
|
23957
24007
|
style: {
|
|
24008
|
+
position: "fixed",
|
|
24009
|
+
zIndex: 9999,
|
|
23958
24010
|
top: `${h.top + 4}px`,
|
|
23959
24011
|
left: `${h.left}px`,
|
|
23960
24012
|
maxWidth: "100vw"
|
|
@@ -23962,66 +24014,89 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
23962
24014
|
onMouseDown: (e) => e.preventDefault(),
|
|
23963
24015
|
children: [
|
|
23964
24016
|
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("div", {
|
|
23965
|
-
className: "
|
|
24017
|
+
className: "swe-color-picker-title",
|
|
23966
24018
|
children: "Theme Colors"
|
|
23967
24019
|
}), /* @__PURE__ */ d("div", {
|
|
23968
|
-
className: "flex
|
|
24020
|
+
className: "swe-flex-col",
|
|
23969
24021
|
children: [/* @__PURE__ */ u("div", {
|
|
23970
|
-
className: "flex",
|
|
24022
|
+
className: "swe-flex",
|
|
23971
24023
|
children: Nl.map((e) => /* @__PURE__ */ u("div", {
|
|
23972
24024
|
onMouseDown: (t) => C(t, e),
|
|
23973
|
-
className: "
|
|
24025
|
+
className: "swe-color-swatch",
|
|
23974
24026
|
style: { backgroundColor: e }
|
|
23975
24027
|
}, e))
|
|
23976
24028
|
}), Pl.map((e, t) => /* @__PURE__ */ u("div", {
|
|
23977
|
-
className: "flex",
|
|
24029
|
+
className: "swe-flex",
|
|
23978
24030
|
children: e.map((e) => /* @__PURE__ */ u("div", {
|
|
23979
24031
|
onMouseDown: (t) => C(t, e),
|
|
23980
|
-
className: "
|
|
23981
|
-
style: {
|
|
24032
|
+
className: "swe-color-swatch",
|
|
24033
|
+
style: {
|
|
24034
|
+
backgroundColor: e,
|
|
24035
|
+
borderColor: "#f3f4f6"
|
|
24036
|
+
}
|
|
23982
24037
|
}, e))
|
|
23983
24038
|
}, t))]
|
|
23984
24039
|
})] }),
|
|
23985
24040
|
/* @__PURE__ */ d("div", { children: [/* @__PURE__ */ u("div", {
|
|
23986
|
-
className: "
|
|
24041
|
+
className: "swe-color-picker-title",
|
|
23987
24042
|
children: "Standard Colors"
|
|
23988
24043
|
}), /* @__PURE__ */ u("div", {
|
|
23989
|
-
className: "flex",
|
|
24044
|
+
className: "swe-flex",
|
|
23990
24045
|
children: Fl.map((e) => /* @__PURE__ */ u("div", {
|
|
23991
24046
|
onMouseDown: (t) => C(t, e),
|
|
23992
|
-
className: "
|
|
24047
|
+
className: "swe-color-swatch",
|
|
23993
24048
|
style: { backgroundColor: e },
|
|
23994
24049
|
title: e
|
|
23995
24050
|
}, e))
|
|
23996
24051
|
})] }),
|
|
24052
|
+
/* @__PURE__ */ u("div", {
|
|
24053
|
+
className: "swe-divider-h",
|
|
24054
|
+
style: { marginTop: "4px" }
|
|
24055
|
+
}),
|
|
23997
24056
|
/* @__PURE__ */ d("div", {
|
|
23998
|
-
className: "
|
|
24057
|
+
className: "swe-flex-col",
|
|
23999
24058
|
children: [
|
|
24000
24059
|
/* @__PURE__ */ d("button", {
|
|
24001
24060
|
onMouseDown: (e) => C(e, null),
|
|
24002
|
-
className: "
|
|
24061
|
+
className: "swe-color-btn-action",
|
|
24003
24062
|
children: [/* @__PURE__ */ u(el, {
|
|
24004
24063
|
size: 14,
|
|
24005
|
-
className: "text-gray-
|
|
24064
|
+
className: "swe-text-gray-400"
|
|
24006
24065
|
}), /* @__PURE__ */ u("span", { children: "No Color" })]
|
|
24007
24066
|
}),
|
|
24008
24067
|
/* @__PURE__ */ d("button", {
|
|
24009
24068
|
onMouseDown: (e) => {
|
|
24010
24069
|
e.preventDefault(), w();
|
|
24011
24070
|
},
|
|
24012
|
-
className: "
|
|
24013
|
-
children: [/* @__PURE__ */ u("div", {
|
|
24014
|
-
|
|
24015
|
-
|
|
24016
|
-
|
|
24071
|
+
className: "swe-color-btn-action swe-color-btn-more",
|
|
24072
|
+
children: [/* @__PURE__ */ u("div", { style: {
|
|
24073
|
+
width: "14px",
|
|
24074
|
+
height: "14px",
|
|
24075
|
+
borderRadius: "50%",
|
|
24076
|
+
border: "1px solid #e5e7eb",
|
|
24077
|
+
background: "conic-gradient(red, yellow, lime, aqua, blue, magenta, red)"
|
|
24078
|
+
} }), /* @__PURE__ */ u("span", { children: "More Colors..." })]
|
|
24017
24079
|
}),
|
|
24018
24080
|
/* @__PURE__ */ u("div", {
|
|
24019
|
-
|
|
24081
|
+
style: {
|
|
24082
|
+
marginTop: "4px",
|
|
24083
|
+
borderTop: "1px solid #f3f4f6",
|
|
24084
|
+
paddingTop: "4px"
|
|
24085
|
+
},
|
|
24020
24086
|
children: /* @__PURE__ */ u("button", {
|
|
24021
24087
|
onMouseDown: (e) => {
|
|
24022
24088
|
e.preventDefault(), m(!1);
|
|
24023
24089
|
},
|
|
24024
|
-
className: "
|
|
24090
|
+
className: "swe-color-btn-action",
|
|
24091
|
+
style: {
|
|
24092
|
+
justifyContent: "center",
|
|
24093
|
+
fontSize: "10px",
|
|
24094
|
+
fontWeight: "800",
|
|
24095
|
+
color: "#9ca3af",
|
|
24096
|
+
textTransform: "uppercase",
|
|
24097
|
+
marginTop: "4px",
|
|
24098
|
+
letterSpacing: "0.05em"
|
|
24099
|
+
},
|
|
24025
24100
|
children: "Close Picker"
|
|
24026
24101
|
})
|
|
24027
24102
|
}),
|
|
@@ -24049,68 +24124,72 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24049
24124
|
};
|
|
24050
24125
|
return /* @__PURE__ */ d(l, { children: [
|
|
24051
24126
|
/* @__PURE__ */ d("div", {
|
|
24052
|
-
className: "
|
|
24127
|
+
className: "swe-toolbar-group",
|
|
24053
24128
|
children: [/* @__PURE__ */ d("div", {
|
|
24054
|
-
className: "flex
|
|
24129
|
+
className: "swe-flex swe-items-center swe-gap-4",
|
|
24055
24130
|
children: [
|
|
24056
24131
|
/* @__PURE__ */ d("div", {
|
|
24057
|
-
className: "flex
|
|
24132
|
+
className: "swe-flex-col swe-items-center",
|
|
24058
24133
|
children: [/* @__PURE__ */ d("div", {
|
|
24059
|
-
className: "flex gap-
|
|
24134
|
+
className: "swe-flex swe-gap-1",
|
|
24060
24135
|
children: [/* @__PURE__ */ u($, {
|
|
24061
24136
|
onClick: () => n("insertRowAbove"),
|
|
24062
24137
|
icon: /* @__PURE__ */ u(Wc, {
|
|
24063
24138
|
size: 14,
|
|
24064
|
-
className: "text-
|
|
24139
|
+
className: "swe-text-primary-blue"
|
|
24065
24140
|
}),
|
|
24066
24141
|
title: "Insert Above"
|
|
24067
24142
|
}), /* @__PURE__ */ u($, {
|
|
24068
24143
|
onClick: () => n("insertRowBelow"),
|
|
24069
24144
|
icon: /* @__PURE__ */ u(Vc, {
|
|
24070
24145
|
size: 14,
|
|
24071
|
-
className: "text-
|
|
24146
|
+
className: "swe-text-primary-blue"
|
|
24072
24147
|
}),
|
|
24073
24148
|
title: "Insert Below"
|
|
24074
24149
|
})]
|
|
24075
24150
|
}), /* @__PURE__ */ u("span", {
|
|
24076
|
-
className: "text-
|
|
24151
|
+
className: "swe-text-xs swe-text-gray-400 swe-mt-1",
|
|
24077
24152
|
children: "Rows"
|
|
24078
24153
|
})]
|
|
24079
24154
|
}),
|
|
24080
24155
|
/* @__PURE__ */ d("div", {
|
|
24081
|
-
className: "flex
|
|
24156
|
+
className: "swe-flex-col swe-items-center",
|
|
24082
24157
|
children: [/* @__PURE__ */ d("div", {
|
|
24083
|
-
className: "flex gap-
|
|
24158
|
+
className: "swe-flex swe-gap-1",
|
|
24084
24159
|
children: [/* @__PURE__ */ u($, {
|
|
24085
24160
|
onClick: () => n("insertColLeft"),
|
|
24086
24161
|
icon: /* @__PURE__ */ u(Hc, {
|
|
24087
24162
|
size: 14,
|
|
24088
|
-
className: "text-
|
|
24163
|
+
className: "swe-text-primary-blue"
|
|
24089
24164
|
}),
|
|
24090
24165
|
title: "Insert Left"
|
|
24091
24166
|
}), /* @__PURE__ */ u($, {
|
|
24092
24167
|
onClick: () => n("insertColRight"),
|
|
24093
24168
|
icon: /* @__PURE__ */ u(Uc, {
|
|
24094
24169
|
size: 14,
|
|
24095
|
-
className: "text-
|
|
24170
|
+
className: "swe-text-primary-blue"
|
|
24096
24171
|
}),
|
|
24097
24172
|
title: "Insert Right"
|
|
24098
24173
|
})]
|
|
24099
24174
|
}), /* @__PURE__ */ u("span", {
|
|
24100
|
-
className: "text-
|
|
24175
|
+
className: "swe-text-xs swe-text-gray-400 swe-mt-1",
|
|
24101
24176
|
children: "Cols"
|
|
24102
24177
|
})]
|
|
24103
24178
|
}),
|
|
24104
24179
|
/* @__PURE__ */ d("div", {
|
|
24105
|
-
className: "flex
|
|
24180
|
+
className: "swe-flex-col swe-items-center",
|
|
24181
|
+
style: {
|
|
24182
|
+
borderLeft: "1px solid var(--swe-border-color)",
|
|
24183
|
+
paddingLeft: "8px"
|
|
24184
|
+
},
|
|
24106
24185
|
children: [/* @__PURE__ */ d("div", {
|
|
24107
|
-
className: "flex gap-
|
|
24186
|
+
className: "swe-flex swe-gap-1",
|
|
24108
24187
|
children: [
|
|
24109
24188
|
/* @__PURE__ */ u($, {
|
|
24110
24189
|
onClick: () => n("deleteRow"),
|
|
24111
24190
|
icon: /* @__PURE__ */ u(El, {
|
|
24112
24191
|
size: 14,
|
|
24113
|
-
className: "text-red-500"
|
|
24192
|
+
className: "swe-text-red-500"
|
|
24114
24193
|
}),
|
|
24115
24194
|
title: "Delete Row",
|
|
24116
24195
|
label: "Row"
|
|
@@ -24119,7 +24198,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24119
24198
|
onClick: () => n("deleteCol"),
|
|
24120
24199
|
icon: /* @__PURE__ */ u(El, {
|
|
24121
24200
|
size: 14,
|
|
24122
|
-
className: "text-red-500"
|
|
24201
|
+
className: "swe-text-red-500"
|
|
24123
24202
|
}),
|
|
24124
24203
|
title: "Delete Col",
|
|
24125
24204
|
label: "Col"
|
|
@@ -24128,67 +24207,67 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24128
24207
|
onClick: () => n("deleteTable"),
|
|
24129
24208
|
icon: /* @__PURE__ */ u(El, {
|
|
24130
24209
|
size: 14,
|
|
24131
|
-
className: "text-red-700"
|
|
24210
|
+
className: "swe-text-red-700"
|
|
24132
24211
|
}),
|
|
24133
24212
|
title: "Delete All",
|
|
24134
24213
|
label: "All"
|
|
24135
24214
|
})
|
|
24136
24215
|
]
|
|
24137
24216
|
}), /* @__PURE__ */ u("span", {
|
|
24138
|
-
className: "text-
|
|
24217
|
+
className: "swe-text-xs swe-text-gray-400 swe-mt-1",
|
|
24139
24218
|
children: "Delete"
|
|
24140
24219
|
})]
|
|
24141
24220
|
})
|
|
24142
24221
|
]
|
|
24143
24222
|
}), /* @__PURE__ */ u("div", {
|
|
24144
|
-
className: "
|
|
24223
|
+
className: "swe-toolbar-group-label",
|
|
24145
24224
|
children: "Rows & Columns"
|
|
24146
24225
|
})]
|
|
24147
24226
|
}),
|
|
24148
24227
|
/* @__PURE__ */ d("div", {
|
|
24149
|
-
className: "
|
|
24228
|
+
className: "swe-toolbar-group",
|
|
24150
24229
|
children: [/* @__PURE__ */ d("div", {
|
|
24151
|
-
className: "flex
|
|
24230
|
+
className: "swe-flex swe-items-center swe-gap-2",
|
|
24152
24231
|
children: [
|
|
24153
24232
|
/* @__PURE__ */ d("div", {
|
|
24154
|
-
className: "flex
|
|
24233
|
+
className: "swe-flex-col swe-items-center",
|
|
24155
24234
|
children: [/* @__PURE__ */ u("div", {
|
|
24156
|
-
className: "flex gap-
|
|
24235
|
+
className: "swe-flex swe-gap-1",
|
|
24157
24236
|
children: /* @__PURE__ */ u($, {
|
|
24158
24237
|
onClick: () => n("mergeCells"),
|
|
24159
24238
|
icon: /* @__PURE__ */ u(Qc, {
|
|
24160
24239
|
size: 14,
|
|
24161
|
-
className: "text-
|
|
24240
|
+
className: "swe-text-primary-blue"
|
|
24162
24241
|
}),
|
|
24163
24242
|
title: "Merge Selected Cells",
|
|
24164
24243
|
label: "Selection"
|
|
24165
24244
|
})
|
|
24166
24245
|
}), /* @__PURE__ */ u("span", {
|
|
24167
|
-
className: "text-
|
|
24246
|
+
className: "swe-text-xs swe-text-gray-400 swe-mt-1",
|
|
24168
24247
|
children: "Merge"
|
|
24169
24248
|
})]
|
|
24170
24249
|
}),
|
|
24171
|
-
/* @__PURE__ */ u("div", { className: "
|
|
24250
|
+
/* @__PURE__ */ u("div", { className: "swe-divider-v" }),
|
|
24172
24251
|
/* @__PURE__ */ d("div", {
|
|
24173
|
-
className: "flex
|
|
24252
|
+
className: "swe-flex-col swe-items-center",
|
|
24174
24253
|
children: [/* @__PURE__ */ d("div", {
|
|
24175
|
-
className: "flex gap-
|
|
24254
|
+
className: "swe-flex swe-gap-1",
|
|
24176
24255
|
children: [
|
|
24177
24256
|
/* @__PURE__ */ u($, {
|
|
24178
24257
|
onClick: () => n("mergeRight"),
|
|
24179
24258
|
icon: /* @__PURE__ */ u(Qc, {
|
|
24180
24259
|
size: 14,
|
|
24181
|
-
className: "text-
|
|
24260
|
+
className: "swe-text-primary-blue"
|
|
24182
24261
|
}),
|
|
24183
24262
|
title: "Merge Right"
|
|
24184
24263
|
}),
|
|
24185
24264
|
/* @__PURE__ */ u($, {
|
|
24186
24265
|
onClick: () => n("mergeDown"),
|
|
24187
24266
|
icon: /* @__PURE__ */ u("div", {
|
|
24188
|
-
|
|
24267
|
+
style: { transform: "rotate(90deg)" },
|
|
24189
24268
|
children: /* @__PURE__ */ u(Qc, {
|
|
24190
24269
|
size: 14,
|
|
24191
|
-
className: "text-
|
|
24270
|
+
className: "swe-text-primary-blue"
|
|
24192
24271
|
})
|
|
24193
24272
|
}),
|
|
24194
24273
|
title: "Merge Down"
|
|
@@ -24197,35 +24276,35 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24197
24276
|
onClick: () => n("splitCell"),
|
|
24198
24277
|
icon: /* @__PURE__ */ u(Sl, {
|
|
24199
24278
|
size: 14,
|
|
24200
|
-
className: "text-
|
|
24279
|
+
className: "swe-text-primary-blue"
|
|
24201
24280
|
}),
|
|
24202
24281
|
title: "Split Cells"
|
|
24203
24282
|
})
|
|
24204
24283
|
]
|
|
24205
24284
|
}), /* @__PURE__ */ u("span", {
|
|
24206
|
-
className: "text-
|
|
24285
|
+
className: "swe-text-xs swe-text-gray-400 swe-mt-1",
|
|
24207
24286
|
children: "Individual"
|
|
24208
24287
|
})]
|
|
24209
24288
|
})
|
|
24210
24289
|
]
|
|
24211
24290
|
}), /* @__PURE__ */ u("div", {
|
|
24212
|
-
className: "
|
|
24291
|
+
className: "swe-toolbar-group-label",
|
|
24213
24292
|
children: "Merge"
|
|
24214
24293
|
})]
|
|
24215
24294
|
}),
|
|
24216
24295
|
/* @__PURE__ */ d("div", {
|
|
24217
|
-
className: "
|
|
24296
|
+
className: "swe-toolbar-group",
|
|
24218
24297
|
children: [/* @__PURE__ */ d("div", {
|
|
24219
|
-
className: "flex
|
|
24298
|
+
className: "swe-flex swe-items-center swe-gap-4",
|
|
24220
24299
|
children: [
|
|
24221
24300
|
/* @__PURE__ */ d("div", {
|
|
24222
|
-
className: "flex gap-
|
|
24301
|
+
className: "swe-flex swe-gap-1",
|
|
24223
24302
|
children: [
|
|
24224
24303
|
/* @__PURE__ */ u($, {
|
|
24225
24304
|
onClick: () => n("alignTop"),
|
|
24226
24305
|
icon: /* @__PURE__ */ u(Bc, {
|
|
24227
24306
|
size: 14,
|
|
24228
|
-
className: "text-
|
|
24307
|
+
className: "swe-text-primary-blue"
|
|
24229
24308
|
}),
|
|
24230
24309
|
title: "Align Top"
|
|
24231
24310
|
}),
|
|
@@ -24233,7 +24312,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24233
24312
|
onClick: () => n("alignMiddle"),
|
|
24234
24313
|
icon: /* @__PURE__ */ u(Rc, {
|
|
24235
24314
|
size: 14,
|
|
24236
|
-
className: "text-
|
|
24315
|
+
className: "swe-text-primary-blue"
|
|
24237
24316
|
}),
|
|
24238
24317
|
title: "Align Middle"
|
|
24239
24318
|
}),
|
|
@@ -24241,20 +24320,20 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24241
24320
|
onClick: () => n("alignBottom"),
|
|
24242
24321
|
icon: /* @__PURE__ */ u(zc, {
|
|
24243
24322
|
size: 14,
|
|
24244
|
-
className: "text-
|
|
24323
|
+
className: "swe-text-primary-blue"
|
|
24245
24324
|
}),
|
|
24246
24325
|
title: "Align Bottom"
|
|
24247
24326
|
})
|
|
24248
24327
|
]
|
|
24249
24328
|
}),
|
|
24250
|
-
/* @__PURE__ */ u("div", { className: "
|
|
24329
|
+
/* @__PURE__ */ u("div", { className: "swe-divider-v" }),
|
|
24251
24330
|
/* @__PURE__ */ u("div", {
|
|
24252
|
-
className: "flex gap-
|
|
24331
|
+
className: "swe-flex swe-gap-1",
|
|
24253
24332
|
children: /* @__PURE__ */ u(Il, {
|
|
24254
24333
|
label: "Shading",
|
|
24255
24334
|
icon: /* @__PURE__ */ u(pl, {
|
|
24256
24335
|
size: 16,
|
|
24257
|
-
className: "text-
|
|
24336
|
+
className: "swe-text-primary-blue"
|
|
24258
24337
|
}),
|
|
24259
24338
|
disabled: e,
|
|
24260
24339
|
onOpen: r,
|
|
@@ -24263,55 +24342,62 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24263
24342
|
})
|
|
24264
24343
|
]
|
|
24265
24344
|
}), /* @__PURE__ */ u("div", {
|
|
24266
|
-
className: "
|
|
24345
|
+
className: "swe-toolbar-group-label",
|
|
24267
24346
|
children: "Alignment"
|
|
24268
24347
|
})]
|
|
24269
24348
|
}),
|
|
24270
24349
|
/* @__PURE__ */ d("div", {
|
|
24271
|
-
className: "
|
|
24350
|
+
className: "swe-toolbar-group",
|
|
24272
24351
|
children: [/* @__PURE__ */ u("div", {
|
|
24273
|
-
className: "flex
|
|
24352
|
+
className: "swe-flex swe-items-center swe-gap-4",
|
|
24274
24353
|
children: /* @__PURE__ */ d("div", {
|
|
24275
|
-
className: "flex
|
|
24354
|
+
className: "swe-flex-col swe-items-center",
|
|
24276
24355
|
children: [/* @__PURE__ */ d("div", {
|
|
24277
|
-
className: "flex
|
|
24356
|
+
className: "swe-flex swe-items-center swe-gap-1",
|
|
24357
|
+
style: {
|
|
24358
|
+
border: "1px solid var(--swe-border-color)",
|
|
24359
|
+
borderRadius: "4px",
|
|
24360
|
+
padding: "2px"
|
|
24361
|
+
},
|
|
24278
24362
|
children: [/* @__PURE__ */ d("div", {
|
|
24279
|
-
className: "flex
|
|
24363
|
+
className: "swe-flex-col",
|
|
24280
24364
|
children: [/* @__PURE__ */ u("span", {
|
|
24281
|
-
className: "text-
|
|
24365
|
+
className: "swe-text-xs swe-text-gray-400 swe-text-center",
|
|
24366
|
+
style: { fontSize: "8px" },
|
|
24282
24367
|
children: "T/B"
|
|
24283
24368
|
}), /* @__PURE__ */ d("div", {
|
|
24284
|
-
className: "flex gap-
|
|
24369
|
+
className: "swe-flex swe-gap-1",
|
|
24285
24370
|
children: [/* @__PURE__ */ u("button", {
|
|
24286
24371
|
onClick: () => n("paddingTopPlus"),
|
|
24287
|
-
className: "
|
|
24288
|
-
children: /* @__PURE__ */ u(Wc, { size:
|
|
24372
|
+
className: "swe-btn-icon swe-text-primary-blue",
|
|
24373
|
+
children: /* @__PURE__ */ u(Wc, { size: 12 })
|
|
24289
24374
|
}), /* @__PURE__ */ u("button", {
|
|
24290
24375
|
onClick: () => n("paddingBottomPlus"),
|
|
24291
|
-
className: "
|
|
24292
|
-
children: /* @__PURE__ */ u(Vc, { size:
|
|
24376
|
+
className: "swe-btn-icon swe-text-primary-blue",
|
|
24377
|
+
children: /* @__PURE__ */ u(Vc, { size: 12 })
|
|
24293
24378
|
})]
|
|
24294
24379
|
})]
|
|
24295
24380
|
}), /* @__PURE__ */ d("div", {
|
|
24296
|
-
className: "flex
|
|
24381
|
+
className: "swe-flex-col",
|
|
24297
24382
|
children: [/* @__PURE__ */ u("span", {
|
|
24298
|
-
className: "text-
|
|
24383
|
+
className: "swe-text-xs swe-text-gray-400 swe-text-center",
|
|
24384
|
+
style: { fontSize: "8px" },
|
|
24299
24385
|
children: "L/R"
|
|
24300
24386
|
}), /* @__PURE__ */ d("div", {
|
|
24301
|
-
className: "flex gap-
|
|
24387
|
+
className: "swe-flex swe-gap-1",
|
|
24302
24388
|
children: [/* @__PURE__ */ u("button", {
|
|
24303
24389
|
onClick: () => n("paddingLeftPlus"),
|
|
24304
|
-
className: "
|
|
24305
|
-
children: /* @__PURE__ */ u(Hc, { size:
|
|
24390
|
+
className: "swe-btn-icon swe-text-primary-blue",
|
|
24391
|
+
children: /* @__PURE__ */ u(Hc, { size: 12 })
|
|
24306
24392
|
}), /* @__PURE__ */ u("button", {
|
|
24307
24393
|
onClick: () => n("paddingRightPlus"),
|
|
24308
|
-
className: "
|
|
24309
|
-
children: /* @__PURE__ */ u(Uc, { size:
|
|
24394
|
+
className: "swe-btn-icon swe-text-primary-blue",
|
|
24395
|
+
children: /* @__PURE__ */ u(Uc, { size: 12 })
|
|
24310
24396
|
})]
|
|
24311
24397
|
})]
|
|
24312
24398
|
})]
|
|
24313
24399
|
}), /* @__PURE__ */ d("span", {
|
|
24314
|
-
className: "text-
|
|
24400
|
+
className: "swe-text-xs swe-text-gray-400 swe-mt-1",
|
|
24315
24401
|
children: [
|
|
24316
24402
|
"Padding (T:",
|
|
24317
24403
|
i("Top"),
|
|
@@ -24322,158 +24408,208 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24322
24408
|
})]
|
|
24323
24409
|
})
|
|
24324
24410
|
}), /* @__PURE__ */ u("div", {
|
|
24325
|
-
className: "
|
|
24411
|
+
className: "swe-toolbar-group-label",
|
|
24326
24412
|
children: "Cell Padding"
|
|
24327
24413
|
})]
|
|
24328
24414
|
}),
|
|
24329
24415
|
/* @__PURE__ */ d("div", {
|
|
24330
|
-
className: "
|
|
24416
|
+
className: "swe-toolbar-group",
|
|
24331
24417
|
children: [/* @__PURE__ */ d("div", {
|
|
24332
|
-
className: "flex
|
|
24418
|
+
className: "swe-flex swe-items-center swe-gap-4",
|
|
24333
24419
|
children: [/* @__PURE__ */ d("div", {
|
|
24334
|
-
className: "grid
|
|
24420
|
+
className: "swe-grid-3",
|
|
24335
24421
|
children: [
|
|
24336
24422
|
/* @__PURE__ */ u("button", {
|
|
24337
24423
|
onClick: () => n("borderTop"),
|
|
24338
|
-
className: "
|
|
24424
|
+
className: "swe-btn-icon",
|
|
24339
24425
|
title: "Top Border",
|
|
24340
|
-
children: /* @__PURE__ */ u("div", {
|
|
24426
|
+
children: /* @__PURE__ */ u("div", { style: {
|
|
24427
|
+
width: "12px",
|
|
24428
|
+
height: "2px",
|
|
24429
|
+
backgroundColor: "black",
|
|
24430
|
+
marginBottom: "6px",
|
|
24431
|
+
opacity: .6
|
|
24432
|
+
} })
|
|
24341
24433
|
}),
|
|
24342
24434
|
/* @__PURE__ */ u("button", {
|
|
24343
24435
|
onClick: () => n("borderBottom"),
|
|
24344
|
-
className: "
|
|
24436
|
+
className: "swe-btn-icon",
|
|
24345
24437
|
title: "Bottom Border",
|
|
24346
|
-
children: /* @__PURE__ */ u("div", {
|
|
24438
|
+
children: /* @__PURE__ */ u("div", { style: {
|
|
24439
|
+
width: "12px",
|
|
24440
|
+
height: "2px",
|
|
24441
|
+
backgroundColor: "black",
|
|
24442
|
+
marginTop: "6px",
|
|
24443
|
+
opacity: .6
|
|
24444
|
+
} })
|
|
24347
24445
|
}),
|
|
24348
24446
|
/* @__PURE__ */ u("button", {
|
|
24349
24447
|
onClick: () => n("borderLeft"),
|
|
24350
|
-
className: "
|
|
24448
|
+
className: "swe-btn-icon",
|
|
24351
24449
|
title: "Left Border",
|
|
24352
|
-
children: /* @__PURE__ */ u("div", {
|
|
24450
|
+
children: /* @__PURE__ */ u("div", { style: {
|
|
24451
|
+
width: "2px",
|
|
24452
|
+
height: "12px",
|
|
24453
|
+
backgroundColor: "black",
|
|
24454
|
+
marginRight: "6px",
|
|
24455
|
+
opacity: .6
|
|
24456
|
+
} })
|
|
24353
24457
|
}),
|
|
24354
24458
|
/* @__PURE__ */ u("button", {
|
|
24355
24459
|
onClick: () => n("borderRight"),
|
|
24356
|
-
className: "
|
|
24460
|
+
className: "swe-btn-icon",
|
|
24357
24461
|
title: "Right Border",
|
|
24358
|
-
children: /* @__PURE__ */ u("div", {
|
|
24462
|
+
children: /* @__PURE__ */ u("div", { style: {
|
|
24463
|
+
width: "2px",
|
|
24464
|
+
height: "12px",
|
|
24465
|
+
backgroundColor: "black",
|
|
24466
|
+
marginLeft: "6px",
|
|
24467
|
+
opacity: .6
|
|
24468
|
+
} })
|
|
24359
24469
|
}),
|
|
24360
24470
|
/* @__PURE__ */ u("button", {
|
|
24361
24471
|
onClick: () => n("borderAll"),
|
|
24362
|
-
className: "
|
|
24472
|
+
className: "swe-btn-icon",
|
|
24363
24473
|
title: "All Borders",
|
|
24364
24474
|
children: /* @__PURE__ */ u(Cl, {
|
|
24365
24475
|
size: 12,
|
|
24366
|
-
|
|
24476
|
+
style: { opacity: .6 }
|
|
24367
24477
|
})
|
|
24368
24478
|
}),
|
|
24369
24479
|
/* @__PURE__ */ u("button", {
|
|
24370
24480
|
onClick: () => n("borderNone"),
|
|
24371
|
-
className: "
|
|
24481
|
+
className: "swe-btn-icon",
|
|
24372
24482
|
title: "No Borders",
|
|
24373
24483
|
children: /* @__PURE__ */ u(dl, {
|
|
24374
24484
|
size: 12,
|
|
24375
|
-
className: "text-gray-
|
|
24485
|
+
className: "swe-text-gray-400"
|
|
24376
24486
|
})
|
|
24377
24487
|
})
|
|
24378
24488
|
]
|
|
24379
24489
|
}), /* @__PURE__ */ u("span", {
|
|
24380
|
-
className: "text-
|
|
24490
|
+
className: "swe-text-xs swe-text-gray-500 swe-mt-1",
|
|
24381
24491
|
children: "Borders"
|
|
24382
24492
|
})]
|
|
24383
24493
|
}), /* @__PURE__ */ u("div", {
|
|
24384
|
-
className: "
|
|
24494
|
+
className: "swe-toolbar-group-label",
|
|
24385
24495
|
children: "Side Styling"
|
|
24386
24496
|
})]
|
|
24387
24497
|
})
|
|
24388
24498
|
] });
|
|
24389
|
-
}, Rl = ({ showHtml: e, activeImage: t, imageWidth: n, handleImageWidthChange: r, handleImageAction: i }) => /* @__PURE__ */ u(l, { children: t && !e && /* @__PURE__ */
|
|
24390
|
-
className: "flex
|
|
24391
|
-
children:
|
|
24392
|
-
|
|
24393
|
-
|
|
24499
|
+
}, Rl = ({ showHtml: e, activeImage: t, imageWidth: n, handleImageWidthChange: r, handleImageAction: i }) => /* @__PURE__ */ u(l, { children: t && !e && /* @__PURE__ */ u("div", {
|
|
24500
|
+
className: "swe-flex swe-items-center swe-gap-1",
|
|
24501
|
+
children: /* @__PURE__ */ u("div", {
|
|
24502
|
+
className: "swe-toolbar-group swe-toolbar-group-green",
|
|
24503
|
+
style: { padding: "0 8px" },
|
|
24504
|
+
children: /* @__PURE__ */ d("div", {
|
|
24505
|
+
className: "swe-flex swe-items-center swe-gap-4",
|
|
24394
24506
|
children: [
|
|
24395
|
-
/* @__PURE__ */ d("
|
|
24396
|
-
className: "
|
|
24507
|
+
/* @__PURE__ */ d("div", {
|
|
24508
|
+
className: "swe-flex-col swe-items-center",
|
|
24509
|
+
style: {
|
|
24510
|
+
borderRight: "1px solid #bbf7d0",
|
|
24511
|
+
paddingRight: "16px"
|
|
24512
|
+
},
|
|
24397
24513
|
children: [
|
|
24398
|
-
|
|
24399
|
-
|
|
24400
|
-
|
|
24514
|
+
/* @__PURE__ */ d("span", {
|
|
24515
|
+
className: "swe-text-xs swe-text-green-800 swe-font-medium swe-mb-1",
|
|
24516
|
+
children: [
|
|
24517
|
+
"Image Width: ",
|
|
24518
|
+
n,
|
|
24519
|
+
"%"
|
|
24520
|
+
]
|
|
24521
|
+
}),
|
|
24522
|
+
/* @__PURE__ */ u("input", {
|
|
24523
|
+
type: "range",
|
|
24524
|
+
min: "10",
|
|
24525
|
+
max: "100",
|
|
24526
|
+
value: n,
|
|
24527
|
+
onChange: r,
|
|
24528
|
+
className: "swe-accent-green",
|
|
24529
|
+
style: {
|
|
24530
|
+
width: "100px",
|
|
24531
|
+
cursor: "pointer"
|
|
24532
|
+
}
|
|
24533
|
+
}),
|
|
24534
|
+
/* @__PURE__ */ u("div", {
|
|
24535
|
+
className: "swe-toolbar-group-label swe-text-green-700",
|
|
24536
|
+
style: { bottom: "-18px" },
|
|
24537
|
+
children: "Size"
|
|
24538
|
+
})
|
|
24401
24539
|
]
|
|
24402
24540
|
}),
|
|
24403
|
-
/* @__PURE__ */
|
|
24404
|
-
|
|
24405
|
-
|
|
24406
|
-
|
|
24407
|
-
|
|
24408
|
-
|
|
24409
|
-
|
|
24541
|
+
/* @__PURE__ */ d("div", {
|
|
24542
|
+
className: "swe-flex-col swe-items-center",
|
|
24543
|
+
style: {
|
|
24544
|
+
borderRight: "1px solid #bbf7d0",
|
|
24545
|
+
paddingRight: "16px"
|
|
24546
|
+
},
|
|
24547
|
+
children: [/* @__PURE__ */ d("div", {
|
|
24548
|
+
className: "swe-flex swe-gap-1",
|
|
24549
|
+
children: [
|
|
24550
|
+
/* @__PURE__ */ u($, {
|
|
24551
|
+
onClick: () => i("alignLeft"),
|
|
24552
|
+
icon: /* @__PURE__ */ u(Ic, {
|
|
24553
|
+
size: 14,
|
|
24554
|
+
className: "swe-text-green-700"
|
|
24555
|
+
}),
|
|
24556
|
+
title: "Align Left"
|
|
24557
|
+
}),
|
|
24558
|
+
/* @__PURE__ */ u($, {
|
|
24559
|
+
onClick: () => i("alignCenter"),
|
|
24560
|
+
icon: /* @__PURE__ */ u(Pc, {
|
|
24561
|
+
size: 14,
|
|
24562
|
+
className: "swe-text-green-700"
|
|
24563
|
+
}),
|
|
24564
|
+
title: "Align Center"
|
|
24565
|
+
}),
|
|
24566
|
+
/* @__PURE__ */ u($, {
|
|
24567
|
+
onClick: () => i("alignRight"),
|
|
24568
|
+
icon: /* @__PURE__ */ u(Lc, {
|
|
24569
|
+
size: 14,
|
|
24570
|
+
className: "swe-text-green-700"
|
|
24571
|
+
}),
|
|
24572
|
+
title: "Align Right"
|
|
24573
|
+
}),
|
|
24574
|
+
/* @__PURE__ */ u($, {
|
|
24575
|
+
onClick: () => i("alignNone"),
|
|
24576
|
+
icon: /* @__PURE__ */ u(Fc, {
|
|
24577
|
+
size: 14,
|
|
24578
|
+
className: "swe-text-green-700"
|
|
24579
|
+
}),
|
|
24580
|
+
title: "Inline"
|
|
24581
|
+
})
|
|
24582
|
+
]
|
|
24583
|
+
}), /* @__PURE__ */ u("div", {
|
|
24584
|
+
className: "swe-toolbar-group-label swe-text-green-700",
|
|
24585
|
+
style: { bottom: "-18px" },
|
|
24586
|
+
children: "Arrange"
|
|
24587
|
+
})]
|
|
24410
24588
|
}),
|
|
24411
|
-
/* @__PURE__ */
|
|
24412
|
-
className: "
|
|
24413
|
-
|
|
24589
|
+
/* @__PURE__ */ d("div", {
|
|
24590
|
+
className: "swe-flex-col swe-items-center",
|
|
24591
|
+
style: { paddingLeft: "8px" },
|
|
24592
|
+
children: [/* @__PURE__ */ u($, {
|
|
24593
|
+
onClick: () => i("delete"),
|
|
24594
|
+
icon: /* @__PURE__ */ u(El, {
|
|
24595
|
+
size: 18,
|
|
24596
|
+
className: "swe-text-red-500"
|
|
24597
|
+
}),
|
|
24598
|
+
label: "Delete",
|
|
24599
|
+
style: {
|
|
24600
|
+
height: "44px",
|
|
24601
|
+
width: "44px"
|
|
24602
|
+
},
|
|
24603
|
+
title: "Delete Picture"
|
|
24604
|
+
}), /* @__PURE__ */ u("div", {
|
|
24605
|
+
className: "swe-toolbar-group-label swe-text-red-500",
|
|
24606
|
+
style: { bottom: "-18px" },
|
|
24607
|
+
children: "Actions"
|
|
24608
|
+
})]
|
|
24414
24609
|
})
|
|
24415
24610
|
]
|
|
24416
|
-
}),
|
|
24417
|
-
/* @__PURE__ */ d("div", {
|
|
24418
|
-
className: "flex flex-col gap-1 items-center justify-center px-4 border-r border-green-200 relative",
|
|
24419
|
-
children: [/* @__PURE__ */ d("div", {
|
|
24420
|
-
className: "flex gap-1",
|
|
24421
|
-
children: [
|
|
24422
|
-
/* @__PURE__ */ u($, {
|
|
24423
|
-
onClick: () => i("alignLeft"),
|
|
24424
|
-
icon: /* @__PURE__ */ u(Ic, {
|
|
24425
|
-
size: 14,
|
|
24426
|
-
className: "text-green-700"
|
|
24427
|
-
}),
|
|
24428
|
-
title: "Align Left"
|
|
24429
|
-
}),
|
|
24430
|
-
/* @__PURE__ */ u($, {
|
|
24431
|
-
onClick: () => i("alignCenter"),
|
|
24432
|
-
icon: /* @__PURE__ */ u(Pc, {
|
|
24433
|
-
size: 14,
|
|
24434
|
-
className: "text-green-700"
|
|
24435
|
-
}),
|
|
24436
|
-
title: "Align Center"
|
|
24437
|
-
}),
|
|
24438
|
-
/* @__PURE__ */ u($, {
|
|
24439
|
-
onClick: () => i("alignRight"),
|
|
24440
|
-
icon: /* @__PURE__ */ u(Lc, {
|
|
24441
|
-
size: 14,
|
|
24442
|
-
className: "text-green-700"
|
|
24443
|
-
}),
|
|
24444
|
-
title: "Align Right"
|
|
24445
|
-
}),
|
|
24446
|
-
/* @__PURE__ */ u($, {
|
|
24447
|
-
onClick: () => i("alignNone"),
|
|
24448
|
-
icon: /* @__PURE__ */ u(Fc, {
|
|
24449
|
-
size: 14,
|
|
24450
|
-
className: "text-green-700"
|
|
24451
|
-
}),
|
|
24452
|
-
title: "Inline"
|
|
24453
|
-
})
|
|
24454
|
-
]
|
|
24455
|
-
}), /* @__PURE__ */ u("div", {
|
|
24456
|
-
className: "absolute bottom-[-18px] left-0 right-0 text-[9px] text-center text-green-700 uppercase font-semibold",
|
|
24457
|
-
children: "Arrange"
|
|
24458
|
-
})]
|
|
24459
|
-
}),
|
|
24460
|
-
/* @__PURE__ */ d("div", {
|
|
24461
|
-
className: "flex items-center justify-center px-2 py-1 relative",
|
|
24462
|
-
children: [/* @__PURE__ */ u($, {
|
|
24463
|
-
onClick: () => i("delete"),
|
|
24464
|
-
icon: /* @__PURE__ */ u(El, {
|
|
24465
|
-
size: 18,
|
|
24466
|
-
className: "text-red-600"
|
|
24467
|
-
}),
|
|
24468
|
-
label: "Delete",
|
|
24469
|
-
className: "h-[52px] w-[52px]",
|
|
24470
|
-
title: "Delete Picture"
|
|
24471
|
-
}), /* @__PURE__ */ u("div", {
|
|
24472
|
-
className: "absolute bottom-[-18px] left-0 right-0 text-[9px] text-center text-red-600 uppercase font-semibold",
|
|
24473
|
-
children: "Actions"
|
|
24474
|
-
})]
|
|
24475
24611
|
})
|
|
24476
|
-
|
|
24612
|
+
})
|
|
24477
24613
|
}) }), zl = ({ onSave: e, onSaveAsDocs: t, onPrint: n, toggleHtmlView: r, activeStyles: i, showHtml: a, execCommand: o, onImportWord: s, pluginContributions: c = [], fonts: f, sizes: p }) => {
|
|
24478
24614
|
let m = (e) => c.filter((t) => t.groupId === e).map((t, n) => /* @__PURE__ */ u(t.component, {
|
|
24479
24615
|
execCommand: o,
|
|
@@ -24485,56 +24621,75 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24485
24621
|
sizes: p
|
|
24486
24622
|
}, `file-plugin-${e}-${n}`));
|
|
24487
24623
|
return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ d("div", {
|
|
24488
|
-
className: "
|
|
24624
|
+
className: "swe-toolbar-group",
|
|
24489
24625
|
children: [
|
|
24490
24626
|
/* @__PURE__ */ u("div", {
|
|
24491
|
-
className: "flex
|
|
24627
|
+
className: "swe-flex swe-justify-start",
|
|
24492
24628
|
children: /* @__PURE__ */ d("button", {
|
|
24493
24629
|
onClick: n,
|
|
24494
24630
|
disabled: a,
|
|
24495
|
-
className:
|
|
24631
|
+
className: `swe-btn ${a ? "swe-btn-disabled" : ""}`,
|
|
24632
|
+
style: {
|
|
24633
|
+
height: "60px",
|
|
24634
|
+
width: "52px"
|
|
24635
|
+
},
|
|
24496
24636
|
children: [/* @__PURE__ */ u(ml, {
|
|
24497
24637
|
size: 22,
|
|
24498
|
-
className: "text-
|
|
24638
|
+
className: "swe-text-primary-blue"
|
|
24499
24639
|
}), /* @__PURE__ */ u("span", {
|
|
24500
|
-
className: "
|
|
24640
|
+
className: "swe-btn-label",
|
|
24501
24641
|
children: "Print"
|
|
24502
24642
|
})]
|
|
24503
24643
|
})
|
|
24504
24644
|
}),
|
|
24505
24645
|
/* @__PURE__ */ d("div", {
|
|
24506
|
-
className: "flex
|
|
24646
|
+
className: "swe-flex-col swe-justify-center",
|
|
24507
24647
|
children: [
|
|
24508
24648
|
/* @__PURE__ */ d("button", {
|
|
24509
24649
|
onClick: e,
|
|
24510
|
-
className: "
|
|
24650
|
+
className: "swe-btn",
|
|
24651
|
+
style: {
|
|
24652
|
+
flexDirection: "row",
|
|
24653
|
+
gap: "8px",
|
|
24654
|
+
padding: "4px 8px"
|
|
24655
|
+
},
|
|
24511
24656
|
children: [/* @__PURE__ */ u(yl, {
|
|
24512
24657
|
size: 14,
|
|
24513
|
-
className: "text-blue
|
|
24658
|
+
className: "swe-text-primary-blue"
|
|
24514
24659
|
}), /* @__PURE__ */ u("span", {
|
|
24515
|
-
className: "text-
|
|
24660
|
+
className: "swe-text-xs swe-font-medium",
|
|
24516
24661
|
children: "Save"
|
|
24517
24662
|
})]
|
|
24518
24663
|
}),
|
|
24519
24664
|
/* @__PURE__ */ d("button", {
|
|
24520
24665
|
onClick: t,
|
|
24521
|
-
className: "
|
|
24666
|
+
className: "swe-btn",
|
|
24667
|
+
style: {
|
|
24668
|
+
flexDirection: "row",
|
|
24669
|
+
gap: "8px",
|
|
24670
|
+
padding: "4px 8px"
|
|
24671
|
+
},
|
|
24522
24672
|
children: [/* @__PURE__ */ u(nl, {
|
|
24523
24673
|
size: 14,
|
|
24524
|
-
className: "text-blue
|
|
24674
|
+
className: "swe-text-primary-blue"
|
|
24525
24675
|
}), /* @__PURE__ */ u("span", {
|
|
24526
|
-
className: "text-
|
|
24676
|
+
className: "swe-text-xs swe-font-medium",
|
|
24527
24677
|
children: "Save As Docx"
|
|
24528
24678
|
})]
|
|
24529
24679
|
}),
|
|
24530
24680
|
/* @__PURE__ */ d("button", {
|
|
24531
24681
|
onClick: r,
|
|
24532
|
-
className: `
|
|
24682
|
+
className: `swe-btn ${a ? "swe-btn-active" : ""}`,
|
|
24683
|
+
style: {
|
|
24684
|
+
flexDirection: "row",
|
|
24685
|
+
gap: "8px",
|
|
24686
|
+
padding: "4px 8px"
|
|
24687
|
+
},
|
|
24533
24688
|
children: [/* @__PURE__ */ u(tl, {
|
|
24534
24689
|
size: 14,
|
|
24535
|
-
className:
|
|
24690
|
+
className: a ? "swe-text-primary-blue" : "swe-text-gray-400"
|
|
24536
24691
|
}), /* @__PURE__ */ u("span", {
|
|
24537
|
-
className: "text-
|
|
24692
|
+
className: "swe-text-xs swe-font-medium",
|
|
24538
24693
|
children: a ? "Rich Text" : "View HTML"
|
|
24539
24694
|
})]
|
|
24540
24695
|
})
|
|
@@ -24542,7 +24697,7 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24542
24697
|
}),
|
|
24543
24698
|
m("insert"),
|
|
24544
24699
|
/* @__PURE__ */ u("div", {
|
|
24545
|
-
className: "
|
|
24700
|
+
className: "swe-toolbar-group-label",
|
|
24546
24701
|
children: "Document"
|
|
24547
24702
|
})
|
|
24548
24703
|
]
|
|
@@ -24552,26 +24707,40 @@ var Ac = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), jc = (..
|
|
|
24552
24707
|
//#region src/components/WordEditor/ribbon/tabs/HelpTab.tsx
|
|
24553
24708
|
function Bl() {
|
|
24554
24709
|
return /* @__PURE__ */ d("div", {
|
|
24555
|
-
className: "flex
|
|
24710
|
+
className: "swe-flex swe-items-center swe-h-full swe-gap-6",
|
|
24711
|
+
style: {
|
|
24712
|
+
overflowX: "auto",
|
|
24713
|
+
paddingRight: "24px"
|
|
24714
|
+
},
|
|
24556
24715
|
children: [/* @__PURE__ */ d("div", {
|
|
24557
|
-
className: "
|
|
24716
|
+
className: "swe-toolbar-group",
|
|
24717
|
+
style: {
|
|
24718
|
+
flexDirection: "column",
|
|
24719
|
+
borderRight: "1px solid var(--swe-border-color)",
|
|
24720
|
+
paddingRight: "16px",
|
|
24721
|
+
height: "60px"
|
|
24722
|
+
},
|
|
24558
24723
|
children: [/* @__PURE__ */ d("div", {
|
|
24559
|
-
className: "flex items-center gap-2 mb-1",
|
|
24724
|
+
className: "swe-flex swe-items-center swe-gap-2 swe-mb-1",
|
|
24560
24725
|
children: [/* @__PURE__ */ u(Xc, {
|
|
24561
24726
|
size: 16,
|
|
24562
|
-
className: "text-
|
|
24727
|
+
className: "swe-text-primary-blue"
|
|
24563
24728
|
}), /* @__PURE__ */ u("span", {
|
|
24564
|
-
className: "text-xs font-bold text-gray-700 uppercase
|
|
24729
|
+
className: "swe-text-xs swe-font-bold swe-text-gray-700 swe-uppercase",
|
|
24565
24730
|
children: "Shortcuts"
|
|
24566
24731
|
})]
|
|
24567
24732
|
}), /* @__PURE__ */ u("p", {
|
|
24568
|
-
className: "text-
|
|
24733
|
+
className: "swe-text-xs swe-text-gray-400",
|
|
24734
|
+
style: {
|
|
24735
|
+
maxWidth: "120px",
|
|
24736
|
+
lineHeight: "1.2"
|
|
24737
|
+
},
|
|
24569
24738
|
children: "Keyboard guides for productivity."
|
|
24570
24739
|
})]
|
|
24571
24740
|
}), /* @__PURE__ */ u("div", {
|
|
24572
|
-
className: "flex
|
|
24741
|
+
className: "swe-flex",
|
|
24573
24742
|
children: /* @__PURE__ */ u("div", {
|
|
24574
|
-
className: "
|
|
24743
|
+
className: "swe-shortcut-grid",
|
|
24575
24744
|
children: [
|
|
24576
24745
|
{
|
|
24577
24746
|
key: "Ctrl + B",
|
|
@@ -24634,12 +24803,12 @@ function Bl() {
|
|
|
24634
24803
|
action: "Indent"
|
|
24635
24804
|
}
|
|
24636
24805
|
].map((e, t) => /* @__PURE__ */ d("div", {
|
|
24637
|
-
className: "
|
|
24806
|
+
className: "swe-shortcut-item",
|
|
24638
24807
|
children: [/* @__PURE__ */ u("div", {
|
|
24639
|
-
className: "
|
|
24808
|
+
className: "swe-kbd",
|
|
24640
24809
|
children: e.key
|
|
24641
24810
|
}), /* @__PURE__ */ u("span", {
|
|
24642
|
-
className: "text-
|
|
24811
|
+
className: "swe-text-xs swe-font-medium swe-text-gray-600 swe-whitespace-nowrap",
|
|
24643
24812
|
children: e.action
|
|
24644
24813
|
})]
|
|
24645
24814
|
}, t))
|
|
@@ -25423,26 +25592,26 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25423
25592
|
}, [Ee, P]), i(() => {
|
|
25424
25593
|
Oe && !Lt.current ? F("Picture Format") : !Oe && Lt.current && P === "Picture Format" && F("Home"), Lt.current = Oe;
|
|
25425
25594
|
}, [Oe, P]), /* @__PURE__ */ d("div", {
|
|
25426
|
-
className: `
|
|
25595
|
+
className: `swe-editor-root ${m}`,
|
|
25427
25596
|
style: { height: p },
|
|
25428
25597
|
children: [
|
|
25429
|
-
/* @__PURE__ */ u("style", { children: "\n @media (max-width: 768px) {\n .editor-content { width: 100% !important; min-height: 70vh !important; padding: 15px !important; box-shadow: none; border-radius: 0; }\n .editor-wrapper { width: 100% !important; padding: 0; }\n .ruler-container { display: none !important; }\n .editor-area-container { padding: 0 !important; background: white !important; }\n }\n .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }\n .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }\n
|
|
25598
|
+
/* @__PURE__ */ u("style", { children: "\n @media (max-width: 768px) {\n .editor-content { width: 100% !important; min-height: 70vh !important; padding: 15px !important; box-shadow: none; border-radius: 0; }\n .editor-wrapper { width: 100% !important; padding: 0; }\n .ruler-container { display: none !important; }\n .editor-area-container { padding: 0 !important; background: white !important; }\n }\n .custom-scrollbar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }\n .custom-scrollbar::-webkit-scrollbar-track { background: transparent; }\n " }),
|
|
25430
25599
|
/* @__PURE__ */ u("input", {
|
|
25431
25600
|
type: "color",
|
|
25432
25601
|
ref: T,
|
|
25433
|
-
className: "hidden",
|
|
25602
|
+
className: "swe-hidden",
|
|
25434
25603
|
onChange: (e) => ft("foreColor", e.target.value)
|
|
25435
25604
|
}),
|
|
25436
25605
|
/* @__PURE__ */ u("input", {
|
|
25437
25606
|
type: "color",
|
|
25438
25607
|
ref: E,
|
|
25439
|
-
className: "hidden",
|
|
25608
|
+
className: "swe-hidden",
|
|
25440
25609
|
onChange: (e) => ft("backColor", e.target.value)
|
|
25441
25610
|
}),
|
|
25442
25611
|
/* @__PURE__ */ u("input", {
|
|
25443
25612
|
type: "color",
|
|
25444
25613
|
ref: D,
|
|
25445
|
-
className: "hidden",
|
|
25614
|
+
className: "swe-hidden",
|
|
25446
25615
|
onChange: (e) => {
|
|
25447
25616
|
Ee && (Ee.style.backgroundColor = e.target.value, Y());
|
|
25448
25617
|
}
|
|
@@ -25451,59 +25620,59 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25451
25620
|
type: "file",
|
|
25452
25621
|
ref: O,
|
|
25453
25622
|
accept: "image/*",
|
|
25454
|
-
className: "hidden",
|
|
25623
|
+
className: "swe-hidden",
|
|
25455
25624
|
onChange: yt
|
|
25456
25625
|
}),
|
|
25457
25626
|
/* @__PURE__ */ u("input", {
|
|
25458
25627
|
type: "file",
|
|
25459
25628
|
ref: k,
|
|
25460
25629
|
accept: ".docx",
|
|
25461
|
-
className: "hidden",
|
|
25630
|
+
className: "swe-hidden",
|
|
25462
25631
|
onChange: bt
|
|
25463
25632
|
}),
|
|
25464
25633
|
/* @__PURE__ */ d("div", {
|
|
25465
|
-
className: "toolbar-container
|
|
25634
|
+
className: "swe-toolbar-container",
|
|
25466
25635
|
children: [
|
|
25467
25636
|
/* @__PURE__ */ u("div", {
|
|
25468
25637
|
onClick: () => F("File"),
|
|
25469
|
-
className: `
|
|
25638
|
+
className: `swe-tab ${P === "File" ? "swe-tab-active" : ""}`,
|
|
25470
25639
|
children: "File"
|
|
25471
25640
|
}),
|
|
25472
25641
|
/* @__PURE__ */ u("div", {
|
|
25473
25642
|
onClick: () => F("Home"),
|
|
25474
|
-
className: `
|
|
25643
|
+
className: `swe-tab ${P === "Home" ? "swe-tab-active" : ""}`,
|
|
25475
25644
|
children: "Home"
|
|
25476
25645
|
}),
|
|
25477
25646
|
(ee || V || ne) && /* @__PURE__ */ u("div", {
|
|
25478
25647
|
onClick: () => F("Insert"),
|
|
25479
|
-
className: `
|
|
25648
|
+
className: `swe-tab ${P === "Insert" ? "swe-tab-active" : ""}`,
|
|
25480
25649
|
children: "Insert"
|
|
25481
25650
|
}),
|
|
25482
25651
|
/* @__PURE__ */ u("div", {
|
|
25483
25652
|
onClick: () => F("Layout"),
|
|
25484
|
-
className: `
|
|
25653
|
+
className: `swe-tab ${P === "Layout" ? "swe-tab-active" : ""}`,
|
|
25485
25654
|
children: "Layout"
|
|
25486
25655
|
}),
|
|
25487
25656
|
Ee && !je && /* @__PURE__ */ u("div", {
|
|
25488
25657
|
onClick: () => F("Table Layout"),
|
|
25489
|
-
className: `
|
|
25658
|
+
className: `swe-tab swe-tab-blue ${P === "Table Layout" ? "swe-tab-active" : ""}`,
|
|
25490
25659
|
children: "Table Layout"
|
|
25491
25660
|
}),
|
|
25492
25661
|
Oe && !je && /* @__PURE__ */ u("div", {
|
|
25493
25662
|
onClick: () => F("Picture Format"),
|
|
25494
|
-
className: `
|
|
25663
|
+
className: `swe-tab swe-tab-green ${P === "Picture Format" ? "swe-tab-active" : ""}`,
|
|
25495
25664
|
children: "Picture Format"
|
|
25496
25665
|
}),
|
|
25497
25666
|
/* @__PURE__ */ u("div", {
|
|
25498
25667
|
onClick: () => F("Help"),
|
|
25499
|
-
className: `
|
|
25668
|
+
className: `swe-tab ${P === "Help" ? "swe-tab-active" : ""}`,
|
|
25500
25669
|
children: "Help"
|
|
25501
25670
|
}),
|
|
25502
25671
|
/* @__PURE__ */ u("div", { className: "flex-1" })
|
|
25503
25672
|
]
|
|
25504
25673
|
}),
|
|
25505
25674
|
/* @__PURE__ */ d("div", {
|
|
25506
|
-
className: "
|
|
25675
|
+
className: "swe-ribbon swe-custom-scrollbar",
|
|
25507
25676
|
children: [
|
|
25508
25677
|
P === "File" && /* @__PURE__ */ u(zl, {
|
|
25509
25678
|
onSave: Tt,
|
|
@@ -25596,23 +25765,27 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25596
25765
|
]
|
|
25597
25766
|
}),
|
|
25598
25767
|
/* @__PURE__ */ d("div", {
|
|
25599
|
-
className: "
|
|
25768
|
+
className: "swe-workspace",
|
|
25600
25769
|
children: [/* @__PURE__ */ u("div", {
|
|
25601
|
-
className: "
|
|
25770
|
+
className: "swe-scroll-area swe-custom-scrollbar",
|
|
25602
25771
|
children: /* @__PURE__ */ d("div", {
|
|
25603
|
-
className: "
|
|
25772
|
+
className: "swe-page-container",
|
|
25604
25773
|
children: [/* @__PURE__ */ u("div", {
|
|
25605
|
-
className: "ruler-container sticky top-0
|
|
25774
|
+
className: "swe-ruler-container swe-sticky swe-top-0 swe-z-20",
|
|
25606
25775
|
children: /* @__PURE__ */ d("div", {
|
|
25607
25776
|
ref: w,
|
|
25608
|
-
className: "
|
|
25777
|
+
className: "swe-ruler-content",
|
|
25778
|
+
style: {
|
|
25779
|
+
width: "210mm",
|
|
25780
|
+
minWidth: "210mm"
|
|
25781
|
+
},
|
|
25609
25782
|
children: [
|
|
25610
25783
|
/* @__PURE__ */ u("div", {
|
|
25611
|
-
className: "
|
|
25784
|
+
className: "swe-ruler-margin-area swe-ruler-margin-left",
|
|
25612
25785
|
style: { width: `calc(${h}mm + ${W}mm)` }
|
|
25613
25786
|
}),
|
|
25614
25787
|
/* @__PURE__ */ d("div", {
|
|
25615
|
-
className: "
|
|
25788
|
+
className: "swe-ruler-marker",
|
|
25616
25789
|
style: {
|
|
25617
25790
|
left: `calc(${h}mm + ${W}mm)`,
|
|
25618
25791
|
transform: "translateX(-50%)"
|
|
@@ -25620,27 +25793,27 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25620
25793
|
onMouseDown: (e) => {
|
|
25621
25794
|
e.preventDefault(), pe("left");
|
|
25622
25795
|
},
|
|
25623
|
-
children: [/* @__PURE__ */ u("div", { className: "
|
|
25796
|
+
children: [/* @__PURE__ */ u("div", { className: "swe-ruler-marker-triangle" }), /* @__PURE__ */ u("div", { className: "swe-ruler-marker-box" })]
|
|
25624
25797
|
}),
|
|
25625
25798
|
/* @__PURE__ */ u("div", {
|
|
25626
|
-
className: "
|
|
25799
|
+
className: "swe-ruler-ticks",
|
|
25627
25800
|
children: [...Array(20)].map((e, t) => /* @__PURE__ */ d("div", {
|
|
25628
|
-
className: "
|
|
25801
|
+
className: "swe-ruler-tick-group",
|
|
25629
25802
|
children: [/* @__PURE__ */ u("span", {
|
|
25630
|
-
className: "
|
|
25803
|
+
className: "swe-ruler-tick-label",
|
|
25631
25804
|
children: t + 1
|
|
25632
25805
|
}), /* @__PURE__ */ d("div", {
|
|
25633
|
-
className: "
|
|
25634
|
-
children: [/* @__PURE__ */ u("div", { className: "ruler-tick" }), /* @__PURE__ */ u("div", { className: "ruler-tick" })]
|
|
25806
|
+
className: "swe-ruler-subticks",
|
|
25807
|
+
children: [/* @__PURE__ */ u("div", { className: "swe-ruler-tick-small" }), /* @__PURE__ */ u("div", { className: "swe-ruler-tick-small" })]
|
|
25635
25808
|
})]
|
|
25636
25809
|
}, t))
|
|
25637
25810
|
}),
|
|
25638
25811
|
/* @__PURE__ */ u("div", {
|
|
25639
|
-
className: "
|
|
25812
|
+
className: "swe-ruler-margin-area swe-ruler-margin-right",
|
|
25640
25813
|
style: { width: `calc(${g}mm + ${G}mm)` }
|
|
25641
25814
|
}),
|
|
25642
25815
|
/* @__PURE__ */ u("div", {
|
|
25643
|
-
className: "
|
|
25816
|
+
className: "swe-ruler-marker",
|
|
25644
25817
|
style: {
|
|
25645
25818
|
right: `calc(${g}mm + ${G}mm)`,
|
|
25646
25819
|
transform: "translateX(50%)"
|
|
@@ -25648,16 +25821,16 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25648
25821
|
onMouseDown: (e) => {
|
|
25649
25822
|
e.preventDefault(), pe("right");
|
|
25650
25823
|
},
|
|
25651
|
-
children: /* @__PURE__ */ u("div", { className: "
|
|
25824
|
+
children: /* @__PURE__ */ u("div", { className: "swe-ruler-marker-triangle" })
|
|
25652
25825
|
})
|
|
25653
25826
|
]
|
|
25654
25827
|
})
|
|
25655
25828
|
}), /* @__PURE__ */ u("div", {
|
|
25656
|
-
className: "
|
|
25829
|
+
className: "swe-py-8 swe-flex swe-w-full",
|
|
25657
25830
|
children: /* @__PURE__ */ u("div", {
|
|
25658
|
-
className: "
|
|
25831
|
+
className: "swe-page-wrapper",
|
|
25659
25832
|
children: je ? /* @__PURE__ */ u("textarea", {
|
|
25660
|
-
className: "editor-content outline-none text-
|
|
25833
|
+
className: "swe-editor-content swe-outline-none swe-text-11pt swe-text-black swe-font-mono swe-resize-none",
|
|
25661
25834
|
style: {
|
|
25662
25835
|
paddingTop: "20mm",
|
|
25663
25836
|
paddingBottom: "20mm",
|
|
@@ -25678,7 +25851,7 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25678
25851
|
onInput: Y,
|
|
25679
25852
|
onMouseUp: at,
|
|
25680
25853
|
onClick: At,
|
|
25681
|
-
className: "editor-content outline-none text-
|
|
25854
|
+
className: "swe-editor-content swe-outline-none swe-text-12pt swe-text-black",
|
|
25682
25855
|
style: {
|
|
25683
25856
|
paddingTop: "20mm",
|
|
25684
25857
|
paddingBottom: "20mm",
|
|
@@ -25691,48 +25864,48 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25691
25864
|
})]
|
|
25692
25865
|
})
|
|
25693
25866
|
}), ze && /* @__PURE__ */ d("div", {
|
|
25694
|
-
className: "
|
|
25867
|
+
className: "swe-sidebar",
|
|
25695
25868
|
children: [
|
|
25696
25869
|
/* @__PURE__ */ d("div", {
|
|
25697
|
-
className: "
|
|
25870
|
+
className: "swe-sidebar-header",
|
|
25698
25871
|
children: [/* @__PURE__ */ d("div", {
|
|
25699
|
-
className: "flex items-center gap-2",
|
|
25872
|
+
className: "swe-flex swe-items-center swe-gap-2",
|
|
25700
25873
|
children: [/* @__PURE__ */ u(xl, {
|
|
25701
25874
|
size: 16,
|
|
25702
|
-
className: "text-
|
|
25875
|
+
className: "swe-text-primary-blue"
|
|
25703
25876
|
}), /* @__PURE__ */ u("span", {
|
|
25704
|
-
className: "text-xs font-
|
|
25877
|
+
className: "swe-text-xs swe-font-bold swe-uppercase swe-tracking-widest",
|
|
25705
25878
|
children: "Navigation"
|
|
25706
25879
|
})]
|
|
25707
25880
|
}), /* @__PURE__ */ u("button", {
|
|
25708
25881
|
onClick: () => Be(!1),
|
|
25709
|
-
className: "
|
|
25882
|
+
className: "swe-btn-icon swe-rounded-full",
|
|
25710
25883
|
title: "Close Sidebar",
|
|
25711
25884
|
children: /* @__PURE__ */ u(kl, { size: 16 })
|
|
25712
25885
|
})]
|
|
25713
25886
|
}),
|
|
25714
25887
|
/* @__PURE__ */ d("div", {
|
|
25715
|
-
className: "
|
|
25888
|
+
className: "swe-sidebar-tabs",
|
|
25716
25889
|
children: [/* @__PURE__ */ u("button", {
|
|
25717
25890
|
onClick: () => Ge("find"),
|
|
25718
|
-
className: `
|
|
25891
|
+
className: `swe-sidebar-tab ${We === "find" ? "swe-sidebar-tab-active" : ""}`,
|
|
25719
25892
|
children: "Find"
|
|
25720
25893
|
}), /* @__PURE__ */ u("button", {
|
|
25721
25894
|
onClick: () => Ge("replace"),
|
|
25722
|
-
className: `
|
|
25895
|
+
className: `swe-sidebar-tab ${We === "replace" ? "swe-sidebar-tab-active" : ""}`,
|
|
25723
25896
|
children: "Replace"
|
|
25724
25897
|
})]
|
|
25725
25898
|
}),
|
|
25726
25899
|
/* @__PURE__ */ d("div", {
|
|
25727
|
-
className: "
|
|
25900
|
+
className: "swe-sidebar-content swe-custom-scrollbar",
|
|
25728
25901
|
children: [
|
|
25729
25902
|
/* @__PURE__ */ d("div", {
|
|
25730
|
-
className: "
|
|
25903
|
+
className: "swe-flex-col",
|
|
25731
25904
|
children: [/* @__PURE__ */ u("label", {
|
|
25732
|
-
className: "
|
|
25905
|
+
className: "swe-sidebar-label",
|
|
25733
25906
|
children: "Search Document"
|
|
25734
25907
|
}), /* @__PURE__ */ d("div", {
|
|
25735
|
-
className: "
|
|
25908
|
+
className: "swe-sidebar-input-wrapper",
|
|
25736
25909
|
children: [/* @__PURE__ */ u("input", {
|
|
25737
25910
|
type: "text",
|
|
25738
25911
|
value: J,
|
|
@@ -25741,21 +25914,21 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25741
25914
|
e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), We === "find" ? vt() : X(!1));
|
|
25742
25915
|
},
|
|
25743
25916
|
placeholder: "Type to search...",
|
|
25744
|
-
className: "
|
|
25917
|
+
className: "swe-sidebar-input",
|
|
25745
25918
|
autoFocus: !0
|
|
25746
25919
|
}), /* @__PURE__ */ u(xl, {
|
|
25747
25920
|
size: 14,
|
|
25748
|
-
className: "
|
|
25921
|
+
className: "swe-sidebar-input-icon"
|
|
25749
25922
|
})]
|
|
25750
25923
|
})]
|
|
25751
25924
|
}),
|
|
25752
25925
|
We === "replace" && /* @__PURE__ */ d("div", {
|
|
25753
|
-
className: "
|
|
25926
|
+
className: "swe-flex-col swe-animate-slide",
|
|
25754
25927
|
children: [/* @__PURE__ */ u("label", {
|
|
25755
|
-
className: "
|
|
25928
|
+
className: "swe-sidebar-label",
|
|
25756
25929
|
children: "Replace With"
|
|
25757
25930
|
}), /* @__PURE__ */ d("div", {
|
|
25758
|
-
className: "
|
|
25931
|
+
className: "swe-sidebar-input-wrapper",
|
|
25759
25932
|
children: [/* @__PURE__ */ u("input", {
|
|
25760
25933
|
type: "text",
|
|
25761
25934
|
value: He,
|
|
@@ -25764,31 +25937,31 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25764
25937
|
e.key === "Enter" && (e.preventDefault(), e.stopPropagation(), X(!1));
|
|
25765
25938
|
},
|
|
25766
25939
|
placeholder: "Replacement text...",
|
|
25767
|
-
className: "
|
|
25940
|
+
className: "swe-sidebar-input"
|
|
25768
25941
|
}), /* @__PURE__ */ u(_l, {
|
|
25769
25942
|
size: 14,
|
|
25770
|
-
className: "
|
|
25943
|
+
className: "swe-sidebar-input-icon"
|
|
25771
25944
|
})]
|
|
25772
25945
|
})]
|
|
25773
25946
|
}),
|
|
25774
25947
|
/* @__PURE__ */ d("div", {
|
|
25775
|
-
className: "flex items-center gap-2
|
|
25948
|
+
className: "swe-flex swe-items-center swe-gap-2 swe-mb-4",
|
|
25776
25949
|
children: [/* @__PURE__ */ u("input", {
|
|
25777
25950
|
type: "checkbox",
|
|
25778
25951
|
id: "caseSensitive",
|
|
25779
25952
|
checked: Ke,
|
|
25780
25953
|
onChange: (e) => qe(e.target.checked),
|
|
25781
|
-
className: "
|
|
25954
|
+
className: "swe-accent-blue"
|
|
25782
25955
|
}), /* @__PURE__ */ u("label", {
|
|
25783
25956
|
htmlFor: "caseSensitive",
|
|
25784
|
-
className: "text-
|
|
25957
|
+
className: "swe-text-xs swe-font-bold swe-uppercase swe-cursor-pointer",
|
|
25785
25958
|
children: "Case Sensitive"
|
|
25786
25959
|
})]
|
|
25787
25960
|
}),
|
|
25788
25961
|
/* @__PURE__ */ d("div", {
|
|
25789
|
-
className: "
|
|
25962
|
+
className: "swe-flex-col swe-gap-2",
|
|
25790
25963
|
children: [Je.message && /* @__PURE__ */ d("div", {
|
|
25791
|
-
className: `
|
|
25964
|
+
className: `swe-status-msg swe-animate-slide ${Je.type === "error" ? "swe-status-error" : Je.type === "success" ? "swe-status-success" : "swe-status-info"}`,
|
|
25792
25965
|
children: [
|
|
25793
25966
|
Je.type === "error" && /* @__PURE__ */ u(Jc, { size: 12 }),
|
|
25794
25967
|
Je.type === "success" && /* @__PURE__ */ u(Yc, { size: 12 }),
|
|
@@ -25798,33 +25971,33 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25798
25971
|
}), We === "replace" ? /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ d("button", {
|
|
25799
25972
|
onClick: () => X(!1),
|
|
25800
25973
|
disabled: !J,
|
|
25801
|
-
className: "
|
|
25974
|
+
className: "swe-btn-sidebar-main swe-btn-sidebar-success",
|
|
25802
25975
|
children: [/* @__PURE__ */ u(_l, { size: 14 }), " Replace Current"]
|
|
25803
25976
|
}), /* @__PURE__ */ d("button", {
|
|
25804
25977
|
onClick: () => X(!0),
|
|
25805
25978
|
disabled: !J,
|
|
25806
|
-
className: "
|
|
25979
|
+
className: "swe-btn-sidebar-main swe-btn-sidebar-outline swe-mt-2",
|
|
25807
25980
|
children: [/* @__PURE__ */ u(vl, { size: 14 }), " Replace All"]
|
|
25808
25981
|
})] }) : /* @__PURE__ */ u(l, { children: /* @__PURE__ */ d("button", {
|
|
25809
25982
|
onClick: vt,
|
|
25810
25983
|
disabled: !J,
|
|
25811
|
-
className: "
|
|
25984
|
+
className: "swe-btn-sidebar-main swe-btn-sidebar-primary",
|
|
25812
25985
|
children: ["Find Next Match ", /* @__PURE__ */ u(qc, { size: 14 })]
|
|
25813
25986
|
}) })]
|
|
25814
25987
|
}),
|
|
25815
25988
|
/* @__PURE__ */ d("div", {
|
|
25816
|
-
className: "
|
|
25989
|
+
className: "swe-sidebar-help-box",
|
|
25817
25990
|
children: [/* @__PURE__ */ u(Xc, {
|
|
25818
25991
|
size: 14,
|
|
25819
|
-
className: "
|
|
25992
|
+
className: "swe-sidebar-help-icon"
|
|
25820
25993
|
}), "Use the search box above to find specific terms throughout your document. The editor will automatically scroll and highlight matches."]
|
|
25821
25994
|
}),
|
|
25822
25995
|
We === "find" && Xe.length > 0 && /* @__PURE__ */ d("div", {
|
|
25823
|
-
className: "
|
|
25996
|
+
className: "swe-flex-col swe-mt-4",
|
|
25824
25997
|
children: [/* @__PURE__ */ d("div", {
|
|
25825
|
-
className: "flex
|
|
25998
|
+
className: "swe-flex swe-justify-between swe-items-center swe-mb-2",
|
|
25826
25999
|
children: [/* @__PURE__ */ d("span", {
|
|
25827
|
-
className: "text-
|
|
26000
|
+
className: "swe-text-xs swe-font-bold swe-uppercase swe-tracking-widest",
|
|
25828
26001
|
children: [
|
|
25829
26002
|
"Results (",
|
|
25830
26003
|
Xe.length,
|
|
@@ -25832,26 +26005,26 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25832
26005
|
]
|
|
25833
26006
|
}), /* @__PURE__ */ u("button", {
|
|
25834
26007
|
onClick: () => Ze([]),
|
|
25835
|
-
className: "text-
|
|
26008
|
+
className: "swe-text-xs swe-text-primary-blue swe-font-bold swe-uppercase hover:underline",
|
|
25836
26009
|
children: "Clear"
|
|
25837
26010
|
})]
|
|
25838
26011
|
}), /* @__PURE__ */ u("div", {
|
|
25839
|
-
className: "
|
|
26012
|
+
className: "swe-search-results-list swe-custom-scrollbar",
|
|
25840
26013
|
children: Xe.map((t, n) => /* @__PURE__ */ d("button", {
|
|
25841
26014
|
onClick: () => _t(t),
|
|
25842
|
-
className: "
|
|
26015
|
+
className: "swe-search-result-item",
|
|
25843
26016
|
children: [/* @__PURE__ */ d("div", {
|
|
25844
|
-
className: "text-
|
|
26017
|
+
className: "swe-text-xs swe-font-bold swe-uppercase swe-mb-1 swe-flex swe-items-center swe-gap-1",
|
|
25845
26018
|
children: [
|
|
25846
26019
|
/* @__PURE__ */ u(xl, {
|
|
25847
26020
|
size: 10,
|
|
25848
|
-
className: "
|
|
26021
|
+
className: "swe-text-primary-blue"
|
|
25849
26022
|
}),
|
|
25850
26023
|
"Result ",
|
|
25851
26024
|
n + 1
|
|
25852
26025
|
]
|
|
25853
26026
|
}), /* @__PURE__ */ d("div", {
|
|
25854
|
-
className: "text-
|
|
26027
|
+
className: "swe-text-sm swe-italic swe-text-gray-600",
|
|
25855
26028
|
children: [
|
|
25856
26029
|
"...",
|
|
25857
26030
|
t.context.split(t.text).map((n, r, i) => /* @__PURE__ */ d(e.Fragment, { children: [n, r < i.length - 1 && /* @__PURE__ */ u("span", {
|
|
@@ -25910,7 +26083,7 @@ var Hl = ({ initialHTML: t = "<p>Start typing here...</p>", onChange: n, onSave:
|
|
|
25910
26083
|
]
|
|
25911
26084
|
})] }), document.body),
|
|
25912
26085
|
/* @__PURE__ */ d("div", {
|
|
25913
|
-
className: "status-bar
|
|
26086
|
+
className: "swe-status-bar",
|
|
25914
26087
|
children: [/* @__PURE__ */ d("div", {
|
|
25915
26088
|
className: "flex items-center gap-6",
|
|
25916
26089
|
children: [/* @__PURE__ */ d("div", {
|