fubi 1.0.0-beta.14 → 1.0.0-beta.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +36 -11
- package/dist/index.iife.js +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -12,7 +12,7 @@ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot
|
|
|
12
12
|
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
|
|
13
13
|
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
|
|
14
14
|
var __superGet = (cls, obj, key2) => __reflectGet(__getProtoOf(cls), key2, obj);
|
|
15
|
-
var _previous, _callbacks, _pending, _blocking_pending, _deferred, _dirty_effects, _maybe_dirty_effects, _Batch_instances, traverse_effect_tree_fn, defer_effects_fn, resolve_fn, commit_fn, _pending2, _anchor, _hydrate_open, _props, _children, _effect, _main_effect, _pending_effect, _failed_effect, _offscreen_fragment, _local_pending_count, _pending_count, _is_creating_fallback, _effect_pending, _effect_pending_update, _effect_pending_subscriber, _Boundary_instances, hydrate_resolved_content_fn, hydrate_pending_content_fn, run_fn, show_pending_snippet_fn, update_pending_count_fn, _batches, _onscreen, _offscreen, _transition, _commit, _listeners, _observer, _options, _ResizeObserverSingleton_instances, getObserver_fn, _sources, _version, _size, _update_version, _SvelteMap_instances, source_fn, read_all_fn, _callback, _fpsLimitOption, _fpsLimit, _previousTimestamp, _frame, _fps, _running, _window, _AnimationFrames_instances, loop_fn, _current, _key, _serializer, _storage, _subscribe, _update, _proxies, _handleStorageEvent, _PersistedState_instances, deserialize_fn, serialize_fn, _options2, _element, _idle, _offset, _onScroll, _onStop, _eventListenerOptions, _behavior, _onError, _internalX, _internalY, _x, _y, _isScrolling, _arrived, _directions, _progress, _onScrollHandler, _loading, _ready, _error, _maintenance, _title, _message, _user, _loginError, _listeners2, _hovering, _focusWithin, _visible, _lastUsedFeature, _minimized, _a, _active, _id, _current2, _error2, _id2, _current3, _error3, _hasAccess, _role, _data, _error4, _filter, _query, _sort, _page, _perPage, _empty, _unlockedFolders, _canAccess, _filter2, _query2, _users, _b, _c, _url, _filter3, _valid, _current4, _pageName, _error5, _isNew, _meta, _d, _stiffness, _damping, _precision, _current5, _target, _last_value, _last_time, _inverse_mass, _momentum, _task, _deferred2, _Spring_instances, update_fn, _el, _contentScrollState, _breakpoints, _currentBreakpoint, _nextBreakpoint, _dragging, _visible2, _back, _e, _touch, _root, _name, _key2, _size2, _observed, _options3, _node, _window2, _width, _height, _subscribe2, _variant, _prefix, _opts, _currentTabStopId, _opts2, _currentFrame, _AnimationsComplete_instances, cleanup_fn, executeCallback_fn, _opts3, _enabled, _afterAnimations, _shouldRender, _triggerNode, _contentNode, _overlayNode, _descriptionNode, _contentId, _titleId, _triggerId, _descriptionId, _cancelNode, _nestedOpenCount, _sharedProps, _props2, _props3, _snippetProps, _props4, _snippetProps2, _props5, _opts4, _search, _onMatch, _getCurrentItem, _opts5, _enabled2, _isPointerInTransit, _pointerGraceArea, _GraceArea_instances, removeGraceArea_fn, createGraceArea_fn, _ignoreCloseAutoFocus, _isPointerInTransit2, _contentNode2, _triggerNode2, _search2, _timer, _handleTypeaheadSearch, _mounted, _isSub, _MenuContentState_instances, getCandidateNodes_fn, isPointerMovingToSubmenu_fn, _snippetProps3, _props6, _isFocused, _props7, _isPointerDown, _MenuItemState_instances, handleSelect_fn, _props8, _openTimer, _MenuSubTriggerState_instances, clearOpenTimer_fn, _props9, _ariaControls, _props10, _interactOutsideProp, _behaviorType, _interceptedEvents, _isResponsibleLayer, _isFocusInsideDOMTree, _documentObj, _onFocusOutside, _unsubClickListener, _handleFocus, _DismissibleLayerState_instances, addEventListeners_fn, _handleDismiss, _handleInteractOutside, _markInterceptedEvent, _markNonInterceptedEvent, _markResponsibleLayer, _isTargetWithinLayer, _resetState, isAnyEventIntercepted_fn, _onfocuscapture, _onblurcapture, _addEventListener, _onkeydown, _scopeStack, _focusHistory, _preFocusHistory, _paused, _container, _manager, _cleanupFns, _opts6, _FocusScope_instances, cleanup_fn2, handleOpenAutoFocus_fn, handleCloseAutoFocus_fn, setupEventListeners_fn, getTabbables_fn, getFirstTabbable_fn, getAllFocusables_fn, _unsubSelectionLock, _TextSelectionLayerState_instances, addEventListeners_fn2, _pointerdown, _resetSelectionLock, _factory, _subscribers, _state, _scope, _SharedState_instances, dispose_fn, _id3, _initialState, _restoreScrollDelay, _countState, _transformedStyle, _updatePositionStrategy, _arrowSize, _arrowWidth, _arrowHeight, _desiredPlacement, _boundary, _hasExplicitBoundaries, _detectOverflowOptions, _availableWidth, _availableHeight, _anchorWidth, _anchorHeight, _middleware, _placedSide, _placedAlign, _arrowX, _arrowY, _cannotCenterArrow, _contentZIndex, _arrowBaseSide, _wrapperProps, _props11, _arrowStyle, _opts7, _buffer, _exitPoint, _exitTarget, _SafePolygon_instances, onPointerMove_fn, getCorridorPolygon_fn, getSafePolygon_fn, flipSide_fn, _contentNode3, _triggerNode3, _overlayNode2, _openedViaHover, _hasInteractedWithContent, _hoverCooldown, _closeDelay, _closeTimeout, _domContext, _PopoverRootState_instances, clearCloseTimeout_fn, _snippetProps4, _props12, _interval, _cb, _timer2, _TimeoutFn_instances, clear_fn, _isOpenDelayed, _timerFn, _openTooltip, _startTimer, _clearTimer, _delayDuration, _disableHoverableContent, _disableCloseOnTriggerClick, _disabled, _ignoreNonKeyboardFocus, _contentNode4, _triggerNode4, _wasOpenDelayed, _timerFn2, _stateAttr, _handleDelayedOpen, _isPointerDown2, _hasPointerMoveOpened, _isDisabled, _transitCheckTimeout, _clearTransitCheck, _onpointerup, _onpointerdown, _onpointerenter, _onpointermove, _onpointerleave, _onfocus, _onblur, _onclick, _props13, _snippetProps5, _props14, _resolution, _current6, _visible3, _pinned, _routes, _navigating, _direction, _previous2, _current7, _next, _hasAutoNavigatedToComments, _nextCurrent, _f, _scroll, _mouse, _insideFubi, _mode, _highlightVisible, _current8, _info, _isIsolated, _highlightColor, _highlightInstant, _highlightCoords, _tagInfo, _isolationSelector, _emptyHover, _previous3, _ignoreNextClick, _hoverSelector, _isScrolling2, _filter4, _domTick, _threads, _grouped, _filters, _filteredThreads, _threadsDone, _threadsWithStatus, _isolatedThreads, _activeThreadId, _activeThread, _activeThreadReplies, _bindings, _filter5, _query3, _url2, _current9, _activeDomain, _isActive, _blocked, _bodyDimensions, _opened, _type, _query4, _selectedIndex, _anchorElement, _items, _g, _enabled3, _from, _to, _fromAnchor, _toAnchor, _isAbove, _isLeft, _isSameLevel, _isCloserToBottom, _bounds, _h, _opened2, _data2, _visible4, _shareImage, _favicon, _touchicon, _title2, _description, _i, _enableHover, _trackHover, _hoverElement, _isolateFromHover, _dismissIsolation, _handleHoverClick, _showHighlight, _goBack, _commentInputSubmit, _commentInputEscape, _navigatePicker, _confirmPicker, _cancelPicker, _createComment, _deleteComment, _updateComment, _reply, _accessFolders, _dragWindow, _openWindow, _closeWindow, _toggleWindow, _authenticate, _logout, _openAnalysis, _openMeta, _displayCommentsOverview, _displayPagesOverview, _showToolbarMenu, _accessSettings, _openOnMobile, _checks, _loading2, _visibility, _current10, _j;
|
|
15
|
+
var _previous, _callbacks, _pending, _blocking_pending, _deferred, _dirty_effects, _maybe_dirty_effects, _Batch_instances, traverse_effect_tree_fn, defer_effects_fn, resolve_fn, commit_fn, _pending2, _anchor, _hydrate_open, _props, _children, _effect, _main_effect, _pending_effect, _failed_effect, _offscreen_fragment, _local_pending_count, _pending_count, _is_creating_fallback, _effect_pending, _effect_pending_update, _effect_pending_subscriber, _Boundary_instances, hydrate_resolved_content_fn, hydrate_pending_content_fn, run_fn, show_pending_snippet_fn, update_pending_count_fn, _batches, _onscreen, _offscreen, _transition, _commit, _listeners, _observer, _options, _ResizeObserverSingleton_instances, getObserver_fn, _sources, _version, _size, _update_version, _SvelteMap_instances, source_fn, read_all_fn, _callback, _fpsLimitOption, _fpsLimit, _previousTimestamp, _frame, _fps, _running, _window, _AnimationFrames_instances, loop_fn, _current, _key, _serializer, _storage, _subscribe, _update, _proxies, _handleStorageEvent, _PersistedState_instances, deserialize_fn, serialize_fn, _options2, _element, _idle, _offset, _onScroll, _onStop, _eventListenerOptions, _behavior, _onError, _internalX, _internalY, _x, _y, _isScrolling, _arrived, _directions, _progress, _onScrollHandler, _loading, _ready, _error, _maintenance, _title, _message, _user, _loginError, _listeners2, _hovering, _focusWithin, _visible, _lastUsedFeature, _minimized, _a, _active, _id, _current2, _error2, _id2, _current3, _error3, _hasAccess, _role, _data, _error4, _filter, _query, _sort, _page, _perPage, _empty, _unlockedFolders, _canAccess, _filter2, _query2, _users, _b, _c, _url, _filter3, _valid, _current4, _pageName, _error5, _isNew, _meta, _d, _stiffness, _damping, _precision, _current5, _target, _last_value, _last_time, _inverse_mass, _momentum, _task, _deferred2, _Spring_instances, update_fn, _el, _uiOpened, _contentScrollState, _breakpoints, _currentBreakpoint, _nextBreakpoint, _dragging, _visible2, _back, _e, _touch, _root, _name, _key2, _size2, _observed, _options3, _node, _window2, _width, _height, _subscribe2, _variant, _prefix, _opts, _currentTabStopId, _opts2, _currentFrame, _AnimationsComplete_instances, cleanup_fn, executeCallback_fn, _opts3, _enabled, _afterAnimations, _shouldRender, _triggerNode, _contentNode, _overlayNode, _descriptionNode, _contentId, _titleId, _triggerId, _descriptionId, _cancelNode, _nestedOpenCount, _sharedProps, _props2, _props3, _snippetProps, _props4, _snippetProps2, _props5, _opts4, _search, _onMatch, _getCurrentItem, _opts5, _enabled2, _isPointerInTransit, _pointerGraceArea, _GraceArea_instances, removeGraceArea_fn, createGraceArea_fn, _ignoreCloseAutoFocus, _isPointerInTransit2, _contentNode2, _triggerNode2, _search2, _timer, _handleTypeaheadSearch, _mounted, _isSub, _MenuContentState_instances, getCandidateNodes_fn, isPointerMovingToSubmenu_fn, _snippetProps3, _props6, _isFocused, _props7, _isPointerDown, _MenuItemState_instances, handleSelect_fn, _props8, _openTimer, _MenuSubTriggerState_instances, clearOpenTimer_fn, _props9, _ariaControls, _props10, _interactOutsideProp, _behaviorType, _interceptedEvents, _isResponsibleLayer, _isFocusInsideDOMTree, _documentObj, _onFocusOutside, _unsubClickListener, _handleFocus, _DismissibleLayerState_instances, addEventListeners_fn, _handleDismiss, _handleInteractOutside, _markInterceptedEvent, _markNonInterceptedEvent, _markResponsibleLayer, _isTargetWithinLayer, _resetState, isAnyEventIntercepted_fn, _onfocuscapture, _onblurcapture, _addEventListener, _onkeydown, _scopeStack, _focusHistory, _preFocusHistory, _paused, _container, _manager, _cleanupFns, _opts6, _FocusScope_instances, cleanup_fn2, handleOpenAutoFocus_fn, handleCloseAutoFocus_fn, setupEventListeners_fn, getTabbables_fn, getFirstTabbable_fn, getAllFocusables_fn, _unsubSelectionLock, _TextSelectionLayerState_instances, addEventListeners_fn2, _pointerdown, _resetSelectionLock, _factory, _subscribers, _state, _scope, _SharedState_instances, dispose_fn, _id3, _initialState, _restoreScrollDelay, _countState, _transformedStyle, _updatePositionStrategy, _arrowSize, _arrowWidth, _arrowHeight, _desiredPlacement, _boundary, _hasExplicitBoundaries, _detectOverflowOptions, _availableWidth, _availableHeight, _anchorWidth, _anchorHeight, _middleware, _placedSide, _placedAlign, _arrowX, _arrowY, _cannotCenterArrow, _contentZIndex, _arrowBaseSide, _wrapperProps, _props11, _arrowStyle, _opts7, _buffer, _exitPoint, _exitTarget, _SafePolygon_instances, onPointerMove_fn, getCorridorPolygon_fn, getSafePolygon_fn, flipSide_fn, _contentNode3, _triggerNode3, _overlayNode2, _openedViaHover, _hasInteractedWithContent, _hoverCooldown, _closeDelay, _closeTimeout, _domContext, _PopoverRootState_instances, clearCloseTimeout_fn, _snippetProps4, _props12, _interval, _cb, _timer2, _TimeoutFn_instances, clear_fn, _isOpenDelayed, _timerFn, _openTooltip, _startTimer, _clearTimer, _delayDuration, _disableHoverableContent, _disableCloseOnTriggerClick, _disabled, _ignoreNonKeyboardFocus, _contentNode4, _triggerNode4, _wasOpenDelayed, _timerFn2, _stateAttr, _handleDelayedOpen, _isPointerDown2, _hasPointerMoveOpened, _isDisabled, _transitCheckTimeout, _clearTransitCheck, _onpointerup, _onpointerdown, _onpointerenter, _onpointermove, _onpointerleave, _onfocus, _onblur, _onclick, _props13, _snippetProps5, _props14, _resolution, _current6, _visible3, _pinned, _routes, _navigating, _direction, _previous2, _current7, _next, _hasAutoNavigatedToComments, _nextCurrent, _f, _scroll, _mouse, _insideFubi, _mode, _highlightVisible, _current8, _info, _isIsolated, _highlightColor, _highlightInstant, _highlightCoords, _tagInfo, _isolationSelector, _emptyHover, _previous3, _ignoreNextClick, _hoverSelector, _isScrolling2, _filter4, _domTick, _threads, _grouped, _filters, _filteredThreads, _threadsDone, _threadsWithStatus, _isolatedThreads, _activeThreadId, _activeThread, _activeThreadReplies, _bindings, _filter5, _query3, _url2, _current9, _activeDomain, _isActive, _blocked, _bodyDimensions, _opened, _type, _query4, _selectedIndex, _anchorElement, _items, _g, _enabled3, _from, _to, _fromAnchor, _toAnchor, _isAbove, _isLeft, _isSameLevel, _isCloserToBottom, _bounds, _h, _opened2, _data2, _visible4, _shareImage, _favicon, _touchicon, _title2, _description, _i, _enableHover, _trackHover, _hoverElement, _isolateFromHover, _dismissIsolation, _handleHoverClick, _showHighlight, _goBack, _commentInputSubmit, _commentInputEscape, _navigatePicker, _confirmPicker, _cancelPicker, _createComment, _deleteComment, _updateComment, _reply, _accessFolders, _dragWindow, _openWindow, _closeWindow, _toggleWindow, _authenticate, _logout, _openAnalysis, _openMeta, _displayCommentsOverview, _displayPagesOverview, _showToolbarMenu, _accessSettings, _openOnMobile, _checks, _loading2, _visibility, _current10, _j;
|
|
16
16
|
var is_array = Array.isArray;
|
|
17
17
|
var index_of = Array.prototype.indexOf;
|
|
18
18
|
var array_from = Array.from;
|
|
@@ -8042,6 +8042,7 @@ class Win extends Module {
|
|
|
8042
8042
|
constructor() {
|
|
8043
8043
|
super();
|
|
8044
8044
|
__privateAdd(this, _el, /* @__PURE__ */ state());
|
|
8045
|
+
__privateAdd(this, _uiOpened, /* @__PURE__ */ state(false));
|
|
8045
8046
|
__privateAdd(this, _contentScrollState, /* @__PURE__ */ state());
|
|
8046
8047
|
__publicField(this, "height", new Spring(0, { stiffness: 0.2, damping: 0.4 }));
|
|
8047
8048
|
__privateAdd(this, _breakpoints, /* @__PURE__ */ state(proxy$1({
|
|
@@ -8140,6 +8141,12 @@ class Win extends Module {
|
|
|
8140
8141
|
set el(value) {
|
|
8141
8142
|
set(__privateGet(this, _el), value, true);
|
|
8142
8143
|
}
|
|
8144
|
+
get uiOpened() {
|
|
8145
|
+
return get$2(__privateGet(this, _uiOpened));
|
|
8146
|
+
}
|
|
8147
|
+
set uiOpened(value) {
|
|
8148
|
+
set(__privateGet(this, _uiOpened), value, true);
|
|
8149
|
+
}
|
|
8143
8150
|
get contentScrollState() {
|
|
8144
8151
|
return get$2(__privateGet(this, _contentScrollState));
|
|
8145
8152
|
}
|
|
@@ -8257,6 +8264,7 @@ class Win extends Module {
|
|
|
8257
8264
|
}
|
|
8258
8265
|
}
|
|
8259
8266
|
_el = new WeakMap();
|
|
8267
|
+
_uiOpened = new WeakMap();
|
|
8260
8268
|
_contentScrollState = new WeakMap();
|
|
8261
8269
|
_breakpoints = new WeakMap();
|
|
8262
8270
|
_currentBreakpoint = new WeakMap();
|
|
@@ -18788,8 +18796,6 @@ function SmallButton($$anchor, $$props) {
|
|
|
18788
18796
|
]);
|
|
18789
18797
|
var button = root$r();
|
|
18790
18798
|
attribute_effect(button, () => ({
|
|
18791
|
-
"data-fubi-allow-click": true,
|
|
18792
|
-
"data-fubi-ignore": true,
|
|
18793
18799
|
class: [
|
|
18794
18800
|
"flex-center gap-4 text-sm/none font-medium rounded-[10px] superellipse active:scale-95 cursor-pointer",
|
|
18795
18801
|
"transition-[background-color,scale] duration-100 ease-out will-change-[background-color,scale] focus-visible",
|
|
@@ -19669,7 +19675,7 @@ delegate(["click"]);
|
|
|
19669
19675
|
var root_1$k = /* @__PURE__ */ from_html(`<!> <!>`, 1);
|
|
19670
19676
|
function DropdownMenu_1($$anchor, $$props) {
|
|
19671
19677
|
push($$props, true);
|
|
19672
|
-
getModules();
|
|
19678
|
+
const { win } = getModules();
|
|
19673
19679
|
let opened = prop($$props, "opened", 15, false), side = prop($$props, "side", 3, "bottom"), sideOffset = prop($$props, "sideOffset", 3, 4), align = prop($$props, "align", 3, "end"), origin = prop($$props, "origin", 3, "origin-top-right"), rest = /* @__PURE__ */ rest_props($$props, [
|
|
19674
19680
|
"$$slots",
|
|
19675
19681
|
"$$events",
|
|
@@ -19683,6 +19689,9 @@ function DropdownMenu_1($$anchor, $$props) {
|
|
|
19683
19689
|
"child",
|
|
19684
19690
|
"trigger"
|
|
19685
19691
|
]);
|
|
19692
|
+
user_effect(() => {
|
|
19693
|
+
win.uiOpened = opened();
|
|
19694
|
+
});
|
|
19686
19695
|
var fragment = comment();
|
|
19687
19696
|
var node = first_child(fragment);
|
|
19688
19697
|
component(node, () => Menu, ($$anchor2, DropdownMenu_Root) => {
|
|
@@ -19745,6 +19754,7 @@ function DropdownMenu_1($$anchor, $$props) {
|
|
|
19745
19754
|
get sideOffset() {
|
|
19746
19755
|
return sideOffset();
|
|
19747
19756
|
},
|
|
19757
|
+
"data-fubi-ignore-all": true,
|
|
19748
19758
|
get class() {
|
|
19749
19759
|
return get$2($0);
|
|
19750
19760
|
},
|
|
@@ -21950,12 +21960,19 @@ function CommentForm($$anchor, $$props) {
|
|
|
21950
21960
|
async function handleSubmit(e2) {
|
|
21951
21961
|
var _a2;
|
|
21952
21962
|
e2.preventDefault();
|
|
21963
|
+
console.log("Handling comment form submission...", {
|
|
21964
|
+
pickerOpened: picker.opened,
|
|
21965
|
+
contentLength: get$2(content).length
|
|
21966
|
+
});
|
|
21953
21967
|
if (picker.opened) return;
|
|
21954
21968
|
if (get$2(content).length === 0) return;
|
|
21955
21969
|
const { name, version } = getBrowserInfo();
|
|
21956
21970
|
const { width, height } = getResolution();
|
|
21957
|
-
const selector = hover.
|
|
21958
|
-
if (!selector)
|
|
21971
|
+
const selector = hover.isolationSelector;
|
|
21972
|
+
if (!selector) {
|
|
21973
|
+
console.log("No isolation selector, mode:", hover.mode);
|
|
21974
|
+
return;
|
|
21975
|
+
}
|
|
21959
21976
|
const meta = !!((_a2 = hover.info) == null ? void 0 : _a2.meta);
|
|
21960
21977
|
bus.emit("comment-input:submit", {
|
|
21961
21978
|
page: pages.current.id,
|
|
@@ -22749,7 +22766,7 @@ function Settings2($$anchor, $$props) {
|
|
|
22749
22766
|
append($$anchor4, fragment_3);
|
|
22750
22767
|
});
|
|
22751
22768
|
var div = sibling(node_2, 2);
|
|
22752
|
-
div.textContent = `Version ${"1.0.0-beta.
|
|
22769
|
+
div.textContent = `Version ${"1.0.0-beta.15"}`;
|
|
22753
22770
|
append($$anchor3, fragment_2);
|
|
22754
22771
|
},
|
|
22755
22772
|
$$slots: { default: true }
|
|
@@ -23541,7 +23558,8 @@ class Hover extends Module {
|
|
|
23541
23558
|
this.handleHoverElement(target, 0);
|
|
23542
23559
|
return;
|
|
23543
23560
|
}
|
|
23544
|
-
if (
|
|
23561
|
+
if (this.modules.win.uiOpened) {
|
|
23562
|
+
this.log.info("Click on html (Bits UI backdrop), ignoring.");
|
|
23545
23563
|
return;
|
|
23546
23564
|
}
|
|
23547
23565
|
if ((this.mode.type === "isolated" || this.mode.type === "replying") && this.can.dismissIsolation && !this.insideFubi) {
|
|
@@ -23947,6 +23965,10 @@ class Comments extends CollectionModule {
|
|
|
23947
23965
|
});
|
|
23948
23966
|
this.modules.keys.bind("Enter", (e2) => {
|
|
23949
23967
|
if (e2.shiftKey) return;
|
|
23968
|
+
this.log.info("Enter key pressed, checking for focused comment inputs... focused?", {
|
|
23969
|
+
newComment: this.modules.inputs.isFocused("new-comment"),
|
|
23970
|
+
reply: this.modules.inputs.isFocused("reply")
|
|
23971
|
+
});
|
|
23950
23972
|
if (this.modules.inputs.isFocused("new-comment")) {
|
|
23951
23973
|
e2.preventDefault();
|
|
23952
23974
|
this.modules.inputs.submit("new-comment");
|
|
@@ -24393,7 +24415,7 @@ class Elements extends Module {
|
|
|
24393
24415
|
return (element.tagName || element.nodeName).toLowerCase();
|
|
24394
24416
|
}
|
|
24395
24417
|
getPath(element) {
|
|
24396
|
-
if (!element || element.nodeType
|
|
24418
|
+
if (!element || element.nodeType !== Node.ELEMENT_NODE) return "";
|
|
24397
24419
|
const cached = this.pathCache.get(element);
|
|
24398
24420
|
if (cached) return cached;
|
|
24399
24421
|
const segments = [];
|
|
@@ -25870,10 +25892,11 @@ const createApp = (params) => {
|
|
|
25870
25892
|
var root_1$7 = /* @__PURE__ */ from_html(`<div class="flex w-full items-center gap-6"><div></div> </div>`);
|
|
25871
25893
|
var root_3$2 = /* @__PURE__ */ from_html(`<p class="whitespace-nowrap"> <span> </span></p>`);
|
|
25872
25894
|
var root_2$3 = /* @__PURE__ */ from_html(`<details open><summary class="text-amber-500 hover:underline pb-4 mt-8 border-b border-amber-500/30"> </summary> <!></details>`);
|
|
25873
|
-
var root$6 = /* @__PURE__ */ from_html(`<div class="
|
|
25895
|
+
var root$6 = /* @__PURE__ */ from_html(`<div class="fixed z-51 bottom-8 touch:top-8 w-200 touch:bottom-auto max-w-250 left-8 bg-black text-white/50 p-8 font-mono rounded-lg text-[10px]/none flex flex-col space-y-8 divide-white/10 [&_span]:text-white"><div class="text-amber-500 pb-4 mt-8 border-b border-amber-500/30"><p>Modules</p></div> <!> <!></div>`);
|
|
25874
25896
|
function Debug($$anchor, $$props) {
|
|
25875
25897
|
push($$props, true);
|
|
25876
25898
|
const {
|
|
25899
|
+
win,
|
|
25877
25900
|
hover,
|
|
25878
25901
|
auth,
|
|
25879
25902
|
pages,
|
|
@@ -25894,7 +25917,7 @@ function Debug($$anchor, $$props) {
|
|
|
25894
25917
|
["Comments", comments]
|
|
25895
25918
|
];
|
|
25896
25919
|
const infos = /* @__PURE__ */ user_derived(() => {
|
|
25897
|
-
var _a2, _b2;
|
|
25920
|
+
var _a2, _b2, _c2;
|
|
25898
25921
|
return [
|
|
25899
25922
|
/* {
|
|
25900
25923
|
name: "Project",
|
|
@@ -25932,6 +25955,7 @@ function Debug($$anchor, $$props) {
|
|
|
25932
25955
|
["Page isNew", pages.isNew]
|
|
25933
25956
|
]
|
|
25934
25957
|
},
|
|
25958
|
+
{ name: "Window", values: [["uiOpened", win == null ? void 0 : win.uiOpened]] },
|
|
25935
25959
|
/*
|
|
25936
25960
|
{
|
|
25937
25961
|
name: "Coworkers",
|
|
@@ -25988,6 +26012,7 @@ function Debug($$anchor, $$props) {
|
|
|
25988
26012
|
values: [
|
|
25989
26013
|
["enabled", hover == null ? void 0 : hover.enabled],
|
|
25990
26014
|
["mode", hover == null ? void 0 : hover.mode.type],
|
|
26015
|
+
["selector", (_c2 = hover == null ? void 0 : hover.mode) == null ? void 0 : _c2.selector],
|
|
25991
26016
|
["isolated", hover == null ? void 0 : hover.isIsolated],
|
|
25992
26017
|
["inside", hover == null ? void 0 : hover.insideFubi],
|
|
25993
26018
|
[
|