@flux-ui/components 3.0.0-next.24 → 3.0.0-next.26
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/component/FluxAction.vue.d.ts +4 -3
- package/dist/component/FluxActionBar.vue.d.ts +4 -3
- package/dist/component/FluxActionPane.vue.d.ts +2 -1
- package/dist/component/FluxActions.vue.d.ts +36 -33
- package/dist/component/FluxAlert.vue.d.ts +2 -1
- package/dist/component/FluxAnimatedColors.vue.d.ts +2 -1
- package/dist/component/FluxAspectRatio.vue.d.ts +2 -1
- package/dist/component/FluxAutoGrid.vue.d.ts +2 -1
- package/dist/component/FluxAvatar.vue.d.ts +4 -3
- package/dist/component/FluxBadge.vue.d.ts +4 -3
- package/dist/component/FluxBadgeStack.vue.d.ts +2 -1
- package/dist/component/FluxBorderShine.vue.d.ts +5 -5
- package/dist/component/FluxBoxedIcon.vue.d.ts +4 -3
- package/dist/component/FluxButton.vue.d.ts +5 -4
- package/dist/component/FluxButtonGroup.vue.d.ts +2 -1
- package/dist/component/FluxButtonStack.vue.d.ts +2 -1
- package/dist/component/FluxCalendar.vue.d.ts +4 -3
- package/dist/component/FluxCalendarEvent.vue.d.ts +4 -3
- package/dist/component/FluxCheckbox.vue.d.ts +4 -3
- package/dist/component/FluxChip.vue.d.ts +4 -3
- package/dist/component/FluxClickablePane.vue.d.ts +2 -1
- package/dist/component/FluxColorPicker.vue.d.ts +4 -3
- package/dist/component/FluxColorSelect.vue.d.ts +4 -3
- package/dist/component/FluxComment.vue.d.ts +2 -1
- package/dist/component/FluxConfirm.vue.d.ts +2 -1
- package/dist/component/FluxContainer.vue.d.ts +2 -1
- package/dist/component/FluxDataTable.vue.d.ts +5 -5
- package/dist/component/FluxDatePicker.vue.d.ts +4 -3
- package/dist/component/FluxDestructiveButton.vue.d.ts +4 -3
- package/dist/component/FluxDisabled.vue.d.ts +2 -1
- package/dist/component/FluxDivider.vue.d.ts +2 -1
- package/dist/component/FluxDotPattern.vue.d.ts +2 -1
- package/dist/component/FluxDropZone.vue.d.ts +4 -3
- package/dist/component/FluxDynamicView.vue.d.ts +2 -2
- package/dist/component/FluxExpandable.vue.d.ts +6 -5
- package/dist/component/FluxExpandableGroup.vue.d.ts +2 -1
- package/dist/component/FluxFader.vue.d.ts +4 -3
- package/dist/component/FluxFaderItem.vue.d.ts +2 -1
- package/dist/component/FluxFilter.vue.d.ts +4 -3
- package/dist/component/FluxFilterBar.vue.d.ts +4 -3
- package/dist/component/FluxFilterBase.vue.d.ts +4 -4
- package/dist/component/FluxFilterDate.vue.d.ts +2 -1
- package/dist/component/FluxFilterDateRange.vue.d.ts +2 -1
- package/dist/component/FluxFilterOption.vue.d.ts +4 -3
- package/dist/component/FluxFilterOptionAsync.vue.d.ts +4 -3
- package/dist/component/FluxFilterOptions.vue.d.ts +4 -3
- package/dist/component/FluxFilterOptionsAsync.vue.d.ts +4 -3
- package/dist/component/FluxFilterRange.vue.d.ts +2 -1
- package/dist/component/FluxFilterWindow.vue.d.ts +33 -32
- package/dist/component/FluxFlickeringGrid.vue.d.ts +2 -1
- package/dist/component/FluxFlyout.vue.d.ts +30 -28
- package/dist/component/FluxFocalPointEditor.vue.d.ts +4 -3
- package/dist/component/FluxFocalPointImage.vue.d.ts +2 -1
- package/dist/component/FluxForm.vue.d.ts +4 -3
- package/dist/component/FluxFormColumn.vue.d.ts +2 -1
- package/dist/component/FluxFormDateInput.vue.d.ts +36 -34
- package/dist/component/FluxFormDateRangeInput.vue.d.ts +36 -34
- package/dist/component/FluxFormDateTimeInput.vue.d.ts +36 -34
- package/dist/component/FluxFormField.vue.d.ts +2 -1
- package/dist/component/FluxFormFieldAddition.vue.d.ts +2 -1
- package/dist/component/FluxFormGrid.vue.d.ts +2 -1
- package/dist/component/FluxFormInput.vue.d.ts +5 -4
- package/dist/component/FluxFormInputAddition.vue.d.ts +2 -1
- package/dist/component/FluxFormInputGroup.vue.d.ts +2 -1
- package/dist/component/FluxFormPinInput.vue.d.ts +4 -3
- package/dist/component/FluxFormRangeSlider.vue.d.ts +10 -9
- package/dist/component/FluxFormRow.vue.d.ts +2 -1
- package/dist/component/FluxFormSection.vue.d.ts +2 -1
- package/dist/component/FluxFormSelect.vue.d.ts +4 -3
- package/dist/component/FluxFormSelectAsync.vue.d.ts +4 -3
- package/dist/component/FluxFormSlider.vue.d.ts +7 -6
- package/dist/component/FluxFormTextArea.vue.d.ts +4 -3
- package/dist/component/FluxFormTimeZonePicker.vue.d.ts +4 -3
- package/dist/component/FluxGallery.vue.d.ts +4 -3
- package/dist/component/FluxGalleryItem.vue.d.ts +4 -3
- package/dist/component/FluxGrid.vue.d.ts +2 -1
- package/dist/component/FluxGridColumn.vue.d.ts +2 -1
- package/dist/component/FluxGridPattern.vue.d.ts +2 -1
- package/dist/component/FluxIcon.vue.d.ts +4 -3
- package/dist/component/FluxInfo.vue.d.ts +2 -1
- package/dist/component/FluxInfoStack.vue.d.ts +2 -1
- package/dist/component/FluxItem.vue.d.ts +2 -1
- package/dist/component/FluxItemActions.vue.d.ts +2 -1
- package/dist/component/FluxItemContent.vue.d.ts +2 -1
- package/dist/component/FluxItemMedia.vue.d.ts +2 -1
- package/dist/component/FluxItemStack.vue.d.ts +2 -1
- package/dist/component/FluxLegend.vue.d.ts +2 -1
- package/dist/component/FluxLink.vue.d.ts +4 -3
- package/dist/component/FluxMenu.vue.d.ts +2 -1
- package/dist/component/FluxMenuGroup.vue.d.ts +2 -1
- package/dist/component/FluxMenuItem.vue.d.ts +4 -3
- package/dist/component/FluxMenuOptions.vue.d.ts +4 -3
- package/dist/component/FluxMenuSubHeader.vue.d.ts +2 -1
- package/dist/component/FluxMenuTitle.vue.d.ts +2 -1
- package/dist/component/FluxNotice.vue.d.ts +4 -3
- package/dist/component/FluxNoticeStack.vue.d.ts +2 -1
- package/dist/component/FluxOverflowBar.vue.d.ts +2 -2
- package/dist/component/FluxOverlay.vue.d.ts +4 -4
- package/dist/component/FluxOverlayProvider.vue.d.ts +2 -1
- package/dist/component/FluxPagination.vue.d.ts +4 -3
- package/dist/component/FluxPaginationBar.vue.d.ts +4 -3
- package/dist/component/FluxPaginationButton.vue.d.ts +4 -3
- package/dist/component/FluxPane.vue.d.ts +2 -1
- package/dist/component/FluxPaneBody.vue.d.ts +2 -1
- package/dist/component/FluxPaneDeck.vue.d.ts +2 -1
- package/dist/component/FluxPaneFooter.vue.d.ts +2 -1
- package/dist/component/FluxPaneGroup.vue.d.ts +2 -1
- package/dist/component/FluxPaneHeader.vue.d.ts +2 -1
- package/dist/component/FluxPaneIllustration.vue.d.ts +2 -1
- package/dist/component/FluxPaneMedia.vue.d.ts +2 -1
- package/dist/component/FluxPercentageBar.vue.d.ts +2 -1
- package/dist/component/FluxPersona.vue.d.ts +4 -3
- package/dist/component/FluxPlaceholder.vue.d.ts +4 -3
- package/dist/component/FluxPressable.vue.d.ts +4 -3
- package/dist/component/FluxPrimaryButton.vue.d.ts +4 -3
- package/dist/component/FluxPrimaryLinkButton.vue.d.ts +4 -3
- package/dist/component/FluxProgressBar.vue.d.ts +2 -1
- package/dist/component/FluxPrompt.vue.d.ts +17 -16
- package/dist/component/FluxPublishButton.vue.d.ts +4 -3
- package/dist/component/FluxQuantitySelector.vue.d.ts +4 -3
- package/dist/component/FluxRemove.vue.d.ts +4 -3
- package/dist/component/FluxRoot.vue.d.ts +2 -1
- package/dist/component/FluxSecondaryButton.vue.d.ts +4 -3
- package/dist/component/FluxSecondaryLinkButton.vue.d.ts +4 -3
- package/dist/component/FluxSegmentedControl.vue.d.ts +4 -3
- package/dist/component/FluxSegmentedView.vue.d.ts +5 -4
- package/dist/component/FluxSeparator.vue.d.ts +2 -1
- package/dist/component/FluxSlideOver.vue.d.ts +4 -3
- package/dist/component/FluxSnackbar.vue.d.ts +4 -3
- package/dist/component/FluxSnackbarProvider.vue.d.ts +2 -1
- package/dist/component/FluxSpacer.vue.d.ts +2 -1
- package/dist/component/FluxSpacing.vue.d.ts +2 -1
- package/dist/component/FluxSpinner.vue.d.ts +2 -1
- package/dist/component/FluxSplitButton.vue.d.ts +2 -1
- package/dist/component/FluxStack.vue.d.ts +2 -1
- package/dist/component/FluxStatistic.vue.d.ts +2 -1
- package/dist/component/FluxStepper.vue.d.ts +4 -4
- package/dist/component/FluxStepperStep.vue.d.ts +2 -1
- package/dist/component/FluxStepperSteps.vue.d.ts +4 -3
- package/dist/component/FluxTab.vue.d.ts +2 -1
- package/dist/component/FluxTabBar.vue.d.ts +2 -1
- package/dist/component/FluxTabBarItem.vue.d.ts +16 -15
- package/dist/component/FluxTable.vue.d.ts +2 -2
- package/dist/component/FluxTableActions.vue.d.ts +2 -1
- package/dist/component/FluxTableBar.vue.d.ts +2 -1
- package/dist/component/FluxTableCell.vue.d.ts +2 -1
- package/dist/component/FluxTableHeader.vue.d.ts +4 -3
- package/dist/component/FluxTableRow.vue.d.ts +2 -1
- package/dist/component/FluxTabs.vue.d.ts +4 -4
- package/dist/component/FluxTag.vue.d.ts +4 -3
- package/dist/component/FluxTagStack.vue.d.ts +2 -1
- package/dist/component/FluxTicks.vue.d.ts +2 -1
- package/dist/component/FluxTimeline.vue.d.ts +2 -1
- package/dist/component/FluxTimelineItem.vue.d.ts +2 -1
- package/dist/component/FluxToggle.vue.d.ts +4 -3
- package/dist/component/FluxToolbar.vue.d.ts +2 -1
- package/dist/component/FluxToolbarGroup.vue.d.ts +2 -1
- package/dist/component/FluxTooltip.vue.d.ts +5 -5
- package/dist/component/FluxTooltipProvider.vue.d.ts +2 -1
- package/dist/component/FluxWindow.vue.d.ts +3 -2
- package/dist/component/primitive/Anchor.vue.d.ts +2 -1
- package/dist/component/primitive/AnchorPopup.vue.d.ts +2 -2
- package/dist/component/primitive/CoordinatePicker.vue.d.ts +4 -3
- package/dist/component/primitive/CoordinatePickerThumb.vue.d.ts +4 -3
- package/dist/component/primitive/FilterItem.vue.d.ts +4 -3
- package/dist/component/primitive/FilterMenuRenderer.d.ts +5 -5
- package/dist/component/primitive/FilterOptionBase.vue.d.ts +4 -3
- package/dist/component/primitive/SelectBase.vue.d.ts +59 -58
- package/dist/component/primitive/SliderBase.vue.d.ts +4 -3
- package/dist/component/primitive/SliderThumb.vue.d.ts +4 -3
- package/dist/component/primitive/SliderTrack.vue.d.ts +2 -1
- package/dist/component/primitive/VNodeRenderer.d.ts +5 -5
- package/dist/composable/private/useFormSelect.d.ts +5 -5
- package/dist/composable/private/useLoaded.d.ts +2 -1
- package/dist/composable/useDisabled.d.ts +2 -2
- package/dist/composable/useDisabledInjection.d.ts +2 -1
- package/dist/composable/useExpandableGroupInjection.d.ts +2 -1
- package/dist/composable/useFilterInjection.d.ts +2 -1
- package/dist/composable/useFlyoutInjection.d.ts +2 -1
- package/dist/composable/useFormFieldInjection.d.ts +2 -1
- package/dist/composable/useTableInjection.d.ts +2 -1
- package/dist/index.js +234 -234
- package/dist/index.js.map +1 -1
- package/dist/transition/FluxAutoHeightTransition.vue.d.ts +2 -1
- package/dist/transition/FluxAutoWidthTransition.vue.d.ts +2 -1
- package/dist/transition/FluxBreakthroughTransition.vue.d.ts +2 -1
- package/dist/transition/FluxFadeTransition.vue.d.ts +2 -1
- package/dist/transition/FluxOverlayTransition.vue.d.ts +2 -1
- package/dist/transition/FluxRouteTransition.vue.d.ts +2 -1
- package/dist/transition/FluxSlideOverTransition.vue.d.ts +2 -1
- package/dist/transition/FluxTooltipTransition.vue.d.ts +2 -1
- package/dist/transition/FluxVerticalWindowTransition.vue.d.ts +2 -1
- package/dist/transition/FluxWindowTransition.vue.d.ts +2 -1
- package/dist/vite.d.ts +7 -0
- package/package.json +6 -5
package/dist/index.js
CHANGED
|
@@ -305,44 +305,6 @@ var freeGlobal = typeof global == "object" && global && global.Object === Object
|
|
|
305
305
|
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
306
306
|
/** Built-in value references. */
|
|
307
307
|
var Symbol$1 = (freeGlobal || freeSelf || Function("return this")()).Symbol;
|
|
308
|
-
/**
|
|
309
|
-
* A specialized version of `_.map` for arrays without support for iteratee
|
|
310
|
-
* shorthands.
|
|
311
|
-
*
|
|
312
|
-
* @private
|
|
313
|
-
* @param {Array} [array] The array to iterate over.
|
|
314
|
-
* @param {Function} iteratee The function invoked per iteration.
|
|
315
|
-
* @returns {Array} Returns the new mapped array.
|
|
316
|
-
*/
|
|
317
|
-
function arrayMap(array, iteratee) {
|
|
318
|
-
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
319
|
-
while (++index < length) result[index] = iteratee(array[index], index, array);
|
|
320
|
-
return result;
|
|
321
|
-
}
|
|
322
|
-
/**
|
|
323
|
-
* Checks if `value` is classified as an `Array` object.
|
|
324
|
-
*
|
|
325
|
-
* @static
|
|
326
|
-
* @memberOf _
|
|
327
|
-
* @since 0.1.0
|
|
328
|
-
* @category Lang
|
|
329
|
-
* @param {*} value The value to check.
|
|
330
|
-
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
331
|
-
* @example
|
|
332
|
-
*
|
|
333
|
-
* _.isArray([1, 2, 3]);
|
|
334
|
-
* // => true
|
|
335
|
-
*
|
|
336
|
-
* _.isArray(document.body.children);
|
|
337
|
-
* // => false
|
|
338
|
-
*
|
|
339
|
-
* _.isArray('abc');
|
|
340
|
-
* // => false
|
|
341
|
-
*
|
|
342
|
-
* _.isArray(_.noop);
|
|
343
|
-
* // => false
|
|
344
|
-
*/
|
|
345
|
-
var isArray = Array.isArray;
|
|
346
308
|
/** Used for built-in method references. */
|
|
347
309
|
var objectProto = Object.prototype;
|
|
348
310
|
/** Used to check objects for own properties. */
|
|
@@ -453,6 +415,44 @@ var symbolTag = "[object Symbol]";
|
|
|
453
415
|
function isSymbol(value) {
|
|
454
416
|
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
455
417
|
}
|
|
418
|
+
/**
|
|
419
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
420
|
+
* shorthands.
|
|
421
|
+
*
|
|
422
|
+
* @private
|
|
423
|
+
* @param {Array} [array] The array to iterate over.
|
|
424
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
425
|
+
* @returns {Array} Returns the new mapped array.
|
|
426
|
+
*/
|
|
427
|
+
function arrayMap(array, iteratee) {
|
|
428
|
+
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
429
|
+
while (++index < length) result[index] = iteratee(array[index], index, array);
|
|
430
|
+
return result;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Checks if `value` is classified as an `Array` object.
|
|
434
|
+
*
|
|
435
|
+
* @static
|
|
436
|
+
* @memberOf _
|
|
437
|
+
* @since 0.1.0
|
|
438
|
+
* @category Lang
|
|
439
|
+
* @param {*} value The value to check.
|
|
440
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
441
|
+
* @example
|
|
442
|
+
*
|
|
443
|
+
* _.isArray([1, 2, 3]);
|
|
444
|
+
* // => true
|
|
445
|
+
*
|
|
446
|
+
* _.isArray(document.body.children);
|
|
447
|
+
* // => false
|
|
448
|
+
*
|
|
449
|
+
* _.isArray('abc');
|
|
450
|
+
* // => false
|
|
451
|
+
*
|
|
452
|
+
* _.isArray(_.noop);
|
|
453
|
+
* // => false
|
|
454
|
+
*/
|
|
455
|
+
var isArray = Array.isArray;
|
|
456
456
|
/** Used as references for various `Number` constants. */
|
|
457
457
|
var INFINITY = Infinity;
|
|
458
458
|
/** Used to convert symbols to primitives and strings. */
|
|
@@ -4268,32 +4268,32 @@ var FluxAction_default = /* @__PURE__ */ defineComponent({
|
|
|
4268
4268
|
};
|
|
4269
4269
|
}
|
|
4270
4270
|
});
|
|
4271
|
-
var { "
|
|
4271
|
+
var { "button": _0$14, "buttonIcon": _1$7, "buttonLabel": _2$4 } = Button_module_default$1;
|
|
4272
4272
|
var Button_module_default = {
|
|
4273
|
-
primaryButton: `primary-button ${
|
|
4273
|
+
primaryButton: `primary-button ${_0$14}`,
|
|
4274
4274
|
spinner: `spinner`,
|
|
4275
|
-
primaryButtonIcon: `primary-button-icon ${
|
|
4276
|
-
primaryButtonLabel: `primary-button-label ${
|
|
4277
|
-
secondaryButton: `secondary-button ${
|
|
4278
|
-
secondaryButtonIcon: `secondary-button-icon ${
|
|
4279
|
-
secondaryButtonLabel: `secondary-button-label ${
|
|
4280
|
-
destructiveButton: `destructive-button ${
|
|
4281
|
-
destructiveButtonIcon: `destructive-button-icon ${
|
|
4282
|
-
destructiveButtonLabel: `destructive-button-label ${
|
|
4283
|
-
baseLinkButton: `base-link-button ${
|
|
4284
|
-
primaryLinkButton: `primary-link-button base-link-button ${
|
|
4285
|
-
primaryLinkButtonIcon: `primary-link-button-icon ${
|
|
4286
|
-
primaryLinkButtonLabel: `primary-link-button-label ${
|
|
4287
|
-
secondaryLinkButton: `secondary-link-button base-link-button ${
|
|
4288
|
-
secondaryLinkButtonIcon: `secondary-link-button-icon ${
|
|
4289
|
-
secondaryLinkButtonLabel: `secondary-link-button-label ${
|
|
4290
|
-
linkButton: `link-button ${
|
|
4291
|
-
linkButtonIcon: `link-button-icon ${
|
|
4275
|
+
primaryButtonIcon: `primary-button-icon ${_1$7}`,
|
|
4276
|
+
primaryButtonLabel: `primary-button-label ${_2$4}`,
|
|
4277
|
+
secondaryButton: `secondary-button ${_0$14}`,
|
|
4278
|
+
secondaryButtonIcon: `secondary-button-icon ${_1$7}`,
|
|
4279
|
+
secondaryButtonLabel: `secondary-button-label ${_2$4}`,
|
|
4280
|
+
destructiveButton: `destructive-button ${_0$14}`,
|
|
4281
|
+
destructiveButtonIcon: `destructive-button-icon ${_1$7}`,
|
|
4282
|
+
destructiveButtonLabel: `destructive-button-label ${_2$4}`,
|
|
4283
|
+
baseLinkButton: `base-link-button ${_0$14}`,
|
|
4284
|
+
primaryLinkButton: `primary-link-button base-link-button ${_0$14}`,
|
|
4285
|
+
primaryLinkButtonIcon: `primary-link-button-icon ${_1$7}`,
|
|
4286
|
+
primaryLinkButtonLabel: `primary-link-button-label ${_2$4}`,
|
|
4287
|
+
secondaryLinkButton: `secondary-link-button base-link-button ${_0$14}`,
|
|
4288
|
+
secondaryLinkButtonIcon: `secondary-link-button-icon ${_1$7}`,
|
|
4289
|
+
secondaryLinkButtonLabel: `secondary-link-button-label ${_2$4}`,
|
|
4290
|
+
linkButton: `link-button ${_0$14}`,
|
|
4291
|
+
linkButtonIcon: `link-button-icon ${_1$7}`,
|
|
4292
4292
|
icon: `icon`,
|
|
4293
|
-
linkButtonLabel: `link-button-label ${
|
|
4294
|
-
publishButton: `publish-button primary-button ${
|
|
4295
|
-
publishButtonIcon: `publish-button-icon primary-button-icon ${
|
|
4296
|
-
publishButtonLabel: `publish-button-label primary-button-label ${
|
|
4293
|
+
linkButtonLabel: `link-button-label ${_2$4}`,
|
|
4294
|
+
publishButton: `publish-button primary-button ${_0$14}`,
|
|
4295
|
+
publishButtonIcon: `publish-button-icon primary-button-icon ${_1$7}`,
|
|
4296
|
+
publishButtonLabel: `publish-button-label primary-button-label ${_2$4}`,
|
|
4297
4297
|
publishButtonAnimation: `publish-button-animation`,
|
|
4298
4298
|
isDone: `is-done`,
|
|
4299
4299
|
publishButtonAnimationArrow: `publish-button-animation-arrow`,
|
|
@@ -5644,7 +5644,158 @@ var FluxBoxedIcon_default = /* @__PURE__ */ defineComponent({
|
|
|
5644
5644
|
};
|
|
5645
5645
|
}
|
|
5646
5646
|
});
|
|
5647
|
-
var
|
|
5647
|
+
var Anchor_default = /* @__PURE__ */ defineComponent({
|
|
5648
|
+
__name: "Anchor",
|
|
5649
|
+
props: { tagName: {} },
|
|
5650
|
+
setup(__props) {
|
|
5651
|
+
return (_ctx, _cache) => {
|
|
5652
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.tagName), null, {
|
|
5653
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
5654
|
+
_: 3
|
|
5655
|
+
});
|
|
5656
|
+
};
|
|
5657
|
+
}
|
|
5658
|
+
});
|
|
5659
|
+
var AnchorPopup_default = /* @__PURE__ */ defineComponent({
|
|
5660
|
+
__name: "AnchorPopup",
|
|
5661
|
+
props: {
|
|
5662
|
+
anchor: {},
|
|
5663
|
+
direction: { default: "vertical" },
|
|
5664
|
+
margin: { default: 12 },
|
|
5665
|
+
position: {},
|
|
5666
|
+
useAnchorWidth: { type: Boolean }
|
|
5667
|
+
},
|
|
5668
|
+
setup(__props) {
|
|
5669
|
+
const anchorRef = ref();
|
|
5670
|
+
const popupRef = useTemplateRef("popup");
|
|
5671
|
+
const state = reactive({
|
|
5672
|
+
x: 0,
|
|
5673
|
+
y: 0,
|
|
5674
|
+
width: null
|
|
5675
|
+
});
|
|
5676
|
+
onMounted(() => {
|
|
5677
|
+
window.addEventListener("resize", onResize, { passive: true });
|
|
5678
|
+
window.addEventListener("scroll", onScroll, {
|
|
5679
|
+
capture: true,
|
|
5680
|
+
passive: true
|
|
5681
|
+
});
|
|
5682
|
+
});
|
|
5683
|
+
onUnmounted(() => {
|
|
5684
|
+
window.removeEventListener("resize", onResize);
|
|
5685
|
+
window.removeEventListener("scroll", onScroll);
|
|
5686
|
+
});
|
|
5687
|
+
H(popupRef, () => {
|
|
5688
|
+
reposition();
|
|
5689
|
+
}, {
|
|
5690
|
+
childList: true,
|
|
5691
|
+
subtree: true
|
|
5692
|
+
});
|
|
5693
|
+
function reposition() {
|
|
5694
|
+
const anchor = unref(anchorRef);
|
|
5695
|
+
const popup = unref(popupRef);
|
|
5696
|
+
if (!anchor || !popup) return;
|
|
5697
|
+
const { x, y, height, width } = anchor.getBoundingClientRect();
|
|
5698
|
+
const { height: popupHeight, width: popupWidth } = popup.getBoundingClientRect();
|
|
5699
|
+
let px, py;
|
|
5700
|
+
switch (__props.position) {
|
|
5701
|
+
case "top":
|
|
5702
|
+
px = x + width / 2 - popupWidth / 2;
|
|
5703
|
+
py = y - popupHeight - __props.margin;
|
|
5704
|
+
break;
|
|
5705
|
+
case "top-left":
|
|
5706
|
+
px = x;
|
|
5707
|
+
py = y - popupHeight - __props.margin;
|
|
5708
|
+
break;
|
|
5709
|
+
case "top-right":
|
|
5710
|
+
px = x - popupWidth + width;
|
|
5711
|
+
py = y - popupHeight - __props.margin;
|
|
5712
|
+
break;
|
|
5713
|
+
case "left":
|
|
5714
|
+
px = x - popupWidth - __props.margin;
|
|
5715
|
+
py = y + height / 2 - popupHeight / 2;
|
|
5716
|
+
break;
|
|
5717
|
+
case "left-top":
|
|
5718
|
+
px = x - popupWidth - __props.margin;
|
|
5719
|
+
py = y;
|
|
5720
|
+
break;
|
|
5721
|
+
case "left-bottom":
|
|
5722
|
+
px = x - popupWidth - __props.margin;
|
|
5723
|
+
py = y + height - popupHeight;
|
|
5724
|
+
break;
|
|
5725
|
+
case "right":
|
|
5726
|
+
px = x + width + __props.margin;
|
|
5727
|
+
py = y + height / 2 - popupHeight / 2;
|
|
5728
|
+
break;
|
|
5729
|
+
case "right-top":
|
|
5730
|
+
px = x + width + __props.margin;
|
|
5731
|
+
py = y;
|
|
5732
|
+
break;
|
|
5733
|
+
case "right-bottom":
|
|
5734
|
+
px = x + width + __props.margin;
|
|
5735
|
+
py = y + height - popupHeight;
|
|
5736
|
+
break;
|
|
5737
|
+
case "bottom":
|
|
5738
|
+
px = x + width / 2 - popupWidth / 2;
|
|
5739
|
+
py = y + height + __props.margin;
|
|
5740
|
+
break;
|
|
5741
|
+
case "bottom-left":
|
|
5742
|
+
px = x;
|
|
5743
|
+
py = y + height + __props.margin;
|
|
5744
|
+
break;
|
|
5745
|
+
case "bottom-right":
|
|
5746
|
+
px = x - popupWidth + width;
|
|
5747
|
+
py = y + height + __props.margin;
|
|
5748
|
+
break;
|
|
5749
|
+
default:
|
|
5750
|
+
if (__props.direction === "horizontal") {
|
|
5751
|
+
px = x + width + __props.margin;
|
|
5752
|
+
py = y + height / 2 - popupHeight / 2;
|
|
5753
|
+
if (px + popupWidth > innerWidth) px = x - popupWidth - __props.margin;
|
|
5754
|
+
} else {
|
|
5755
|
+
px = x + width / 2 - popupWidth / 2;
|
|
5756
|
+
py = y + height + __props.margin;
|
|
5757
|
+
if (py + popupHeight + __props.margin > innerHeight) py = y - popupHeight - __props.margin;
|
|
5758
|
+
}
|
|
5759
|
+
if (py < 0 || py + popupHeight > innerHeight) py = innerHeight / 2 - popupHeight / 2;
|
|
5760
|
+
break;
|
|
5761
|
+
}
|
|
5762
|
+
state.x = px;
|
|
5763
|
+
state.y = py;
|
|
5764
|
+
}
|
|
5765
|
+
function resize() {
|
|
5766
|
+
const anchor = unref(anchorRef);
|
|
5767
|
+
if (!anchor) return;
|
|
5768
|
+
const { width } = anchor.getBoundingClientRect();
|
|
5769
|
+
state.width = __props.useAnchorWidth ? width : null;
|
|
5770
|
+
}
|
|
5771
|
+
function onResize() {
|
|
5772
|
+
resize();
|
|
5773
|
+
reposition();
|
|
5774
|
+
}
|
|
5775
|
+
function onScroll() {
|
|
5776
|
+
reposition();
|
|
5777
|
+
}
|
|
5778
|
+
watchEffect(() => {
|
|
5779
|
+
if (!__props.anchor || !Q$1(__props.anchor) && !__props.anchor.$el) return;
|
|
5780
|
+
anchorRef.value = Q$1(__props.anchor) ? __props.anchor : __props.anchor.$el;
|
|
5781
|
+
requestAnimationFrame(() => {
|
|
5782
|
+
requestAnimationFrame(resize);
|
|
5783
|
+
requestAnimationFrame(reposition);
|
|
5784
|
+
});
|
|
5785
|
+
});
|
|
5786
|
+
return (_ctx, _cache) => {
|
|
5787
|
+
return openBlock(), createElementBlock("div", {
|
|
5788
|
+
ref: "popup",
|
|
5789
|
+
style: normalizeStyle({
|
|
5790
|
+
"--x": `${state.x}px`,
|
|
5791
|
+
"--y": `${state.y}px`,
|
|
5792
|
+
"--width": state.width ? `${state.width}px` : void 0
|
|
5793
|
+
})
|
|
5794
|
+
}, [renderSlot(_ctx.$slots, "default")], 4);
|
|
5795
|
+
};
|
|
5796
|
+
}
|
|
5797
|
+
});
|
|
5798
|
+
var { "button": _0$11, "buttonIcon": _1$5, "buttonLabel": _2$2 } = Button_module_default$1;
|
|
5648
5799
|
var Menu_module_default = {
|
|
5649
5800
|
menu: `menu`,
|
|
5650
5801
|
menuNormal: `menu-normal menu`,
|
|
@@ -5652,15 +5803,15 @@ var Menu_module_default = {
|
|
|
5652
5803
|
menuGroup: `menu-group`,
|
|
5653
5804
|
menuGroupHorizontal: `menu-group-horizontal menu-group`,
|
|
5654
5805
|
menuGroupVertical: `menu-group-vertical menu-group`,
|
|
5655
|
-
menuItem: `menu-item ${
|
|
5806
|
+
menuItem: `menu-item ${_0$11}`,
|
|
5656
5807
|
badge: `badge`,
|
|
5657
|
-
menuItemIcon: `menu-item-icon ${
|
|
5658
|
-
menuItemLabel: `menu-item-label ${
|
|
5808
|
+
menuItemIcon: `menu-item-icon ${_1$5}`,
|
|
5809
|
+
menuItemLabel: `menu-item-label ${_2$2}`,
|
|
5659
5810
|
menuItemActive: `menu-item-active`,
|
|
5660
5811
|
menuItemDestructive: `menu-item-destructive`,
|
|
5661
5812
|
menuItemHighlighted: `menu-item-highlighted`,
|
|
5662
5813
|
menuItemIndented: `menu-item-indented`,
|
|
5663
|
-
menuItemSelectableIcon: `menu-item-selectable-icon ${
|
|
5814
|
+
menuItemSelectableIcon: `menu-item-selectable-icon ${_1$5}`,
|
|
5664
5815
|
menuItemSelected: `menu-item-selected`,
|
|
5665
5816
|
menuItemCommand: `menu-item-command`,
|
|
5666
5817
|
menuItemCommandIcon: `menu-item-command-icon`,
|
|
@@ -6258,157 +6409,6 @@ var FluxTag_default = /* @__PURE__ */ defineComponent({
|
|
|
6258
6409
|
};
|
|
6259
6410
|
}
|
|
6260
6411
|
});
|
|
6261
|
-
var Anchor_default = /* @__PURE__ */ defineComponent({
|
|
6262
|
-
__name: "Anchor",
|
|
6263
|
-
props: { tagName: {} },
|
|
6264
|
-
setup(__props) {
|
|
6265
|
-
return (_ctx, _cache) => {
|
|
6266
|
-
return openBlock(), createBlock(resolveDynamicComponent(__props.tagName), null, {
|
|
6267
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
6268
|
-
_: 3
|
|
6269
|
-
});
|
|
6270
|
-
};
|
|
6271
|
-
}
|
|
6272
|
-
});
|
|
6273
|
-
var AnchorPopup_default = /* @__PURE__ */ defineComponent({
|
|
6274
|
-
__name: "AnchorPopup",
|
|
6275
|
-
props: {
|
|
6276
|
-
anchor: {},
|
|
6277
|
-
direction: { default: "vertical" },
|
|
6278
|
-
margin: { default: 12 },
|
|
6279
|
-
position: {},
|
|
6280
|
-
useAnchorWidth: { type: Boolean }
|
|
6281
|
-
},
|
|
6282
|
-
setup(__props) {
|
|
6283
|
-
const anchorRef = ref();
|
|
6284
|
-
const popupRef = useTemplateRef("popup");
|
|
6285
|
-
const state = reactive({
|
|
6286
|
-
x: 0,
|
|
6287
|
-
y: 0,
|
|
6288
|
-
width: null
|
|
6289
|
-
});
|
|
6290
|
-
onMounted(() => {
|
|
6291
|
-
window.addEventListener("resize", onResize, { passive: true });
|
|
6292
|
-
window.addEventListener("scroll", onScroll, {
|
|
6293
|
-
capture: true,
|
|
6294
|
-
passive: true
|
|
6295
|
-
});
|
|
6296
|
-
});
|
|
6297
|
-
onUnmounted(() => {
|
|
6298
|
-
window.removeEventListener("resize", onResize);
|
|
6299
|
-
window.removeEventListener("scroll", onScroll);
|
|
6300
|
-
});
|
|
6301
|
-
H(popupRef, () => {
|
|
6302
|
-
reposition();
|
|
6303
|
-
}, {
|
|
6304
|
-
childList: true,
|
|
6305
|
-
subtree: true
|
|
6306
|
-
});
|
|
6307
|
-
function reposition() {
|
|
6308
|
-
const anchor = unref(anchorRef);
|
|
6309
|
-
const popup = unref(popupRef);
|
|
6310
|
-
if (!anchor || !popup) return;
|
|
6311
|
-
const { x, y, height, width } = anchor.getBoundingClientRect();
|
|
6312
|
-
const { height: popupHeight, width: popupWidth } = popup.getBoundingClientRect();
|
|
6313
|
-
let px, py;
|
|
6314
|
-
switch (__props.position) {
|
|
6315
|
-
case "top":
|
|
6316
|
-
px = x + width / 2 - popupWidth / 2;
|
|
6317
|
-
py = y - popupHeight - __props.margin;
|
|
6318
|
-
break;
|
|
6319
|
-
case "top-left":
|
|
6320
|
-
px = x;
|
|
6321
|
-
py = y - popupHeight - __props.margin;
|
|
6322
|
-
break;
|
|
6323
|
-
case "top-right":
|
|
6324
|
-
px = x - popupWidth + width;
|
|
6325
|
-
py = y - popupHeight - __props.margin;
|
|
6326
|
-
break;
|
|
6327
|
-
case "left":
|
|
6328
|
-
px = x - popupWidth - __props.margin;
|
|
6329
|
-
py = y + height / 2 - popupHeight / 2;
|
|
6330
|
-
break;
|
|
6331
|
-
case "left-top":
|
|
6332
|
-
px = x - popupWidth - __props.margin;
|
|
6333
|
-
py = y;
|
|
6334
|
-
break;
|
|
6335
|
-
case "left-bottom":
|
|
6336
|
-
px = x - popupWidth - __props.margin;
|
|
6337
|
-
py = y + height - popupHeight;
|
|
6338
|
-
break;
|
|
6339
|
-
case "right":
|
|
6340
|
-
px = x + width + __props.margin;
|
|
6341
|
-
py = y + height / 2 - popupHeight / 2;
|
|
6342
|
-
break;
|
|
6343
|
-
case "right-top":
|
|
6344
|
-
px = x + width + __props.margin;
|
|
6345
|
-
py = y;
|
|
6346
|
-
break;
|
|
6347
|
-
case "right-bottom":
|
|
6348
|
-
px = x + width + __props.margin;
|
|
6349
|
-
py = y + height - popupHeight;
|
|
6350
|
-
break;
|
|
6351
|
-
case "bottom":
|
|
6352
|
-
px = x + width / 2 - popupWidth / 2;
|
|
6353
|
-
py = y + height + __props.margin;
|
|
6354
|
-
break;
|
|
6355
|
-
case "bottom-left":
|
|
6356
|
-
px = x;
|
|
6357
|
-
py = y + height + __props.margin;
|
|
6358
|
-
break;
|
|
6359
|
-
case "bottom-right":
|
|
6360
|
-
px = x - popupWidth + width;
|
|
6361
|
-
py = y + height + __props.margin;
|
|
6362
|
-
break;
|
|
6363
|
-
default:
|
|
6364
|
-
if (__props.direction === "horizontal") {
|
|
6365
|
-
px = x + width + __props.margin;
|
|
6366
|
-
py = y + height / 2 - popupHeight / 2;
|
|
6367
|
-
if (px + popupWidth > innerWidth) px = x - popupWidth - __props.margin;
|
|
6368
|
-
} else {
|
|
6369
|
-
px = x + width / 2 - popupWidth / 2;
|
|
6370
|
-
py = y + height + __props.margin;
|
|
6371
|
-
if (py + popupHeight + __props.margin > innerHeight) py = y - popupHeight - __props.margin;
|
|
6372
|
-
}
|
|
6373
|
-
if (py < 0 || py + popupHeight > innerHeight) py = innerHeight / 2 - popupHeight / 2;
|
|
6374
|
-
break;
|
|
6375
|
-
}
|
|
6376
|
-
state.x = px;
|
|
6377
|
-
state.y = py;
|
|
6378
|
-
}
|
|
6379
|
-
function resize() {
|
|
6380
|
-
const anchor = unref(anchorRef);
|
|
6381
|
-
if (!anchor) return;
|
|
6382
|
-
const { width } = anchor.getBoundingClientRect();
|
|
6383
|
-
state.width = __props.useAnchorWidth ? width : null;
|
|
6384
|
-
}
|
|
6385
|
-
function onResize() {
|
|
6386
|
-
resize();
|
|
6387
|
-
reposition();
|
|
6388
|
-
}
|
|
6389
|
-
function onScroll() {
|
|
6390
|
-
reposition();
|
|
6391
|
-
}
|
|
6392
|
-
watchEffect(() => {
|
|
6393
|
-
if (!__props.anchor || !Q$1(__props.anchor) && !__props.anchor.$el) return;
|
|
6394
|
-
anchorRef.value = Q$1(__props.anchor) ? __props.anchor : __props.anchor.$el;
|
|
6395
|
-
requestAnimationFrame(() => {
|
|
6396
|
-
requestAnimationFrame(resize);
|
|
6397
|
-
requestAnimationFrame(reposition);
|
|
6398
|
-
});
|
|
6399
|
-
});
|
|
6400
|
-
return (_ctx, _cache) => {
|
|
6401
|
-
return openBlock(), createElementBlock("div", {
|
|
6402
|
-
ref: "popup",
|
|
6403
|
-
style: normalizeStyle({
|
|
6404
|
-
"--x": `${state.x}px`,
|
|
6405
|
-
"--y": `${state.y}px`,
|
|
6406
|
-
"--width": state.width ? `${state.width}px` : void 0
|
|
6407
|
-
})
|
|
6408
|
-
}, [renderSlot(_ctx.$slots, "default")], 4);
|
|
6409
|
-
};
|
|
6410
|
-
}
|
|
6411
|
-
});
|
|
6412
6412
|
var INITIAL_HIGHLIGHTED_INDEX = -1;
|
|
6413
6413
|
var SelectBase_default = /* @__PURE__ */ defineComponent({
|
|
6414
6414
|
inheritAttrs: false,
|
|
@@ -6942,11 +6942,11 @@ const VNodeRenderer = defineComponent({
|
|
|
6942
6942
|
return () => props.vnode;
|
|
6943
6943
|
}
|
|
6944
6944
|
});
|
|
6945
|
-
var { "
|
|
6945
|
+
var { "basePaneLoader": _0$9, "basePaneStructure": _1$4 } = Pane_module_default$1;
|
|
6946
6946
|
var Calendar_module_default = {
|
|
6947
|
-
calendar: `calendar ${
|
|
6947
|
+
calendar: `calendar ${_1$4}`,
|
|
6948
6948
|
calendarActions: `calendar-actions`,
|
|
6949
|
-
calendarLoader: `calendar-loader ${
|
|
6949
|
+
calendarLoader: `calendar-loader ${_0$9}`,
|
|
6950
6950
|
calendarCurrent: `calendar-current`,
|
|
6951
6951
|
calendarCurrentValue: `calendar-current-value`,
|
|
6952
6952
|
calendarCurrentMonth: `calendar-current-month calendar-current-value`,
|
|
@@ -8236,7 +8236,7 @@ var FluxFormSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
8236
8236
|
};
|
|
8237
8237
|
}
|
|
8238
8238
|
});
|
|
8239
|
-
var { "secondaryButton": _0$7, "
|
|
8239
|
+
var { "secondaryButton": _0$7, "secondaryButtonIcon": _1$3, "secondaryButtonLabel": _2$1 } = Button_module_default;
|
|
8240
8240
|
var Pagination_module_default = {
|
|
8241
8241
|
pagination: `pagination`,
|
|
8242
8242
|
paginationButton: `pagination-button ${_0$7}`,
|
|
@@ -8244,8 +8244,8 @@ var Pagination_module_default = {
|
|
|
8244
8244
|
paginationButtonArrow: `pagination-button-arrow`,
|
|
8245
8245
|
paginationButtonCurrent: `pagination-button-current`,
|
|
8246
8246
|
paginationButtonSpacer: `pagination-button-spacer`,
|
|
8247
|
-
paginationButtonIcon: `pagination-button-icon ${
|
|
8248
|
-
paginationButtonLabel: `pagination-button-label ${
|
|
8247
|
+
paginationButtonIcon: `pagination-button-icon ${_1$3}`,
|
|
8248
|
+
paginationButtonLabel: `pagination-button-label ${_2$1}`,
|
|
8249
8249
|
paginationBar: `pagination-bar`,
|
|
8250
8250
|
paginationBarLimit: `pagination-bar-limit`,
|
|
8251
8251
|
paginationBarLimitDisplayingOf: `pagination-bar-limit-displaying-of`,
|
|
@@ -8492,13 +8492,13 @@ var FluxPaginationBar_default = /* @__PURE__ */ defineComponent({
|
|
|
8492
8492
|
};
|
|
8493
8493
|
}
|
|
8494
8494
|
});
|
|
8495
|
-
var { "
|
|
8495
|
+
var { "basePaneElement": _0$6, "basePaneLoader": _1$2 } = Pane_module_default$1;
|
|
8496
8496
|
var Table_module_default = {
|
|
8497
|
-
table: `table ${
|
|
8497
|
+
table: `table ${_0$6}`,
|
|
8498
8498
|
tableBase: `table-base`,
|
|
8499
8499
|
tableFill: `table-fill`,
|
|
8500
8500
|
tablePagination: `table-pagination`,
|
|
8501
|
-
tableLoader: `table-loader ${
|
|
8501
|
+
tableLoader: `table-loader ${_1$2}`,
|
|
8502
8502
|
tableRow: `table-row`,
|
|
8503
8503
|
tableCell: `table-cell`,
|
|
8504
8504
|
tableCellContent: `table-cell-content`,
|
|
@@ -12271,10 +12271,10 @@ var FluxItemStack_default = /* @__PURE__ */ defineComponent({
|
|
|
12271
12271
|
};
|
|
12272
12272
|
}
|
|
12273
12273
|
});
|
|
12274
|
-
var { "
|
|
12274
|
+
var { "stackVertical": _0$4, "stackHorizontal": _1$1 } = Layout_module_default;
|
|
12275
12275
|
var Legend_module_default = {
|
|
12276
|
-
legendHorizontal: `legend-horizontal ${
|
|
12277
|
-
legendVertical: `legend-vertical ${
|
|
12276
|
+
legendHorizontal: `legend-horizontal ${_1$1}`,
|
|
12277
|
+
legendVertical: `legend-vertical ${_0$4}`,
|
|
12278
12278
|
legendItem: `legend-item`
|
|
12279
12279
|
};
|
|
12280
12280
|
var FluxLegend_default = /* @__PURE__ */ defineComponent({
|
|
@@ -13783,7 +13783,7 @@ var FluxStatistic_default = /* @__PURE__ */ defineComponent({
|
|
|
13783
13783
|
};
|
|
13784
13784
|
}
|
|
13785
13785
|
});
|
|
13786
|
-
var { "
|
|
13786
|
+
var { "sparklesContainer": _0$1, "sparklesContainerActive": _1, "sparklesParticles": _2 } = {
|
|
13787
13787
|
sparklesContainer: `sparkles-container`,
|
|
13788
13788
|
sparklesParticles: `sparkles-particles`,
|
|
13789
13789
|
sparklesContainerActive: `sparkles-container-active`,
|
|
@@ -13794,11 +13794,11 @@ var { "sparklesContainerActive": _0$1, "sparklesContainer": _1, "sparklesParticl
|
|
|
13794
13794
|
var Stepper_module_default = {
|
|
13795
13795
|
stepperStep: `stepper-step`,
|
|
13796
13796
|
stepperSteps: `stepper-steps`,
|
|
13797
|
-
stepperStepsItem: `stepper-steps-item ${
|
|
13797
|
+
stepperStepsItem: `stepper-steps-item ${_0$1}`,
|
|
13798
13798
|
icon: `icon`,
|
|
13799
|
-
stepperStepsItemComplete: `stepper-steps-item-complete ${
|
|
13800
|
-
stepperStepsItemCurrent: `stepper-steps-item-current stepper-steps-item ${
|
|
13801
|
-
stepperStepsItemIdle: `stepper-steps-item-idle stepper-steps-item ${
|
|
13799
|
+
stepperStepsItemComplete: `stepper-steps-item-complete ${_1} stepper-steps-item ${_0$1}`,
|
|
13800
|
+
stepperStepsItemCurrent: `stepper-steps-item-current stepper-steps-item ${_0$1}`,
|
|
13801
|
+
stepperStepsItemIdle: `stepper-steps-item-idle stepper-steps-item ${_0$1}`,
|
|
13802
13802
|
stepperStepsItemParticles: `stepper-steps-item-particles ${_2}`
|
|
13803
13803
|
};
|
|
13804
13804
|
var _hoisted_1$4 = ["onClick"];
|