mobx-view-model-devtools 0.0.12 → 0.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -2
- package/index.cjs +2 -2
- package/index.d.ts +3 -2
- package/index.global.js +324 -252
- package/index.js +324 -252
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--font-weight-semibold:600;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static_g5P-G{position:static}.blur_9rZ6A{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.vmButton_Xr1Q6{z-index:99;width:calc(var(--spacing)*9);height:calc(var(--spacing)*9);cursor:pointer;border-radius:var(--radius-lg);font-family:var(--font-mono);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));position:fixed}.vmButton_Xr1Q6[data-position=top-right],.vmButton_Xr1Q6[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}:is(.vmButton_Xr1Q6[data-position=top-right],.vmButton_Xr1Q6[data-position=undefined]).opened_gewqL{top:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=top-left].opened_gewqL{top:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=bottom-left].opened_gewqL{bottom:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=bottom-right].opened_gewqL{bottom:calc(var(--spacing)*-10)}.vmButton_Xr1Q6>img{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);position:absolute}.vmButton_Xr1Q6>div{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:#00000057;position:absolute}.vmButton_Xr1Q6>span{pointer-events:none;top:calc(var(--spacing)*-1);left:calc(var(--spacing)*-1);border-radius:var(--radius-lg);padding:calc(var(--spacing)*.5);--tw-leading:1;--tw-font-weight:var(--font-weight-semibold);font-size:12px;line-height:1;font-weight:var(--font-weight-semibold);color:#2aff0a;background-color:#005c26cf;display:flex;position:absolute}.vmButton_Xr1Q6.opened_gewqL{pointer-events:none}.vmButton_Xr1Q6:not(.isConnected_tjs3F){--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.vmPopup_Q4l4j{z-index:99;border-radius:var(--radius-lg);width:520px;height:calc(100vh - 24px);position:fixed}.vmPopup_Q4l4j>header button{width:28px;padding:6px}.vmPopup_Q4l4j[data-position=top-right],.vmPopup_Q4l4j[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}.vmContent_VAE7p{color:#ccc;font-family:var(--font-mono);background-color:#1e1e1e;flex-direction:column;display:flex;overflow:auto}.vmContent_VAE7p>header{height:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*2);--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);justify-content:space-between;align-items:center;display:flex}.vmContent_VAE7p *{font-family:var(--font-mono)}.vmContentTree_BB36O{padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*2);flex-direction:column;display:flex;overflow:auto}.vmTreeItem_t-7jc{flex-direction:column;display:flex}.vmTreeItem_t-7jc>header{z-index:1;cursor:pointer;align-items:center;gap:calc(var(--spacing)*1);text-overflow:ellipsis;white-space:nowrap;background-color:#1e1e1e;margin-block:auto;display:flex;overflow:hidden}.vmTreeItem_t-7jc>header>label{background:#0f6013;border-radius:4px;padding:0 4px}.vmTreeItem_t-7jc>header>span{color:#5ab65e;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.vmTreeItem_t-7jc.extrasItem_MI9Fa>header>label{background:#6b6902}.vmTreeItem_t-7jc:not([data-fitted=true])>header{opacity:.6}.vmContentFilters_No1QW{z-index:99;background:#1e1e1e;width:100%;padding:0 8px;position:sticky;top:0}.vmContentFilters_No1QW input{background:#343434;border-radius:4px;outline:0;width:100%;padding:3px 4px;font-size:14px}.propertyMeta_XxYHc{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}.propertyMeta_XxYHc.small_Ipy6s{font-size:10px;line-height:15px}.propertyValue_s9qHJ{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}.propertyValue_s9qHJ:has(+.property-name_2-sJi){margin-right:calc(var(--spacing)*1)}.line_Xgaua{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono);white-space:pre;height:22px;z-index:calc((var(--level,0) + 1)*10000 + (var(--order,0)));padding-left:calc(10px + (var(--level)*14px));background:#1e1e1e;flex-direction:row;align-items:center;font-size:14px;display:flex;position:relative;overflow:hidden}.property_eoWZv[data-fitted=false]{opacity:.5}.property_eoWZv.instance_B-kEn>.propertyValue_s9qHJ{color:#ba82be}:is(.property_eoWZv.primitive_5yfCy.boolean_TwUVp,.property_eoWZv.primitive_5yfCy.number_AVdzm,.property_eoWZv.primitive_5yfCy.object_kn8wQ,.property_eoWZv.primitive_5yfCy.undefined_SMcns,.property_eoWZv.primitive_5yfCy.bigint_ZrO3O,.property_eoWZv.primitive_5yfCy.symbol_9GN4U)>.propertyValue_s9qHJ{color:#5999cd}.property_eoWZv.primitive_5yfCy.string_m1Kkx>.propertyValue_s9qHJ{color:#af7249}.expandButton_EObqt{color:#a0a0a0;cursor:pointer;width:16px;height:16px;font-weight:700;opacity:1!important}.expandButton_EObqt.expanded_uFpb7{color:#b8b8b8;transform:rotate(90deg)}.expandButton_EObqt.disabled_IDojS{opacity:.35!important}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode('/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--spacing:.25rem;--font-weight-semibold:600;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static_g5P-G{position:static}.container_ueeVi{width:100%}@media(min-width:40rem){.container_ueeVi{max-width:40rem}}@media(min-width:48rem){.container_ueeVi{max-width:48rem}}@media(min-width:64rem){.container_ueeVi{max-width:64rem}}@media(min-width:80rem){.container_ueeVi{max-width:80rem}}@media(min-width:96rem){.container_ueeVi{max-width:96rem}}.blur_9rZ6A{--tw-blur:blur(8px);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}.rootContainer_Z8gey *{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.vmButton_Xr1Q6{z-index:99;width:calc(var(--spacing)*9);height:calc(var(--spacing)*9);cursor:pointer;border-radius:var(--radius-lg);font-family:var(--font-mono);transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));position:fixed}.vmButton_Xr1Q6[data-position=top-right],.vmButton_Xr1Q6[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}:is(.vmButton_Xr1Q6[data-position=top-right],.vmButton_Xr1Q6[data-position=undefined]).opened_gewqL{top:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=top-left].opened_gewqL{top:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=bottom-left].opened_gewqL{bottom:calc(var(--spacing)*-10)}.vmButton_Xr1Q6[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}.vmButton_Xr1Q6[data-position=bottom-right].opened_gewqL{bottom:calc(var(--spacing)*-10)}.vmButton_Xr1Q6>img{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);position:absolute}.vmButton_Xr1Q6>div{pointer-events:none;inset:calc(var(--spacing)*0);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:#00000057;position:absolute}.vmButton_Xr1Q6>span{pointer-events:none;top:calc(var(--spacing)*-1);left:calc(var(--spacing)*-1);border-radius:var(--radius-lg);padding:calc(var(--spacing)*.5);--tw-leading:1;--tw-font-weight:var(--font-weight-semibold);font-size:12px;line-height:1;font-weight:var(--font-weight-semibold);color:#2aff0a;background-color:#005c26cf;display:flex;position:absolute}.vmButton_Xr1Q6.opened_gewqL{pointer-events:none}.vmButton_Xr1Q6:not(.isConnected_tjs3F){--tw-grayscale:grayscale(100%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.vmPopup_Q4l4j{z-index:99;border-radius:var(--radius-lg);width:520px;height:calc(100vh - 24px);position:fixed}.vmPopup_Q4l4j>header button{width:28px;padding:6px}.vmPopup_Q4l4j[data-position=top-right],.vmPopup_Q4l4j[data-position=undefined]{top:calc(var(--spacing)*3);right:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=top-left]{top:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=bottom-left]{bottom:calc(var(--spacing)*3);left:calc(var(--spacing)*3)}.vmPopup_Q4l4j[data-position=bottom-right]{right:calc(var(--spacing)*3);bottom:calc(var(--spacing)*3)}.vmContent_VAE7p{color:#ccc;font-family:var(--font-mono);background-color:#1e1e1e;flex-direction:column;display:flex;overflow:auto}.vmContent_VAE7p>header{height:calc(var(--spacing)*8);padding-left:calc(var(--spacing)*2);--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);justify-content:space-between;align-items:center;display:flex}.vmContent_VAE7p *{font-family:var(--font-mono)}.vmContentTree_BB36O{padding-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*2);scrollbar-width:thin;scrollbar-color:#81818170 #1e1e1e;flex-direction:column;display:flex;overflow:auto}.vmContentTree_BB36O:hover{scrollbar-color:#818181 #1e1e1e}.line_Xgaua.vmTreeItem_t-7jc{padding-left:calc(0px + (var(--level)*20px));z-index:1;position:sticky;top:-8px}.line_Xgaua.vmTreeItem_t-7jc>header{z-index:1;cursor:pointer;align-items:center;gap:calc(var(--spacing)*1);text-overflow:ellipsis;white-space:nowrap;background-color:#1e1e1e;margin-block:auto;display:flex;overflow:hidden}.line_Xgaua.vmTreeItem_t-7jc>header>label{background:#0f6013;border-radius:4px;padding:0 4px}.line_Xgaua.vmTreeItem_t-7jc>header>span{color:#5ab65e;text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.line_Xgaua.vmTreeItem_t-7jc.extrasItem_MI9Fa>header>label{background:#6b6902}.line_Xgaua.vmTreeItem_t-7jc:not([data-fitted=true])>header{opacity:.6}.vmContentFilters_No1QW{background:#1e1e1e;width:100%;padding:0 8px}.vmContentFilters_No1QW input{background:#343434;border-radius:4px;outline:0;width:100%;padding:3px 4px;font-size:14px}.propertyMeta_XxYHc{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}.propertyMeta_XxYHc.small_Ipy6s{font-size:10px;line-height:15px}.propertyValue_s9qHJ{text-overflow:ellipsis;white-space:nowrap;color:#616161;overflow:hidden}.propertyValue_s9qHJ:has(+.property-name_2-sJi){margin-right:calc(var(--spacing)*1)}.line_Xgaua{text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-mono);white-space:pre;height:22px;padding-left:calc(28px + (var(--level)*15px));background:#1e1e1e;flex-direction:row;align-items:center;font-size:14px;display:flex;position:relative;overflow:hidden}.line_Xgaua.expandable_2LUhL{cursor:pointer}.property_eoWZv[data-fitted=false]{opacity:.5}.property_eoWZv.instance_B-kEn>.propertyValue_s9qHJ{color:#ba82be}:is(.property_eoWZv.primitive_5yfCy.boolean_TwUVp,.property_eoWZv.primitive_5yfCy.number_AVdzm,.property_eoWZv.primitive_5yfCy.object_kn8wQ,.property_eoWZv.primitive_5yfCy.undefined_SMcns,.property_eoWZv.primitive_5yfCy.bigint_ZrO3O,.property_eoWZv.primitive_5yfCy.symbol_9GN4U)>.propertyValue_s9qHJ{color:#5999cd}.property_eoWZv.primitive_5yfCy.string_m1Kkx>.propertyValue_s9qHJ{color:#af7249}.expandButton_EObqt{color:#a0a0a0;cursor:pointer;width:16px;height:16px;font-weight:700;opacity:1!important}.expandButton_EObqt.expanded_uFpb7{color:#b8b8b8;transform:rotate(90deg)}.expandButton_EObqt.disabled_IDojS{opacity:.35!important}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
|
|
2
2
|
function getDefaultExportFromCjs(x2) {
|
|
3
3
|
return x2 && x2.__esModule && Object.prototype.hasOwnProperty.call(x2, "default") ? x2["default"] : x2;
|
|
4
4
|
}
|
|
@@ -12904,25 +12904,25 @@ function requireReactDom_development() {
|
|
|
12904
12904
|
}
|
|
12905
12905
|
return listenerWrapper.bind(null, domEventName, eventSystemFlags, targetContainer);
|
|
12906
12906
|
}
|
|
12907
|
-
function dispatchDiscreteEvent(domEventName, eventSystemFlags,
|
|
12907
|
+
function dispatchDiscreteEvent(domEventName, eventSystemFlags, container2, nativeEvent) {
|
|
12908
12908
|
var previousPriority = getCurrentUpdatePriority();
|
|
12909
12909
|
var prevTransition = ReactCurrentBatchConfig.transition;
|
|
12910
12910
|
ReactCurrentBatchConfig.transition = null;
|
|
12911
12911
|
try {
|
|
12912
12912
|
setCurrentUpdatePriority(DiscreteEventPriority);
|
|
12913
|
-
dispatchEvent(domEventName, eventSystemFlags,
|
|
12913
|
+
dispatchEvent(domEventName, eventSystemFlags, container2, nativeEvent);
|
|
12914
12914
|
} finally {
|
|
12915
12915
|
setCurrentUpdatePriority(previousPriority);
|
|
12916
12916
|
ReactCurrentBatchConfig.transition = prevTransition;
|
|
12917
12917
|
}
|
|
12918
12918
|
}
|
|
12919
|
-
function dispatchContinuousEvent(domEventName, eventSystemFlags,
|
|
12919
|
+
function dispatchContinuousEvent(domEventName, eventSystemFlags, container2, nativeEvent) {
|
|
12920
12920
|
var previousPriority = getCurrentUpdatePriority();
|
|
12921
12921
|
var prevTransition = ReactCurrentBatchConfig.transition;
|
|
12922
12922
|
ReactCurrentBatchConfig.transition = null;
|
|
12923
12923
|
try {
|
|
12924
12924
|
setCurrentUpdatePriority(ContinuousEventPriority);
|
|
12925
|
-
dispatchEvent(domEventName, eventSystemFlags,
|
|
12925
|
+
dispatchEvent(domEventName, eventSystemFlags, container2, nativeEvent);
|
|
12926
12926
|
} finally {
|
|
12927
12927
|
setCurrentUpdatePriority(previousPriority);
|
|
12928
12928
|
ReactCurrentBatchConfig.transition = prevTransition;
|
|
@@ -14638,8 +14638,8 @@ function requireReactDom_development() {
|
|
|
14638
14638
|
}
|
|
14639
14639
|
var nodeTag = node.tag;
|
|
14640
14640
|
if (nodeTag === HostRoot || nodeTag === HostPortal) {
|
|
14641
|
-
var
|
|
14642
|
-
if (isMatchingRootContainer(
|
|
14641
|
+
var container2 = node.stateNode.containerInfo;
|
|
14642
|
+
if (isMatchingRootContainer(container2, targetContainerNode)) {
|
|
14643
14643
|
break;
|
|
14644
14644
|
}
|
|
14645
14645
|
if (nodeTag === HostPortal) {
|
|
@@ -14655,8 +14655,8 @@ function requireReactDom_development() {
|
|
|
14655
14655
|
grandNode = grandNode.return;
|
|
14656
14656
|
}
|
|
14657
14657
|
}
|
|
14658
|
-
while (
|
|
14659
|
-
var parentNode = getClosestInstanceFromNode(
|
|
14658
|
+
while (container2 !== null) {
|
|
14659
|
+
var parentNode = getClosestInstanceFromNode(container2);
|
|
14660
14660
|
if (parentNode === null) {
|
|
14661
14661
|
return;
|
|
14662
14662
|
}
|
|
@@ -14665,7 +14665,7 @@ function requireReactDom_development() {
|
|
|
14665
14665
|
node = ancestorInst = parentNode;
|
|
14666
14666
|
continue mainLoop;
|
|
14667
14667
|
}
|
|
14668
|
-
|
|
14668
|
+
container2 = container2.parentNode;
|
|
14669
14669
|
}
|
|
14670
14670
|
}
|
|
14671
14671
|
node = node.return;
|
|
@@ -15795,9 +15795,9 @@ function requireReactDom_development() {
|
|
|
15795
15795
|
break;
|
|
15796
15796
|
}
|
|
15797
15797
|
default: {
|
|
15798
|
-
var
|
|
15799
|
-
var ownNamespace =
|
|
15800
|
-
type =
|
|
15798
|
+
var container2 = nodeType === COMMENT_NODE ? rootContainerInstance.parentNode : rootContainerInstance;
|
|
15799
|
+
var ownNamespace = container2.namespaceURI || null;
|
|
15800
|
+
type = container2.tagName;
|
|
15801
15801
|
namespace = getChildNamespace(ownNamespace, type);
|
|
15802
15802
|
break;
|
|
15803
15803
|
}
|
|
@@ -15945,16 +15945,16 @@ function requireReactDom_development() {
|
|
|
15945
15945
|
function appendChild(parentInstance, child) {
|
|
15946
15946
|
parentInstance.appendChild(child);
|
|
15947
15947
|
}
|
|
15948
|
-
function appendChildToContainer(
|
|
15948
|
+
function appendChildToContainer(container2, child) {
|
|
15949
15949
|
var parentNode;
|
|
15950
|
-
if (
|
|
15951
|
-
parentNode =
|
|
15952
|
-
parentNode.insertBefore(child,
|
|
15950
|
+
if (container2.nodeType === COMMENT_NODE) {
|
|
15951
|
+
parentNode = container2.parentNode;
|
|
15952
|
+
parentNode.insertBefore(child, container2);
|
|
15953
15953
|
} else {
|
|
15954
|
-
parentNode =
|
|
15954
|
+
parentNode = container2;
|
|
15955
15955
|
parentNode.appendChild(child);
|
|
15956
15956
|
}
|
|
15957
|
-
var reactRootContainer =
|
|
15957
|
+
var reactRootContainer = container2._reactRootContainer;
|
|
15958
15958
|
if ((reactRootContainer === null || reactRootContainer === void 0) && parentNode.onclick === null) {
|
|
15959
15959
|
trapClickOnNonInteractiveElement(parentNode);
|
|
15960
15960
|
}
|
|
@@ -15962,21 +15962,21 @@ function requireReactDom_development() {
|
|
|
15962
15962
|
function insertBefore(parentInstance, child, beforeChild) {
|
|
15963
15963
|
parentInstance.insertBefore(child, beforeChild);
|
|
15964
15964
|
}
|
|
15965
|
-
function insertInContainerBefore(
|
|
15966
|
-
if (
|
|
15967
|
-
|
|
15965
|
+
function insertInContainerBefore(container2, child, beforeChild) {
|
|
15966
|
+
if (container2.nodeType === COMMENT_NODE) {
|
|
15967
|
+
container2.parentNode.insertBefore(child, beforeChild);
|
|
15968
15968
|
} else {
|
|
15969
|
-
|
|
15969
|
+
container2.insertBefore(child, beforeChild);
|
|
15970
15970
|
}
|
|
15971
15971
|
}
|
|
15972
15972
|
function removeChild(parentInstance, child) {
|
|
15973
15973
|
parentInstance.removeChild(child);
|
|
15974
15974
|
}
|
|
15975
|
-
function removeChildFromContainer(
|
|
15976
|
-
if (
|
|
15977
|
-
|
|
15975
|
+
function removeChildFromContainer(container2, child) {
|
|
15976
|
+
if (container2.nodeType === COMMENT_NODE) {
|
|
15977
|
+
container2.parentNode.removeChild(child);
|
|
15978
15978
|
} else {
|
|
15979
|
-
|
|
15979
|
+
container2.removeChild(child);
|
|
15980
15980
|
}
|
|
15981
15981
|
}
|
|
15982
15982
|
function clearSuspenseBoundary(parentInstance, suspenseInstance) {
|
|
@@ -16003,13 +16003,13 @@ function requireReactDom_development() {
|
|
|
16003
16003
|
} while (node);
|
|
16004
16004
|
retryIfBlockedOn(suspenseInstance);
|
|
16005
16005
|
}
|
|
16006
|
-
function clearSuspenseBoundaryFromContainer(
|
|
16007
|
-
if (
|
|
16008
|
-
clearSuspenseBoundary(
|
|
16009
|
-
} else if (
|
|
16010
|
-
clearSuspenseBoundary(
|
|
16006
|
+
function clearSuspenseBoundaryFromContainer(container2, suspenseInstance) {
|
|
16007
|
+
if (container2.nodeType === COMMENT_NODE) {
|
|
16008
|
+
clearSuspenseBoundary(container2.parentNode, suspenseInstance);
|
|
16009
|
+
} else if (container2.nodeType === ELEMENT_NODE) {
|
|
16010
|
+
clearSuspenseBoundary(container2, suspenseInstance);
|
|
16011
16011
|
}
|
|
16012
|
-
retryIfBlockedOn(
|
|
16012
|
+
retryIfBlockedOn(container2);
|
|
16013
16013
|
}
|
|
16014
16014
|
function hideInstance(instance2) {
|
|
16015
16015
|
instance2 = instance2;
|
|
@@ -16032,12 +16032,12 @@ function requireReactDom_development() {
|
|
|
16032
16032
|
function unhideTextInstance(textInstance, text2) {
|
|
16033
16033
|
textInstance.nodeValue = text2;
|
|
16034
16034
|
}
|
|
16035
|
-
function clearContainer(
|
|
16036
|
-
if (
|
|
16037
|
-
|
|
16038
|
-
} else if (
|
|
16039
|
-
if (
|
|
16040
|
-
|
|
16035
|
+
function clearContainer(container2) {
|
|
16036
|
+
if (container2.nodeType === ELEMENT_NODE) {
|
|
16037
|
+
container2.textContent = "";
|
|
16038
|
+
} else if (container2.nodeType === DOCUMENT_NODE) {
|
|
16039
|
+
if (container2.documentElement) {
|
|
16040
|
+
container2.removeChild(container2.documentElement);
|
|
16041
16041
|
}
|
|
16042
16042
|
}
|
|
16043
16043
|
}
|
|
@@ -16175,8 +16175,8 @@ function requireReactDom_development() {
|
|
|
16175
16175
|
}
|
|
16176
16176
|
return null;
|
|
16177
16177
|
}
|
|
16178
|
-
function commitHydratedContainer(
|
|
16179
|
-
retryIfBlockedOn(
|
|
16178
|
+
function commitHydratedContainer(container2) {
|
|
16179
|
+
retryIfBlockedOn(container2);
|
|
16180
16180
|
}
|
|
16181
16181
|
function commitHydratedSuspenseInstance(suspenseInstance) {
|
|
16182
16182
|
retryIfBlockedOn(suspenseInstance);
|
|
@@ -28253,21 +28253,21 @@ function requireReactDom_development() {
|
|
|
28253
28253
|
scheduleInitialHydrationOnRoot(root2, lane, eventTime);
|
|
28254
28254
|
return root2;
|
|
28255
28255
|
}
|
|
28256
|
-
function updateContainer(element,
|
|
28256
|
+
function updateContainer(element, container2, parentComponent, callback) {
|
|
28257
28257
|
{
|
|
28258
|
-
onScheduleRoot(
|
|
28258
|
+
onScheduleRoot(container2, element);
|
|
28259
28259
|
}
|
|
28260
|
-
var current$1 =
|
|
28260
|
+
var current$1 = container2.current;
|
|
28261
28261
|
var eventTime = requestEventTime();
|
|
28262
28262
|
var lane = requestUpdateLane(current$1);
|
|
28263
28263
|
{
|
|
28264
28264
|
markRenderScheduled(lane);
|
|
28265
28265
|
}
|
|
28266
28266
|
var context = getContextForSubtree(parentComponent);
|
|
28267
|
-
if (
|
|
28268
|
-
|
|
28267
|
+
if (container2.context === null) {
|
|
28268
|
+
container2.context = context;
|
|
28269
28269
|
} else {
|
|
28270
|
-
|
|
28270
|
+
container2.pendingContext = context;
|
|
28271
28271
|
}
|
|
28272
28272
|
{
|
|
28273
28273
|
if (isRendering && current !== null && !didWarnAboutNestedUpdates) {
|
|
@@ -28295,8 +28295,8 @@ function requireReactDom_development() {
|
|
|
28295
28295
|
}
|
|
28296
28296
|
return lane;
|
|
28297
28297
|
}
|
|
28298
|
-
function getPublicRootInstance(
|
|
28299
|
-
var containerFiber =
|
|
28298
|
+
function getPublicRootInstance(container2) {
|
|
28299
|
+
var containerFiber = container2.current;
|
|
28300
28300
|
if (!containerFiber.child) {
|
|
28301
28301
|
return null;
|
|
28302
28302
|
}
|
|
@@ -28620,11 +28620,11 @@ function requireReactDom_development() {
|
|
|
28620
28620
|
} else if (typeof arguments[1] !== "undefined") {
|
|
28621
28621
|
error("You passed a second argument to root.render(...) but it only accepts one argument.");
|
|
28622
28622
|
}
|
|
28623
|
-
var
|
|
28624
|
-
if (
|
|
28623
|
+
var container2 = root2.containerInfo;
|
|
28624
|
+
if (container2.nodeType !== COMMENT_NODE) {
|
|
28625
28625
|
var hostInstance = findHostInstanceWithNoPortals(root2.current);
|
|
28626
28626
|
if (hostInstance) {
|
|
28627
|
-
if (hostInstance.parentNode !==
|
|
28627
|
+
if (hostInstance.parentNode !== container2) {
|
|
28628
28628
|
error("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.");
|
|
28629
28629
|
}
|
|
28630
28630
|
}
|
|
@@ -28641,7 +28641,7 @@ function requireReactDom_development() {
|
|
|
28641
28641
|
var root2 = this._internalRoot;
|
|
28642
28642
|
if (root2 !== null) {
|
|
28643
28643
|
this._internalRoot = null;
|
|
28644
|
-
var
|
|
28644
|
+
var container2 = root2.containerInfo;
|
|
28645
28645
|
{
|
|
28646
28646
|
if (isAlreadyRendering()) {
|
|
28647
28647
|
error("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition.");
|
|
@@ -28650,14 +28650,14 @@ function requireReactDom_development() {
|
|
|
28650
28650
|
flushSync(function() {
|
|
28651
28651
|
updateContainer(null, root2, null, null);
|
|
28652
28652
|
});
|
|
28653
|
-
unmarkContainerAsRoot(
|
|
28653
|
+
unmarkContainerAsRoot(container2);
|
|
28654
28654
|
}
|
|
28655
28655
|
};
|
|
28656
|
-
function createRoot(
|
|
28657
|
-
if (!isValidContainer(
|
|
28656
|
+
function createRoot(container2, options2) {
|
|
28657
|
+
if (!isValidContainer(container2)) {
|
|
28658
28658
|
throw new Error("createRoot(...): Target container is not a DOM element.");
|
|
28659
28659
|
}
|
|
28660
|
-
warnIfReactDOMContainerInDEV(
|
|
28660
|
+
warnIfReactDOMContainerInDEV(container2);
|
|
28661
28661
|
var isStrictMode = false;
|
|
28662
28662
|
var concurrentUpdatesByDefaultOverride = false;
|
|
28663
28663
|
var identifierPrefix = "";
|
|
@@ -28685,9 +28685,9 @@ function requireReactDom_development() {
|
|
|
28685
28685
|
options2.transitionCallbacks;
|
|
28686
28686
|
}
|
|
28687
28687
|
}
|
|
28688
|
-
var root2 = createContainer(
|
|
28689
|
-
markContainerAsRoot(root2.current,
|
|
28690
|
-
var rootContainerElement =
|
|
28688
|
+
var root2 = createContainer(container2, ConcurrentRoot, null, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
|
|
28689
|
+
markContainerAsRoot(root2.current, container2);
|
|
28690
|
+
var rootContainerElement = container2.nodeType === COMMENT_NODE ? container2.parentNode : container2;
|
|
28691
28691
|
listenToAllSupportedEvents(rootContainerElement);
|
|
28692
28692
|
return new ReactDOMRoot(root2);
|
|
28693
28693
|
}
|
|
@@ -28700,11 +28700,11 @@ function requireReactDom_development() {
|
|
|
28700
28700
|
}
|
|
28701
28701
|
}
|
|
28702
28702
|
ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = scheduleHydration;
|
|
28703
|
-
function hydrateRoot(
|
|
28704
|
-
if (!isValidContainer(
|
|
28703
|
+
function hydrateRoot(container2, initialChildren, options2) {
|
|
28704
|
+
if (!isValidContainer(container2)) {
|
|
28705
28705
|
throw new Error("hydrateRoot(...): Target container is not a DOM element.");
|
|
28706
28706
|
}
|
|
28707
|
-
warnIfReactDOMContainerInDEV(
|
|
28707
|
+
warnIfReactDOMContainerInDEV(container2);
|
|
28708
28708
|
{
|
|
28709
28709
|
if (initialChildren === void 0) {
|
|
28710
28710
|
error("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");
|
|
@@ -28727,9 +28727,9 @@ function requireReactDom_development() {
|
|
|
28727
28727
|
onRecoverableError = options2.onRecoverableError;
|
|
28728
28728
|
}
|
|
28729
28729
|
}
|
|
28730
|
-
var root2 = createHydrationContainer(initialChildren, null,
|
|
28731
|
-
markContainerAsRoot(root2.current,
|
|
28732
|
-
listenToAllSupportedEvents(
|
|
28730
|
+
var root2 = createHydrationContainer(initialChildren, null, container2, ConcurrentRoot, hydrationCallbacks, isStrictMode, concurrentUpdatesByDefaultOverride, identifierPrefix, onRecoverableError);
|
|
28731
|
+
markContainerAsRoot(root2.current, container2);
|
|
28732
|
+
listenToAllSupportedEvents(container2);
|
|
28733
28733
|
if (mutableSources) {
|
|
28734
28734
|
for (var i = 0; i < mutableSources.length; i++) {
|
|
28735
28735
|
var mutableSource = mutableSources[i];
|
|
@@ -28744,13 +28744,13 @@ function requireReactDom_development() {
|
|
|
28744
28744
|
function isValidContainerLegacy(node) {
|
|
28745
28745
|
return !!(node && (node.nodeType === ELEMENT_NODE || node.nodeType === DOCUMENT_NODE || node.nodeType === DOCUMENT_FRAGMENT_NODE || node.nodeType === COMMENT_NODE && node.nodeValue === " react-mount-point-unstable "));
|
|
28746
28746
|
}
|
|
28747
|
-
function warnIfReactDOMContainerInDEV(
|
|
28747
|
+
function warnIfReactDOMContainerInDEV(container2) {
|
|
28748
28748
|
{
|
|
28749
|
-
if (
|
|
28749
|
+
if (container2.nodeType === ELEMENT_NODE && container2.tagName && container2.tagName.toUpperCase() === "BODY") {
|
|
28750
28750
|
error("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app.");
|
|
28751
28751
|
}
|
|
28752
|
-
if (isContainerMarkedAsRoot(
|
|
28753
|
-
if (
|
|
28752
|
+
if (isContainerMarkedAsRoot(container2)) {
|
|
28753
|
+
if (container2._reactRootContainer) {
|
|
28754
28754
|
error("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported.");
|
|
28755
28755
|
} else {
|
|
28756
28756
|
error("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it.");
|
|
@@ -28761,39 +28761,39 @@ function requireReactDom_development() {
|
|
|
28761
28761
|
var ReactCurrentOwner$3 = ReactSharedInternals.ReactCurrentOwner;
|
|
28762
28762
|
var topLevelUpdateWarnings;
|
|
28763
28763
|
{
|
|
28764
|
-
topLevelUpdateWarnings = function(
|
|
28765
|
-
if (
|
|
28766
|
-
var hostInstance = findHostInstanceWithNoPortals(
|
|
28764
|
+
topLevelUpdateWarnings = function(container2) {
|
|
28765
|
+
if (container2._reactRootContainer && container2.nodeType !== COMMENT_NODE) {
|
|
28766
|
+
var hostInstance = findHostInstanceWithNoPortals(container2._reactRootContainer.current);
|
|
28767
28767
|
if (hostInstance) {
|
|
28768
|
-
if (hostInstance.parentNode !==
|
|
28768
|
+
if (hostInstance.parentNode !== container2) {
|
|
28769
28769
|
error("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.");
|
|
28770
28770
|
}
|
|
28771
28771
|
}
|
|
28772
28772
|
}
|
|
28773
|
-
var isRootRenderedBySomeReact = !!
|
|
28774
|
-
var rootEl = getReactRootElementInContainer(
|
|
28773
|
+
var isRootRenderedBySomeReact = !!container2._reactRootContainer;
|
|
28774
|
+
var rootEl = getReactRootElementInContainer(container2);
|
|
28775
28775
|
var hasNonRootReactChild = !!(rootEl && getInstanceFromNode(rootEl));
|
|
28776
28776
|
if (hasNonRootReactChild && !isRootRenderedBySomeReact) {
|
|
28777
28777
|
error("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render.");
|
|
28778
28778
|
}
|
|
28779
|
-
if (
|
|
28779
|
+
if (container2.nodeType === ELEMENT_NODE && container2.tagName && container2.tagName.toUpperCase() === "BODY") {
|
|
28780
28780
|
error("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");
|
|
28781
28781
|
}
|
|
28782
28782
|
};
|
|
28783
28783
|
}
|
|
28784
|
-
function getReactRootElementInContainer(
|
|
28785
|
-
if (!
|
|
28784
|
+
function getReactRootElementInContainer(container2) {
|
|
28785
|
+
if (!container2) {
|
|
28786
28786
|
return null;
|
|
28787
28787
|
}
|
|
28788
|
-
if (
|
|
28789
|
-
return
|
|
28788
|
+
if (container2.nodeType === DOCUMENT_NODE) {
|
|
28789
|
+
return container2.documentElement;
|
|
28790
28790
|
} else {
|
|
28791
|
-
return
|
|
28791
|
+
return container2.firstChild;
|
|
28792
28792
|
}
|
|
28793
28793
|
}
|
|
28794
28794
|
function noopOnRecoverableError() {
|
|
28795
28795
|
}
|
|
28796
|
-
function legacyCreateRootFromDOMContainer(
|
|
28796
|
+
function legacyCreateRootFromDOMContainer(container2, initialChildren, parentComponent, callback, isHydrationContainer) {
|
|
28797
28797
|
if (isHydrationContainer) {
|
|
28798
28798
|
if (typeof callback === "function") {
|
|
28799
28799
|
var originalCallback = callback;
|
|
@@ -28805,7 +28805,7 @@ function requireReactDom_development() {
|
|
|
28805
28805
|
var root2 = createHydrationContainer(
|
|
28806
28806
|
initialChildren,
|
|
28807
28807
|
callback,
|
|
28808
|
-
|
|
28808
|
+
container2,
|
|
28809
28809
|
LegacyRoot,
|
|
28810
28810
|
null,
|
|
28811
28811
|
// hydrationCallbacks
|
|
@@ -28817,16 +28817,16 @@ function requireReactDom_development() {
|
|
|
28817
28817
|
// identifierPrefix
|
|
28818
28818
|
noopOnRecoverableError
|
|
28819
28819
|
);
|
|
28820
|
-
|
|
28821
|
-
markContainerAsRoot(root2.current,
|
|
28822
|
-
var rootContainerElement =
|
|
28820
|
+
container2._reactRootContainer = root2;
|
|
28821
|
+
markContainerAsRoot(root2.current, container2);
|
|
28822
|
+
var rootContainerElement = container2.nodeType === COMMENT_NODE ? container2.parentNode : container2;
|
|
28823
28823
|
listenToAllSupportedEvents(rootContainerElement);
|
|
28824
28824
|
flushSync();
|
|
28825
28825
|
return root2;
|
|
28826
28826
|
} else {
|
|
28827
28827
|
var rootSibling;
|
|
28828
|
-
while (rootSibling =
|
|
28829
|
-
|
|
28828
|
+
while (rootSibling = container2.lastChild) {
|
|
28829
|
+
container2.removeChild(rootSibling);
|
|
28830
28830
|
}
|
|
28831
28831
|
if (typeof callback === "function") {
|
|
28832
28832
|
var _originalCallback = callback;
|
|
@@ -28836,7 +28836,7 @@ function requireReactDom_development() {
|
|
|
28836
28836
|
};
|
|
28837
28837
|
}
|
|
28838
28838
|
var _root = createContainer(
|
|
28839
|
-
|
|
28839
|
+
container2,
|
|
28840
28840
|
LegacyRoot,
|
|
28841
28841
|
null,
|
|
28842
28842
|
// hydrationCallbacks
|
|
@@ -28848,9 +28848,9 @@ function requireReactDom_development() {
|
|
|
28848
28848
|
// identifierPrefix
|
|
28849
28849
|
noopOnRecoverableError
|
|
28850
28850
|
);
|
|
28851
|
-
|
|
28852
|
-
markContainerAsRoot(_root.current,
|
|
28853
|
-
var _rootContainerElement =
|
|
28851
|
+
container2._reactRootContainer = _root;
|
|
28852
|
+
markContainerAsRoot(_root.current, container2);
|
|
28853
|
+
var _rootContainerElement = container2.nodeType === COMMENT_NODE ? container2.parentNode : container2;
|
|
28854
28854
|
listenToAllSupportedEvents(_rootContainerElement);
|
|
28855
28855
|
flushSync(function() {
|
|
28856
28856
|
updateContainer(initialChildren, _root, parentComponent, callback);
|
|
@@ -28865,15 +28865,15 @@ function requireReactDom_development() {
|
|
|
28865
28865
|
}
|
|
28866
28866
|
}
|
|
28867
28867
|
}
|
|
28868
|
-
function legacyRenderSubtreeIntoContainer(parentComponent, children,
|
|
28868
|
+
function legacyRenderSubtreeIntoContainer(parentComponent, children, container2, forceHydrate, callback) {
|
|
28869
28869
|
{
|
|
28870
|
-
topLevelUpdateWarnings(
|
|
28870
|
+
topLevelUpdateWarnings(container2);
|
|
28871
28871
|
warnOnInvalidCallback$1(callback === void 0 ? null : callback, "render");
|
|
28872
28872
|
}
|
|
28873
|
-
var maybeRoot =
|
|
28873
|
+
var maybeRoot = container2._reactRootContainer;
|
|
28874
28874
|
var root2;
|
|
28875
28875
|
if (!maybeRoot) {
|
|
28876
|
-
root2 = legacyCreateRootFromDOMContainer(
|
|
28876
|
+
root2 = legacyCreateRootFromDOMContainer(container2, children, parentComponent, callback, forceHydrate);
|
|
28877
28877
|
} else {
|
|
28878
28878
|
root2 = maybeRoot;
|
|
28879
28879
|
if (typeof callback === "function") {
|
|
@@ -28913,35 +28913,35 @@ function requireReactDom_development() {
|
|
|
28913
28913
|
return findHostInstanceWithWarning(componentOrElement, "findDOMNode");
|
|
28914
28914
|
}
|
|
28915
28915
|
}
|
|
28916
|
-
function hydrate(element,
|
|
28916
|
+
function hydrate(element, container2, callback) {
|
|
28917
28917
|
{
|
|
28918
28918
|
error("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot");
|
|
28919
28919
|
}
|
|
28920
|
-
if (!isValidContainerLegacy(
|
|
28920
|
+
if (!isValidContainerLegacy(container2)) {
|
|
28921
28921
|
throw new Error("Target container is not a DOM element.");
|
|
28922
28922
|
}
|
|
28923
28923
|
{
|
|
28924
|
-
var isModernRoot = isContainerMarkedAsRoot(
|
|
28924
|
+
var isModernRoot = isContainerMarkedAsRoot(container2) && container2._reactRootContainer === void 0;
|
|
28925
28925
|
if (isModernRoot) {
|
|
28926
28926
|
error("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?");
|
|
28927
28927
|
}
|
|
28928
28928
|
}
|
|
28929
|
-
return legacyRenderSubtreeIntoContainer(null, element,
|
|
28929
|
+
return legacyRenderSubtreeIntoContainer(null, element, container2, true, callback);
|
|
28930
28930
|
}
|
|
28931
|
-
function render(element,
|
|
28931
|
+
function render(element, container2, callback) {
|
|
28932
28932
|
{
|
|
28933
28933
|
error("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot");
|
|
28934
28934
|
}
|
|
28935
|
-
if (!isValidContainerLegacy(
|
|
28935
|
+
if (!isValidContainerLegacy(container2)) {
|
|
28936
28936
|
throw new Error("Target container is not a DOM element.");
|
|
28937
28937
|
}
|
|
28938
28938
|
{
|
|
28939
|
-
var isModernRoot = isContainerMarkedAsRoot(
|
|
28939
|
+
var isModernRoot = isContainerMarkedAsRoot(container2) && container2._reactRootContainer === void 0;
|
|
28940
28940
|
if (isModernRoot) {
|
|
28941
28941
|
error("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?");
|
|
28942
28942
|
}
|
|
28943
28943
|
}
|
|
28944
|
-
return legacyRenderSubtreeIntoContainer(null, element,
|
|
28944
|
+
return legacyRenderSubtreeIntoContainer(null, element, container2, false, callback);
|
|
28945
28945
|
}
|
|
28946
28946
|
function unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
|
|
28947
28947
|
{
|
|
@@ -28956,42 +28956,42 @@ function requireReactDom_development() {
|
|
|
28956
28956
|
return legacyRenderSubtreeIntoContainer(parentComponent, element, containerNode, false, callback);
|
|
28957
28957
|
}
|
|
28958
28958
|
var didWarnAboutUnmountComponentAtNode = false;
|
|
28959
|
-
function unmountComponentAtNode(
|
|
28959
|
+
function unmountComponentAtNode(container2) {
|
|
28960
28960
|
{
|
|
28961
28961
|
if (!didWarnAboutUnmountComponentAtNode) {
|
|
28962
28962
|
didWarnAboutUnmountComponentAtNode = true;
|
|
28963
28963
|
error("unmountComponentAtNode is deprecated and will be removed in the next major release. Switch to the createRoot API. Learn more: https://reactjs.org/link/switch-to-createroot");
|
|
28964
28964
|
}
|
|
28965
28965
|
}
|
|
28966
|
-
if (!isValidContainerLegacy(
|
|
28966
|
+
if (!isValidContainerLegacy(container2)) {
|
|
28967
28967
|
throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");
|
|
28968
28968
|
}
|
|
28969
28969
|
{
|
|
28970
|
-
var isModernRoot = isContainerMarkedAsRoot(
|
|
28970
|
+
var isModernRoot = isContainerMarkedAsRoot(container2) && container2._reactRootContainer === void 0;
|
|
28971
28971
|
if (isModernRoot) {
|
|
28972
28972
|
error("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?");
|
|
28973
28973
|
}
|
|
28974
28974
|
}
|
|
28975
|
-
if (
|
|
28975
|
+
if (container2._reactRootContainer) {
|
|
28976
28976
|
{
|
|
28977
|
-
var rootEl = getReactRootElementInContainer(
|
|
28977
|
+
var rootEl = getReactRootElementInContainer(container2);
|
|
28978
28978
|
var renderedByDifferentReact = rootEl && !getInstanceFromNode(rootEl);
|
|
28979
28979
|
if (renderedByDifferentReact) {
|
|
28980
28980
|
error("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React.");
|
|
28981
28981
|
}
|
|
28982
28982
|
}
|
|
28983
28983
|
flushSync(function() {
|
|
28984
|
-
legacyRenderSubtreeIntoContainer(null, null,
|
|
28985
|
-
|
|
28986
|
-
unmarkContainerAsRoot(
|
|
28984
|
+
legacyRenderSubtreeIntoContainer(null, null, container2, false, function() {
|
|
28985
|
+
container2._reactRootContainer = null;
|
|
28986
|
+
unmarkContainerAsRoot(container2);
|
|
28987
28987
|
});
|
|
28988
28988
|
});
|
|
28989
28989
|
return true;
|
|
28990
28990
|
} else {
|
|
28991
28991
|
{
|
|
28992
|
-
var _rootEl = getReactRootElementInContainer(
|
|
28992
|
+
var _rootEl = getReactRootElementInContainer(container2);
|
|
28993
28993
|
var hasNonRootReactChild = !!(_rootEl && getInstanceFromNode(_rootEl));
|
|
28994
|
-
var isContainerReactRoot =
|
|
28994
|
+
var isContainerReactRoot = container2.nodeType === ELEMENT_NODE && isValidContainerLegacy(container2.parentNode) && !!container2.parentNode._reactRootContainer;
|
|
28995
28995
|
if (hasNonRootReactChild) {
|
|
28996
28996
|
error("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s", isContainerReactRoot ? "You may have accidentally passed in a React root node instead of its container." : "Instead, have the parent component update its state and rerender in order to remove this component.");
|
|
28997
28997
|
}
|
|
@@ -29013,12 +29013,12 @@ function requireReactDom_development() {
|
|
|
29013
29013
|
}
|
|
29014
29014
|
setRestoreImplementation(restoreControlledState$3);
|
|
29015
29015
|
setBatchingImplementation(batchedUpdates$1, discreteUpdates, flushSync);
|
|
29016
|
-
function createPortal$1(children,
|
|
29016
|
+
function createPortal$1(children, container2) {
|
|
29017
29017
|
var key = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null;
|
|
29018
|
-
if (!isValidContainer(
|
|
29018
|
+
if (!isValidContainer(container2)) {
|
|
29019
29019
|
throw new Error("Target container is not a DOM element.");
|
|
29020
29020
|
}
|
|
29021
|
-
return createPortal(children,
|
|
29021
|
+
return createPortal(children, container2, null, key);
|
|
29022
29022
|
}
|
|
29023
29023
|
function renderSubtreeIntoContainer(parentComponent, element, containerNode, callback) {
|
|
29024
29024
|
return unstable_renderSubtreeIntoContainer(parentComponent, element, containerNode, callback);
|
|
@@ -29029,21 +29029,21 @@ function requireReactDom_development() {
|
|
|
29029
29029
|
// This is an array for better minification.
|
|
29030
29030
|
Events: [getInstanceFromNode, getNodeFromInstance, getFiberCurrentPropsFromNode, enqueueStateRestore, restoreStateIfNeeded, batchedUpdates$1]
|
|
29031
29031
|
};
|
|
29032
|
-
function createRoot$1(
|
|
29032
|
+
function createRoot$1(container2, options2) {
|
|
29033
29033
|
{
|
|
29034
29034
|
if (!Internals.usingClientEntryPoint && true) {
|
|
29035
29035
|
error('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');
|
|
29036
29036
|
}
|
|
29037
29037
|
}
|
|
29038
|
-
return createRoot(
|
|
29038
|
+
return createRoot(container2, options2);
|
|
29039
29039
|
}
|
|
29040
|
-
function hydrateRoot$1(
|
|
29040
|
+
function hydrateRoot$1(container2, initialChildren, options2) {
|
|
29041
29041
|
{
|
|
29042
29042
|
if (!Internals.usingClientEntryPoint && true) {
|
|
29043
29043
|
error('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".');
|
|
29044
29044
|
}
|
|
29045
29045
|
}
|
|
29046
|
-
return hydrateRoot(
|
|
29046
|
+
return hydrateRoot(container2, initialChildren, options2);
|
|
29047
29047
|
}
|
|
29048
29048
|
function flushSync$1(fn) {
|
|
29049
29049
|
{
|
|
@@ -35324,13 +35324,16 @@ const getDefaultConfig = () => {
|
|
|
35324
35324
|
};
|
|
35325
35325
|
const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
|
|
35326
35326
|
const cx = (...args) => twMerge(clsx(...args));
|
|
35327
|
+
const container = "container_ueeVi";
|
|
35327
35328
|
const blur = "blur_9rZ6A";
|
|
35329
|
+
const rootContainer = "rootContainer_Z8gey";
|
|
35328
35330
|
const vmButton = "vmButton_Xr1Q6";
|
|
35329
35331
|
const opened = "opened_gewqL";
|
|
35330
35332
|
const isConnected = "isConnected_tjs3F";
|
|
35331
35333
|
const vmPopup = "vmPopup_Q4l4j";
|
|
35332
35334
|
const vmContent = "vmContent_VAE7p";
|
|
35333
35335
|
const vmContentTree = "vmContentTree_BB36O";
|
|
35336
|
+
const line = "line_Xgaua";
|
|
35334
35337
|
const vmTreeItem = "vmTreeItem_t-7jc";
|
|
35335
35338
|
const extrasItem = "extrasItem_MI9Fa";
|
|
35336
35339
|
const vmContentFilters = "vmContentFilters_No1QW";
|
|
@@ -35338,7 +35341,7 @@ const propertyMeta = "propertyMeta_XxYHc";
|
|
|
35338
35341
|
const small = "small_Ipy6s";
|
|
35339
35342
|
const propertyValue = "propertyValue_s9qHJ";
|
|
35340
35343
|
const propertyName = "property-name_2-sJi";
|
|
35341
|
-
const
|
|
35344
|
+
const expandable = "expandable_2LUhL";
|
|
35342
35345
|
const property = "property_eoWZv";
|
|
35343
35346
|
const instance = "instance_B-kEn";
|
|
35344
35347
|
const primitive = "primitive_5yfCy";
|
|
@@ -35353,13 +35356,16 @@ const expanded = "expanded_uFpb7";
|
|
|
35353
35356
|
const disabled = "disabled_IDojS";
|
|
35354
35357
|
const css = {
|
|
35355
35358
|
"static": "static_g5P-G",
|
|
35359
|
+
container,
|
|
35356
35360
|
blur,
|
|
35361
|
+
rootContainer,
|
|
35357
35362
|
vmButton,
|
|
35358
35363
|
opened,
|
|
35359
35364
|
isConnected,
|
|
35360
35365
|
vmPopup,
|
|
35361
35366
|
vmContent,
|
|
35362
35367
|
vmContentTree,
|
|
35368
|
+
line,
|
|
35363
35369
|
vmTreeItem,
|
|
35364
35370
|
extrasItem,
|
|
35365
35371
|
vmContentFilters,
|
|
@@ -35368,7 +35374,7 @@ const css = {
|
|
|
35368
35374
|
propertyValue,
|
|
35369
35375
|
"property-name": "property-name_2-sJi",
|
|
35370
35376
|
propertyName,
|
|
35371
|
-
|
|
35377
|
+
expandable,
|
|
35372
35378
|
property,
|
|
35373
35379
|
instance,
|
|
35374
35380
|
primitive,
|
|
@@ -35397,22 +35403,21 @@ const VmDevtoolsButton = observer(() => {
|
|
|
35397
35403
|
model.devtools.config.buttonClassName
|
|
35398
35404
|
),
|
|
35399
35405
|
"data-position": `${model.devtools.config.position}`,
|
|
35400
|
-
ref: model.devtools.buttonRef,
|
|
35401
35406
|
onClick: model.handleToggleOpen,
|
|
35402
35407
|
children: [
|
|
35403
35408
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("img", { src: model.devtools.logoUrl }, void 0, false, {
|
|
35404
35409
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",
|
|
35405
|
-
lineNumber:
|
|
35410
|
+
lineNumber: 23,
|
|
35406
35411
|
columnNumber: 7
|
|
35407
35412
|
}, void 0),
|
|
35408
35413
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", {}, void 0, false, {
|
|
35409
35414
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",
|
|
35410
|
-
lineNumber:
|
|
35415
|
+
lineNumber: 24,
|
|
35411
35416
|
columnNumber: 7
|
|
35412
35417
|
}, void 0),
|
|
35413
35418
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: model.devtools.allVms.length }, void 0, false, {
|
|
35414
35419
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-button/index.tsx",
|
|
35415
|
-
lineNumber:
|
|
35420
|
+
lineNumber: 25,
|
|
35416
35421
|
columnNumber: 7
|
|
35417
35422
|
}, void 0)
|
|
35418
35423
|
]
|
|
@@ -35756,6 +35761,10 @@ const a = null, { min: u, max: h, abs: p, floor: v } = Math, g = (e, t, o) => u(
|
|
|
35756
35761
|
}));
|
|
35757
35762
|
} else for (let [e, t2] = T2.S(r2); e <= t2; e++) L2.push(P(e));
|
|
35758
35763
|
return jsxRuntimeExports.jsx(v2, { ref: z2, style: { contain: "size style", overflowAnchor: "none", flex: "none", position: "relative", width: E2 ? A2 : "100%", height: E2 ? "100%" : A2, pointerEvents: J2 ? "none" : void 0 }, children: L2 });
|
|
35764
|
+
})), oe = /* @__PURE__ */ reactExports.forwardRef((({ children: t, data: o, bufferSize: r2, itemSize: i, shift: s, horizontal: l, keepMounted: c, reverse: f, cache: d, ssrCount: a2, item: u2, onScroll: h2, onScrollEnd: p2, style: v2, ...g2 }, m2) => {
|
|
35765
|
+
const _15 = reactExports.useRef(null), S2 = f && !l;
|
|
35766
|
+
let w2 = jsxRuntimeExports.jsx(te, { ref: m2, scrollRef: S2 ? _15 : void 0, data: o, bufferSize: r2, itemSize: i, shift: s, horizontal: l, keepMounted: c, cache: d, ssrCount: a2, item: u2, onScroll: h2, onScrollEnd: p2, children: t });
|
|
35767
|
+
return S2 && (w2 = jsxRuntimeExports.jsx("div", { style: { display: "flex", flexDirection: "column", justifyContent: "flex-end", minHeight: "100%", overflow: "clip" }, children: w2 })), jsxRuntimeExports.jsx("div", { ref: _15, ...g2, style: { display: l ? "inline-block" : "block", [l ? "overflowX" : "overflowY"]: "auto", contain: "strict", width: "100%", height: "100%", ...v2 }, children: w2 });
|
|
35759
35768
|
}));
|
|
35760
35769
|
const ignoredKeys = /* @__PURE__ */ new Set(["constructor"]);
|
|
35761
35770
|
const ignoredPrototypes = /* @__PURE__ */ new Set([
|
|
@@ -35832,7 +35841,7 @@ const ChevronRight = () => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("svg", {
|
|
|
35832
35841
|
columnNumber: 3
|
|
35833
35842
|
}, void 0);
|
|
35834
35843
|
const ExpandButton = ({
|
|
35835
|
-
expandable,
|
|
35844
|
+
expandable: expandable2,
|
|
35836
35845
|
expanded: expanded2,
|
|
35837
35846
|
onClick,
|
|
35838
35847
|
disabled: disabled2,
|
|
@@ -35843,11 +35852,11 @@ const ExpandButton = ({
|
|
|
35843
35852
|
{
|
|
35844
35853
|
onClick,
|
|
35845
35854
|
className: cx(css.expandButton, {
|
|
35846
|
-
[css.expandable]:
|
|
35855
|
+
[css.expandable]: expandable2,
|
|
35847
35856
|
[css.expanded]: expanded2,
|
|
35848
35857
|
[css.disabled]: disabled2
|
|
35849
35858
|
}),
|
|
35850
|
-
children: (
|
|
35859
|
+
children: (expandable2 || showIconAnyway) && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ChevronRight, {}, void 0, false, {
|
|
35851
35860
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/expand-button.tsx",
|
|
35852
35861
|
lineNumber: 27,
|
|
35853
35862
|
columnNumber: 42
|
|
@@ -35872,16 +35881,13 @@ const ArrayProperty = observer((props) => {
|
|
|
35872
35881
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
35873
35882
|
"div",
|
|
35874
35883
|
{
|
|
35875
|
-
className: cx(css.line, css.property, css.array
|
|
35884
|
+
className: cx(css.line, css.property, css.array, {
|
|
35885
|
+
[css.expandable]: isExpandable
|
|
35886
|
+
}),
|
|
35876
35887
|
style: { "--level": props.level, "--order": props.order },
|
|
35877
35888
|
onClick: () => model.handleExpandPropertyClick(props.path),
|
|
35878
35889
|
"data-fitted": props.isFitted,
|
|
35879
35890
|
children: [
|
|
35880
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExpandButton, { expandable: value.length > 0, expanded: isExpanded }, void 0, false, {
|
|
35881
|
-
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
|
|
35882
|
-
lineNumber: 25,
|
|
35883
|
-
columnNumber: 9
|
|
35884
|
-
}, void 0),
|
|
35885
35891
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: property2 }, void 0, false, {
|
|
35886
35892
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
|
|
35887
35893
|
lineNumber: 26,
|
|
@@ -35892,7 +35898,7 @@ const ArrayProperty = observer((props) => {
|
|
|
35892
35898
|
lineNumber: 27,
|
|
35893
35899
|
columnNumber: 9
|
|
35894
35900
|
}, void 0),
|
|
35895
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: isExpandable ? "[...]" : `[]` }, void 0, false, {
|
|
35901
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: isExpanded ? "[" : isExpandable ? "[...]" : `[]` }, void 0, false, {
|
|
35896
35902
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
|
|
35897
35903
|
lineNumber: 28,
|
|
35898
35904
|
columnNumber: 9
|
|
@@ -35903,35 +35909,60 @@ const ArrayProperty = observer((props) => {
|
|
|
35903
35909
|
true,
|
|
35904
35910
|
{
|
|
35905
35911
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
|
|
35906
|
-
lineNumber:
|
|
35912
|
+
lineNumber: 16,
|
|
35907
35913
|
columnNumber: 7
|
|
35908
35914
|
},
|
|
35909
35915
|
void 0
|
|
35910
35916
|
),
|
|
35911
|
-
isExpanded && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
35912
|
-
|
|
35913
|
-
|
|
35914
|
-
|
|
35915
|
-
|
|
35916
|
-
|
|
35917
|
-
|
|
35918
|
-
|
|
35919
|
-
|
|
35920
|
-
|
|
35921
|
-
|
|
35922
|
-
|
|
35917
|
+
isExpanded && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
35918
|
+
keys.map((key, order) => /* @__PURE__ */ reactExports.createElement(
|
|
35919
|
+
Property,
|
|
35920
|
+
{
|
|
35921
|
+
...props,
|
|
35922
|
+
name: key,
|
|
35923
|
+
order,
|
|
35924
|
+
value: value[key],
|
|
35925
|
+
key,
|
|
35926
|
+
path: `${props.path}.${key}`,
|
|
35927
|
+
level: props.level + 1
|
|
35928
|
+
}
|
|
35929
|
+
)),
|
|
35930
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
35931
|
+
"div",
|
|
35932
|
+
{
|
|
35933
|
+
className: cx(css.line, css.property),
|
|
35934
|
+
style: {
|
|
35935
|
+
"--level": props.level,
|
|
35936
|
+
"--order": keys.length
|
|
35937
|
+
},
|
|
35938
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `]` }, void 0, false, {
|
|
35939
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
|
|
35940
|
+
lineNumber: 54,
|
|
35941
|
+
columnNumber: 13
|
|
35942
|
+
}, void 0)
|
|
35943
|
+
},
|
|
35944
|
+
void 0,
|
|
35945
|
+
false,
|
|
35946
|
+
{
|
|
35947
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
|
|
35948
|
+
lineNumber: 45,
|
|
35949
|
+
columnNumber: 11
|
|
35950
|
+
},
|
|
35951
|
+
void 0
|
|
35952
|
+
)
|
|
35953
|
+
] }, void 0, true, {
|
|
35923
35954
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
|
|
35924
35955
|
lineNumber: 33,
|
|
35925
35956
|
columnNumber: 9
|
|
35926
35957
|
}, void 0)
|
|
35927
35958
|
] }, void 0, true, {
|
|
35928
35959
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/array.tsx",
|
|
35929
|
-
lineNumber:
|
|
35960
|
+
lineNumber: 15,
|
|
35930
35961
|
columnNumber: 5
|
|
35931
35962
|
}, void 0);
|
|
35932
35963
|
});
|
|
35933
35964
|
const FunctionProperty = observer((props) => {
|
|
35934
|
-
const { name: property2, value
|
|
35965
|
+
const { name: property2, value } = props;
|
|
35935
35966
|
const argLabels = Array.from(
|
|
35936
35967
|
{ length: value.length },
|
|
35937
35968
|
(_15, i) => `arg${i + 1}`
|
|
@@ -35944,24 +35975,14 @@ const FunctionProperty = observer((props) => {
|
|
|
35944
35975
|
style: { "--level": props.level, "--order": props.order },
|
|
35945
35976
|
"data-fitted": props.isFitted,
|
|
35946
35977
|
children: [
|
|
35947
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExpandButton, {}, void 0, false, {
|
|
35948
|
-
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/function.tsx",
|
|
35949
|
-
lineNumber: 25,
|
|
35950
|
-
columnNumber: 7
|
|
35951
|
-
}, void 0),
|
|
35952
|
-
valueType.includes("Async") && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: cx(css.propertyMeta, css.small), children: "async " }, void 0, false, {
|
|
35953
|
-
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/function.tsx",
|
|
35954
|
-
lineNumber: 27,
|
|
35955
|
-
columnNumber: 9
|
|
35956
|
-
}, void 0),
|
|
35957
35978
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: property2 }, void 0, false, {
|
|
35958
35979
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/function.tsx",
|
|
35959
|
-
lineNumber:
|
|
35980
|
+
lineNumber: 24,
|
|
35960
35981
|
columnNumber: 7
|
|
35961
35982
|
}, void 0),
|
|
35962
35983
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `(${argLabels.join(", ")})` }, void 0, false, {
|
|
35963
35984
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/function.tsx",
|
|
35964
|
-
lineNumber:
|
|
35985
|
+
lineNumber: 25,
|
|
35965
35986
|
columnNumber: 7
|
|
35966
35987
|
}, void 0)
|
|
35967
35988
|
]
|
|
@@ -35970,7 +35991,7 @@ const FunctionProperty = observer((props) => {
|
|
|
35970
35991
|
true,
|
|
35971
35992
|
{
|
|
35972
35993
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/function.tsx",
|
|
35973
|
-
lineNumber:
|
|
35994
|
+
lineNumber: 16,
|
|
35974
35995
|
columnNumber: 5
|
|
35975
35996
|
},
|
|
35976
35997
|
void 0
|
|
@@ -35986,30 +36007,33 @@ const InstanceProperty = observer((props) => {
|
|
|
35986
36007
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
35987
36008
|
"div",
|
|
35988
36009
|
{
|
|
35989
|
-
className: cx(css.line, css.property, css.instance),
|
|
36010
|
+
className: cx(css.line, css.property, css.instance, css.expandable),
|
|
35990
36011
|
style: { "--level": props.level, "--order": props.order },
|
|
35991
36012
|
onClick: () => model.handleExpandPropertyClick(props.path),
|
|
35992
36013
|
"data-fitted": props.isFitted,
|
|
35993
36014
|
children: [
|
|
35994
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExpandButton, { expandable: true, expanded: isExpanded }, void 0, false, {
|
|
35995
|
-
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
35996
|
-
lineNumber: 28,
|
|
35997
|
-
columnNumber: 9
|
|
35998
|
-
}, void 0),
|
|
35999
36015
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: name }, void 0, false, {
|
|
36000
36016
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
36001
|
-
lineNumber:
|
|
36017
|
+
lineNumber: 27,
|
|
36002
36018
|
columnNumber: 9
|
|
36003
36019
|
}, void 0),
|
|
36004
36020
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: ": " }, void 0, false, {
|
|
36005
36021
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
36006
|
-
lineNumber:
|
|
36022
|
+
lineNumber: 28,
|
|
36007
36023
|
columnNumber: 9
|
|
36008
36024
|
}, void 0),
|
|
36009
36025
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: `${className}` }, void 0, false, {
|
|
36010
36026
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
36011
|
-
lineNumber:
|
|
36027
|
+
lineNumber: 29,
|
|
36012
36028
|
columnNumber: 9
|
|
36029
|
+
}, void 0),
|
|
36030
|
+
isExpanded && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: [
|
|
36031
|
+
" ",
|
|
36032
|
+
`{`
|
|
36033
|
+
] }, void 0, true, {
|
|
36034
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
36035
|
+
lineNumber: 30,
|
|
36036
|
+
columnNumber: 24
|
|
36013
36037
|
}, void 0)
|
|
36014
36038
|
]
|
|
36015
36039
|
},
|
|
@@ -36017,26 +36041,55 @@ const InstanceProperty = observer((props) => {
|
|
|
36017
36041
|
true,
|
|
36018
36042
|
{
|
|
36019
36043
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
36020
|
-
lineNumber:
|
|
36044
|
+
lineNumber: 19,
|
|
36021
36045
|
columnNumber: 7
|
|
36022
36046
|
},
|
|
36023
36047
|
void 0
|
|
36024
36048
|
),
|
|
36025
|
-
isExpanded &&
|
|
36026
|
-
|
|
36027
|
-
|
|
36028
|
-
|
|
36029
|
-
|
|
36030
|
-
|
|
36031
|
-
|
|
36032
|
-
|
|
36033
|
-
|
|
36034
|
-
|
|
36035
|
-
|
|
36036
|
-
|
|
36049
|
+
isExpanded && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
36050
|
+
keys.map((key, order) => /* @__PURE__ */ reactExports.createElement(
|
|
36051
|
+
Property,
|
|
36052
|
+
{
|
|
36053
|
+
...props,
|
|
36054
|
+
name: key,
|
|
36055
|
+
order,
|
|
36056
|
+
value: value[key],
|
|
36057
|
+
key,
|
|
36058
|
+
path: `${props.path}.${key}`,
|
|
36059
|
+
level: props.level + 1
|
|
36060
|
+
}
|
|
36061
|
+
)),
|
|
36062
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
36063
|
+
"div",
|
|
36064
|
+
{
|
|
36065
|
+
className: cx(css.line, css.property, css.instance),
|
|
36066
|
+
style: {
|
|
36067
|
+
"--level": props.level,
|
|
36068
|
+
"--order": keys.length
|
|
36069
|
+
},
|
|
36070
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `}` }, void 0, false, {
|
|
36071
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
36072
|
+
lineNumber: 54,
|
|
36073
|
+
columnNumber: 13
|
|
36074
|
+
}, void 0)
|
|
36075
|
+
},
|
|
36076
|
+
void 0,
|
|
36077
|
+
false,
|
|
36078
|
+
{
|
|
36079
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
36080
|
+
lineNumber: 45,
|
|
36081
|
+
columnNumber: 11
|
|
36082
|
+
},
|
|
36083
|
+
void 0
|
|
36084
|
+
)
|
|
36085
|
+
] }, void 0, true, {
|
|
36086
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
36087
|
+
lineNumber: 33,
|
|
36088
|
+
columnNumber: 9
|
|
36089
|
+
}, void 0)
|
|
36037
36090
|
] }, void 0, true, {
|
|
36038
36091
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/instance.tsx",
|
|
36039
|
-
lineNumber:
|
|
36092
|
+
lineNumber: 18,
|
|
36040
36093
|
columnNumber: 5
|
|
36041
36094
|
}, void 0);
|
|
36042
36095
|
});
|
|
@@ -36049,16 +36102,13 @@ const ObjectProperty = observer((props) => {
|
|
|
36049
36102
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
36050
36103
|
"div",
|
|
36051
36104
|
{
|
|
36052
|
-
className: cx(css.line, css.property, css.object
|
|
36105
|
+
className: cx(css.line, css.property, css.object, {
|
|
36106
|
+
[css.expandable]: isExpandable
|
|
36107
|
+
}),
|
|
36053
36108
|
style: { "--level": props.level, "--order": props.order },
|
|
36054
36109
|
onClick: () => model.handleExpandPropertyClick(props.path),
|
|
36055
36110
|
"data-fitted": props.isFitted,
|
|
36056
36111
|
children: [
|
|
36057
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExpandButton, { expandable: isExpandable, expanded: isExpanded }, void 0, false, {
|
|
36058
|
-
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
|
|
36059
|
-
lineNumber: 26,
|
|
36060
|
-
columnNumber: 9
|
|
36061
|
-
}, void 0),
|
|
36062
36112
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: property2 }, void 0, false, {
|
|
36063
36113
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
|
|
36064
36114
|
lineNumber: 27,
|
|
@@ -36069,7 +36119,7 @@ const ObjectProperty = observer((props) => {
|
|
|
36069
36119
|
lineNumber: 28,
|
|
36070
36120
|
columnNumber: 9
|
|
36071
36121
|
}, void 0),
|
|
36072
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: isExpandable ? "{...}" : `{}` }, void 0, false, {
|
|
36122
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: isExpanded ? "{" : isExpandable ? "{...}" : `{}` }, void 0, false, {
|
|
36073
36123
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
|
|
36074
36124
|
lineNumber: 29,
|
|
36075
36125
|
columnNumber: 9
|
|
@@ -36080,26 +36130,55 @@ const ObjectProperty = observer((props) => {
|
|
|
36080
36130
|
true,
|
|
36081
36131
|
{
|
|
36082
36132
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
|
|
36083
|
-
lineNumber:
|
|
36133
|
+
lineNumber: 17,
|
|
36084
36134
|
columnNumber: 7
|
|
36085
36135
|
},
|
|
36086
36136
|
void 0
|
|
36087
36137
|
),
|
|
36088
|
-
isExpanded &&
|
|
36089
|
-
|
|
36090
|
-
|
|
36091
|
-
|
|
36092
|
-
|
|
36093
|
-
|
|
36094
|
-
|
|
36095
|
-
|
|
36096
|
-
|
|
36097
|
-
|
|
36098
|
-
|
|
36099
|
-
|
|
36138
|
+
isExpanded && /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(jsxDevRuntimeExports.Fragment, { children: [
|
|
36139
|
+
keys.map((key, order) => /* @__PURE__ */ reactExports.createElement(
|
|
36140
|
+
Property,
|
|
36141
|
+
{
|
|
36142
|
+
...props,
|
|
36143
|
+
name: key,
|
|
36144
|
+
order,
|
|
36145
|
+
value: value[key],
|
|
36146
|
+
key,
|
|
36147
|
+
path: `${props.path}.${key}`,
|
|
36148
|
+
level: props.level + 1
|
|
36149
|
+
}
|
|
36150
|
+
)),
|
|
36151
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
36152
|
+
"div",
|
|
36153
|
+
{
|
|
36154
|
+
className: cx(css.line, css.property),
|
|
36155
|
+
style: {
|
|
36156
|
+
"--level": props.level,
|
|
36157
|
+
"--order": keys.length
|
|
36158
|
+
},
|
|
36159
|
+
children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: `}` }, void 0, false, {
|
|
36160
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
|
|
36161
|
+
lineNumber: 55,
|
|
36162
|
+
columnNumber: 13
|
|
36163
|
+
}, void 0)
|
|
36164
|
+
},
|
|
36165
|
+
void 0,
|
|
36166
|
+
false,
|
|
36167
|
+
{
|
|
36168
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
|
|
36169
|
+
lineNumber: 46,
|
|
36170
|
+
columnNumber: 11
|
|
36171
|
+
},
|
|
36172
|
+
void 0
|
|
36173
|
+
)
|
|
36174
|
+
] }, void 0, true, {
|
|
36175
|
+
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
|
|
36176
|
+
lineNumber: 34,
|
|
36177
|
+
columnNumber: 9
|
|
36178
|
+
}, void 0)
|
|
36100
36179
|
] }, void 0, true, {
|
|
36101
36180
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/object.tsx",
|
|
36102
|
-
lineNumber:
|
|
36181
|
+
lineNumber: 16,
|
|
36103
36182
|
columnNumber: 5
|
|
36104
36183
|
}, void 0);
|
|
36105
36184
|
});
|
|
@@ -36114,24 +36193,19 @@ const PrimitiveProperty = observer((props) => {
|
|
|
36114
36193
|
"data-fitted": props.isFitted,
|
|
36115
36194
|
title: String(value),
|
|
36116
36195
|
children: [
|
|
36117
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(ExpandButton, {}, void 0, false, {
|
|
36118
|
-
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
|
|
36119
|
-
lineNumber: 21,
|
|
36120
|
-
columnNumber: 7
|
|
36121
|
-
}, void 0),
|
|
36122
36196
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyName, children: name }, void 0, false, {
|
|
36123
36197
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
|
|
36124
|
-
lineNumber:
|
|
36198
|
+
lineNumber: 20,
|
|
36125
36199
|
columnNumber: 7
|
|
36126
36200
|
}, void 0),
|
|
36127
36201
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyMeta, children: ": " }, void 0, false, {
|
|
36128
36202
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
|
|
36129
|
-
lineNumber:
|
|
36203
|
+
lineNumber: 21,
|
|
36130
36204
|
columnNumber: 7
|
|
36131
36205
|
}, void 0),
|
|
36132
36206
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { className: css.propertyValue, children: primitiveType === "symbol" ? "Symbol" : primitiveType === "string" ? `"${value}"` : `${value}` }, void 0, false, {
|
|
36133
36207
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
|
|
36134
|
-
lineNumber:
|
|
36208
|
+
lineNumber: 22,
|
|
36135
36209
|
columnNumber: 7
|
|
36136
36210
|
}, void 0)
|
|
36137
36211
|
]
|
|
@@ -36140,7 +36214,7 @@ const PrimitiveProperty = observer((props) => {
|
|
|
36140
36214
|
true,
|
|
36141
36215
|
{
|
|
36142
36216
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/vm-tree-item-render/property/primitive.tsx",
|
|
36143
|
-
lineNumber:
|
|
36217
|
+
lineNumber: 12,
|
|
36144
36218
|
columnNumber: 5
|
|
36145
36219
|
},
|
|
36146
36220
|
void 0
|
|
@@ -36379,18 +36453,17 @@ const VmDevtoolsContent = observer(
|
|
|
36379
36453
|
{
|
|
36380
36454
|
...props,
|
|
36381
36455
|
className: cx(css.vmContent, className),
|
|
36382
|
-
ref: model.devtools.containerRef,
|
|
36383
36456
|
children: [
|
|
36384
36457
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("header", { children: [
|
|
36385
36458
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("span", { children: "mobx-view-model devtools" }, void 0, false, {
|
|
36386
36459
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
36387
|
-
lineNumber:
|
|
36460
|
+
lineNumber: 28,
|
|
36388
36461
|
columnNumber: 11
|
|
36389
36462
|
}, void 0),
|
|
36390
36463
|
headerContent
|
|
36391
36464
|
] }, void 0, true, {
|
|
36392
36465
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
36393
|
-
lineNumber:
|
|
36466
|
+
lineNumber: 27,
|
|
36394
36467
|
columnNumber: 9
|
|
36395
36468
|
}, void 0),
|
|
36396
36469
|
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV("div", { className: css.vmContentFilters, children: /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
@@ -36406,16 +36479,16 @@ const VmDevtoolsContent = observer(
|
|
|
36406
36479
|
false,
|
|
36407
36480
|
{
|
|
36408
36481
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
36409
|
-
lineNumber:
|
|
36482
|
+
lineNumber: 32,
|
|
36410
36483
|
columnNumber: 11
|
|
36411
36484
|
},
|
|
36412
36485
|
void 0
|
|
36413
36486
|
) }, void 0, false, {
|
|
36414
36487
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
36415
|
-
lineNumber:
|
|
36488
|
+
lineNumber: 31,
|
|
36416
36489
|
columnNumber: 9
|
|
36417
36490
|
}, void 0),
|
|
36418
|
-
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
36491
|
+
/* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(oe, { className: css.vmContentTree, ref: model.devtools.scrollListRef, children: [
|
|
36419
36492
|
model.devtools.vmTree.map((vmItem) => /* @__PURE__ */ jsxDevRuntimeExports.jsxDEV(
|
|
36420
36493
|
VmTreeItemRender,
|
|
36421
36494
|
{
|
|
@@ -36425,8 +36498,8 @@ const VmDevtoolsContent = observer(
|
|
|
36425
36498
|
false,
|
|
36426
36499
|
{
|
|
36427
36500
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
36428
|
-
lineNumber:
|
|
36429
|
-
columnNumber:
|
|
36501
|
+
lineNumber: 42,
|
|
36502
|
+
columnNumber: 13
|
|
36430
36503
|
},
|
|
36431
36504
|
void 0
|
|
36432
36505
|
)),
|
|
@@ -36442,18 +36515,14 @@ const VmDevtoolsContent = observer(
|
|
|
36442
36515
|
false,
|
|
36443
36516
|
{
|
|
36444
36517
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
36445
|
-
lineNumber:
|
|
36446
|
-
columnNumber:
|
|
36518
|
+
lineNumber: 48,
|
|
36519
|
+
columnNumber: 13
|
|
36447
36520
|
},
|
|
36448
36521
|
void 0
|
|
36449
36522
|
)
|
|
36450
36523
|
] }, void 0, true, {
|
|
36451
36524
|
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
36452
|
-
lineNumber:
|
|
36453
|
-
columnNumber: 11
|
|
36454
|
-
}, void 0) }, void 0, false, {
|
|
36455
|
-
fileName: "/home/js2me/projects/open-source/mobx-view-model-devtools/src/ui/devtools-content/index.tsx",
|
|
36456
|
-
lineNumber: 41,
|
|
36525
|
+
lineNumber: 40,
|
|
36457
36526
|
columnNumber: 9
|
|
36458
36527
|
}, void 0)
|
|
36459
36528
|
]
|
|
@@ -36701,17 +36770,19 @@ class KeyboardHandler2 extends KeyboardHandler$1 {
|
|
|
36701
36770
|
{
|
|
36702
36771
|
shortcuts: ["Ctrl+ArrowDown"],
|
|
36703
36772
|
action: () => {
|
|
36704
|
-
|
|
36705
|
-
|
|
36706
|
-
|
|
36773
|
+
if (!devtools.scrollListRef.current) return;
|
|
36774
|
+
devtools.scrollListRef.current.scrollTo(
|
|
36775
|
+
devtools.scrollListRef.current.scrollOffset + 400
|
|
36776
|
+
);
|
|
36707
36777
|
}
|
|
36708
36778
|
},
|
|
36709
36779
|
{
|
|
36710
36780
|
shortcuts: ["Ctrl+ArrowUp"],
|
|
36711
36781
|
action: () => {
|
|
36712
|
-
|
|
36713
|
-
|
|
36714
|
-
|
|
36782
|
+
if (!devtools.scrollListRef.current) return;
|
|
36783
|
+
devtools.scrollListRef.current.scrollTo(
|
|
36784
|
+
devtools.scrollListRef.current.scrollOffset - 400
|
|
36785
|
+
);
|
|
36715
36786
|
}
|
|
36716
36787
|
}
|
|
36717
36788
|
]
|
|
@@ -36788,8 +36859,8 @@ class ViewModelDevtools {
|
|
|
36788
36859
|
this.expandedVmItemsPaths = observable.set();
|
|
36789
36860
|
this.logoUrl = "https://js2me.github.io/mobx-view-model/logo.png";
|
|
36790
36861
|
this.inputRef = createFocusableRef();
|
|
36791
|
-
this.
|
|
36792
|
-
this.
|
|
36862
|
+
this.scrollContentRef = createRef();
|
|
36863
|
+
this.scrollListRef = createRef();
|
|
36793
36864
|
this.keyboardHandler = new KeyboardHandler2(this);
|
|
36794
36865
|
makeObservable(this, {
|
|
36795
36866
|
isPopupOpened: observable.ref,
|
|
@@ -36820,11 +36891,11 @@ class ViewModelDevtools {
|
|
|
36820
36891
|
expandedVmItemsPaths;
|
|
36821
36892
|
logoUrl;
|
|
36822
36893
|
inputRef;
|
|
36823
|
-
|
|
36824
|
-
buttonRef;
|
|
36894
|
+
scrollContentRef;
|
|
36825
36895
|
keyboardHandler;
|
|
36826
36896
|
search;
|
|
36827
36897
|
expandedVmsSet;
|
|
36898
|
+
scrollListRef;
|
|
36828
36899
|
get allVms() {
|
|
36829
36900
|
const vmStore = this.projectVmStore;
|
|
36830
36901
|
const viewModelsMap = vmStore?.viewModels ?? /* @__PURE__ */ new Map();
|
|
@@ -37024,22 +37095,23 @@ class ViewModelDevtools {
|
|
|
37024
37095
|
}
|
|
37025
37096
|
render() {
|
|
37026
37097
|
const containerId = this.config.containerId ?? "view-model-devtools";
|
|
37027
|
-
let
|
|
37098
|
+
let container2 = document.querySelector(
|
|
37028
37099
|
`#${containerId}`
|
|
37029
37100
|
);
|
|
37030
|
-
if (!
|
|
37031
|
-
|
|
37032
|
-
|
|
37033
|
-
|
|
37101
|
+
if (!container2) {
|
|
37102
|
+
container2 = document.createElement("div");
|
|
37103
|
+
container2.style = "display: contents;";
|
|
37104
|
+
container2.className = css.rootContainer;
|
|
37105
|
+
container2.id = containerId;
|
|
37034
37106
|
if (document.body) {
|
|
37035
|
-
document.body.appendChild(
|
|
37107
|
+
document.body.appendChild(container2);
|
|
37036
37108
|
} else {
|
|
37037
37109
|
document.addEventListener("DOMContentLoaded", () => {
|
|
37038
|
-
document.body.appendChild(
|
|
37110
|
+
document.body.appendChild(container2);
|
|
37039
37111
|
});
|
|
37040
37112
|
}
|
|
37041
37113
|
}
|
|
37042
|
-
const root = clientExports.createRoot(
|
|
37114
|
+
const root = clientExports.createRoot(container2);
|
|
37043
37115
|
root.render(reactExports.createElement(DevtoolsClient, { payload: { devtools: this } }));
|
|
37044
37116
|
}
|
|
37045
37117
|
static _instance = null;
|