@cloudflare/kumo 2.13.2 → 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +76 -0
- package/README.md +2 -2
- package/ai/component-registry.json +792 -64
- package/ai/component-registry.md +1666 -224
- package/ai/schemas.ts +110 -3
- package/dist/.build-complete +1 -1
- package/dist/ai/schemas.d.ts +360 -69
- package/dist/ai/schemas.js +216 -23
- package/dist/blocks-source/delete-resource/delete-resource.test.tsx +21 -0
- package/dist/blocks-source/delete-resource/delete-resource.tsx +14 -8
- package/dist/catalog.d.ts +11 -11
- package/dist/chunks/{index.parts-ef9111sjk9e3al87.js → AccordionPanelDataAttributes-mmrmkky28u1010l5.js} +189 -120
- package/dist/chunks/{AlertDialogTrigger-k3f8nevrda6awa4s.js → AlertDialogTrigger-l1r1gbxcky1xq889.js} +5 -5
- package/dist/chunks/AlertDialogTriggerDataAttributes-go49qon601catpgn.js +56 -0
- package/dist/chunks/{AutocompleteItem-ksckpihly1c23f3j.js → AutocompleteItem-36ysm5nwbsd0snr6.js} +17 -29
- package/dist/chunks/AutocompleteItemDataAttributes-n5rigpf0s9ylnwi3.js +232 -0
- package/dist/chunks/AutocompleteSeparator-bnqeqh7i983d92gx.js +12 -0
- package/dist/chunks/{index.parts-i4iu310eo65d7lfc.js → AvatarImageDataAttributes-jw70u384c83lhqfp.js} +111 -35
- package/dist/chunks/{Button-oczevl8g75m85ew9.js → ButtonDataAttributes-nceand1fi7lvnmkb.js} +12 -4
- package/dist/chunks/{CSPContext-guqghj8kxoukvlky.js → CSPContext-iv67i0qqhihg8mur.js} +1 -7
- package/dist/chunks/{CSPProvider-f3it239kgztzgryk.js → CSPProvider-finau3a8hnc9o2td.js} +2 -2
- package/dist/chunks/{CheckboxGroup-g5xn5gnq8ocqyoum.js → CheckboxGroup-581mfftu99wvjb3a.js} +58 -45
- package/dist/chunks/{CheckboxGroupContext-f9wox07n2u5moq4h.js → CheckboxGroupContext-jf1bt3znvqlhrql6.js} +3 -5
- package/dist/chunks/CheckboxGroupDataAttributes-nskqcxts64symbvf.js +10 -0
- package/dist/chunks/{CheckboxRoot-o5bfpje6e4p6pdgm.js → CheckboxIndicator-i13dmhacfgqo328c.js} +187 -134
- package/dist/chunks/CheckboxIndicatorDataAttributes-3p29ju7nkczz1l2y.js +85 -0
- package/dist/chunks/{CollapsiblePanel-e80n35tnsb2cskt9.js → CollapsiblePanel-md5suzmtnsyz1kab.js} +39 -38
- package/dist/chunks/CollapsibleRootDataAttributes-bynmgxmt4jikaoha.js +36 -0
- package/dist/chunks/{ComboboxClear-glm805v81uaaf3su.js → ComboboxClear-ioejwvtnmqanph88.js} +91 -99
- package/dist/chunks/ComboboxClearDataAttributes-lo0enstdmrqpywsy.js +402 -0
- package/dist/chunks/{ComboboxEmpty-hwv2kjxnf9un635e.js → ComboboxEmpty-gkt1y5b81a4983v7.js} +770 -702
- package/dist/chunks/ComboboxItemIndicatorDataAttributes-iku7l9ig0ve09an4.js +259 -0
- package/dist/chunks/{ComboboxPopup-fx7xex6g75t9u0gm.js → ComboboxPopup-n8cbgys9st446j1i.js} +57 -57
- package/dist/chunks/{CompositeItem-l7zee38lq5m224d5.js → CompositeItem-kepwg8jtvgap06o6.js} +4 -7
- package/dist/chunks/CompositeList-gwuaf6d14s4da0j0.js +182 -0
- package/dist/chunks/{CompositeListContext-oetjj2x8li8678as.js → CompositeListContext-bejvmlu39hsfjzgu.js} +2 -5
- package/dist/chunks/{CompositeRoot-l6ot8jo0umdics5m.js → CompositeRoot-dnlkb27uw4g5aocf.js} +61 -63
- package/dist/chunks/{CompositeRootContext-ofhzmevv7hadjhyy.js → CompositeRootContext-obm54j7y6s86qwhq.js} +1 -1
- package/dist/chunks/{index.parts-bv57na43ve93uz3x.js → ContextMenuTriggerDataAttributes-xwozccynxv6pk5s0.js} +82 -37
- package/dist/chunks/DialogBackdropDataAttributes-jwqxd6jla03xh8ke.js +28 -0
- package/dist/chunks/DialogCloseDataAttributes-12m7gwh3i6fd7d05.js +76 -0
- package/dist/chunks/{DialogPopup-mp89aob2nown2akq.js → DialogPopup-n6w7b389e7bs0472.js} +31 -72
- package/dist/chunks/DialogRoot-hkkqj7vcjpkx8qk8.js +16 -0
- package/dist/chunks/{DialogTrigger-cmok07cf3ks0kzug.js → DialogTrigger-kpugfkbfswqrus4u.js} +23 -20
- package/dist/chunks/DialogTriggerDataAttributes-bp9bu13cvwuddh5b.js +18 -0
- package/dist/chunks/DialogViewportDataAttributes-mma9emv1edsc1vuy.js +78 -0
- package/dist/chunks/{DirectionContext-jc1g0w645603sd6p.js → DirectionContext-kpby968j030psajn.js} +1 -4
- package/dist/chunks/{DirectionProvider-ihtfgxd5qpm6oth1.js → DirectionProvider-cg0pwzgdyg6r73r6.js} +2 -2
- package/dist/chunks/DrawerViewport-mzqpwvqtylnad8ib.js +1532 -0
- package/dist/chunks/DrawerViewportDataAttributes-dd9593zm9fl9vcsm.js +1072 -0
- package/dist/chunks/FieldControl-hjj2tcqruozadgdi.js +122 -0
- package/dist/chunks/{FieldDescription-ju607ea6gwgzga8p.js → FieldDescription-orix2gepowrp5ni4.js} +13 -12
- package/dist/chunks/{FieldItemContext-j85dc0ihramj5ezs.js → FieldItemContext-ohsf45im6xhpay40.js} +1 -1
- package/dist/chunks/FieldItemDataAttributes-m52srx69pispz49i.js +283 -0
- package/dist/chunks/FieldLabel-fjc7tdis7rcbq8o4.js +353 -0
- package/dist/chunks/{FieldsetLegend-j5piwq1giyhrr8s4.js → FieldsetLegend-gl9z9eezr0xg9zr7.js} +7 -14
- package/dist/chunks/FieldsetLegendDataAttributes-fn20251jxjqkpkxm.js +17 -0
- package/dist/chunks/{FieldsetRootContext-b633e9uzilttuyfi.js → FieldsetRootContext-fphwizvcm55ydg94.js} +1 -1
- package/dist/chunks/{FloatingPortalLite-mlt7ztrvhzepwi5y.js → FloatingPortalLite-j7dsy7gokbxdoe1i.js} +3 -3
- package/dist/chunks/{popupStateMapping-hdv48wmkzb2mqful.js → FloatingRootStore-men6ufp3a2b296fh.js} +215 -243
- package/dist/chunks/{FloatingTree-oosjswl1s9q4obvg.js → FloatingTree-kiyzavvaum442o1s.js} +6 -6
- package/dist/chunks/Form-oz425k7r4abea8o4.js +113 -0
- package/dist/chunks/{FormContext-xz0b4h7ue30fkkn1.js → FormContext-jv19engyccpf6xcl.js} +4 -3
- package/dist/chunks/{Input-ovqfhsmpfcrg5czm.js → Input-ozudotydd679ly63.js} +2 -2
- package/dist/chunks/InputDataAttributes-oy8t6q5y5t8ik02j.js +42 -0
- package/dist/chunks/ItemIndicator-cvf8cw5fv5l3cd8j.js +37 -0
- package/dist/chunks/{LabelableContext-hetas2e4y0kywfas.js → LabelableContext-dz4wz3lu3lgqusu7.js} +50 -46
- package/dist/chunks/ListboxSeparator-skazx18vzzj7i9zp.js +21 -0
- package/dist/chunks/MenuClearDataAttributes-fo0pekd36n56mdxu.js +1645 -0
- package/dist/chunks/{MenuSubmenuTrigger-fzubf5xr7ohsgsi7.js → MenuSubmenuTrigger-hm5xbgik6aq95x35.js} +917 -473
- package/dist/chunks/MenuSubmenuTriggerDataAttributes-gdfxdjymgmnaxdds.js +372 -0
- package/dist/chunks/{MenuTrigger-ntugq34yppc8ouwe.js → MenuTrigger-dlfvicsaggss0o9m.js} +45 -46
- package/dist/chunks/{Menubar-d57cyjuztbge4dvv.js → Menubar-ja5int05ihjj0ra4.js} +29 -30
- package/dist/chunks/{MenubarContext-ei2r6vu6lmsspozo.js → MenubarContext-ooz0h08i55c8oip5.js} +1 -1
- package/dist/chunks/{MeterLabel-c40b0q8r81cftkjj.js → MeterLabel-cykbkvqys5263z05.js} +15 -18
- package/dist/chunks/{index.parts-fl4zaorc97ed3keb.js → NavigationMenuIconDataAttributes-l82pkpm61d0meqxf.js} +470 -278
- package/dist/chunks/NullStore-my62xo2vfcfkerri.js +110 -0
- package/dist/chunks/{index.parts-7z8hqx6zl9yajzvs.js → NumberFieldScrubAreaCursorDataAttributes-k2lsbk35svshnwf5.js} +592 -528
- package/dist/chunks/{index.parts-bmzuqorz0tmneh7t.js → OTPFieldInputDataAttributes-gvgtu2gg85kgjzwr.js} +189 -70
- package/dist/chunks/{PopoverClose-e91n3nkw16qnyese.js → PopoverViewport-peh28i8q4hqfjy97.js} +271 -224
- package/dist/chunks/PopoverViewportDataAttributes-gplhq9d7ffp9q8u3.js +329 -0
- package/dist/chunks/PrehydrationScript-hs2je3mndbxuts7w.js +78 -0
- package/dist/chunks/{index.parts-nd3mitrhxf806lsa.js → PreviewCardViewportDataAttributes-bgfwmyshey7fx6nr.js} +369 -147
- package/dist/chunks/ProgressLabelDataAttributes-j8mutcz11ei0ohvj.js +287 -0
- package/dist/chunks/{RadioGroup-lsix4haqxfigpuv8.js → RadioGroup-kioqngmmuo7a1lfa.js} +49 -51
- package/dist/chunks/{RadioGroupContext-ft0nndmzqynjz8a2.js → RadioGroupContext-dr6uihsj7oky0eol.js} +1 -1
- package/dist/chunks/RadioGroupDataAttributes-dpdr6xe4ve204qwb.js +10 -0
- package/dist/chunks/{RadioIndicator-mwkahpwyqfc6yk1i.js → RadioIndicator-bhxqih8wzv7hyrec.js} +108 -105
- package/dist/chunks/RadioIndicatorDataAttributes-n5yupp5psifu0d4f.js +80 -0
- package/dist/chunks/{ScrollAreaThumb-kmhan411yxfo0362.js → ScrollAreaThumb-hxig41yn4lrurd3o.js} +373 -389
- package/dist/chunks/ScrollAreaThumbDataAttributes-gup5wfxvqye6jj27.js +137 -0
- package/dist/chunks/SelectScrollUpArrowDataAttributes-fce5i1afjkb0necr.js +473 -0
- package/dist/chunks/{SelectGroupLabel-m4h5hrft9043nsd1.js → SelectSeparator-nnak70azojox8b2b.js} +593 -561
- package/dist/chunks/{Separator-b8wf5rea6m1cei8k.js → Separator-fhwve0tfny3tht3a.js} +2 -2
- package/dist/chunks/SeparatorDataAttributes-ch6e63bas7zflw00.js +11 -0
- package/dist/chunks/{index.parts-hxjt52jbictdzgad.js → SliderIndicator-h1o3qbrvr8x0t4t2.js} +341 -399
- package/dist/chunks/SliderIndicatorDataAttributes-ff2f1cjealif5nvo.js +240 -0
- package/dist/chunks/{SwitchRoot-e3hnyh3mf8qd30hj.js → SwitchRoot-m4t2tq5zn5wibyxk.js} +96 -89
- package/dist/chunks/SwitchThumbDataAttributes-f95ld864on9y6ptk.js +90 -0
- package/dist/chunks/{TabsList-c0inft3sf8gi2o4v.js → TabsList-n5n93rxr4sy704u8.js} +225 -178
- package/dist/chunks/TabsListDataAttributes-e03a7kbubuf02z1l.js +183 -0
- package/dist/chunks/ToastArrowDataAttributes-jbnvz3kp6a35slgj.js +136 -0
- package/dist/chunks/{Toggle-c8p9m3puz8l4mav7.js → ToggleDataAttributes-jl9ojyvwgrvefke6.js} +28 -14
- package/dist/chunks/{ToggleGroupContext-cdk2zo6ciddpockn.js → ToggleGroupContext-hg8zbkgqpscqhz83.js} +3 -5
- package/dist/chunks/{ToggleGroup-xz9zrh7t1htn6ht4.js → ToggleGroupDataAttributes-n1dwona1alvabstl.js} +35 -39
- package/dist/chunks/{ToolbarGroupContext-nriz3632ymugfj6h.js → ToolbarGroupContext-eawva8xkxb4osbxb.js} +3 -5
- package/dist/chunks/{ToolbarInput-er5t9irqvuwcjrir.js → ToolbarInput-kyxl1be0p3cyuayp.js} +28 -33
- package/dist/chunks/ToolbarInputDataAttributes-n4a18a4km735du04.js +150 -0
- package/dist/chunks/{ToolbarRootContext-lvi96r1vvs93rhde.js → ToolbarRootContext-difqbj720teyt8lu.js} +1 -1
- package/dist/chunks/{TooltipPopup-l2zrbjavf1cqclfx.js → TooltipPopup-furysmeyb68uycbz.js} +132 -161
- package/dist/chunks/{TooltipProvider-eyhgia63aq2x4frl.js → TooltipProvider-hyans0ens4axh1y8.js} +14 -17
- package/dist/chunks/TooltipViewportDataAttributes-gkwbezdq40ssuevg.js +312 -0
- package/dist/chunks/adaptiveOriginMiddleware-m9tqzw58wya9sdds.js +51 -0
- package/dist/chunks/{addEventListener-lhqvk2ahlzjsanyg.js → addEventListener-ku3x23446prmd1kz.js} +1 -1
- package/dist/chunks/areArraysEqual-nnpg93s9g7aqcaoh.js +15 -0
- package/dist/chunks/{autocomplete-dn6g4rc8bktdl4an.js → autocomplete-kgp17p6oz4pczxt9.js} +10 -10
- package/dist/chunks/{badge-xw5ydgdjx2o5qxbl.js → badge-kyz53p7p0ng393bs.js} +4 -2
- package/dist/chunks/{banner-n1ekcvrwashsgv93.js → banner-cpla8vqjxaulggyd.js} +3 -3
- package/dist/chunks/{breadcrumbs-ffwe8tzqzmpyikq5.js → breadcrumbs-oyuqwb09l08uhok2.js} +9 -17
- package/dist/chunks/button-group-biv43ksvaipc3p5n.js +59 -0
- package/dist/chunks/{button-h36q7tklakhd38nx.js → button-oxy32x5w9x9az80g.js} +25 -6
- package/dist/chunks/{chart-qmls2klknm1pd6hs.js → chart-foxl6xbubuoshfcs.js} +945 -54
- package/dist/chunks/{checkbox-jachq6akfh72x12r.js → checkbox-o9627970y7c9ciqy.js} +90 -37
- package/dist/chunks/clamp-rcpupxvhqrn8uuyf.js +7 -0
- package/dist/chunks/{clipboard-text-ms46uaujvkjmjnng.js → clipboard-text-bhy88tgvk1o6wmyl.js} +6 -6
- package/dist/chunks/{cloudflare-logo-boafurcbm5ttoo4o.js → cloudflare-logo-d8mid9xr190h78cu.js} +3 -3
- package/dist/chunks/{code-eu8kzwqnlhoyin24.js → code-nj2nu6qzxhz6qnkk.js} +1 -1
- package/dist/chunks/{collapsible-jyajpe40jcca357s.js → collapsible-ic6813hc4yv5s5hv.js} +2 -2
- package/dist/chunks/{combobox-hxarufzb1z61xnbv.js → combobox-hwrq8etkr7p2id0x.js} +13 -12
- package/dist/chunks/{command-palette-iomiziccabzh4ogg.js → command-palette-el4x943vpmid0po0.js} +9 -9
- package/dist/chunks/{composite-o65hjzwwzb4kvl4w.js → composite-c11t1ok72s3cggjc.js} +9 -21
- package/dist/chunks/{constants-j09lrtg73n4vlx5x.js → constants-l10cgj6pyqg27jod.js} +1 -1
- package/dist/chunks/{core-kjfqbvgicl9i3abf.js → core-n0de50o00ej2ecfe.js} +69 -55
- package/dist/chunks/createBaseUIEventDetails-nvee6bghv2reeqdb.js +50 -0
- package/dist/chunks/{ComboboxChipRemove-ksyozjezihhstmbu.js → createItems-n07tfwx89cdoar18.js} +125 -104
- package/dist/chunks/{createToastManager-kv89sv0xhhsvmq54.js → createToastManager-cxjmn4jx3ejh85fs.js} +353 -361
- package/dist/chunks/{css-d3t41yfupsmz7l1a.js → css-j501gxq1am2gnikh.js} +1 -1
- package/dist/chunks/{date-picker-fwe3vllwco4u1utz.js → date-picker-oee5ehsrepnlmltj.js} +58 -51
- package/dist/chunks/{date-range-picker-iymdx410i1hpvxai.js → date-range-picker-hpx3cdu9ve01jx6d.js} +16 -15
- package/dist/chunks/{dialog-o0164pgcyc74lvp9.js → dialog-lgrwmsumwpftp2u8.js} +14 -11
- package/dist/chunks/{dropdown-d5qrzj1w1a96w2we.js → dropdown-o875yxeqod7qp871.js} +134 -31
- package/dist/chunks/empty-ft85jcbs7fd5t3tn.js +96 -0
- package/dist/chunks/{engine-io35xsj9fgfxtihg.js → engine-hzmefiqm63hu0c7i.js} +2 -2
- package/dist/chunks/{engine-javascript-d795u677f1802oaf.js → engine-javascript-e9xj8hhz9xfqhpnu.js} +200 -185
- package/dist/chunks/{engine-oniguruma-xjlw46ay321yj1av.js → engine-oniguruma-ias56ildu01gf939.js} +8 -7
- package/dist/chunks/error-lbnic2b20qr3mukp.js +6 -0
- package/dist/chunks/{field-kgz7w7yixmtpg010.js → field-jzzlgre0jmrr38o2.js} +4 -4
- package/dist/chunks/{flow-fmfb3ri8cxo7w9ci.js → flow-imvwzp5p2f8y2dxm.js} +83 -63
- package/dist/chunks/formatNumber-b4kjdsebslm2b3t0.js +21 -0
- package/dist/chunks/{getCssDimensions-mi941fe1jvztqm6b.js → getCssDimensions-gckwdrp86f73cv51.js} +2 -2
- package/dist/chunks/getElementTransform-cz3jyftv0x5io95f.js +38 -0
- package/dist/chunks/getFiniteAnimations-jwd833ybtz81j5f0.js +13 -0
- package/dist/chunks/getHighlightReason-fhc53kq6qakcct9s.js +15 -0
- package/dist/chunks/{getPseudoElementBounds-jg72lmrlwgbqhmjh.js → getPseudoElementBounds-csuw8kwsoeyxd5tv.js} +13 -4
- package/dist/chunks/{github-light-kb466scjoy42qxpu.js → github-light-hir7yctc38258pwt.js} +1 -1
- package/dist/chunks/{graphql-gtqr4wytdf0qjybo.js → graphql-n9vlzkvcp2j19p7a.js} +1 -1
- package/dist/chunks/{grid-fjlo3wlpkwgw56y9.js → grid-nwiczrab3r4w0zr2.js} +1 -1
- package/dist/chunks/{html-ijyj3f9k0foag15c.js → html-nimj6ljkkifnc9ni.js} +2 -2
- package/dist/chunks/{index.parts-lz9cnngidxppvhz7.js → index.parts-db9pzsm9rrs9tp0t.js} +27 -40
- package/dist/chunks/{index.parts-i5twygaksh86erb7.js → index.parts-ggacwr0yakuemead.js} +7 -6
- package/dist/chunks/{index.parts-kt0w73ciea6adi2i.js → index.parts-pcg3pmf3yyro841t.js} +2 -2
- package/dist/chunks/{inertValue-f9pgp32jxnm88df3.js → inertValue-n09gkjvwwa1kddov.js} +2 -2
- package/dist/chunks/inline-copy-text-57r67slswfqvgbaf.js +104 -0
- package/dist/chunks/{input-group-kshukialqry0fmra.js → input-group-n08mcd8b36wbylro.js} +11 -8
- package/dist/chunks/{input-ikfimmpl5sngvh9s.js → input-il37wjigy2xtgdo2.js} +12 -11
- package/dist/chunks/{input-pehjmr1q131tz38w.js → input-ksy1w6j1m6olz6ck.js} +3 -3
- package/dist/chunks/{isElementDisabled-ffsy1y4adxocmexb.js → isElementDisabled-dyqutxpzdfppbohx.js} +1 -1
- package/dist/chunks/itemEquality-ki3x4tzdhjlqjey6.js +56 -0
- package/dist/chunks/{label-ie2gpde0nco1avi7.js → label-hugrtzreeqk5mtqu.js} +10 -6
- package/dist/chunks/{layer-card-dnikj7emx8qeaspz.js → layer-card-mar4dya5kl1vvie6.js} +6 -4
- package/dist/chunks/layer-dialog-dwrrgv1wasrerow4.js +406 -0
- package/dist/chunks/{link-gp4swsrd3vfnvori.js → link-h84bkh8eem39p529.js} +4 -4
- package/dist/chunks/{loader-j2v6fab8iucuxz1z.js → loader-kv5nk8j8tsuesxqo.js} +2 -6
- package/dist/chunks/locale-provider-e3310bgo4lnffqkd.js +41 -0
- package/dist/chunks/{menubar-ljbsj2ulayebjyza.js → menubar-m5pqhx7lu5z7mkks.js} +14 -13
- package/dist/chunks/{mergeCleanups-pexn3wul6a4zn873.js → mergeCleanups-nw73c6jfwl5tyhw4.js} +1 -1
- package/dist/chunks/{meter-fl03ece4glrrzizj.js → meter-poh8jpe0qtq6mvee.js} +2 -2
- package/dist/chunks/{pagination-i3jewbdolgru0xnr.js → pagination-h24on80p2z5ugqdb.js} +3 -3
- package/dist/chunks/{popover-jal8z9sv176703lf.js → popover-nqrt3ykqv6sic8pz.js} +71 -17
- package/dist/chunks/popupHandle-dk3ixgc8flr7v971.js +177 -0
- package/dist/chunks/popupStoreUtils-czfnxn051xakask5.js +868 -0
- package/dist/chunks/{portal-provider-gznk6snyqj6egd6d.js → portal-provider-eveknxf26oudn7pp.js} +4 -0
- package/dist/chunks/radio-d3pkrvsldfbdefav.js +203 -0
- package/dist/chunks/reason-parts-hssx64rmlxyn6gw5.js +40 -0
- package/dist/chunks/{resolveAriaLabelledBy-h9qwvo10ftlj6t9k.js → resolveAriaLabelledBy-knaucrjrjwnk7tvs.js} +1 -1
- package/dist/chunks/{resolveValueLabel-bq3nrzord518kp9q.js → resolveValueLabel-ntacnb58mhka5gg0.js} +11 -30
- package/dist/chunks/{safePolygon-szbj0u31i6mpt36d.js → safePolygon-ep4133qogeu5vjf3.js} +51 -49
- package/dist/chunks/{safeReact-bavzz23j5tex60z2.js → safeReact-ek77ilng4ekk7mgz.js} +2 -2
- package/dist/chunks/scrollable-k784b35i80aolmvg.js +29 -0
- package/dist/chunks/{select-ndqpqpmqtmn497rq.js → select-ey03k4630uckf1rk.js} +10 -11
- package/dist/chunks/{sensitive-input-jtbp3mvdynz9wewu.js → sensitive-input-lfrrtyg9n5ulq3tb.js} +23 -28
- package/dist/chunks/{serializeValue-ci3kihruew64i36f.js → serializeValue-d1otz2i7h5tygrwf.js} +1 -1
- package/dist/chunks/{sidebar-icky50wdc2b1biw8.js → sidebar-gluq5b5oacrdk4m4.js} +120 -40
- package/dist/chunks/{skeleton-line-hlk5vauzo7xsalbo.js → skeleton-line-gjf1fecmyy82aejz.js} +9 -6
- package/dist/chunks/slider-juwif2d8xa5n0429.js +87 -0
- package/dist/chunks/{sql-do9h6435gka97c4c.js → sql-hqp2eekl7qhmxe92.js} +1 -1
- package/dist/chunks/{stringifyLocale-cl8et9xf6zon4qbs.js → stringifyLocale-gbxouqj7ol627jxh.js} +1 -1
- package/dist/chunks/{styles-dbhgpd8fm76fdfo3.js → styles-eb8bvypmayf578jf.js} +2 -2
- package/dist/chunks/{surface-ef2kr5pn7r1y3ipk.js → surface-ginwpan1pz61l6k2.js} +2 -2
- package/dist/chunks/{switch-oghrd7f6i5jqar59.js → switch-mqf1ulvle4nd6d2t.js} +4 -4
- package/dist/chunks/{table-miggde3uqhhrd5at.js → table-nysse5tiwf47gg4k.js} +2 -2
- package/dist/chunks/{table-of-contents-cvduqgssxdcbpagh.js → table-of-contents-gkjv9ck8etbz64ej.js} +5 -2
- package/dist/chunks/{tabs-mr2dsloqfe0io4a5.js → tabs-mmkz7q5rofnmogwt.js} +3 -3
- package/dist/chunks/tag-input-b10gfxoob9vcizpm.js +140 -0
- package/dist/chunks/{text-jzp4mdlr222iuzxt.js → text-me99rjbjkaff98gp.js} +4 -4
- package/dist/chunks/{toast-g435fvt74w5orxqo.js → toast-b4t9rt9y1sumcmy2.js} +8 -7
- package/dist/chunks/{toolbar-e0b61hr6ys6dmwhv.js → toolbar-hov6sa3ui366f447.js} +7 -6
- package/dist/chunks/{tooltip-jq15p5jzgfrhslpo.js → tooltip-lguwh8bjhxwnjfus.js} +4 -4
- package/dist/chunks/use-copy-feedback-gl55ghst0csvpv4j.js +55 -0
- package/dist/chunks/{useAnchoredPopupScrollLock-lbrqp1zm5z821z20.js → useAnchoredPopupScrollLock-msm8tzkewysnunut.js} +4 -4
- package/dist/chunks/{useAnimationFrame-ssgc72hyq6sg3yit.js → useAnimationFrame-k9lqdj9quln3sd85.js} +5 -4
- package/dist/chunks/{useAriaLabelledBy-bvw56m1d7czf0w3f.js → useAriaLabelledBy-j3j9jqlr9ukyk08s.js} +7 -9
- package/dist/chunks/{useBaseUiId-gqkl5ep5pn6hd0rw.js → useBaseUiId-nk4k7nj9h1cy76ny.js} +2 -2
- package/dist/chunks/{useButton-cpo6u2idqcnou6vy.js → useButton-lklvdzuhvj22bx07.js} +58 -21
- package/dist/chunks/{useClick-fvwb39qgead2jyft.js → useClick-pcbkcc7r620v1smu.js} +13 -12
- package/dist/chunks/{useCollapsiblePanel-bw63vwvq9a3sj73q.js → useCollapsiblePanel-lrfsgx21ds36cwlp.js} +116 -80
- package/dist/chunks/{useCompositeItem-esr3n4pmlssiuxuy.js → useCompositeItem-2juex3zh9gyrs8e9.js} +4 -4
- package/dist/chunks/useCompositeListItem-ekwo2j2rjkggg7xj.js +54 -0
- package/dist/chunks/{useControlled-nlx0kk1ksgk0auvi.js → useControlled-i3srnkxy598s0au9.js} +4 -4
- package/dist/chunks/useFieldValidation-oe16jiigp971yrzr.js +224 -0
- package/dist/chunks/{useFloatingRootContext-o6mk8fvodtbbm2v1.js → useFloatingRootContext-k676b6m7f80bdapd.js} +7 -7
- package/dist/chunks/{useFocus-gdfx28bn90keg8cf.js → useFocus-mn7a9t9v6fnlb4mf.js} +17 -15
- package/dist/chunks/useId-82z8yqlmc1hy1c5t.js +50 -0
- package/dist/chunks/useInitialLiveRegionTextMutation-nl2hus7zx1h7ggno.js +86 -0
- package/dist/chunks/{useLabel-nh9hf8h7o6oquqn5.js → useLabel-me6zzfvkypo458pi.js} +23 -12
- package/dist/chunks/useLabelableId-bjeh6q3pgrqjb7er.js +56 -0
- package/dist/chunks/{useListNavigation-jnxpvegv3ak857b1.js → useListNavigation-hpddbd0cc9pvt461.js} +62 -68
- package/dist/chunks/{useOnMount-j4wobeq47l3u9olo.js → useOnMount-gxggz1m0n869s6r0.js} +3 -3
- package/dist/chunks/{useOpenChangeComplete-dpkex2e23s1evpol.js → useOpenChangeComplete-edtabjwqmechsyv6.js} +51 -39
- package/dist/chunks/usePopupHandleStore-gawjmfjf1xdgiph3.js +27 -0
- package/dist/chunks/{usePopupViewport-hu0kn0ziyf1vqzrs.js → usePopupViewport-l6w01iohvzloghy8.js} +99 -75
- package/dist/chunks/{usePositioner-fz9uswhkhg22lo42.js → usePositioner-mzvgnazldqvy44z2.js} +160 -182
- package/dist/chunks/usePressAndHold-k9ynk78pgf677kpx.js +179 -0
- package/dist/chunks/{usePreviousValue-le0grv8f43vmunn1.js → usePreviousValue-o6swt5tb7xhpdu4e.js} +2 -2
- package/dist/chunks/{useRegisterFieldControl-m1rxsuvtpau2341n.js → useRegisterFieldControl-m1stc9l9y4cndf0k.js} +16 -10
- package/dist/chunks/{useRegisteredLabelId-dh83mybmzy75waje.js → useRegisteredLabelId-b7u9ygya03448zzn.js} +4 -4
- package/dist/chunks/{useRender-gtnbrp1ityffi4xf.js → useRender-h9ktka9xt4obdv6y.js} +2 -2
- package/dist/chunks/useRenderDialogRoot-bsqrqpc1ddau7xg4.js +312 -0
- package/dist/chunks/{useRenderElement-m8kc7jyuczp71mq8.js → useRenderElement-nkklxbq1rp7h2kw0.js} +59 -56
- package/dist/chunks/{useScrollLock-mpns3u42eks8hhex.js → useScrollLock-le7ajwlt7oh6fzxi.js} +108 -85
- package/dist/chunks/useSetFieldFocused-fbvj7gcv67dqfkp0.js +35 -0
- package/dist/chunks/{useStableCallback-ninxmksdjvwl6ejj.js → useStableCallback-le5qgj6p9l04729n.js} +3 -3
- package/dist/chunks/{useSwipeDismiss-bpbyw2ihsw3fw6y9.js → useSwipeDismiss-e8tfxzlp05p86mgb.js} +96 -217
- package/dist/chunks/{useTimeout-oqptmu2xmyv5ccic.js → useTimeout-f0ayn2l2l9aop4l8.js} +3 -3
- package/dist/chunks/{useTransitionStatus-ig4waxl2kervpyw4.js → useTransitionStatus-disysoblzgk34w14.js} +15 -7
- package/dist/chunks/{useTriggerFocusGuards-j8nano0pqu9dscrz.js → useTriggerFocusGuards-dyd3hb1m8en8ct50.js} +12 -21
- package/dist/chunks/useTriggerSwitchTransition-hk5j36hd5dq2ok6w.js +62 -0
- package/dist/chunks/{useTypeahead-onenwjyhgw955ygx.js → useTypeahead-kfdsw1ksl5bgvvzl.js} +20 -23
- package/dist/chunks/{useValueAsRef-lrn42zari17368c9.js → useValueAsRef-dv0tmfr1xlpzdlru.js} +3 -3
- package/dist/chunks/{useValueChanged-kthmz4wk7ywnjwtx.js → useValueChanged-fjssa2v6d4w8y332.js} +5 -8
- package/dist/chunks/{utils-0i7gujfv3f3e9dqh.js → utils-o44zfmzz9z7uyj1v.js} +0 -1
- package/dist/chunks/{valueToPercent-henpkkj3juy3ukeu.js → valueToPercent-djk2mqnihth2uvf6.js} +1 -1
- package/dist/chunks/{vendor-floating-ui-dsysdmve7iazaaes.js → vendor-floating-ui-fqblx3wa0r71mjoo.js} +87 -187
- package/dist/chunks/vendor-styling-gs32v7xt5znc8kg0.js +1167 -0
- package/dist/chunks/{vendor-utils-luqsvbyuig727bnr.js → vendor-utils-io8z5lsfxq8m2dcc.js} +191 -43
- package/dist/chunks/vesper-g839e590k3dxnwh3.js +5 -0
- package/dist/chunks/{visuallyHidden-n14xllazfozg55ox.js → visuallyHidden-kzzs9hbe93is3rci.js} +2 -1
- package/dist/chunks/{wasm-nfbosyhilcq70atf.js → wasm-cpasy0o9lsjrm39j.js} +1 -1
- package/dist/code/server.d.ts +9 -10
- package/dist/code/server.js +8 -7
- package/dist/code.d.ts +8 -8
- package/dist/code.js +23 -26
- package/dist/components/autocomplete.d.ts +1 -1
- package/dist/components/autocomplete.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/banner.js +1 -1
- package/dist/components/breadcrumbs.js +1 -1
- package/dist/components/button-group.d.ts +2 -0
- package/dist/components/button-group.js +3 -0
- package/dist/components/button.js +1 -1
- package/dist/components/chart.d.ts +2 -2
- package/dist/components/chart.js +2 -2
- package/dist/components/checkbox.d.ts +1 -1
- package/dist/components/checkbox.js +1 -1
- package/dist/components/clipboard-text.js +1 -1
- package/dist/components/cloudflare-logo.js +1 -1
- package/dist/components/code.js +1 -1
- package/dist/components/collapsible.js +1 -1
- package/dist/components/combobox.d.ts +1 -1
- package/dist/components/combobox.js +1 -1
- package/dist/components/command-palette.d.ts +1 -1
- package/dist/components/command-palette.js +1 -1
- package/dist/components/date-picker.d.ts +1 -1
- package/dist/components/date-picker.js +1 -1
- package/dist/components/date-range-picker.js +1 -1
- package/dist/components/dialog.d.ts +1 -1
- package/dist/components/dialog.js +1 -1
- package/dist/components/dropdown.d.ts +1 -1
- package/dist/components/dropdown.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.js +1 -1
- package/dist/components/flow.js +1 -1
- package/dist/components/grid.js +1 -1
- package/dist/components/inline-copy-text.d.ts +2 -0
- package/dist/components/inline-copy-text.js +3 -0
- package/dist/components/input-group.d.ts +1 -1
- package/dist/components/input-group.js +1 -1
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +3 -3
- package/dist/components/label.d.ts +1 -1
- package/dist/components/label.js +1 -1
- package/dist/components/layer-card.js +1 -1
- package/dist/components/layer-dialog.d.ts +2 -0
- package/dist/components/layer-dialog.js +3 -0
- package/dist/components/link.d.ts +8 -9
- package/dist/components/link.js +1 -1
- package/dist/components/loader.js +2 -2
- package/dist/components/menubar.js +1 -1
- package/dist/components/meter.js +1 -1
- package/dist/components/pagination.js +1 -1
- package/dist/components/popover.d.ts +1 -1
- package/dist/components/popover.js +1 -1
- package/dist/components/radio.d.ts +1 -1
- package/dist/components/radio.js +1 -1
- package/dist/components/select.d.ts +1 -1
- package/dist/components/select.js +1 -1
- package/dist/components/sensitive-input.d.ts +1 -1
- package/dist/components/sensitive-input.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -1
- package/dist/components/slider.d.ts +2 -0
- package/dist/components/slider.js +3 -0
- package/dist/components/surface.js +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.js +1 -1
- package/dist/components/table-of-contents.d.ts +1 -1
- package/dist/components/table-of-contents.js +1 -1
- package/dist/components/table.d.ts +1 -1
- package/dist/components/table.js +1 -1
- package/dist/components/tabs.d.ts +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/tag-input.d.ts +2 -0
- package/dist/components/tag-input.js +3 -0
- package/dist/components/text.d.ts +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/toast.d.ts +1 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toolbar.d.ts +1 -1
- package/dist/components/toolbar.js +1 -1
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +1 -1
- package/dist/{index-BXsHCLB82.d.ts → index--RbAKeBL.d.ts} +1 -1
- package/dist/index-5bJAnzUo.d.ts +156 -0
- package/dist/{index-BoPqM1Ia2.d.ts → index-AUC5xRcO.d.ts} +65 -8
- package/dist/{index-CeBzVJP8.d.ts → index-BK1tZgmP.d.ts} +1 -1
- package/dist/{index-CGbkysYW2.d.ts → index-BMe3cpLB.d.ts} +5 -4
- package/dist/{index-Di3sC6UF.d.ts → index-BW1HVU7T.d.ts} +34 -6
- package/dist/index-BWe6haHU.d.ts +64 -0
- package/dist/{index-BcRyiNd72.d.ts → index-BvNXYn7u.d.ts} +8 -1
- package/dist/index-C7RoG_CH.d.ts +57 -0
- package/dist/{index-D-y1ktn-.d.ts → index-CE09bLNb.d.ts} +5 -1
- package/dist/{index-DBlw3E9m.d.ts → index-CNJRbVxG.d.ts} +1 -1
- package/dist/{index-bAud6rG22.d.ts → index-CU_lnxg7.d.ts} +13 -4
- package/dist/index-CiwC1j1N.d.ts +37 -0
- package/dist/{index-Bw3M24Mi.d.ts → index-CrQi3QCY.d.ts} +2 -1
- package/dist/{index-Vj9ZzRh0.d.ts → index-DNsSKNUe.d.ts} +4 -1
- package/dist/{index-D97n4Bpf2.d.ts → index-DWZia2ui.d.ts} +1 -1
- package/dist/{index-J1qdw9mL.d.ts → index-DjSGDESy.d.ts} +36 -2
- package/dist/{index-_Sl5wohy2.d.ts → index-RP_rt8vB.d.ts} +1 -1
- package/dist/{index-Cp0aQngm.d.ts → index-T1sSoiWG.d.ts} +3 -1
- package/dist/{index-BlEUcijd.d.ts → index-fsZE0vPs.d.ts} +81 -1
- package/dist/index-jNWPjJl9.d.ts +75 -0
- package/dist/index.d.ts +36 -30
- package/dist/index.js +69 -59
- package/dist/{input-group-DpGSsAZy.d.ts → input-group-B3M_WRqm.d.ts} +1 -1
- package/dist/locale-provider-CAjVN3_0.d.ts +32 -0
- package/dist/{portal-provider-4AHCxYE6.d.ts → portal-provider-BAqPpq_a.d.ts} +4 -0
- package/dist/primitives/accordion.js +2 -2
- package/dist/primitives/alert-dialog.js +7 -2
- package/dist/primitives/autocomplete.js +5 -2
- package/dist/primitives/avatar.js +2 -2
- package/dist/primitives/button.js +2 -2
- package/dist/primitives/checkbox-group.js +3 -2
- package/dist/primitives/checkbox.js +3 -2
- package/dist/primitives/collapsible.js +4 -2
- package/dist/primitives/combobox.js +5 -2
- package/dist/primitives/context-menu.js +5 -2
- package/dist/primitives/csp-provider.js +1 -1
- package/dist/primitives/dialog.js +8 -2
- package/dist/primitives/direction-provider.js +2 -2
- package/dist/primitives/drawer.js +5 -2
- package/dist/primitives/field.js +3 -2
- package/dist/primitives/fieldset.js +2 -2
- package/dist/primitives/form.js +1 -1
- package/dist/primitives/input.js +3 -2
- package/dist/primitives/menu.js +5 -2
- package/dist/primitives/menubar.js +2 -2
- package/dist/primitives/meter.js +1 -1
- package/dist/primitives/navigation-menu.js +2 -2
- package/dist/primitives/number-field.js +2 -2
- package/dist/primitives/otp-field.js +3 -2
- package/dist/primitives/popover.js +2 -2
- package/dist/primitives/preview-card.js +2 -2
- package/dist/primitives/progress.js +2 -2
- package/dist/primitives/radio-group.js +3 -2
- package/dist/primitives/radio.js +3 -2
- package/dist/primitives/scroll-area.js +3 -2
- package/dist/primitives/select.js +4 -2
- package/dist/primitives/separator.js +3 -2
- package/dist/primitives/slider.js +3 -2
- package/dist/primitives/switch.js +3 -2
- package/dist/primitives/tabs.js +3 -2
- package/dist/primitives/toast.js +4 -2
- package/dist/primitives/toggle-group.js +2 -2
- package/dist/primitives/toggle.js +2 -2
- package/dist/primitives/toolbar.js +2 -2
- package/dist/primitives/tooltip.js +3 -2
- package/dist/primitives.d.ts +2 -2
- package/dist/primitives.js +70 -42
- package/dist/scripts/theme-generator/config.d.ts +4 -5
- package/dist/scripts/theme-generator/types.d.ts +12 -13
- package/dist/styles/kumo-standalone.css +1 -1
- package/dist/{index-Dzzi1o7w2.d.ts → text-B4l7S5Z0.d.ts} +60 -1
- package/dist/{tooltip-BuCo6Ki4.d.ts → tooltip-D_vhi1PN.d.ts} +1 -1
- package/dist/{types-C402rKiz.d.ts → types-C6in2C8V.d.ts} +6 -3
- package/dist/utils.d.ts +3 -3
- package/dist/utils.js +5 -4
- package/package.json +27 -6
- package/scripts/component-registry/discovery.ts +4 -0
- package/scripts/component-registry/metadata.ts +75 -0
- package/scripts/generate-globe-land-mask.mjs +80 -0
- package/dist/chunks/CheckboxIndicator-igofmpn0wcfdqooa.js +0 -49
- package/dist/chunks/CompositeList-tx08unuok7wsl2d9.js +0 -129
- package/dist/chunks/DialogHandle-b3froel96o9fwjmm.js +0 -139
- package/dist/chunks/DialogRoot-fp7d16uxogvye294.js +0 -15
- package/dist/chunks/FieldControl-oz007qbkl6ejp7di.js +0 -104
- package/dist/chunks/FieldLabel-f6vwzm8nefzxwlh8.js +0 -558
- package/dist/chunks/Form-is7d5c1kbk1wn39s.js +0 -102
- package/dist/chunks/MenuBackdrop-dlntmavtopj7wv0l.js +0 -78
- package/dist/chunks/areArraysEqual-nlbeaqlzf4274zr3.js +0 -7
- package/dist/chunks/clamp-kvu4wtr1dw6b3pnd.js +0 -7
- package/dist/chunks/createBaseUIEventDetails-ddivuhl74gni72qn.js +0 -86
- package/dist/chunks/empty-ox60d384lkwbj5n4.js +0 -89
- package/dist/chunks/error-mm98alb8acdy93vq.js +0 -15
- package/dist/chunks/formatNumber-hjijm58g645q6a0n.js +0 -26
- package/dist/chunks/getEmptyRootContext-ekvv3rp5w16ewoqx.js +0 -18
- package/dist/chunks/index.parts-c5yto0l67i7ok5fd.js +0 -206
- package/dist/chunks/index.parts-cpviii2nt413tb8k.js +0 -30
- package/dist/chunks/index.parts-gj1k50tf9fcs7nru.js +0 -81
- package/dist/chunks/index.parts-gslyp9n88qdh38n1.js +0 -10
- package/dist/chunks/index.parts-hve0zir3biaolih0.js +0 -128
- package/dist/chunks/index.parts-i4lbjqdnhsnjtny6.js +0 -88
- package/dist/chunks/index.parts-ieuelcd4z5e0mcb7.js +0 -73
- package/dist/chunks/index.parts-j2ecf25zajyd5ia3.js +0 -11
- package/dist/chunks/index.parts-jmb5ztstw4xlfyp9.js +0 -46
- package/dist/chunks/index.parts-jv5kiaeixrjah9js.js +0 -119
- package/dist/chunks/index.parts-k7ezm98skegahepw.js +0 -2464
- package/dist/chunks/index.parts-komdbdvf823cm5jw.js +0 -41
- package/dist/chunks/index.parts-lhpuh6pw7rjcddnl.js +0 -156
- package/dist/chunks/index.parts-mr7tgwe4pgfozkt5.js +0 -245
- package/dist/chunks/index.parts-nc6jzjq91z2nye75.js +0 -11
- package/dist/chunks/index.parts-nzwjx603vcq1kryz.js +0 -127
- package/dist/chunks/index2.parts-kiwz8e3k8utvm4zb.js +0 -67
- package/dist/chunks/index2.parts-mv7x6w0p2splvf6b.js +0 -10
- package/dist/chunks/popupStoreUtils-jrxqkz5jmlijlr91.js +0 -367
- package/dist/chunks/radio-gvy6ekh5hu9awlru.js +0 -173
- package/dist/chunks/store-9b2cp7rx1dvq90fp.js +0 -88
- package/dist/chunks/useCompositeListItem-0exfww37ospqz69b.js +0 -75
- package/dist/chunks/useDismiss-kbtx2o3ruyh3jwgn.js +0 -353
- package/dist/chunks/useFilteredItems-ns32d3hpp626kt73.js +0 -183
- package/dist/chunks/useForcedRerendering-el1fbg3ib5yo0v7k.js +0 -14
- package/dist/chunks/useId-l9soitgw3e4jk5ie.js +0 -32
- package/dist/chunks/useIsHydrating-b6whcsimonagru6u.js +0 -22
- package/dist/chunks/useLabelableId-b1kwq9st3rjrtakn.js +0 -60
- package/dist/chunks/useRenderDialogRoot-hhowqeoreyr6uuc7.js +0 -262
- package/dist/chunks/vendor-styling-da1xibnxfkjmtglr.js +0 -3631
- package/dist/chunks/vesper-ho3j3gt6ilwfuc1g.js +0 -5
- package/dist/cn-DCSItmT-.d.ts +0 -5
- /package/dist/{index-AMEc1MEg2.d.ts → index-AMEc1MEg.d.ts} +0 -0
- /package/dist/{index-D2Gvly0i2.d.ts → index-D2Gvly0i.d.ts} +0 -0
- /package/dist/{index-DIV3riUd2.d.ts → index-DIV3riUd.d.ts} +0 -0
- /package/dist/{index-FCkuxSvs2.d.ts → index-FCkuxSvs.d.ts} +0 -0
package/dist/chunks/{sensitive-input-jtbp3mvdynz9wewu.js → sensitive-input-lfrrtyg9n5ulq3tb.js}
RENAMED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
3
|
-
import { t as Input } from "./Input-
|
|
4
|
-
import { t as Field } from "./field-
|
|
5
|
-
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-
|
|
6
|
-
import {
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
+
import { t as Input } from "./Input-ozudotydd679ly63.js";
|
|
4
|
+
import { t as Field } from "./field-jzzlgre0jmrr38o2.js";
|
|
5
|
+
import { n as KUMO_INPUT_VARIANTS, r as inputVariants } from "./input-ksy1w6j1m6olz6ck.js";
|
|
6
|
+
import { t as useCopyFeedback } from "./use-copy-feedback-gl55ghst0csvpv4j.js";
|
|
7
|
+
import { forwardRef, useCallback, useId, useRef, useState } from "react";
|
|
7
8
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
9
|
import { Eye, EyeSlash } from "@phosphor-icons/react";
|
|
9
10
|
//#region src/components/sensitive-input/sensitive-input.tsx
|
|
@@ -30,7 +31,7 @@ const SensitiveInput = forwardRef(({ value: controlledValue, defaultValue = "",
|
|
|
30
31
|
const value = isControlled ? controlledValue : internalValue;
|
|
31
32
|
const hasValue = value.length > 0;
|
|
32
33
|
const [mode, setMode] = useState(() => hasValue ? "masked" : "empty");
|
|
33
|
-
const
|
|
34
|
+
const { copied, runCopy } = useCopyFeedback();
|
|
34
35
|
const inputRef = useRef(null);
|
|
35
36
|
const containerRef = useRef(null);
|
|
36
37
|
const liveRegionId = useId();
|
|
@@ -42,23 +43,17 @@ const SensitiveInput = forwardRef(({ value: controlledValue, defaultValue = "",
|
|
|
42
43
|
if (typeof ref === "function") ref(node);
|
|
43
44
|
else if (ref) ref.current = node;
|
|
44
45
|
}, [ref]);
|
|
45
|
-
useEffect(() => {
|
|
46
|
-
if (copied) {
|
|
47
|
-
const timeoutId = setTimeout(() => setCopied(false), 2e3);
|
|
48
|
-
return () => clearTimeout(timeoutId);
|
|
49
|
-
}
|
|
50
|
-
}, [copied]);
|
|
51
46
|
const copyToClipboard = useCallback(async (e) => {
|
|
52
47
|
e.stopPropagation();
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
48
|
+
if (await runCopy(async (isCurrent) => {
|
|
49
|
+
try {
|
|
50
|
+
if (typeof navigator !== "undefined" && navigator.clipboard && typeof navigator.clipboard.writeText === "function") {
|
|
51
|
+
await navigator.clipboard.writeText(value);
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
} catch {}
|
|
55
|
+
if (!isCurrent()) return;
|
|
56
|
+
if (typeof document === "undefined") throw new Error("Clipboard API is unavailable");
|
|
62
57
|
const textarea = document.createElement("textarea");
|
|
63
58
|
textarea.value = value;
|
|
64
59
|
textarea.setAttribute("readonly", "");
|
|
@@ -69,11 +64,7 @@ const SensitiveInput = forwardRef(({ value: controlledValue, defaultValue = "",
|
|
|
69
64
|
const previousRange = selection?.rangeCount ? selection.getRangeAt(0) : null;
|
|
70
65
|
textarea.select();
|
|
71
66
|
try {
|
|
72
|
-
document.execCommand("copy");
|
|
73
|
-
setCopied(true);
|
|
74
|
-
onCopy?.();
|
|
75
|
-
} catch (error) {
|
|
76
|
-
console.warn("Clipboard copy failed", error);
|
|
67
|
+
if (!document.execCommand("copy")) throw new Error("Copy command was not accepted");
|
|
77
68
|
} finally {
|
|
78
69
|
document.body.removeChild(textarea);
|
|
79
70
|
if (previousRange) {
|
|
@@ -81,8 +72,12 @@ const SensitiveInput = forwardRef(({ value: controlledValue, defaultValue = "",
|
|
|
81
72
|
selection?.addRange(previousRange);
|
|
82
73
|
}
|
|
83
74
|
}
|
|
84
|
-
}
|
|
85
|
-
}, [
|
|
75
|
+
}, (error) => console.warn("Clipboard copy failed", error))) onCopy?.();
|
|
76
|
+
}, [
|
|
77
|
+
value,
|
|
78
|
+
onCopy,
|
|
79
|
+
runCopy
|
|
80
|
+
]);
|
|
86
81
|
const prevHasValueRef = useRef(hasValue);
|
|
87
82
|
if (prevHasValueRef.current !== hasValue) {
|
|
88
83
|
prevHasValueRef.current = hasValue;
|
package/dist/chunks/{serializeValue-ci3kihruew64i36f.js → serializeValue-d1otz2i7h5tygrwf.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@base-ui+react@1.
|
|
2
|
+
//#region ../../node_modules/.pnpm/@base-ui+react@1.9.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/internals/serializeValue.mjs
|
|
3
3
|
function serializeValue(value) {
|
|
4
4
|
if (value == null) return "";
|
|
5
5
|
if (typeof value === "string") return value;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { n as useLinkComponent } from "./link-provider-kbwllpbo24fvgioj.js";
|
|
4
|
-
import { n as TooltipProvider, t as Tooltip } from "./tooltip-
|
|
5
|
-
import { t as Button } from "./button-
|
|
6
|
-
import { t as SkeletonLine } from "./skeleton-line-
|
|
7
|
-
import {
|
|
4
|
+
import { n as TooltipProvider, t as Tooltip } from "./tooltip-lguwh8bjhxwnjfus.js";
|
|
5
|
+
import { t as Button } from "./button-oxy32x5w9x9az80g.js";
|
|
6
|
+
import { t as SkeletonLine } from "./skeleton-line-gjf1fecmyy82aejz.js";
|
|
7
|
+
import { i as ScrollAreaViewport, n as ScrollAreaContent, r as ScrollAreaScrollbar, s as ScrollAreaRoot, t as ScrollAreaThumb } from "./ScrollAreaThumb-hxig41yn4lrurd3o.js";
|
|
8
8
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { CaretRightIcon, XIcon } from "@phosphor-icons/react";
|
|
@@ -66,15 +66,62 @@ const SIDEBAR_WIDTH = "16.25rem";
|
|
|
66
66
|
const SIDEBAR_WIDTH_ICON = "57px";
|
|
67
67
|
const SIDEBAR_EASING = "cubic-bezier(0.77, 0, 0.175, 1)";
|
|
68
68
|
const SIDEBAR_ANIMATION_DURATION_MS = 250;
|
|
69
|
+
const TRANSITION_FALLBACK_GRACE_MS = 50;
|
|
69
70
|
const MOBILE_BREAKPOINT = 768;
|
|
70
71
|
const FOCUSABLE_SELECTOR = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
|
|
72
|
+
function useOpenChangeComplete(open, duration, onComplete, active = true) {
|
|
73
|
+
const enabled = active && onComplete !== void 0;
|
|
74
|
+
const callbackRef = useRef(onComplete);
|
|
75
|
+
const durationRef = useRef(duration);
|
|
76
|
+
const previousOpenRef = useRef(open);
|
|
77
|
+
const previousActiveRef = useRef(active);
|
|
78
|
+
const pendingOpenRef = useRef(void 0);
|
|
79
|
+
const timeoutRef = useRef(void 0);
|
|
80
|
+
callbackRef.current = onComplete;
|
|
81
|
+
durationRef.current = duration;
|
|
82
|
+
const complete = useCallback(() => {
|
|
83
|
+
const pendingOpen = pendingOpenRef.current;
|
|
84
|
+
if (pendingOpen === void 0) return;
|
|
85
|
+
pendingOpenRef.current = void 0;
|
|
86
|
+
clearTimeout(timeoutRef.current);
|
|
87
|
+
callbackRef.current?.(pendingOpen);
|
|
88
|
+
}, []);
|
|
89
|
+
useEffect(() => {
|
|
90
|
+
const openChanged = previousOpenRef.current !== open;
|
|
91
|
+
const wasActive = previousActiveRef.current;
|
|
92
|
+
previousOpenRef.current = open;
|
|
93
|
+
previousActiveRef.current = active;
|
|
94
|
+
if (!enabled) {
|
|
95
|
+
pendingOpenRef.current = void 0;
|
|
96
|
+
clearTimeout(timeoutRef.current);
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (!wasActive || !openChanged) return;
|
|
100
|
+
pendingOpenRef.current = open;
|
|
101
|
+
if (durationRef.current === 0 || window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
|
102
|
+
complete();
|
|
103
|
+
return;
|
|
104
|
+
}
|
|
105
|
+
timeoutRef.current = setTimeout(complete, durationRef.current + TRANSITION_FALLBACK_GRACE_MS);
|
|
106
|
+
return () => clearTimeout(timeoutRef.current);
|
|
107
|
+
}, [
|
|
108
|
+
active,
|
|
109
|
+
complete,
|
|
110
|
+
enabled,
|
|
111
|
+
open
|
|
112
|
+
]);
|
|
113
|
+
return complete;
|
|
114
|
+
}
|
|
71
115
|
function useIsMobile(breakpoint = MOBILE_BREAKPOINT) {
|
|
72
116
|
const query = `(max-width: ${breakpoint - 1}px)`;
|
|
73
|
-
|
|
117
|
+
const subscribe = useCallback((callback) => {
|
|
74
118
|
const mql = window.matchMedia(query);
|
|
75
119
|
mql.addEventListener("change", callback);
|
|
76
120
|
return () => mql.removeEventListener("change", callback);
|
|
77
|
-
}, [query])
|
|
121
|
+
}, [query]);
|
|
122
|
+
const getSnapshot = useCallback(() => window.matchMedia(query).matches, [query]);
|
|
123
|
+
const getServerSnapshot = useCallback(() => false, []);
|
|
124
|
+
return useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
|
|
78
125
|
}
|
|
79
126
|
const SidebarContext = createContext(null);
|
|
80
127
|
/**
|
|
@@ -107,7 +154,7 @@ function useSidebar() {
|
|
|
107
154
|
const DEFAULT_WIDTH_PX = 256;
|
|
108
155
|
const MIN_WIDTH_PX = 200;
|
|
109
156
|
const MAX_WIDTH_PX = 480;
|
|
110
|
-
function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, variant = KUMO_SIDEBAR_DEFAULT_VARIANTS.variant, side = KUMO_SIDEBAR_DEFAULT_VARIANTS.side, collapsible = KUMO_SIDEBAR_DEFAULT_VARIANTS.collapsible, resizable = false, defaultWidth = DEFAULT_WIDTH_PX, minWidth = MIN_WIDTH_PX, maxWidth = MAX_WIDTH_PX, onWidthChange, contained = false, peekable = false, animationDuration = SIDEBAR_ANIMATION_DURATION_MS, mobileBreakpoint, children, className, style }) {
|
|
157
|
+
function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: setOpenProp, onOpenChangeComplete, variant = KUMO_SIDEBAR_DEFAULT_VARIANTS.variant, side = KUMO_SIDEBAR_DEFAULT_VARIANTS.side, collapsible = KUMO_SIDEBAR_DEFAULT_VARIANTS.collapsible, resizable = false, defaultWidth = DEFAULT_WIDTH_PX, minWidth = MIN_WIDTH_PX, maxWidth = MAX_WIDTH_PX, onWidthChange, contained = false, peekable = false, animationDuration = SIDEBAR_ANIMATION_DURATION_MS, mobileBreakpoint, children, className, style }) {
|
|
111
158
|
const isMobile = useIsMobile(mobileBreakpoint);
|
|
112
159
|
const [_openMobile, _setOpenMobile] = useState(false);
|
|
113
160
|
const [width, setWidthState] = useState(defaultWidth);
|
|
@@ -241,12 +288,21 @@ function SidebarProvider({ defaultOpen = true, open: openProp, onOpenChange: set
|
|
|
241
288
|
isResizing,
|
|
242
289
|
isPeeking
|
|
243
290
|
]);
|
|
291
|
+
const completeDesktopOpenChange = useOpenChangeComplete(open, animationDuration, onOpenChangeComplete, !isMobile);
|
|
292
|
+
const completeMobileOpenChange = useOpenChangeComplete(openMobile, animationDuration, onOpenChangeComplete, isMobile);
|
|
293
|
+
const completeOpenChange = isMobile ? completeMobileOpenChange : completeDesktopOpenChange;
|
|
294
|
+
const transitionProperty = isMobile ? "transform" : "width";
|
|
295
|
+
const handleOpenTransitionEnd = useCallback((event) => {
|
|
296
|
+
const target = event.target;
|
|
297
|
+
if (target.closest("[data-sidebar-wrapper]") === event.currentTarget && target.dataset.sidebar === "sidebar" && event.propertyName === transitionProperty) completeOpenChange();
|
|
298
|
+
}, [completeOpenChange, transitionProperty]);
|
|
244
299
|
return /* @__PURE__ */ jsx(SidebarContext.Provider, {
|
|
245
300
|
value: contextValue,
|
|
246
301
|
children: /* @__PURE__ */ jsx("div", {
|
|
247
302
|
"data-sidebar-wrapper": "",
|
|
248
303
|
"data-state": state,
|
|
249
304
|
"data-side": side,
|
|
305
|
+
onTransitionEnd: handleOpenTransitionEnd,
|
|
250
306
|
style: {
|
|
251
307
|
"--sidebar-width": sidebarWidthValue,
|
|
252
308
|
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
@@ -278,8 +334,10 @@ SidebarProvider.displayName = "Sidebar.Provider";
|
|
|
278
334
|
const SidebarRoot = forwardRef(({ className, contentClassName, children, fullScreenOnMobile = false, ...props }, ref) => {
|
|
279
335
|
const { state, open, isMobile, openMobile, setOpenMobile, side, variant, collapsible, isResizing, resizable, width, isPeeking, startPeek, stopPeek, contained } = useSidebar();
|
|
280
336
|
const mobileAsideRef = useCallback((node) => {
|
|
281
|
-
if (node)
|
|
282
|
-
|
|
337
|
+
if (node) {
|
|
338
|
+
if (!openMobile) node.setAttribute("inert", "");
|
|
339
|
+
else node.removeAttribute("inert");
|
|
340
|
+
}
|
|
283
341
|
}, [openMobile]);
|
|
284
342
|
const mergedMobileRef = useCallback((node) => {
|
|
285
343
|
mobileAsideRef(node);
|
|
@@ -775,7 +833,10 @@ const SidebarMenuSub = forwardRef(({ className, children, ...props }, ref) => /*
|
|
|
775
833
|
"data-sidebar": "menu-sub",
|
|
776
834
|
className: cn("relative m-0 flex min-w-0 list-none flex-col gap-y-px overflow-hidden p-0 pr-0 pl-7", className),
|
|
777
835
|
...props,
|
|
778
|
-
children: [/* @__PURE__ */ jsx("
|
|
836
|
+
children: [/* @__PURE__ */ jsx("li", {
|
|
837
|
+
"aria-hidden": "true",
|
|
838
|
+
className: "pointer-events-none absolute inset-y-px left-[19px] z-10 block w-px bg-kumo-line"
|
|
839
|
+
}), children]
|
|
779
840
|
}));
|
|
780
841
|
SidebarMenuSub.displayName = "Sidebar.MenuSub";
|
|
781
842
|
/**
|
|
@@ -1061,12 +1122,14 @@ const SidebarResizeHandle = forwardRef(({ className, ...props }, ref) => {
|
|
|
1061
1122
|
});
|
|
1062
1123
|
});
|
|
1063
1124
|
SidebarResizeHandle.displayName = "Sidebar.ResizeHandle";
|
|
1125
|
+
const isCollapsibleContentShown = (isOpen, { isMobile, openMobile, state }) => isOpen && (isMobile ? openMobile : state !== "collapsed");
|
|
1064
1126
|
const SidebarCollapseContext = createContext({
|
|
1065
1127
|
contentId: "",
|
|
1066
1128
|
isOpen: true,
|
|
1067
1129
|
isCollapsible: false,
|
|
1068
1130
|
autoScrollOnOpen: false,
|
|
1069
|
-
toggle: () => {}
|
|
1131
|
+
toggle: () => {},
|
|
1132
|
+
completeOpenChange: () => {}
|
|
1070
1133
|
});
|
|
1071
1134
|
/**
|
|
1072
1135
|
* Collapsible wrapper for sidebar sub-menu expand/collapse.
|
|
@@ -1090,9 +1153,12 @@ const SidebarCollapseContext = createContext({
|
|
|
1090
1153
|
* </Sidebar.MenuItem>
|
|
1091
1154
|
* ```
|
|
1092
1155
|
*/
|
|
1093
|
-
const SidebarCollapsible = forwardRef(({ defaultOpen = false, open: openProp, onOpenChange, autoScrollOnOpen = false, className, children, ...props }, ref) => {
|
|
1156
|
+
const SidebarCollapsible = forwardRef(({ defaultOpen = false, open: openProp, onOpenChange, onOpenChangeComplete, autoScrollOnOpen = false, className, children, ...props }, ref) => {
|
|
1157
|
+
const sidebar = useSidebar();
|
|
1158
|
+
const { animationDuration } = sidebar;
|
|
1094
1159
|
const [internalOpen, setInternalOpen] = useState(defaultOpen);
|
|
1095
1160
|
const isOpen = openProp ?? internalOpen;
|
|
1161
|
+
const isContentShown = isCollapsibleContentShown(isOpen, sidebar);
|
|
1096
1162
|
const contentId = useId();
|
|
1097
1163
|
const keyboardExpandedRef = useRef(false);
|
|
1098
1164
|
const toggle = useCallback(() => {
|
|
@@ -1101,17 +1167,20 @@ const SidebarCollapsible = forwardRef(({ defaultOpen = false, open: openProp, on
|
|
|
1101
1167
|
onOpenChange?.(next);
|
|
1102
1168
|
keyboardExpandedRef.current = false;
|
|
1103
1169
|
}, [isOpen, onOpenChange]);
|
|
1170
|
+
const completeOpenChange = useOpenChangeComplete(isContentShown, animationDuration, onOpenChangeComplete);
|
|
1104
1171
|
const contextValue = useMemo(() => ({
|
|
1105
1172
|
contentId,
|
|
1106
1173
|
isOpen,
|
|
1107
1174
|
isCollapsible: true,
|
|
1108
1175
|
autoScrollOnOpen,
|
|
1109
|
-
toggle
|
|
1176
|
+
toggle,
|
|
1177
|
+
completeOpenChange
|
|
1110
1178
|
}), [
|
|
1111
1179
|
contentId,
|
|
1112
1180
|
isOpen,
|
|
1113
1181
|
autoScrollOnOpen,
|
|
1114
|
-
toggle
|
|
1182
|
+
toggle,
|
|
1183
|
+
completeOpenChange
|
|
1115
1184
|
]);
|
|
1116
1185
|
const handleFocusIn = useCallback((e) => {
|
|
1117
1186
|
if (!isOpen && e.target.matches(":focus-visible")) {
|
|
@@ -1177,14 +1246,14 @@ SidebarCollapsibleTrigger.displayName = "Sidebar.CollapsibleTrigger";
|
|
|
1177
1246
|
*
|
|
1178
1247
|
* Always mounted (no unmount on close) so exit animations play.
|
|
1179
1248
|
*/
|
|
1180
|
-
const SidebarCollapsibleContent = forwardRef(({ className, children, ...props }, ref) => {
|
|
1181
|
-
const { contentId, isOpen: isCollapsibleOpen } = useContext(SidebarCollapseContext);
|
|
1182
|
-
const
|
|
1183
|
-
const {
|
|
1249
|
+
const SidebarCollapsibleContent = forwardRef(({ className, children, onTransitionEnd, ...props }, ref) => {
|
|
1250
|
+
const { contentId, isOpen: isCollapsibleOpen, autoScrollOnOpen, completeOpenChange } = useContext(SidebarCollapseContext);
|
|
1251
|
+
const sidebar = useSidebar();
|
|
1252
|
+
const { animationDuration } = sidebar;
|
|
1184
1253
|
const contentRef = useRef(null);
|
|
1185
|
-
const
|
|
1254
|
+
const isContentShown = isCollapsibleContentShown(isCollapsibleOpen, sidebar);
|
|
1186
1255
|
useEffect(() => {
|
|
1187
|
-
if (!
|
|
1256
|
+
if (!isContentShown || !autoScrollOnOpen) return;
|
|
1188
1257
|
const timeout = window.setTimeout(() => {
|
|
1189
1258
|
const prefersReducedMotion = window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
1190
1259
|
contentRef.current?.scrollIntoView({
|
|
@@ -1194,25 +1263,33 @@ const SidebarCollapsibleContent = forwardRef(({ className, children, ...props },
|
|
|
1194
1263
|
}, animationDuration);
|
|
1195
1264
|
return () => window.clearTimeout(timeout);
|
|
1196
1265
|
}, [
|
|
1197
|
-
|
|
1266
|
+
isContentShown,
|
|
1198
1267
|
autoScrollOnOpen,
|
|
1199
1268
|
animationDuration
|
|
1200
1269
|
]);
|
|
1201
1270
|
const inertRef = useCallback((node) => {
|
|
1202
|
-
if (node)
|
|
1203
|
-
|
|
1204
|
-
|
|
1271
|
+
if (node) {
|
|
1272
|
+
if (!isContentShown) node.setAttribute("inert", "");
|
|
1273
|
+
else node.removeAttribute("inert");
|
|
1274
|
+
}
|
|
1275
|
+
}, [isContentShown]);
|
|
1276
|
+
const mergedRef = useCallback((node) => {
|
|
1277
|
+
contentRef.current = node;
|
|
1278
|
+
inertRef(node);
|
|
1279
|
+
if (typeof ref === "function") ref(node);
|
|
1280
|
+
else if (ref) ref.current = node;
|
|
1281
|
+
}, [ref, inertRef]);
|
|
1282
|
+
const handleOpenTransitionEnd = useCallback((event) => {
|
|
1283
|
+
onTransitionEnd?.(event);
|
|
1284
|
+
if (event.target === event.currentTarget && event.propertyName === "grid-template-rows") completeOpenChange();
|
|
1285
|
+
}, [completeOpenChange, onTransitionEnd]);
|
|
1205
1286
|
return /* @__PURE__ */ jsx("div", {
|
|
1206
|
-
ref:
|
|
1207
|
-
contentRef.current = node;
|
|
1208
|
-
inertRef(node);
|
|
1209
|
-
if (typeof ref === "function") ref(node);
|
|
1210
|
-
else if (ref) ref.current = node;
|
|
1211
|
-
}, [ref, inertRef]),
|
|
1287
|
+
ref: mergedRef,
|
|
1212
1288
|
id: contentId,
|
|
1213
1289
|
role: "region",
|
|
1214
|
-
"aria-hidden": !
|
|
1215
|
-
|
|
1290
|
+
"aria-hidden": !isContentShown,
|
|
1291
|
+
onTransitionEnd: handleOpenTransitionEnd,
|
|
1292
|
+
className: cn("grid", "transition-[grid-template-rows] duration-(--sidebar-animation-duration) ease-(--sidebar-easing)", "motion-reduce:transition-none", isContentShown ? "grid-rows-[1fr]" : "grid-rows-[0fr]", className),
|
|
1216
1293
|
...props,
|
|
1217
1294
|
children: /* @__PURE__ */ jsx("div", {
|
|
1218
1295
|
className: "overflow-hidden",
|
|
@@ -1290,15 +1367,18 @@ SidebarSlidingViews.displayName = "Sidebar.SlidingViews";
|
|
|
1290
1367
|
const SidebarSlidingView = forwardRef(({ value, className, children, ...props }, ref) => {
|
|
1291
1368
|
const isActive = useContext(SlidingViewActiveContext) === value;
|
|
1292
1369
|
const inertRef = useCallback((node) => {
|
|
1293
|
-
if (node)
|
|
1294
|
-
|
|
1370
|
+
if (node) {
|
|
1371
|
+
if (!isActive) node.setAttribute("inert", "");
|
|
1372
|
+
else node.removeAttribute("inert");
|
|
1373
|
+
}
|
|
1295
1374
|
}, [isActive]);
|
|
1375
|
+
const mergedRef = useCallback((node) => {
|
|
1376
|
+
inertRef(node);
|
|
1377
|
+
if (typeof ref === "function") ref(node);
|
|
1378
|
+
else if (ref) ref.current = node;
|
|
1379
|
+
}, [ref, inertRef]);
|
|
1296
1380
|
return /* @__PURE__ */ jsx("div", {
|
|
1297
|
-
ref:
|
|
1298
|
-
inertRef(node);
|
|
1299
|
-
if (typeof ref === "function") ref(node);
|
|
1300
|
-
else if (ref) ref.current = node;
|
|
1301
|
-
}, [ref, inertRef]),
|
|
1381
|
+
ref: mergedRef,
|
|
1302
1382
|
"data-sidebar": "sliding-view",
|
|
1303
1383
|
"data-value": value,
|
|
1304
1384
|
"aria-hidden": !isActive,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as cn } from "./vendor-styling-
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
3
|
import { useMemo } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/loader/skeleton-line.tsx
|
|
@@ -29,11 +29,14 @@ const SkeletonLine = ({ minWidth = 30, maxWidth = 100, minDuration = 1.3, maxDur
|
|
|
29
29
|
className: cn("skeleton-line", className),
|
|
30
30
|
style: lineStyle
|
|
31
31
|
});
|
|
32
|
-
if (blockHeight !== void 0)
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
32
|
+
if (blockHeight !== void 0) {
|
|
33
|
+
const height = typeof blockHeight === "number" ? `${blockHeight}px` : blockHeight;
|
|
34
|
+
return /* @__PURE__ */ jsx("div", {
|
|
35
|
+
className: "flex items-center",
|
|
36
|
+
style: { height },
|
|
37
|
+
children: line
|
|
38
|
+
});
|
|
39
|
+
}
|
|
37
40
|
return line;
|
|
38
41
|
};
|
|
39
42
|
//#endregion
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as cn } from "./vendor-styling-gs32v7xt5znc8kg0.js";
|
|
3
|
+
import { a as SliderControl, c as SliderRoot, i as SliderTrack, n as SliderThumb, o as SliderValue, s as SliderLabel, t as SliderIndicator } from "./SliderIndicator-h1o3qbrvr8x0t4t2.js";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/slider/slider.tsx
|
|
6
|
+
/** Slider size definitions mapping sizes to their track heights. */
|
|
7
|
+
const KUMO_SLIDER_VARIANTS = { size: {
|
|
8
|
+
sm: {
|
|
9
|
+
classes: "h-6 rounded-md",
|
|
10
|
+
description: "Compact slider for dense layouts"
|
|
11
|
+
},
|
|
12
|
+
base: {
|
|
13
|
+
classes: "h-8 rounded-lg",
|
|
14
|
+
description: "Default slider size"
|
|
15
|
+
}
|
|
16
|
+
} };
|
|
17
|
+
const KUMO_SLIDER_DEFAULT_VARIANTS = { size: "base" };
|
|
18
|
+
function sliderVariants({ size = KUMO_SLIDER_DEFAULT_VARIANTS.size } = {}) {
|
|
19
|
+
return cn("bg-kumo-recessed p-[3px] ring ring-kumo-line", KUMO_SLIDER_VARIANTS.size[size].classes);
|
|
20
|
+
}
|
|
21
|
+
function countThumbs(value) {
|
|
22
|
+
return Array.isArray(value) ? value.length : 1;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Lets people pick a number, or a range between two numbers, by dragging a
|
|
26
|
+
* thumb along a track. Pass an array to `value` or `defaultValue` for a range.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```tsx
|
|
30
|
+
* <Slider label="Volume" defaultValue={40} />
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
function Slider({ label, size = KUMO_SLIDER_DEFAULT_VARIANTS.size, getAriaLabel, thumbAlignment = "edge", className, min = 0, max = 100, format, locale, value, defaultValue, ...props }) {
|
|
34
|
+
const thumbCount = countThumbs(value ?? defaultValue);
|
|
35
|
+
const isRange = thumbCount > 1;
|
|
36
|
+
const formatter = new Intl.NumberFormat(locale, format);
|
|
37
|
+
const textSize = size === "sm" ? "text-xs" : "text-sm";
|
|
38
|
+
const innerRadius = size === "sm" ? "rounded" : "rounded-md";
|
|
39
|
+
return /* @__PURE__ */ jsxs(SliderRoot, {
|
|
40
|
+
...props,
|
|
41
|
+
value,
|
|
42
|
+
defaultValue,
|
|
43
|
+
min,
|
|
44
|
+
max,
|
|
45
|
+
format,
|
|
46
|
+
locale,
|
|
47
|
+
thumbAlignment,
|
|
48
|
+
orientation: "horizontal",
|
|
49
|
+
className: cn("flex w-full flex-col gap-2 data-disabled:opacity-50", className),
|
|
50
|
+
children: [
|
|
51
|
+
label ? /* @__PURE__ */ jsx(SliderLabel, {
|
|
52
|
+
className: cn("font-medium text-kumo-default", textSize),
|
|
53
|
+
children: label
|
|
54
|
+
}) : null,
|
|
55
|
+
/* @__PURE__ */ jsx("div", {
|
|
56
|
+
className: sliderVariants({ size }),
|
|
57
|
+
children: /* @__PURE__ */ jsx(SliderControl, {
|
|
58
|
+
className: "h-full",
|
|
59
|
+
children: /* @__PURE__ */ jsxs(SliderTrack, {
|
|
60
|
+
className: "relative h-full",
|
|
61
|
+
children: [/* @__PURE__ */ jsx(SliderIndicator, { className: cn("box-content! bg-kumo-overlay pr-2 shadow-sm ring ring-kumo-line", isRange && "-ml-2 pl-2", innerRadius) }), Array.from({ length: thumbCount }, (_, index) => /* @__PURE__ */ jsxs(SliderThumb, {
|
|
62
|
+
index: isRange ? index : void 0,
|
|
63
|
+
getAriaLabel,
|
|
64
|
+
className: cn("group h-full w-4 cursor-grab outline-none has-focus-visible:ring-2 has-focus-visible:ring-kumo-focus data-disabled:cursor-not-allowed data-dragging:cursor-grabbing", innerRadius),
|
|
65
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
66
|
+
"aria-hidden": true,
|
|
67
|
+
className: "absolute top-1/2 left-1/2 h-1/2 w-0.5 -translate-1/2 rounded-full bg-kumo-contrast/25"
|
|
68
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
69
|
+
"aria-hidden": true,
|
|
70
|
+
className: cn("absolute top-full left-1/2 mt-[11px] -translate-x-1/2 rounded bg-kumo-contrast px-1.5 font-medium whitespace-nowrap text-kumo-inverse tabular-nums group-data-disabled:bg-kumo-fill group-data-disabled:text-kumo-default", textSize),
|
|
71
|
+
children: /* @__PURE__ */ jsx(SliderValue, { children: (formattedValues) => formattedValues[index] })
|
|
72
|
+
})]
|
|
73
|
+
}, index))]
|
|
74
|
+
})
|
|
75
|
+
})
|
|
76
|
+
}),
|
|
77
|
+
/* @__PURE__ */ jsxs("div", {
|
|
78
|
+
"aria-hidden": true,
|
|
79
|
+
className: cn("flex justify-between text-kumo-subtle tabular-nums", textSize),
|
|
80
|
+
children: [/* @__PURE__ */ jsx("span", { children: formatter.format(min) }), /* @__PURE__ */ jsx("span", { children: formatter.format(max) })]
|
|
81
|
+
})
|
|
82
|
+
]
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
Slider.displayName = "Slider";
|
|
86
|
+
//#endregion
|
|
87
|
+
export { sliderVariants as i, KUMO_SLIDER_VARIANTS as n, Slider as r, KUMO_SLIDER_DEFAULT_VARIANTS as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var sql_default = [Object.freeze(JSON.parse("{\"displayName\":\"SQL\",\"name\":\"sql\",\"patterns\":[{\"match\":\"((?<!@)@)\\\\b(\\\\w+)\\\\b\",\"name\":\"text.variable\"},{\"match\":\"(\\\\[)[^]]*(])\",\"name\":\"text.bracketed\"},{\"include\":\"#comments\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.create.sql\"},\"2\":{\"name\":\"keyword.other.sql\"},\"5\":{\"name\":\"entity.name.function.sql\"}},\"match\":\"(?i:^\\\\s*(create(?:\\\\s+or\\\\s+replace)?)\\\\s+(aggregate|conversion|database|domain|function|group|(unique\\\\s+)?index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\\\s+)([\\\"'`]?)(\\\\w+)\\\\4\",\"name\":\"meta.create.sql\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.create.sql\"},\"2\":{\"name\":\"keyword.other.sql\"}},\"match\":\"(?i:^\\\\s*(drop)\\\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view))\",\"name\":\"meta.drop.sql\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.create.sql\"},\"2\":{\"name\":\"keyword.other.table.sql\"},\"3\":{\"name\":\"entity.name.function.sql\"},\"4\":{\"name\":\"keyword.other.cascade.sql\"}},\"match\":\"(?i:\\\\s*(drop)\\\\s+(table)\\\\s+(\\\\w+)(\\\\s+cascade)?\\\\b)\",\"name\":\"meta.drop.sql\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.create.sql\"},\"2\":{\"name\":\"keyword.other.table.sql\"}},\"match\":\"(?i:^\\\\s*(alter)\\\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|proc(edure)?|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\\\s+)\",\"name\":\"meta.alter.sql\"},{\"captures\":{\"1\":{\"name\":\"storage.type.sql\"},\"2\":{\"name\":\"storage.type.sql\"},\"3\":{\"name\":\"constant.numeric.sql\"},\"4\":{\"name\":\"storage.type.sql\"},\"5\":{\"name\":\"constant.numeric.sql\"},\"6\":{\"name\":\"storage.type.sql\"},\"7\":{\"name\":\"constant.numeric.sql\"},\"8\":{\"name\":\"constant.numeric.sql\"},\"9\":{\"name\":\"storage.type.sql\"},\"10\":{\"name\":\"constant.numeric.sql\"},\"11\":{\"name\":\"storage.type.sql\"},\"12\":{\"name\":\"storage.type.sql\"},\"13\":{\"name\":\"storage.type.sql\"},\"14\":{\"name\":\"constant.numeric.sql\"},\"15\":{\"name\":\"storage.type.sql\"}},\"match\":\"(?i)\\\\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\\\\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\\\\b|\\\\b(bit\\\\svarying|character\\\\s(?:varying)?|tinyint|var\\\\schar|float|interval)\\\\((\\\\d+)\\\\)|\\\\b(char|number|varchar\\\\d?)\\\\b(?:\\\\((\\\\d+)\\\\))?|\\\\b(numeric|decimal)\\\\b(?:\\\\((\\\\d+),(\\\\d+)\\\\))?|\\\\b(times?)\\\\b(?:\\\\((\\\\d+)\\\\))?(\\\\swith(?:out)?\\\\stime\\\\szone\\\\b)?|\\\\b(timestamp)(s|tz)?\\\\b(?:\\\\((\\\\d+)\\\\))?(\\\\s(with(?:|out))\\\\stime\\\\szone\\\\b)?\"},{\"match\":\"(?i:\\\\b((?:primary|foreign)\\\\s+key|references|on\\\\s+(delete|update)(\\\\s+cascade)?|nocheck|check|constraint|collate|default)\\\\b)\",\"name\":\"storage.modifier.sql\"},{\"match\":\"\\\\b\\\\d+\\\\b\",\"name\":\"constant.numeric.sql\"},{\"match\":\"(?i:\\\\b(select(\\\\s+(all|distinct))?|insert\\\\s+(ignore\\\\s+)?into|update|delete|from|set|where|group\\\\s+by|or|like|and|union(\\\\s+all)?|having|order\\\\s+by|limit|cross\\\\s+join|join|straight_join|(inner|(left|right|full)(\\\\s+outer)?)\\\\s+join|natural(\\\\s+(inner|(left|right|full)(\\\\s+outer)?))?\\\\s+join)\\\\b)\",\"name\":\"keyword.other.DML.sql\"},{\"match\":\"(?i:\\\\b(on|off|((is\\\\s+)?not\\\\s+)?null)\\\\b)\",\"name\":\"keyword.other.DDL.create.II.sql\"},{\"match\":\"(?i:\\\\bvalues\\\\b)\",\"name\":\"keyword.other.DML.II.sql\"},{\"match\":\"(?i:\\\\b(begin(\\\\s+work)?|start\\\\s+transaction|commit(\\\\s+work)?|rollback(\\\\s+work)?)\\\\b)\",\"name\":\"keyword.other.LUW.sql\"},{\"match\":\"(?i:\\\\b(grant(\\\\swith\\\\sgrant\\\\soption)?|revoke)\\\\b)\",\"name\":\"keyword.other.authorization.sql\"},{\"match\":\"(?i:\\\\bin\\\\b)\",\"name\":\"keyword.other.data-integrity.sql\"},{\"match\":\"(?i:^\\\\s*(comment\\\\s+on\\\\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\\\\s+)\",\"name\":\"keyword.other.object-comments.sql\"},{\"match\":\"(?i)\\\\bAS\\\\b\",\"name\":\"keyword.other.alias.sql\"},{\"match\":\"(?i)\\\\b(DESC|ASC)\\\\b\",\"name\":\"keyword.other.order.sql\"},{\"match\":\"\\\\*\",\"name\":\"keyword.operator.star.sql\"},{\"match\":\"[!<>]?=|<>|[<>]\",\"name\":\"keyword.operator.comparison.sql\"},{\"match\":\"[-+/]\",\"name\":\"keyword.operator.math.sql\"},{\"match\":\"\\\\|\\\\|\",\"name\":\"keyword.operator.concatenator.sql\"},{\"captures\":{\"1\":{\"name\":\"support.function.aggregate.sql\"}},\"match\":\"(?i)\\\\b(approx_count_distinct|approx_percentile_cont|approx_percentile_disc|avg|checksum_agg|count|count_big|group|grouping|grouping_id|max|min|sum|stdevp??|varp??)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.analytic.sql\"}},\"match\":\"(?i)\\\\b(cume_dist|first_value|lag|last_value|lead|percent_rank|percentile_cont|percentile_disc)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.bitmanipulation.sql\"}},\"match\":\"(?i)\\\\b((?:bit_coun|get_bi|left_shif|right_shif|set_bi)t)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.conversion.sql\"}},\"match\":\"(?i)\\\\b(cast|convert|parse|try_cast|try_convert|try_parse)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.collation.sql\"}},\"match\":\"(?i)\\\\b(collationproperty|tertiary_weights)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.cryptographic.sql\"}},\"match\":\"(?i)\\\\b(asymkey_id|asymkeyproperty|certproperty|cert_id|crypt_gen_random|decryptbyasymkey|decryptbycert|decryptbykey|decryptbykeyautoasymkey|decryptbykeyautocert|decryptbypassphrase|encryptbyasymkey|encryptbycert|encryptbykey|encryptbypassphrase|hashbytes|is_objectsigned|key_guid|key_id|key_name|signbyasymkey|signbycert|symkeyproperty|verifysignedbycert|verifysignedbyasymkey)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.cursor.sql\"}},\"match\":\"(?i)\\\\b(cursor_status)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.datetime.sql\"}},\"match\":\"(?i)\\\\b(sysdatetime|sysdatetimeoffset|sysutcdatetime|current_time(stamp)?|getdate|getutcdate|datename|datepart|day|month|year|datefromparts|datetime2fromparts|datetimefromparts|datetimeoffsetfromparts|smalldatetimefromparts|timefromparts|datediff|dateadd|datetrunc|eomonth|switchoffset|todatetimeoffset|isdate|date_bucket)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.datatype.sql\"}},\"match\":\"(?i)\\\\b(datalength|ident_current|ident_incr|ident_seed|identity|sql_variant_property)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.expression.sql\"}},\"match\":\"(?i)\\\\b(coalesce|nullif)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.globalvar.sql\"}},\"match\":\"(?<!@)@@(?i)\\\\b(cursor_rows|connections|cpu_busy|datefirst|dbts|error|fetch_status|identity|idle|io_busy|langid|language|lock_timeout|max_connections|max_precision|nestlevel|options|packet_errors|pack_received|pack_sent|procid|remserver|rowcount|servername|servicename|spid|textsize|timeticks|total_errors|total_read|total_write|trancount|version)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.json.sql\"}},\"match\":\"(?i)\\\\b(json|isjson|json_object|json_array|json_value|json_query|json_modify|json_path_exists)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.logical.sql\"}},\"match\":\"(?i)\\\\b(choose|iif|greatest|least)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.mathematical.sql\"}},\"match\":\"(?i)\\\\b(abs|acos|asin|atan|atn2|ceiling|cos|cot|degrees|exp|floor|log|log10|pi|power|radians|rand|round|sign|sin|sqrt|square|tan)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.metadata.sql\"}},\"match\":\"(?i)\\\\b(app_name|applock_mode|applock_test|assemblyproperty|col_length|col_name|columnproperty|database_principal_id|databasepropertyex|db_id|db_name|file_id|file_idex|file_name|filegroup_id|filegroup_name|filegroupproperty|fileproperty|fulltextcatalogproperty|fulltextserviceproperty|index_col|indexkey_property|indexproperty|object_definition|object_id|object_name|object_schema_name|objectproperty|objectpropertyex|original_db_name|parsename|schema_id|schema_name|scope_identity|serverproperty|stats_date|type_id|type_name|typeproperty)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.ranking.sql\"}},\"match\":\"(?i)\\\\b(rank|dense_rank|ntile|row_number)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.rowset.sql\"}},\"match\":\"(?i)\\\\b(generate_series|opendatasource|openjson|openrowset|openquery|openxml|predict|string_split)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.security.sql\"}},\"match\":\"(?i)\\\\b(certencoded|certprivatekey|current_user|database_principal_id|has_perms_by_name|is_member|is_rolemember|is_srvrolemember|original_login|permissions|pwdcompare|pwdencrypt|schema_id|schema_name|session_user|suser_id|suser_sid|suser_sname|system_user|suser_name|user_id|user_name)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.string.sql\"}},\"match\":\"(?i)\\\\b(ascii|char|charindex|concat|difference|format|left|len|lower|ltrim|nchar|nodes|patindex|quotename|replace|replicate|reverse|right|rtrim|soundex|space|str|string_agg|string_escape|string_split|stuff|substring|translate|trim|unicode|upper)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.system.sql\"}},\"match\":\"(?i)\\\\b(binary_checksum|checksum|compress|connectionproperty|context_info|current_request_id|current_transaction_id|decompress|error_line|error_message|error_number|error_procedure|error_severity|error_state|formatmessage|get_filestream_transaction_context|getansinull|host_id|host_name|isnull|isnumeric|min_active_rowversion|newid|newsequentialid|rowcount_big|session_context|session_id|xact_state)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.textimage.sql\"}},\"match\":\"(?i)\\\\b(patindex|textptr|textvalid)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.vector.sql\"}},\"match\":\"(?i)\\\\b(vector_(?:distance|norm|normalize))\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"constant.other.database-name.sql\"},\"2\":{\"name\":\"constant.other.table-name.sql\"}},\"match\":\"(\\\\w+?)\\\\.(\\\\w+)\"},{\"include\":\"#strings\"},{\"include\":\"#regexps\"},{\"match\":\"\\\\b(?i)(abort|abort_after_wait|absent|absolute|accent_sensitivity|acceptable_cursopt|acp|action|activation|add|address|admin|aes_128|aes_192|aes_256|affinity|after|aggregate|algorithm|all_constraints|all_errormsgs|all_indexes|all_levels|all_results|allow_connections|allow_dup_row|allow_encrypted_value_modifications|allow_page_locks|allow_row_locks|allow_snapshot_isolation|alter|altercolumn|always|anonymous|ansi_defaults|ansi_null_default|ansi_null_dflt_off|ansi_null_dflt_on|ansi_nulls|ansi_padding|ansi_warnings|appdomain|append|application|apply|arithabort|arithignore|array|assembly|asymmetric|asynchronous_commit|at|atan2|atomic|attach|attach_force_rebuild_log|attach_rebuild_log|audit|auth_realm|authentication|auto|auto_cleanup|auto_close|auto_create_statistics|auto_drop|auto_shrink|auto_update_statistics|auto_update_statistics_async|automated_backup_preference|automatic|autopilot|availability|availability_mode|backup|backup_priority|base64|basic|batches|batchsize|before|between|bigint|binary|binding|bit|block|blockers|blocksize|bmk|both|break|broker|broker_instance|bucket_count|buffer|buffercount|bulk_logged|by|call|caller|card|case|catalog|catch|cert|certificate|change_retention|change_tracking|change_tracking_context|changes|char|character|character_set|check_expiration|check_policy|checkconstraints|checkindex|checkpoint|checksum|cleanup_policy|clear|clear_port|close|clustered|codepage|collection|column_encryption_key|column_master_key|columnstore|columnstore_archive|colv_80_to_100|colv_100_to_80|commit_differential_base|committed|compatibility_level|compress_all_row_groups|compression|compression_delay|concat_null_yields_null|concatenate|configuration|connect|connection|containment|continue|continue_after_error|contract|contract_name|control|conversation|conversation_group_id|conversation_handle|copy|copy_only|count_rows|counter|create(\\\\\\\\s+or\\\\\\\\s+alter)?|credential|cross|cryptographic|cryptographic_provider|cube|cursor|cursor_close_on_commit|cursor_default|data|data_compression|data_flush_interval_seconds|data_mirroring|data_purity|data_source|database|database_name|database_snapshot|datafiletype|date_correlation_optimization|date|datefirst|dateformat|date_format|datetime2??|datetimeoffset|day(s)?|db_chaining|dbid|dbidexec|dbo_only|deadlock_priority|deallocate|dec|decimal|declare|decrypt|decrypt_a|decryption|default_database|default_fulltext_language|default_language|default_logon_domain|default_schema|definition|delay|delayed_durability|delimitedtext|density_vector|dependent|des|description|desired_state|desx|differential|digest|disable|disable_broker|disable_def_cnst_chk|disabled|disk|distinct|distributed|distribution|drop|drop_existing|dts_buffers|dump|durability|dynamic|edition|elements|else|emergency|empty|enable|enable_broker|enabled|encoding|encrypted|encrypted_value|encryption|encryption_type|end|endpoint|endpoint_url|enhancedintegrity|entry|error_broker_conversations|errorfile|estimateonly|event|except|exec|executable|execute|exists|expand|expiredate|expiry_date|explicit|external|external_access|failover|failover_mode|failure_condition_level|fast|fast_forward|fastfirstrow|federated_service_account|fetch|field_terminator|fieldterminator|file|filelistonly|filegroup|filegrowth|filename|filestream|filestream_log|filestream_on|filetable|file_format|filter|first_row|fips_flagger|fire_triggers|first|firstrow|float|flush_interval_seconds|fmtonly|following|for|force|force_failover_allow_data_loss|force_service_allow_data_loss|forced|forceplan|formatfile|format_options|format_type|formsof|forward_only|free_cursors|free_exec_context|fullscan|fulltext|fulltextall|fulltextkey|function|generated|get|geography|geometry|global|go|goto|governor|guid|hadoop|hardening|hash|hashed|header_limit|headeronly|health_check_timeout|hidden|hierarchyid|histogram|histogram_steps|hits_cursors|hits_exec_context|hour(s)?|http|identity|identity_value|if|ifnull|ignore|ignore_constraints|ignore_dup_key|ignore_dup_row|ignore_triggers|image|immediate|implicit_transactions|include|include_null_values|incremental|index|inflectional|init|initiator|insensitive|insert|instead|int|integer|integrated|intersect|intermediate|interval_length_minutes|into|inuse_cursors|inuse_exec_context|io|is|isabout|iso_week|isolation|job_tracker_location|json|keep|keep_nulls|keep_replication|keepdefaults|keepfixed|keepidentity|keepnulls|kerberos|key|key_path|key_source|key_store_provider_name|keyset|kill|kilobytes_per_batch|labelonly|langid|language|last|lastrow|leading|legacy_cardinality_estimation|length|level|lifetime|lineage_80_to_100|lineage_100_to_80|listener_ip|listener_port|load|loadhistory|lob_compaction|local|local_service_name|locate|location|lock_escalation|lock_timeout|lockres|log|login|login_type|loop|manual|mark_in_use_for_removal|masked|master|match|matched|max_queue_readers|max_duration|max_outstanding_io_per_volume|maxdop|maxerrors|maxlength|maxtransfersize|max_plans_per_query|max_storage_size_mb|mediadescription|medianame|mediapassword|memogroup|memory_optimized|merge|message|message_forward_size|message_forwarding|microsecond|millisecond|minute(s)?|mirror_address|misses_cursors|misses_exec_context|mixed|modify|money|month|move|multi_user|must_change|name|namespace|nanosecond|native|native_compilation|nchar|ncharacter|nested_triggers|never|new_account|new_broker|newname|next|no|no_browsetable|no_checksum|no_compression|no_infomsgs|no_triggers|no_truncate|nocount|noexec|noexpand|noformat|noinit|nolock|nonatomic|nonclustered|nondurable|none|norecompute|norecovery|noreset|norewind|noskip|not|notification|nounload|now|nowait|ntext|ntlm|nulls|numeric|numeric_roundabort|nvarchar|object|objid|oem|offline|old_account|online|operation_mode|open|openjson|optimistic|option|orc|out|outer|output|over|override|owner|ownership|pad_index|page|page_checksum|page_verify|pagecount|paglock|param|parameter_sniffing|parameter_type_expansion|parameterization|parquet|parseonly|partial|partition|partner|password|path|pause|percentage|permission_set|persisted|period|physical_only|plan_forcing_mode|policy|pool|population|ports|preceding|precision|predicate|presume_abort|primary|primary_role|print|prior|priority |priority_level|private|proc(edure)?|procedure_name|profile|provider|quarter|query_capture_mode|query_governor_cost_limit|query_optimizer_hotfixes|query_store|queue|quoted_identifier|raiserror|range|raw|rcfile|rc2|rc4|rc4_128|rdbms|read_committed_snapshot|read|read_only|read_write|readcommitted|readcommittedlock|readonly|readpast|readuncommitted|readwrite|real|rebuild|receive|recmodel_70backcomp|recompile|reconfigure|recovery|recursive|recursive_triggers|redo_queue|reject_sample_value|reject_type|reject_value|relative|remote|remote_data_archive|remote_proc_transactions|remote_service_name|remove|removed_cursors|removed_exec_context|reorganize|repeat|repeatable|repeatableread|replace|replica|replicated|replnick_100_to_80|replnickarray_80_to_100|replnickarray_100_to_80|required|required_cursopt|resample|reset|resource|resource_manager_location|respect|restart|restore|restricted_user|resume|retaindays|retention|return|revert|rewind|rewindonly|returns|robust|role|rollup|root|round_robin|route|row|rowdump|rowguidcol|rowlock|row_terminator|rows|rows_per_batch|rowsets_only|rowterminator|rowversion|rsa_1024|rsa_2048|rsa_3072|rsa_4096|rsa_512|safe|safety|sample|save|scalar|schema|schemabinding|scoped|scroll|scroll_locks|sddl|second|secexpr|seconds|secondary|secondary_only|secondary_role|secret|security|securityaudit|selective|self|send|sent|sequence|serde_method|serializable|server|service|service_broker|service_name|service_objective|session_timeout|sessions??|seterror|setopts|sets|shard_map_manager|shard_map_name|sharded|shared_memory|shortest_path|show_statistics|showplan_all|showplan_text|showplan_xml|showplan_xml_with_recompile|shrinkdb|shutdown|sid|signature|simple|single_blob|single_clob|single_nclob|single_user|singleton|site|size|size_based_cleanup_mode|skip|smalldatetime|smallint|smallmoney|snapshot|snapshot_import|snapshotrestorephase|soap|softnuma|sort_in_tempdb|sorted_data|sorted_data_reorg|spatial|sql|sql_bigint|sql_binary|sql_bit|sql_char|sql_date|sql_decimal|sql_double|sql_float|sql_guid|sql_handle|sql_longvarbinary|sql_longvarchar|sql_numeric|sql_real|sql_smallint|sql_time|sql_timestamp|sql_tinyint|sql_tsi_day|sql_tsi_frac_second|sql_tsi_hour|sql_tsi_minute|sql_tsi_month|sql_tsi_quarter|sql_tsi_second|sql_tsi_week|sql_tsi_year|sql_type_date|sql_type_time|sql_type_timestamp|sql_varbinary|sql_varchar|sql_variant|sql_wchar|sql_wlongvarchar|ssl|ssl_port|standard|standby|start|start_date|started|stat_header|state|statement|static|statistics|statistics_incremental|statistics_norecompute|statistics_only|statman|stats|stats_stream|status|stop|stop_on_error|stopat|stopatmark|stopbeforemark|stoplist|stopped|string_delimiter|subject|supplemental_logging|supported|suspend|symmetric|synchronous_commit|synonym|sysname|system|system_time|system_versioning|table|tableresults|tablockx??|take|tape|target|target_index|target_partition|target_recovery_time|tcp|temporal_history_retention|text|textimage_on|then|thesaurus|throw|time|timeout|timestamp|tinyint|top??|torn_page_detection|track_columns_updated|trailing|tran|transaction|transfer|transform_noise_words|triple_des|triple_des_3key|truncate|trustworthy|try|tsql|two_digit_year_cutoff|type|type_desc|type_warning|tzoffset|uid|unbounded|uncommitted|unique|uniqueidentifier|unlimited|unload|unlock|unsafe|updlock|url|use|useplan|useroptions|use_type_default|using|utcdatetime|valid_xml|validation|values??|varbinary|varchar|vector|verbose|verifyonly|version|view_metadata|virtual_device|visiblity|wait_at_low_priority|waitfor|webmethod|week|weekday|weight|well_formed_xml|when|while|widechar|widechar_ansi|widenative|windows??|with|within|within group|witness|without|without_array_wrapper|workload|wsdl|xact_abort|xlock|xml|xmlschema|xquery|xsinil|year|zone)\\\\b\",\"name\":\"keyword.other.sql\"},{\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.sql\"},\"2\":{\"name\":\"punctuation.section.scope.end.sql\"}},\"match\":\"(\\\\()(\\\\))\",\"name\":\"meta.block.sql\"}],\"repository\":{\"comment-block\":{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.sql\"}},\"end\":\"\\\\*/\",\"name\":\"comment.block\",\"patterns\":[{\"include\":\"#comment-block\"}]},\"comments\":{\"patterns\":[{\"begin\":\"(^[\\\\t ]+)?(?=--)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.sql\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"--\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.sql\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.sql\"}]},{\"begin\":\"(^[\\\\t ]+)?(?=#)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.sql\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[]},{\"include\":\"#comment-block\"}]},\"regexps\":{\"patterns\":[{\"begin\":\"/(?=\\\\S.*/)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.regexp.sql\",\"patterns\":[{\"include\":\"#string_interpolation\"},{\"match\":\"\\\\\\\\/\",\"name\":\"constant.character.escape.slash.sql\"}]},{\"begin\":\"%r\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.regexp.modr.sql\",\"patterns\":[{\"include\":\"#string_interpolation\"}]}]},\"string_escape\":{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.sql\"},\"string_interpolation\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.sql\"},\"3\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"match\":\"(#\\\\{)([^}]*)(})\",\"name\":\"string.interpolated.sql\"},\"strings\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"punctuation.definition.string.begin.sql\"},\"3\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"match\":\"(N)?(')[^']*(')\",\"name\":\"string.quoted.single.sql\"},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.quoted.single.sql\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.sql\"},\"2\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"match\":\"(`)[^\\\\\\\\`]*(`)\",\"name\":\"string.quoted.other.backtick.sql\"},{\"begin\":\"`\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"`\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.quoted.other.backtick.sql\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.sql\"},\"2\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"match\":\"(\\\")[^\\\"#]*(\\\")\",\"name\":\"string.quoted.double.sql\"},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.quoted.double.sql\",\"patterns\":[{\"include\":\"#string_interpolation\"}]},{\"begin\":\"%\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.other.quoted.brackets.sql\",\"patterns\":[{\"include\":\"#string_interpolation\"}]}]}},\"scopeName\":\"source.sql\"}"))];
|
|
2
|
+
var sql_default = [Object.freeze(JSON.parse("{\"displayName\":\"SQL\",\"name\":\"sql\",\"patterns\":[{\"match\":\"((?<!@)@)\\\\b(\\\\w+)\\\\b\",\"name\":\"text.variable\"},{\"match\":\"(\\\\[)[^]]*(])\",\"name\":\"text.bracketed\"},{\"include\":\"#comments\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.create.sql\"},\"2\":{\"name\":\"keyword.other.sql\"},\"5\":{\"name\":\"entity.name.function.sql\"}},\"match\":\"(?i:^\\\\s*(create(?:\\\\s+or\\\\s+replace)?)\\\\s+(aggregate|conversion|database|domain|function|group|(unique\\\\s+)?index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\\\s+)([\\\"'`]?)(\\\\w+)\\\\4\",\"name\":\"meta.create.sql\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.create.sql\"},\"2\":{\"name\":\"keyword.other.sql\"}},\"match\":\"(?i:^\\\\s*(drop)\\\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|rule|schema|sequence|table|tablespace|trigger|type|user|view))\",\"name\":\"meta.drop.sql\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.create.sql\"},\"2\":{\"name\":\"keyword.other.table.sql\"},\"3\":{\"name\":\"entity.name.function.sql\"},\"4\":{\"name\":\"keyword.other.cascade.sql\"}},\"match\":\"(?i:\\\\s*(drop)\\\\s+(table)\\\\s+(\\\\w+)(\\\\s+cascade)?\\\\b)\",\"name\":\"meta.drop.sql\"},{\"captures\":{\"1\":{\"name\":\"keyword.other.create.sql\"},\"2\":{\"name\":\"keyword.other.table.sql\"}},\"match\":\"(?i:^\\\\s*(alter)\\\\s+(aggregate|conversion|database|domain|function|group|index|language|operator class|operator|proc(edure)?|rule|schema|sequence|table|tablespace|trigger|type|user|view)\\\\s+)\",\"name\":\"meta.alter.sql\"},{\"captures\":{\"1\":{\"name\":\"storage.type.sql\"},\"2\":{\"name\":\"storage.type.sql\"},\"3\":{\"name\":\"constant.numeric.sql\"},\"4\":{\"name\":\"storage.type.sql\"},\"5\":{\"name\":\"constant.numeric.sql\"},\"6\":{\"name\":\"storage.type.sql\"},\"7\":{\"name\":\"constant.numeric.sql\"},\"8\":{\"name\":\"constant.numeric.sql\"},\"9\":{\"name\":\"storage.type.sql\"},\"10\":{\"name\":\"constant.numeric.sql\"},\"11\":{\"name\":\"storage.type.sql\"},\"12\":{\"name\":\"storage.type.sql\"},\"13\":{\"name\":\"storage.type.sql\"},\"14\":{\"name\":\"constant.numeric.sql\"},\"15\":{\"name\":\"storage.type.sql\"}},\"match\":\"(?i)\\\\b(bigint|bigserial|bit|boolean|box|bytea|cidr|circle|date|double\\\\sprecision|inet|int|integer|line|lseg|macaddr|money|oid|path|point|polygon|real|serial|smallint|sysdate|text)\\\\b|\\\\b(bit\\\\svarying|character\\\\s(?:varying)?|tinyint|var\\\\schar|float|interval)\\\\((\\\\d+)\\\\)|\\\\b(char|number|varchar\\\\d?)\\\\b(?:\\\\((\\\\d+)\\\\))?|\\\\b(numeric|decimal)\\\\b(?:\\\\((\\\\d+),(\\\\d+)\\\\))?|\\\\b(times?)\\\\b(?:\\\\((\\\\d+)\\\\))?(\\\\swith(?:out)?\\\\stime\\\\szone\\\\b)?|\\\\b(timestamp)(s|tz)?\\\\b(?:\\\\((\\\\d+)\\\\))?(\\\\s(with(?:|out))\\\\stime\\\\szone\\\\b)?\"},{\"match\":\"(?i:\\\\b((?:primary|foreign)\\\\s+key|references|on\\\\s+(delete|update)(\\\\s+cascade)?|nocheck|check|constraint|collate|default)\\\\b)\",\"name\":\"storage.modifier.sql\"},{\"match\":\"\\\\b\\\\d+\\\\b\",\"name\":\"constant.numeric.sql\"},{\"match\":\"(?i:\\\\b(select(\\\\s+(all|distinct))?|insert\\\\s+(ignore\\\\s+)?into|update|delete|from|set|where|group\\\\s+by|or|like|and|union(\\\\s+all)?|having|order\\\\s+by|limit|cross\\\\s+join|join|straight_join|(inner|(left|right|full)(\\\\s+outer)?)\\\\s+join|natural(\\\\s+(inner|(left|right|full)(\\\\s+outer)?))?\\\\s+join)\\\\b)\",\"name\":\"keyword.other.DML.sql\"},{\"match\":\"(?i:\\\\b(on|off|((is\\\\s+)?not\\\\s+)?null)\\\\b)\",\"name\":\"keyword.other.DDL.create.II.sql\"},{\"match\":\"(?i:\\\\bvalues\\\\b)\",\"name\":\"keyword.other.DML.II.sql\"},{\"match\":\"(?i:\\\\b(begin(\\\\s+work)?|start\\\\s+transaction|commit(\\\\s+work)?|rollback(\\\\s+work)?)\\\\b)\",\"name\":\"keyword.other.LUW.sql\"},{\"match\":\"(?i:\\\\b(grant(\\\\swith\\\\sgrant\\\\soption)?|revoke)\\\\b)\",\"name\":\"keyword.other.authorization.sql\"},{\"match\":\"(?i:\\\\bin\\\\b)\",\"name\":\"keyword.other.data-integrity.sql\"},{\"match\":\"(?i:^\\\\s*(comment\\\\s+on\\\\s+(table|column|aggregate|constraint|database|domain|function|index|operator|rule|schema|sequence|trigger|type|view))\\\\s+)\",\"name\":\"keyword.other.object-comments.sql\"},{\"match\":\"(?i)\\\\bAS\\\\b\",\"name\":\"keyword.other.alias.sql\"},{\"match\":\"(?i)\\\\b(DESC|ASC)\\\\b\",\"name\":\"keyword.other.order.sql\"},{\"match\":\"\\\\*\",\"name\":\"keyword.operator.star.sql\"},{\"match\":\"[!<>]?=|<>|[<>]\",\"name\":\"keyword.operator.comparison.sql\"},{\"match\":\"[-+/]\",\"name\":\"keyword.operator.math.sql\"},{\"match\":\"\\\\|\\\\|\",\"name\":\"keyword.operator.concatenator.sql\"},{\"captures\":{\"1\":{\"name\":\"support.function.aggregate.sql\"}},\"match\":\"(?i)\\\\b(approx_count_distinct|approx_percentile_cont|approx_percentile_disc|avg|checksum_agg|count|count_big|group|grouping|grouping_id|max|min|sum|stdevp??|varp??)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.analytic.sql\"}},\"match\":\"(?i)\\\\b(cume_dist|first_value|lag|last_value|lead|percent_rank|percentile_cont|percentile_disc)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.bitmanipulation.sql\"}},\"match\":\"(?i)\\\\b((?:bit_coun|get_bi|left_shif|right_shif|set_bi)t)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.conversion.sql\"}},\"match\":\"(?i)\\\\b(cast|convert|parse|try_cast|try_convert|try_parse)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.collation.sql\"}},\"match\":\"(?i)\\\\b(collationproperty|tertiary_weights)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.cryptographic.sql\"}},\"match\":\"(?i)\\\\b(asymkey_id|asymkeyproperty|certproperty|cert_id|crypt_gen_random|decryptbyasymkey|decryptbycert|decryptbykey|decryptbykeyautoasymkey|decryptbykeyautocert|decryptbypassphrase|encryptbyasymkey|encryptbycert|encryptbykey|encryptbypassphrase|hashbytes|is_objectsigned|key_guid|key_id|key_name|signbyasymkey|signbycert|symkeyproperty|verifysignedbycert|verifysignedbyasymkey)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.cursor.sql\"}},\"match\":\"(?i)\\\\b(cursor_status)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.datetime.sql\"}},\"match\":\"(?i)\\\\b(sysdatetime|sysdatetimeoffset|sysutcdatetime|current_time(stamp)?|getdate|getutcdate|datename|datepart|day|month|year|datefromparts|datetime2fromparts|datetimefromparts|datetimeoffsetfromparts|smalldatetimefromparts|timefromparts|datediff|dateadd|datetrunc|eomonth|switchoffset|todatetimeoffset|isdate|date_bucket)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.datatype.sql\"}},\"match\":\"(?i)\\\\b(datalength|ident_current|ident_incr|ident_seed|identity|sql_variant_property)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.expression.sql\"}},\"match\":\"(?i)\\\\b(coalesce|nullif)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.globalvar.sql\"}},\"match\":\"(?<!@)@@(?i)\\\\b(cursor_rows|connections|cpu_busy|datefirst|dbts|error|fetch_status|identity|idle|io_busy|langid|language|lock_timeout|max_connections|max_precision|nestlevel|options|packet_errors|pack_received|pack_sent|procid|remserver|rowcount|servername|servicename|spid|textsize|timeticks|total_errors|total_read|total_write|trancount|version)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.json.sql\"}},\"match\":\"(?i)\\\\b(json|isjson|json_object|json_array|json_value|json_query|json_modify|json_path_exists)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.logical.sql\"}},\"match\":\"(?i)\\\\b(choose|iif|greatest|least)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.mathematical.sql\"}},\"match\":\"(?i)\\\\b(abs|acos|asin|atan|atn2|ceiling|cos|cot|degrees|exp|floor|log|log10|pi|power|radians|rand|round|sign|sin|sqrt|square|tan)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.metadata.sql\"}},\"match\":\"(?i)\\\\b(app_name|applock_mode|applock_test|assemblyproperty|col_length|col_name|columnproperty|database_principal_id|databasepropertyex|db_id|db_name|file_id|file_idex|file_name|filegroup_id|filegroup_name|filegroupproperty|fileproperty|fulltextcatalogproperty|fulltextserviceproperty|index_col|indexkey_property|indexproperty|object_definition|object_id|object_name|object_schema_name|objectproperty|objectpropertyex|original_db_name|parsename|schema_id|schema_name|scope_identity|serverproperty|stats_date|type_id|type_name|typeproperty)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.ranking.sql\"}},\"match\":\"(?i)\\\\b(rank|dense_rank|ntile|row_number)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.rowset.sql\"}},\"match\":\"(?i)\\\\b(generate_series|opendatasource|openjson|openrowset|openquery|openxml|predict|string_split)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.security.sql\"}},\"match\":\"(?i)\\\\b(certencoded|certprivatekey|current_user|database_principal_id|has_perms_by_name|is_member|is_rolemember|is_srvrolemember|original_login|permissions|pwdcompare|pwdencrypt|schema_id|schema_name|session_user|suser_id|suser_sid|suser_sname|system_user|suser_name|user_id|user_name)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.string.sql\"}},\"match\":\"(?i)\\\\b(ascii|char|charindex|concat|difference|format|left|len|lower|ltrim|nchar|nodes|patindex|quotename|replace|replicate|reverse|right|rtrim|soundex|space|str|string_agg|string_escape|string_split|stuff|substring|translate|trim|unicode|upper)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.system.sql\"}},\"match\":\"(?i)\\\\b(binary_checksum|checksum|compress|connectionproperty|context_info|current_request_id|current_transaction_id|decompress|error_line|error_message|error_number|error_procedure|error_severity|error_state|formatmessage|get_filestream_transaction_context|getansinull|host_id|host_name|isnull|isnumeric|min_active_rowversion|newid|newsequentialid|rowcount_big|session_context|session_id|xact_state)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.textimage.sql\"}},\"match\":\"(?i)\\\\b(patindex|textptr|textvalid)\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"support.function.vector.sql\"}},\"match\":\"(?i)\\\\b(vector_(?:distance|norm|normalize))\\\\b\\\\s*\\\\(\"},{\"captures\":{\"1\":{\"name\":\"constant.other.database-name.sql\"},\"2\":{\"name\":\"constant.other.table-name.sql\"}},\"match\":\"(\\\\w+?)\\\\.(\\\\w+)\"},{\"include\":\"#strings\"},{\"include\":\"#regexps\"},{\"match\":\"\\\\b(?i)(abort|abort_after_wait|absent|absolute|accent_sensitivity|acceptable_cursopt|acp|action|activation|add|address|admin|aes_128|aes_192|aes_256|affinity|after|aggregate|algorithm|all_constraints|all_errormsgs|all_indexes|all_levels|all_results|allow_connections|allow_dup_row|allow_encrypted_value_modifications|allow_page_locks|allow_row_locks|allow_snapshot_isolation|alter|altercolumn|always|anonymous|ansi_defaults|ansi_null_default|ansi_null_dflt_off|ansi_null_dflt_on|ansi_nulls|ansi_padding|ansi_warnings|appdomain|append|application|apply|arithabort|arithignore|array|assembly|asymmetric|asynchronous_commit|at|atan2|atomic|attach|attach_force_rebuild_log|attach_rebuild_log|audit|auth_realm|authentication|auto|auto_cleanup|auto_close|auto_create_statistics|auto_drop|auto_shrink|auto_update_statistics|auto_update_statistics_async|automated_backup_preference|automatic|autopilot|availability|availability_mode|backup|backup_priority|base64|basic|batches|batchsize|before|between|bigint|binary|binding|bit|block|blockers|blocksize|bmk|both|break|broker|broker_instance|bucket_count|buffer|buffercount|bulk_logged|by|call|caller|card|case|catalog|catch|cert|certificate|change_retention|change_tracking|change_tracking_context|changes|char|character|character_set|check_expiration|check_policy|checkconstraints|checkindex|checkpoint|checksum|cleanup_policy|clear|clear_port|close|clustered|codepage|collection|column_encryption_key|column_master_key|columnstore|columnstore_archive|colv_80_to_100|colv_100_to_80|commit_differential_base|committed|compatibility_level|compress_all_row_groups|compression|compression_delay|concat_null_yields_null|concatenate|configuration|connect|connection|containment|continue|continue_after_error|contract|contract_name|control|conversation|conversation_group_id|conversation_handle|copy|copy_only|count_rows|counter|create(\\\\\\\\s+or\\\\\\\\s+alter)?|credential|cross|cryptographic|cryptographic_provider|cube|cursor|cursor_close_on_commit|cursor_default|data|data_compression|data_flush_interval_seconds|data_mirroring|data_purity|data_source|database|database_name|database_snapshot|datafiletype|date_correlation_optimization|date|datefirst|dateformat|date_format|datetime2??|datetimeoffset|day(s)?|db_chaining|dbid|dbidexec|dbo_only|deadlock_priority|deallocate|dec|decimal|declare|decrypt|decrypt_a|decryption|default_database|default_fulltext_language|default_language|default_logon_domain|default_schema|definition|delay|delayed_durability|delimitedtext|density_vector|dependent|des|description|desired_state|desx|differential|digest|disable|disable_broker|disable_def_cnst_chk|disabled|disk|distinct|distributed|distribution|drop|drop_existing|dts_buffers|dump|durability|dynamic|edition|elements|else|emergency|empty|enable|enable_broker|enabled|encoding|encrypted|encrypted_value|encryption|encryption_type|end|endpoint|endpoint_url|enhancedintegrity|entry|error_broker_conversations|errorfile|estimateonly|event|except|exec|executable|execute|exists|expand|expiredate|expiry_date|explicit|external|external_access|failover|failover_mode|failure_condition_level|fast|fast_forward|fastfirstrow|federated_service_account|fetch|field_terminator|fieldterminator|file|filelistonly|filegroup|filegrowth|filename|filestream|filestream_log|filestream_on|filetable|file_format|filter|first_row|fips_flagger|fire_triggers|first|firstrow|float|flush_interval_seconds|fmtonly|following|for|force|force_failover_allow_data_loss|force_service_allow_data_loss|forced|forceplan|formatfile|format_options|format_type|formsof|forward_only|free_cursors|free_exec_context|fullscan|fulltext|fulltextall|fulltextkey|function|generated|get|geography|geometry|global|go|goto|governor|guid|hadoop|hardening|hash|hashed|header_limit|headeronly|health_check_timeout|hidden|hierarchyid|histogram|histogram_steps|hits_cursors|hits_exec_context|hour(s)?|http|identity|identity_value|if|ifnull|ignore|ignore_constraints|ignore_dup_key|ignore_dup_row|ignore_triggers|image|immediate|implicit_transactions|include|include_null_values|incremental|index|inflectional|init|initiator|insensitive|insert|instead|int|integer|integrated|intersect|intermediate|interval_length_minutes|into|inuse_cursors|inuse_exec_context|io|is|isabout|iso_week|isolation|job_tracker_location|json|keep|keep_nulls|keep_replication|keepdefaults|keepfixed|keepidentity|keepnulls|kerberos|key|key_path|key_source|key_store_provider_name|keyset|kill|kilobytes_per_batch|labelonly|langid|language|last|lastrow|leading|legacy_cardinality_estimation|length|level|lifetime|lineage_80_to_100|lineage_100_to_80|listener_ip|listener_port|load|loadhistory|lob_compaction|local|local_service_name|locate|location|lock_escalation|lock_timeout|lockres|log|login|login_type|loop|manual|mark_in_use_for_removal|masked|master|match|matched|max_queue_readers|max_duration|max_outstanding_io_per_volume|maxdop|maxerrors|maxlength|maxtransfersize|max_plans_per_query|max_storage_size_mb|mediadescription|medianame|mediapassword|memogroup|memory_optimized|merge|message|message_forward_size|message_forwarding|microsecond|millisecond|minute(s)?|mirror_address|misses_cursors|misses_exec_context|mixed|modify|money|month|move|multi_user|must_change|name|namespace|nanosecond|native|native_compilation|nchar|ncharacter|nested_triggers|never|new_account|new_broker|newname|next|no|no_browsetable|no_checksum|no_compression|no_infomsgs|no_triggers|no_truncate|nocount|noexec|noexpand|noformat|noinit|nolock|nonatomic|nonclustered|nondurable|none|norecompute|norecovery|noreset|norewind|noskip|not|notification|nounload|now|nowait|ntext|ntlm|nulls|numeric|numeric_roundabort|nvarchar|object|objid|oem|offline|old_account|online|operation_mode|open|openjson|optimistic|option|orc|out|outer|output|over|override|owner|ownership|pad_index|page|page_checksum|page_verify|pagecount|paglock|param|parameter_sniffing|parameter_type_expansion|parameterization|parquet|parseonly|partial|partition|partner|password|path|pause|percentage|permission_set|persisted|period|physical_only|plan_forcing_mode|policy|pool|population|ports|preceding|precision|predicate|presume_abort|primary|primary_role|print|prior|priority |priority_level|private|proc(edure)?|procedure_name|profile|provider|quarter|query_capture_mode|query_governor_cost_limit|query_optimizer_hotfixes|query_store|queue|quoted_identifier|raiserror|range|raw|rcfile|rc2|rc4|rc4_128|rdbms|read_committed_snapshot|read|read_only|read_write|readcommitted|readcommittedlock|readonly|readpast|readuncommitted|readwrite|real|rebuild|receive|recmodel_70backcomp|recompile|reconfigure|recovery|recursive|recursive_triggers|redo_queue|reject_sample_value|reject_type|reject_value|relative|remote|remote_data_archive|remote_proc_transactions|remote_service_name|remove|removed_cursors|removed_exec_context|reorganize|repeat|repeatable|repeatableread|replace|replica|replicated|replnick_100_to_80|replnickarray_80_to_100|replnickarray_100_to_80|required|required_cursopt|resample|reset|resource|resource_manager_location|respect|restart|restore|restricted_user|resume|retaindays|retention|return|revert|rewind|rewindonly|returns|robust|role|rollup|root|round_robin|route|row|rowdump|rowguidcol|rowlock|row_terminator|rows|rows_per_batch|rowsets_only|rowterminator|rowversion|rsa_1024|rsa_2048|rsa_3072|rsa_4096|rsa_512|safe|safety|sample|save|scalar|schema|schemabinding|scoped|scroll|scroll_locks|sddl|second|secexpr|seconds|secondary|secondary_only|secondary_role|secret|security|securityaudit|selective|self|send|sent|sequence|serde_method|serializable|server|service|service_broker|service_name|service_objective|session_timeout|sessions??|seterror|setopts|sets|shard_map_manager|shard_map_name|sharded|shared_memory|shortest_path|show_statistics|showplan_all|showplan_text|showplan_xml|showplan_xml_with_recompile|shrinkdb|shutdown|sid|signature|simple|single_blob|single_clob|single_nclob|single_user|singleton|site|size|size_based_cleanup_mode|skip|smalldatetime|smallint|smallmoney|snapshot|snapshot_import|snapshotrestorephase|soap|softnuma|sort_in_tempdb|sorted_data|sorted_data_reorg|spatial|sql|sql_bigint|sql_binary|sql_bit|sql_char|sql_date|sql_decimal|sql_double|sql_float|sql_guid|sql_handle|sql_longvarbinary|sql_longvarchar|sql_numeric|sql_real|sql_smallint|sql_time|sql_timestamp|sql_tinyint|sql_tsi_day|sql_tsi_frac_second|sql_tsi_hour|sql_tsi_minute|sql_tsi_month|sql_tsi_quarter|sql_tsi_second|sql_tsi_week|sql_tsi_year|sql_type_date|sql_type_time|sql_type_timestamp|sql_varbinary|sql_varchar|sql_variant|sql_wchar|sql_wlongvarchar|ssl|ssl_port|standard|standby|start|start_date|started|stat_header|state|statement|static|statistics|statistics_incremental|statistics_norecompute|statistics_only|statman|stats|stats_stream|status|stop|stop_on_error|stopat|stopatmark|stopbeforemark|stoplist|stopped|string_delimiter|subject|supplemental_logging|supported|suspend|symmetric|synchronous_commit|synonym|sysname|system|system_time|system_versioning|table|tableresults|tablockx??|take|tape|target|target_index|target_partition|target_recovery_time|tcp|temporal_history_retention|text|textimage_on|then|thesaurus|throw|time|timeout|timestamp|tinyint|top??|torn_page_detection|track_columns_updated|trailing|tran|transaction|transfer|transform_noise_words|triple_des|triple_des_3key|truncate|trustworthy|try|tsql|two_digit_year_cutoff|type|type_desc|type_warning|tzoffset|uid|unbounded|uncommitted|unique|uniqueidentifier|unlimited|unload|unlock|unsafe|updlock|url|use|useplan|useroptions|use_type_default|using|utcdatetime|valid_xml|validation|values??|varbinary|varchar|vector|verbose|verifyonly|version|view_metadata|virtual_device|visiblity|wait_at_low_priority|waitfor|webmethod|week|weekday|weight|well_formed_xml|when|while|widechar|widechar_ansi|widenative|windows??|with|within|within group|witness|without|without_array_wrapper|workload|wsdl|xact_abort|xlock|xml|xmlschema|xquery|xsinil|year|zone)\\\\b\",\"name\":\"keyword.other.sql\"},{\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.sql\"},\"2\":{\"name\":\"punctuation.section.scope.end.sql\"}},\"match\":\"(\\\\()(\\\\))\",\"name\":\"meta.block.sql\"}],\"repository\":{\"comment-block\":{\"begin\":\"/\\\\*\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.comment.sql\"}},\"end\":\"\\\\*/\",\"name\":\"comment.block\",\"patterns\":[{\"include\":\"#comment-block\"}]},\"comments\":{\"patterns\":[{\"begin\":\"(^[\\\\t ]+)?(?=--)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.sql\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[{\"begin\":\"--\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.sql\"}},\"end\":\"\\\\n\",\"name\":\"comment.line.double-dash.sql\"}]},{\"begin\":\"(^[\\\\t ]+)?(?=#)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.whitespace.comment.leading.sql\"}},\"end\":\"(?!\\\\G)\",\"patterns\":[]},{\"include\":\"#comment-block\"}]},\"regexps\":{\"patterns\":[{\"begin\":\"/(?=\\\\S.*/)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"/\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.regexp.sql\",\"patterns\":[{\"include\":\"#string_interpolation\"},{\"match\":\"\\\\\\\\/\",\"name\":\"constant.character.escape.slash.sql\"}]},{\"begin\":\"%r\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.regexp.modr.sql\",\"patterns\":[{\"include\":\"#string_interpolation\"}]}]},\"string_escape\":{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.sql\"},\"string_interpolation\":{\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.sql\"},\"3\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"match\":\"(#\\\\{)([^}]*)(})\",\"name\":\"string.interpolated.sql\"},\"strings\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"punctuation.definition.string.begin.sql\"},\"3\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"match\":\"(?:(?<![0-9A-Z_a-z])(N))?(')[^']*(')\",\"name\":\"string.quoted.single.sql\"},{\"begin\":\"'\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"'\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.quoted.single.sql\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.sql\"},\"2\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"match\":\"(`)[^\\\\\\\\`]*(`)\",\"name\":\"string.quoted.other.backtick.sql\"},{\"begin\":\"`\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"`\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.quoted.other.backtick.sql\",\"patterns\":[{\"include\":\"#string_escape\"}]},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.sql\"},\"2\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"match\":\"(\\\")[^\\\"#]*(\\\")\",\"name\":\"string.quoted.double.sql\"},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.quoted.double.sql\",\"patterns\":[{\"include\":\"#string_interpolation\"}]},{\"begin\":\"%\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.sql\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.sql\"}},\"name\":\"string.other.quoted.brackets.sql\",\"patterns\":[{\"include\":\"#string_interpolation\"}]}]}},\"scopeName\":\"source.sql\"}"))];
|
|
3
3
|
//#endregion
|
|
4
4
|
export { sql_default as default };
|
package/dist/chunks/{stringifyLocale-cl8et9xf6zon4qbs.js → stringifyLocale-gbxouqj7ol627jxh.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
//#region ../../node_modules/.pnpm/@base-ui+
|
|
2
|
+
//#region ../../node_modules/.pnpm/@base-ui+utils@0.5.0_@types+react@19.2.4_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/utils/stringifyLocale.mjs
|
|
3
3
|
function stringifyLocale(locale) {
|
|
4
4
|
if (Array.isArray(locale)) return locale.map((value) => stringifyLocale(value)).join(",");
|
|
5
5
|
if (locale == null) return "";
|