rappel-ui 1.0.15 → 1.0.17
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/cjs/_virtual/_rolldown/runtime.js +1 -1
- package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/colors/src/primary-color.vue.d.ts +4 -1
- package/cjs/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/colors/src/secondary-color.vue.d.ts +7 -1
- package/cjs/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/index.js +1 -1
- package/cjs/components/popconfirm/index.d.ts +75 -3
- package/cjs/components/popconfirm/src/popconfirm.vue.d.ts +47 -15
- package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/popconfirm/src/types.d.ts +2 -2
- package/cjs/components/popover/index.d.ts +60 -0
- package/cjs/components/popover/src/popover.vue.d.ts +27 -3
- package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/popover/src/types.d.ts +3 -1
- package/cjs/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
- package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/tooltip/index.d.ts +11 -0
- package/cjs/components/tooltip/index.js +1 -1
- package/cjs/components/tooltip/src/content.vue.d.ts +6 -2
- package/cjs/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/tooltip/src/tooltip.vue.d.ts +6 -2
- package/cjs/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
- package/cjs/components/tooltip/src/types.d.ts +2 -0
- package/cjs/components/tooltip/src/use-emit.d.ts +4 -2
- package/cjs/components/tooltip/src/use-emit.js +1 -1
- package/cjs/index.d.ts +175 -5
- package/cjs/index.js +1 -1
- package/cjs/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js +1 -0
- package/cjs/utils/util.d.ts +8 -7
- package/cjs/utils/util.js +1 -1
- package/es/_virtual/_rolldown/runtime.mjs +2 -2
- package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/es/components/colors/src/colors.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/colors/src/neutral-color.vue_vue_type_script_setup_true_lang.mjs +6 -4
- package/es/components/colors/src/primary-color.vue.d.ts +4 -1
- package/es/components/colors/src/primary-color.vue_vue_type_script_setup_true_lang.mjs +30 -21
- package/es/components/colors/src/secondary-color.vue.d.ts +7 -1
- package/es/components/colors/src/secondary-color.vue_vue_type_script_setup_true_lang.mjs +50 -31
- package/es/components/filter-panel/src/filter-panel.vue_vue_type_script_setup_true_lang.mjs +3 -5
- package/es/components/index.mjs +11 -9
- package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/popconfirm/index.d.ts +75 -3
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +47 -15
- package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +138 -100
- package/es/components/popconfirm/src/types.d.ts +2 -2
- package/es/components/popover/index.d.ts +60 -0
- package/es/components/popover/src/popover.vue.d.ts +27 -3
- package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +84 -58
- package/es/components/popover/src/types.d.ts +3 -1
- package/es/components/svg-icon/src/svg-icon.vue.d.ts +1 -0
- package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -2
- package/es/components/tabs/src/tabs.mjs +1 -1
- package/es/components/tooltip/index.d.ts +11 -0
- package/es/components/tooltip/index.mjs +4 -3
- package/es/components/tooltip/src/content.vue.d.ts +6 -2
- package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs +38 -30
- package/es/components/tooltip/src/tooltip.vue.d.ts +6 -2
- package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +105 -101
- package/es/components/tooltip/src/types.d.ts +2 -0
- package/es/components/tooltip/src/use-emit.d.ts +4 -2
- package/es/components/tooltip/src/use-emit.mjs +4 -2
- package/es/composables/use-time-nodes/index.mjs +1 -1
- package/es/index.d.ts +175 -5
- package/es/index.mjs +29 -28
- package/es/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs +1 -1
- package/es/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs +2 -2
- package/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +5 -7
- package/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +2 -2
- package/es/node_modules/.pnpm/process@0.11.10/node_modules/process/browser.mjs +90 -0
- package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_core@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/core/dist/index.mjs +3 -5
- package/es/svg-icons/dist/es/node_modules/.pnpm/@vueuse_shared@14.4.0_vue@3.5.26_typescript@5.9.3_/node_modules/@vueuse/shared/dist/index.mjs +1 -1
- package/es/svg-icons/dist/es/packages/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/svg-icons/index.mjs +1 -1
- package/es/utils/util.d.ts +8 -7
- package/es/utils/util.mjs +4 -4
- package/package.json +1 -1
- package/theme-chalk/base.css +1 -231
- package/theme-chalk/index.css +1 -1271
- package/theme-chalk/re-button-group.css +1 -68
- package/theme-chalk/re-button.css +1 -810
- package/theme-chalk/re-colors.css +1 -87
- package/theme-chalk/re-filter-panel.css +1 -36
- package/theme-chalk/re-popconfirm.css +1 -47
- package/theme-chalk/re-popover.css +1 -31
- package/theme-chalk/re-svg-icon.css +1 -33
- package/theme-chalk/re-tooltip.css +1 -62
- package/theme-chalk/root-vars.css +1 -201
- package/theme-chalk/src/base.scss +3 -4
- package/theme-chalk/src/colors.scss +16 -0
- package/theme-chalk/src/css-vars/_colors.scss +7 -7
- package/theme-chalk/src/function/index.scss +8 -8
- package/umd/index.css +1 -0
- package/umd/index.js +9 -9
- package/cjs/components/button/style/index.js +0 -1
- package/cjs/components/button-group/style/index.js +0 -1
- package/cjs/components/colors/style/index.js +0 -1
- package/cjs/components/filter-panel/style/index.js +0 -1
- package/cjs/components/svg-icon/style/index.js +0 -1
- package/cjs/theme-chalk/src/base.css +0 -1
- package/cjs/theme-chalk/src/button-group.css +0 -1
- package/cjs/theme-chalk/src/button.css +0 -1
- package/cjs/theme-chalk/src/colors.css +0 -1
- package/cjs/theme-chalk/src/filter-panel.css +0 -1
- package/cjs/theme-chalk/src/svg-icon.css +0 -1
- package/es/components/button/style/index.mjs +0 -2
- package/es/components/button-group/style/index.mjs +0 -2
- package/es/components/colors/style/index.mjs +0 -2
- package/es/components/filter-panel/style/index.mjs +0 -2
- package/es/components/svg-icon/style/index.mjs +0 -2
- package/es/theme-chalk/src/base.css +0 -1
- package/es/theme-chalk/src/button-group.css +0 -1
- package/es/theme-chalk/src/button.css +0 -1
- package/es/theme-chalk/src/colors.css +0 -1
- package/es/theme-chalk/src/filter-panel.css +0 -1
- package/es/theme-chalk/src/svg-icon.css +0 -1
- package/theme-chalk/css-vars/_button-group.css +0 -15
- package/theme-chalk/css-vars/_button.css +0 -15
- package/theme-chalk/css-vars/_colors.css +0 -33
- package/theme-chalk/css-vars/_popconfirm.css +0 -15
- package/theme-chalk/css-vars/_tooltip.css +0 -15
- package/theme-chalk/function/_button.css +0 -15
- package/theme-chalk/function/index.css +0 -15
- package/theme-chalk/mixins/_base.css +0 -15
- package/theme-chalk/mixins/_button.css +0 -18
- package/theme-chalk/mixins/_popconfirm.css +0 -18
- package/theme-chalk/mixins/_tooltip.css +0 -18
- package/theme-chalk/mixins/index.css +0 -18
package/es/index.d.ts
CHANGED
|
@@ -1286,8 +1286,22 @@ declare const _default: {
|
|
|
1286
1286
|
};
|
|
1287
1287
|
});
|
|
1288
1288
|
ReColors: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1289
|
-
RePrimaryColor: import('vue').DefineComponent<{
|
|
1290
|
-
|
|
1289
|
+
RePrimaryColor: import('vue').DefineComponent<{
|
|
1290
|
+
codeHtml?: string;
|
|
1291
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
1292
|
+
codeHtml?: string;
|
|
1293
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
1294
|
+
ReSecondaryColor: import('vue').DefineComponent<{
|
|
1295
|
+
successCodeHtml?: string;
|
|
1296
|
+
warningCodeHtml?: string;
|
|
1297
|
+
dangerCodeHtml?: string;
|
|
1298
|
+
infoCodeHtml?: string;
|
|
1299
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
1300
|
+
successCodeHtml?: string;
|
|
1301
|
+
warningCodeHtml?: string;
|
|
1302
|
+
dangerCodeHtml?: string;
|
|
1303
|
+
infoCodeHtml?: string;
|
|
1304
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
1291
1305
|
ReNeutralColor: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
1292
1306
|
ReFilterPanel: {
|
|
1293
1307
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<components.FilterPanelProps & {
|
|
@@ -1372,9 +1386,11 @@ declare const _default: {
|
|
|
1372
1386
|
onHide?: ((el: HTMLElement) => any) | undefined;
|
|
1373
1387
|
onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1374
1388
|
onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1389
|
+
onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1375
1390
|
onAfterEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1376
1391
|
onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1377
1392
|
onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1393
|
+
onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1378
1394
|
onAfterLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1379
1395
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1380
1396
|
}>, {
|
|
@@ -1393,9 +1409,11 @@ declare const _default: {
|
|
|
1393
1409
|
hide: (el: HTMLElement) => any;
|
|
1394
1410
|
beforeEnter: (el: HTMLElement) => any;
|
|
1395
1411
|
enter: (el: HTMLElement, done: () => void) => any;
|
|
1412
|
+
enterCancelled: (el: HTMLElement) => any;
|
|
1396
1413
|
afterEnter: (el: HTMLElement) => any;
|
|
1397
1414
|
beforeLeave: (el: HTMLElement) => any;
|
|
1398
1415
|
leave: (el: HTMLElement, done: () => void) => any;
|
|
1416
|
+
leaveCancelled: (el: HTMLElement) => any;
|
|
1399
1417
|
afterLeave: (el: HTMLElement) => any;
|
|
1400
1418
|
"update:visible": (value: boolean) => any;
|
|
1401
1419
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -1414,9 +1432,11 @@ declare const _default: {
|
|
|
1414
1432
|
onHide?: ((el: HTMLElement) => any) | undefined;
|
|
1415
1433
|
onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1416
1434
|
onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1435
|
+
onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1417
1436
|
onAfterEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1418
1437
|
onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1419
1438
|
onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1439
|
+
onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1420
1440
|
onAfterLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1421
1441
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1422
1442
|
}>, {
|
|
@@ -1441,9 +1461,11 @@ declare const _default: {
|
|
|
1441
1461
|
onHide?: ((el: HTMLElement) => any) | undefined;
|
|
1442
1462
|
onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1443
1463
|
onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1464
|
+
onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1444
1465
|
onAfterEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1445
1466
|
onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1446
1467
|
onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1468
|
+
onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1447
1469
|
onAfterLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1448
1470
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1449
1471
|
}>, {
|
|
@@ -1462,9 +1484,11 @@ declare const _default: {
|
|
|
1462
1484
|
hide: (el: HTMLElement) => any;
|
|
1463
1485
|
beforeEnter: (el: HTMLElement) => any;
|
|
1464
1486
|
enter: (el: HTMLElement, done: () => void) => any;
|
|
1487
|
+
enterCancelled: (el: HTMLElement) => any;
|
|
1465
1488
|
afterEnter: (el: HTMLElement) => any;
|
|
1466
1489
|
beforeLeave: (el: HTMLElement) => any;
|
|
1467
1490
|
leave: (el: HTMLElement, done: () => void) => any;
|
|
1491
|
+
leaveCancelled: (el: HTMLElement) => any;
|
|
1468
1492
|
afterLeave: (el: HTMLElement) => any;
|
|
1469
1493
|
"update:visible": (value: boolean) => any;
|
|
1470
1494
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -1472,12 +1496,50 @@ declare const _default: {
|
|
|
1472
1496
|
content?: (props: {}) => any;
|
|
1473
1497
|
};
|
|
1474
1498
|
});
|
|
1499
|
+
useEmits(emits: import('vue').EmitFn<components.FloatingEmits>): {
|
|
1500
|
+
beforeShow: (el: any) => void;
|
|
1501
|
+
show: (el: any) => void;
|
|
1502
|
+
beforeHide: (el: any) => void;
|
|
1503
|
+
hide: (el: any) => void;
|
|
1504
|
+
beforeEnter: (el: any) => void;
|
|
1505
|
+
enter: (el: any, done: any) => void;
|
|
1506
|
+
enterCancelled: (el: any) => void;
|
|
1507
|
+
afterEnter: (el: any) => void;
|
|
1508
|
+
beforeLeave: (el: any) => void;
|
|
1509
|
+
leave: (el: any, done: any) => void;
|
|
1510
|
+
leaveCancelled: (el: any) => void;
|
|
1511
|
+
afterLeave: (el: any) => void;
|
|
1512
|
+
};
|
|
1475
1513
|
RePopover: {
|
|
1476
1514
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<components.PopoverProps & {
|
|
1477
1515
|
visible?: boolean;
|
|
1478
1516
|
}> & Readonly<{
|
|
1517
|
+
onBeforeShow?: ((el: HTMLElement) => any) | undefined;
|
|
1518
|
+
onShow?: ((el: HTMLElement) => any) | undefined;
|
|
1519
|
+
onBeforeHide?: ((el: HTMLElement) => any) | undefined;
|
|
1520
|
+
onHide?: ((el: HTMLElement) => any) | undefined;
|
|
1521
|
+
onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1522
|
+
onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1523
|
+
onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1524
|
+
onAfterEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1525
|
+
onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1526
|
+
onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1527
|
+
onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1528
|
+
onAfterLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1479
1529
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1480
1530
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1531
|
+
beforeShow: (el: HTMLElement) => any;
|
|
1532
|
+
show: (el: HTMLElement) => any;
|
|
1533
|
+
beforeHide: (el: HTMLElement) => any;
|
|
1534
|
+
hide: (el: HTMLElement) => any;
|
|
1535
|
+
beforeEnter: (el: HTMLElement) => any;
|
|
1536
|
+
enter: (el: HTMLElement, done: () => void) => any;
|
|
1537
|
+
enterCancelled: (el: HTMLElement) => any;
|
|
1538
|
+
afterEnter: (el: HTMLElement) => any;
|
|
1539
|
+
beforeLeave: (el: HTMLElement) => any;
|
|
1540
|
+
leave: (el: HTMLElement, done: () => void) => any;
|
|
1541
|
+
leaveCancelled: (el: HTMLElement) => any;
|
|
1542
|
+
afterLeave: (el: HTMLElement) => any;
|
|
1481
1543
|
"update:visible": (value: boolean) => any;
|
|
1482
1544
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1483
1545
|
P: {};
|
|
@@ -1489,6 +1551,18 @@ declare const _default: {
|
|
|
1489
1551
|
}, Readonly<components.PopoverProps & {
|
|
1490
1552
|
visible?: boolean;
|
|
1491
1553
|
}> & Readonly<{
|
|
1554
|
+
onBeforeShow?: ((el: HTMLElement) => any) | undefined;
|
|
1555
|
+
onShow?: ((el: HTMLElement) => any) | undefined;
|
|
1556
|
+
onBeforeHide?: ((el: HTMLElement) => any) | undefined;
|
|
1557
|
+
onHide?: ((el: HTMLElement) => any) | undefined;
|
|
1558
|
+
onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1559
|
+
onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1560
|
+
onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1561
|
+
onAfterEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1562
|
+
onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1563
|
+
onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1564
|
+
onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1565
|
+
onAfterLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1492
1566
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1493
1567
|
}>, {}, {}, {}, {}, {}>;
|
|
1494
1568
|
__isFragment?: never;
|
|
@@ -1497,8 +1571,32 @@ declare const _default: {
|
|
|
1497
1571
|
} & import('vue').ComponentOptionsBase<Readonly<components.PopoverProps & {
|
|
1498
1572
|
visible?: boolean;
|
|
1499
1573
|
}> & Readonly<{
|
|
1574
|
+
onBeforeShow?: ((el: HTMLElement) => any) | undefined;
|
|
1575
|
+
onShow?: ((el: HTMLElement) => any) | undefined;
|
|
1576
|
+
onBeforeHide?: ((el: HTMLElement) => any) | undefined;
|
|
1577
|
+
onHide?: ((el: HTMLElement) => any) | undefined;
|
|
1578
|
+
onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1579
|
+
onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1580
|
+
onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1581
|
+
onAfterEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1582
|
+
onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1583
|
+
onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1584
|
+
onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1585
|
+
onAfterLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1500
1586
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1501
1587
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1588
|
+
beforeShow: (el: HTMLElement) => any;
|
|
1589
|
+
show: (el: HTMLElement) => any;
|
|
1590
|
+
beforeHide: (el: HTMLElement) => any;
|
|
1591
|
+
hide: (el: HTMLElement) => any;
|
|
1592
|
+
beforeEnter: (el: HTMLElement) => any;
|
|
1593
|
+
enter: (el: HTMLElement, done: () => void) => any;
|
|
1594
|
+
enterCancelled: (el: HTMLElement) => any;
|
|
1595
|
+
afterEnter: (el: HTMLElement) => any;
|
|
1596
|
+
beforeLeave: (el: HTMLElement) => any;
|
|
1597
|
+
leave: (el: HTMLElement, done: () => void) => any;
|
|
1598
|
+
leaveCancelled: (el: HTMLElement) => any;
|
|
1599
|
+
afterLeave: (el: HTMLElement) => any;
|
|
1502
1600
|
"update:visible": (value: boolean) => any;
|
|
1503
1601
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1504
1602
|
$slots: {
|
|
@@ -1512,12 +1610,38 @@ declare const _default: {
|
|
|
1512
1610
|
visible?: boolean;
|
|
1513
1611
|
}> & Readonly<{
|
|
1514
1612
|
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
1613
|
+
onBeforeShow?: ((el: HTMLElement) => any) | undefined;
|
|
1614
|
+
onShow?: ((el: HTMLElement) => any) | undefined;
|
|
1615
|
+
onBeforeHide?: ((el: HTMLElement) => any) | undefined;
|
|
1616
|
+
onHide?: ((el: HTMLElement) => any) | undefined;
|
|
1617
|
+
onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1618
|
+
onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1619
|
+
onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1620
|
+
onAfterEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1621
|
+
onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1622
|
+
onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1623
|
+
onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1624
|
+
onAfterLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1515
1625
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1516
1626
|
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
1517
1627
|
}>, {
|
|
1518
1628
|
tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
|
|
1629
|
+
cancel: (e: MouseEvent) => void;
|
|
1630
|
+
confirm: (e: MouseEvent) => void;
|
|
1519
1631
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1520
1632
|
cancel: (e: MouseEvent) => any;
|
|
1633
|
+
beforeShow: (el: HTMLElement) => any;
|
|
1634
|
+
show: (el: HTMLElement) => any;
|
|
1635
|
+
beforeHide: (el: HTMLElement) => any;
|
|
1636
|
+
hide: (el: HTMLElement) => any;
|
|
1637
|
+
beforeEnter: (el: HTMLElement) => any;
|
|
1638
|
+
enter: (el: HTMLElement, done: () => void) => any;
|
|
1639
|
+
enterCancelled: (el: HTMLElement) => any;
|
|
1640
|
+
afterEnter: (el: HTMLElement) => any;
|
|
1641
|
+
beforeLeave: (el: HTMLElement) => any;
|
|
1642
|
+
leave: (el: HTMLElement, done: () => void) => any;
|
|
1643
|
+
leaveCancelled: (el: HTMLElement) => any;
|
|
1644
|
+
afterLeave: (el: HTMLElement) => any;
|
|
1521
1645
|
"update:visible": (value: boolean) => any;
|
|
1522
1646
|
confirm: (e: MouseEvent) => any;
|
|
1523
1647
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -1531,10 +1655,24 @@ declare const _default: {
|
|
|
1531
1655
|
visible?: boolean;
|
|
1532
1656
|
}> & Readonly<{
|
|
1533
1657
|
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
1658
|
+
onBeforeShow?: ((el: HTMLElement) => any) | undefined;
|
|
1659
|
+
onShow?: ((el: HTMLElement) => any) | undefined;
|
|
1660
|
+
onBeforeHide?: ((el: HTMLElement) => any) | undefined;
|
|
1661
|
+
onHide?: ((el: HTMLElement) => any) | undefined;
|
|
1662
|
+
onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1663
|
+
onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1664
|
+
onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1665
|
+
onAfterEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1666
|
+
onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1667
|
+
onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1668
|
+
onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1669
|
+
onAfterLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1534
1670
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1535
1671
|
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
1536
1672
|
}>, {
|
|
1537
1673
|
tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
|
|
1674
|
+
cancel: (e: MouseEvent) => void;
|
|
1675
|
+
confirm: (e: MouseEvent) => void;
|
|
1538
1676
|
}, {}, {}, {}, {}>;
|
|
1539
1677
|
__isFragment?: never;
|
|
1540
1678
|
__isTeleport?: never;
|
|
@@ -1543,20 +1681,49 @@ declare const _default: {
|
|
|
1543
1681
|
visible?: boolean;
|
|
1544
1682
|
}> & Readonly<{
|
|
1545
1683
|
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
1684
|
+
onBeforeShow?: ((el: HTMLElement) => any) | undefined;
|
|
1685
|
+
onShow?: ((el: HTMLElement) => any) | undefined;
|
|
1686
|
+
onBeforeHide?: ((el: HTMLElement) => any) | undefined;
|
|
1687
|
+
onHide?: ((el: HTMLElement) => any) | undefined;
|
|
1688
|
+
onBeforeEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1689
|
+
onEnter?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1690
|
+
onEnterCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1691
|
+
onAfterEnter?: ((el: HTMLElement) => any) | undefined;
|
|
1692
|
+
onBeforeLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1693
|
+
onLeave?: ((el: HTMLElement, done: () => void) => any) | undefined;
|
|
1694
|
+
onLeaveCancelled?: ((el: HTMLElement) => any) | undefined;
|
|
1695
|
+
onAfterLeave?: ((el: HTMLElement) => any) | undefined;
|
|
1546
1696
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
1547
1697
|
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
1548
1698
|
}>, {
|
|
1549
1699
|
tooltipRef: Readonly<import('vue').ShallowRef<any, any>>;
|
|
1700
|
+
cancel: (e: MouseEvent) => void;
|
|
1701
|
+
confirm: (e: MouseEvent) => void;
|
|
1550
1702
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1551
1703
|
cancel: (e: MouseEvent) => any;
|
|
1704
|
+
beforeShow: (el: HTMLElement) => any;
|
|
1705
|
+
show: (el: HTMLElement) => any;
|
|
1706
|
+
beforeHide: (el: HTMLElement) => any;
|
|
1707
|
+
hide: (el: HTMLElement) => any;
|
|
1708
|
+
beforeEnter: (el: HTMLElement) => any;
|
|
1709
|
+
enter: (el: HTMLElement, done: () => void) => any;
|
|
1710
|
+
enterCancelled: (el: HTMLElement) => any;
|
|
1711
|
+
afterEnter: (el: HTMLElement) => any;
|
|
1712
|
+
beforeLeave: (el: HTMLElement) => any;
|
|
1713
|
+
leave: (el: HTMLElement, done: () => void) => any;
|
|
1714
|
+
leaveCancelled: (el: HTMLElement) => any;
|
|
1715
|
+
afterLeave: (el: HTMLElement) => any;
|
|
1552
1716
|
"update:visible": (value: boolean) => any;
|
|
1553
1717
|
confirm: (e: MouseEvent) => any;
|
|
1554
1718
|
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1555
1719
|
$slots: {
|
|
1556
|
-
header?: (props: {
|
|
1720
|
+
header?: (props: {
|
|
1721
|
+
icon: string | import('vue').Component | undefined;
|
|
1722
|
+
title: string;
|
|
1723
|
+
}) => any;
|
|
1557
1724
|
} & {
|
|
1558
1725
|
icon?: (props: {
|
|
1559
|
-
icon:
|
|
1726
|
+
icon: string | import('vue').Component | undefined;
|
|
1560
1727
|
}) => any;
|
|
1561
1728
|
} & {
|
|
1562
1729
|
title?: (props: {
|
|
@@ -1585,7 +1752,10 @@ declare const _default: {
|
|
|
1585
1752
|
cancelText: string;
|
|
1586
1753
|
}) => any;
|
|
1587
1754
|
} & {
|
|
1588
|
-
extra?: (props: {
|
|
1755
|
+
extra?: (props: {
|
|
1756
|
+
cancel: (e: MouseEvent) => void;
|
|
1757
|
+
confirm: (e: MouseEvent) => void;
|
|
1758
|
+
}) => any;
|
|
1589
1759
|
} & {
|
|
1590
1760
|
confirm?: (props: {
|
|
1591
1761
|
confirm: (e: MouseEvent) => void;
|
package/es/index.mjs
CHANGED
|
@@ -1,45 +1,46 @@
|
|
|
1
|
-
import { INSTALLED_KEY as e, createGlobalInstaller as t, toLowerCase as
|
|
2
|
-
import { autoCalcFileSize as
|
|
1
|
+
import { INSTALLED_KEY as e, createGlobalInstaller as t, toLowerCase as ee, toPascalCase as te, withInstall as ne, withMultiInstall as re } from "./utils/vue/index.mjs";
|
|
2
|
+
import { autoCalcFileSize as ie, buildTree as ae, copyText as n, createColors as r, createOverload as i, darkenColor as a, deepClone as o, deleteKeys as s, flatArr as c, getCssVarsByPrefix as l, getEqualOpacityColor as u, hasOwnProperty as d, isPlainObject as f, joinURLs as p, lineBreakToComma as m, omitEmptyKeys as h, paramsToFormData as g, readTxtByEncodes as _, readTxtFile as v, setURLSearchParams as y, singleton as b, toPx as x, transitionSize as S } from "./utils/util.mjs";
|
|
3
3
|
import "./utils/index.mjs";
|
|
4
|
-
import { _buttonGroupProps as
|
|
5
|
-
import { useDraggable as
|
|
6
|
-
import { useDateFormat as
|
|
7
|
-
import { useOnceFn as
|
|
8
|
-
import { useTimeNodes as
|
|
9
|
-
import { useWaterFallLayout as
|
|
10
|
-
import { useNamespace as
|
|
11
|
-
import { useZIndex as
|
|
12
|
-
import { useTheme as
|
|
4
|
+
import { _buttonGroupProps as C, buttonNativeTypes as w, buttonSizes as T, buttonTypes as E } from "./components/button/src/constants.mjs";
|
|
5
|
+
import { useDraggable as D } from "./composables/use-draggable/index.mjs";
|
|
6
|
+
import { useDateFormat as O } from "./composables/use-date-format/index.mjs";
|
|
7
|
+
import { useOnceFn as k } from "./composables/use-once-fn/index.mjs";
|
|
8
|
+
import { useTimeNodes as A } from "./composables/use-time-nodes/index.mjs";
|
|
9
|
+
import { useWaterFallLayout as j } from "./composables/use-waterfall-layout/index.mjs";
|
|
10
|
+
import { useNamespace as M } from "./composables/use-namespace/index.mjs";
|
|
11
|
+
import { useZIndex as N } from "./composables/use-z-index/index.mjs";
|
|
12
|
+
import { useTheme as P } from "./composables/use-theme/index.mjs";
|
|
13
13
|
import "./composables/index.mjs";
|
|
14
|
-
import { ReButton as
|
|
15
|
-
import { ReInput as
|
|
16
|
-
import { ReTabs as
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import { ReColors as
|
|
21
|
-
import { ReFilterPanel as
|
|
22
|
-
import { ReSvgIcon as
|
|
14
|
+
import { ReButton as F, ReButtonGroup as I } from "./components/button/index.mjs";
|
|
15
|
+
import { ReInput as L } from "./components/input/index.mjs";
|
|
16
|
+
import { ReTabs as R } from "./components/tabs/index.mjs";
|
|
17
|
+
import z from "./components/colors/src/primary-color.mjs";
|
|
18
|
+
import B from "./components/colors/src/secondary-color.mjs";
|
|
19
|
+
import V from "./components/colors/src/neutral-color.mjs";
|
|
20
|
+
import { ReColors as H } from "./components/colors/index.mjs";
|
|
21
|
+
import { ReFilterPanel as U } from "./components/filter-panel/index.mjs";
|
|
22
|
+
import { ReSvgIcon as W } from "./components/svg-icon/index.mjs";
|
|
23
|
+
import { useEmits as G } from "./components/tooltip/src/use-emit.mjs";
|
|
23
24
|
import { ReTooltip as K } from "./components/tooltip/index.mjs";
|
|
24
25
|
import { RePopover as q } from "./components/popover/index.mjs";
|
|
25
26
|
import { RePopconfirm as J } from "./components/popconfirm/index.mjs";
|
|
26
27
|
import { components_exports as Y } from "./components/index.mjs";
|
|
27
|
-
import { svgLoadingContent as
|
|
28
|
-
import { vDraggable as
|
|
29
|
-
import { applyResizable as
|
|
30
|
-
import { vSvgLoading as
|
|
28
|
+
import { svgLoadingContent as oe } from "./constants/svgLoading.mjs";
|
|
29
|
+
import { vDraggable as se } from "./directives/vDraggable.mjs";
|
|
30
|
+
import { applyResizable as ce, vResizable as le } from "./directives/vResizable.mjs";
|
|
31
|
+
import { vSvgLoading as ue } from "./directives/vSvgLoading.mjs";
|
|
31
32
|
import "./directives/index.mjs";
|
|
32
|
-
import { iconNames as
|
|
33
|
-
import { ArrowBackward as
|
|
33
|
+
import { iconNames as de, svgIcons as fe } from "./svg-icons/constants.mjs";
|
|
34
|
+
import { ArrowBackward as pe, ArrowDown as me, ArrowDownward as he, ArrowForward as ge, ArrowLeft as _e, ArrowRight as ve, ArrowUp as ye, ArrowUpward as be, Close as xe, CloseShort as Se, Copy as Ce, CopyClosure as we, Delete as Te, Exclam as Ee, Help as De, Loading as Oe, MoreDotCircle as ke, MoreDotCircleHorizontal as Ae, MoreDotSquare as je, MoreDotSquareHorizontal as Me, MoreLine as Ne, Search as Pe, SearchBold as Fe, Star as Ie, StarFill as Le, createIcon as Re, getIcon as ze, moreDotCircleOutlineHorizontal as Be, moreDotCircleOutlineVertical as Ve, svg_icons_exports as X } from "./svg-icons/index.mjs";
|
|
34
35
|
//#region packages/index.ts
|
|
35
36
|
var Z = t(Object.values({
|
|
36
37
|
...Y,
|
|
37
38
|
...X
|
|
38
|
-
})), Q = Z.install, $ = Z.version,
|
|
39
|
+
})), Q = Z.install, $ = Z.version, He = {
|
|
39
40
|
install: Q,
|
|
40
41
|
version: $,
|
|
41
42
|
...Y,
|
|
42
43
|
...X
|
|
43
44
|
};
|
|
44
45
|
//#endregion
|
|
45
|
-
export {
|
|
46
|
+
export { pe as ArrowBackward, me as ArrowDown, he as ArrowDownward, ge as ArrowForward, _e as ArrowLeft, ve as ArrowRight, ye as ArrowUp, be as ArrowUpward, xe as Close, Se as CloseShort, Ce as Copy, we as CopyClosure, Te as Delete, Ee as Exclam, De as Help, e as INSTALLED_KEY, Oe as Loading, ke as MoreDotCircle, Ae as MoreDotCircleHorizontal, je as MoreDotSquare, Me as MoreDotSquareHorizontal, Ne as MoreLine, F as ReButton, I as ReButtonGroup, H as ReColors, U as ReFilterPanel, L as ReInput, V as ReNeutralColor, J as RePopconfirm, q as RePopover, z as RePrimaryColor, B as ReSecondaryColor, W as ReSvgIcon, R as ReTabs, K as ReTooltip, Pe as Search, Fe as SearchBold, Ie as Star, Le as StarFill, C as _buttonGroupProps, ce as applyResizable, ie as autoCalcFileSize, ae as buildTree, w as buttonNativeTypes, T as buttonSizes, E as buttonTypes, n as copyText, r as createColors, t as createGlobalInstaller, Re as createIcon, i as createOverload, a as darkenColor, o as deepClone, He as default, s as deleteKeys, c as flatArr, l as getCssVarsByPrefix, u as getEqualOpacityColor, ze as getIcon, d as hasOwnProperty, de as iconNames, Q as install, f as isPlainObject, p as joinURLs, m as lineBreakToComma, Be as moreDotCircleOutlineHorizontal, Ve as moreDotCircleOutlineVertical, h as omitEmptyKeys, g as paramsToFormData, _ as readTxtByEncodes, v as readTxtFile, y as setURLSearchParams, b as singleton, fe as svgIcons, oe as svgLoadingContent, ee as toLowerCase, te as toPascalCase, x as toPx, S as transitionSize, O as useDateFormat, D as useDraggable, G as useEmits, M as useNamespace, k as useOnceFn, P as useTheme, A as useTimeNodes, j as useWaterFallLayout, N as useZIndex, se as vDraggable, le as vResizable, ue as vSvgLoading, $ as version, ne as withInstall, re as withMultiInstall };
|
|
@@ -235,7 +235,7 @@ var C = function(e) {
|
|
|
235
235
|
return a.reference.x !== w.reference.x || a.reference.y !== w.reference.y || a.reference.width !== w.reference.width || a.reference.height !== w.reference.height ? { reset: { rects: w } } : {};
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
|
-
}, w =
|
|
238
|
+
}, w = new Set(["left", "top"]);
|
|
239
239
|
async function T(e, r) {
|
|
240
240
|
let { placement: i, platform: a, elements: o } = e, s = await (a.isRTL == null ? void 0 : a.isRTL(o.floating)), c = u(i), l = n(i), f = d(i) === "y", p = w.has(c) ? -1 : 1, m = s && f ? -1 : 1, h = t(r, e), { mainAxis: g, crossAxis: _, alignmentAxis: v } = typeof h == "number" ? {
|
|
241
241
|
mainAxis: h,
|
|
@@ -22,7 +22,7 @@ function A(t) {
|
|
|
22
22
|
y: l
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
var j =
|
|
25
|
+
var j = e(0);
|
|
26
26
|
function M(e) {
|
|
27
27
|
let t = y(e);
|
|
28
28
|
return !D() || !t.visualViewport ? j : {
|
|
@@ -308,7 +308,7 @@ function ne(e, t, n, r) {
|
|
|
308
308
|
};
|
|
309
309
|
}
|
|
310
310
|
var re = u, ie = c, ae = o, oe = l, se = (e, t, n) => {
|
|
311
|
-
let r =
|
|
311
|
+
let r = new Map(), i = n == null ? {} : n, a = {
|
|
312
312
|
...Q,
|
|
313
313
|
...i.platform,
|
|
314
314
|
_c: r
|
|
@@ -103,13 +103,12 @@ function L() {
|
|
|
103
103
|
e.value = !0;
|
|
104
104
|
}, t), e;
|
|
105
105
|
}
|
|
106
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
107
106
|
function R(e) {
|
|
108
107
|
let t = L();
|
|
109
108
|
return x(() => (t.value, !!e()));
|
|
110
109
|
}
|
|
111
110
|
function z(e, t, n = {}) {
|
|
112
|
-
let { window: r = M, ...i } = n, a, o =
|
|
111
|
+
let { window: r = M, ...i } = n, a, o = R(() => r && "MutationObserver" in r), s = () => {
|
|
113
112
|
a && (a.disconnect(), a = void 0);
|
|
114
113
|
}, c = A(x(() => {
|
|
115
114
|
let t = f(O(e)).map(N).filter(l);
|
|
@@ -151,13 +150,12 @@ function B(e, t, n = {}) {
|
|
|
151
150
|
return h(u), u;
|
|
152
151
|
}
|
|
153
152
|
var ee = Symbol("vueuse-ssr-width");
|
|
154
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
155
153
|
function V() {
|
|
156
154
|
let e = C() ? i(ee, null) : null;
|
|
157
155
|
return typeof e == "number" ? e : void 0;
|
|
158
156
|
}
|
|
159
157
|
function H(e, t = {}) {
|
|
160
|
-
let { window: n = M, ssrWidth: r =
|
|
158
|
+
let { window: n = M, ssrWidth: r = V() } = t, i = R(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = D(typeof r == "number"), o = D(), s = D(!1);
|
|
161
159
|
return j(() => {
|
|
162
160
|
if (a.value) {
|
|
163
161
|
a.value = !i.value;
|
|
@@ -173,7 +171,7 @@ function H(e, t = {}) {
|
|
|
173
171
|
s.value = e.matches;
|
|
174
172
|
}, { passive: !0 }), x(() => s.value);
|
|
175
173
|
}
|
|
176
|
-
var U = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, W = "__vueuse_ssr_handlers__", G =
|
|
174
|
+
var U = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, W = "__vueuse_ssr_handlers__", G = K();
|
|
177
175
|
function K() {
|
|
178
176
|
return W in U || (U[W] = U[W] || {}), U[W];
|
|
179
177
|
}
|
|
@@ -317,7 +315,7 @@ function Q(e = {}) {
|
|
|
317
315
|
})), _ = x(() => g.value === "auto" ? h.value : g.value), v = q("updateHTMLAttrs", (e, t, n) => {
|
|
318
316
|
let r = typeof e == "string" ? i == null ? void 0 : i.document.querySelector(e) : N(e);
|
|
319
317
|
if (!r) return;
|
|
320
|
-
let a =
|
|
318
|
+
let a = new Set(), o = new Set(), s = null;
|
|
321
319
|
if (t === "class") {
|
|
322
320
|
let e = n.split(/\s/g);
|
|
323
321
|
Object.values(d).flatMap((e) => (e || "").split(/\s/g)).filter(Boolean).forEach((t) => {
|
|
@@ -382,7 +380,7 @@ function re(e = {}) {
|
|
|
382
380
|
});
|
|
383
381
|
}
|
|
384
382
|
function $(e, t, n = {}) {
|
|
385
|
-
let { window: r = M, ...i } = n, a, o =
|
|
383
|
+
let { window: r = M, ...i } = n, a, o = R(() => r && "ResizeObserver" in r), s = () => {
|
|
386
384
|
a && (a.disconnect(), a = void 0);
|
|
387
385
|
}, c = A(x(() => {
|
|
388
386
|
let t = O(e);
|
|
@@ -3,14 +3,14 @@ import { customRef as e, getCurrentInstance as t, getCurrentScope as n, hasInjec
|
|
|
3
3
|
function g(e, t) {
|
|
4
4
|
return n() ? (c(e, t), !0) : !1;
|
|
5
5
|
}
|
|
6
|
-
var _ =
|
|
6
|
+
var _ = new WeakMap(), v = (...e) => {
|
|
7
7
|
var a;
|
|
8
8
|
let o = e[0], s = (a = t()) == null ? void 0 : a.proxy, c = s == null ? n() : s;
|
|
9
9
|
if (c == null && !r()) throw Error("injectLocal must be called in setup");
|
|
10
10
|
return c && _.has(c) && o in _.get(c) ? _.get(c)[o] : i(...e);
|
|
11
11
|
}, y = typeof window < "u" && typeof document < "u";
|
|
12
12
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
13
|
-
var b = (e) => e != null, x = Object.prototype.toString, S = (e) => x.call(e) === "[object Object]", C = () => {}, w =
|
|
13
|
+
var b = (e) => e != null, x = Object.prototype.toString, S = (e) => x.call(e) === "[object Object]", C = () => {}, w = T();
|
|
14
14
|
function T() {
|
|
15
15
|
var e, t, n;
|
|
16
16
|
return y && !!(!((e = window) == null || (e = e.navigator) == null) && e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window) == null || (t = t.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test((n = window) == null ? void 0 : n.navigator.userAgent));
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
//#region node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js
|
|
3
|
+
var t = e(((e, t) => {
|
|
4
|
+
var n = t.exports = {}, r, i;
|
|
5
|
+
function a() {
|
|
6
|
+
throw Error("setTimeout has not been defined");
|
|
7
|
+
}
|
|
8
|
+
function o() {
|
|
9
|
+
throw Error("clearTimeout has not been defined");
|
|
10
|
+
}
|
|
11
|
+
(function() {
|
|
12
|
+
try {
|
|
13
|
+
r = typeof setTimeout == "function" ? setTimeout : a;
|
|
14
|
+
} catch {
|
|
15
|
+
r = a;
|
|
16
|
+
}
|
|
17
|
+
try {
|
|
18
|
+
i = typeof clearTimeout == "function" ? clearTimeout : o;
|
|
19
|
+
} catch {
|
|
20
|
+
i = o;
|
|
21
|
+
}
|
|
22
|
+
})();
|
|
23
|
+
function s(e) {
|
|
24
|
+
if (r === setTimeout) return setTimeout(e, 0);
|
|
25
|
+
if ((r === a || !r) && setTimeout) return r = setTimeout, setTimeout(e, 0);
|
|
26
|
+
try {
|
|
27
|
+
return r(e, 0);
|
|
28
|
+
} catch {
|
|
29
|
+
try {
|
|
30
|
+
return r.call(null, e, 0);
|
|
31
|
+
} catch {
|
|
32
|
+
return r.call(this, e, 0);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function c(e) {
|
|
37
|
+
if (i === clearTimeout) return clearTimeout(e);
|
|
38
|
+
if ((i === o || !i) && clearTimeout) return i = clearTimeout, clearTimeout(e);
|
|
39
|
+
try {
|
|
40
|
+
return i(e);
|
|
41
|
+
} catch {
|
|
42
|
+
try {
|
|
43
|
+
return i.call(null, e);
|
|
44
|
+
} catch {
|
|
45
|
+
return i.call(this, e);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
var l = [], u = !1, d, f = -1;
|
|
50
|
+
function p() {
|
|
51
|
+
!u || !d || (u = !1, d.length ? l = d.concat(l) : f = -1, l.length && m());
|
|
52
|
+
}
|
|
53
|
+
function m() {
|
|
54
|
+
if (!u) {
|
|
55
|
+
var e = s(p);
|
|
56
|
+
u = !0;
|
|
57
|
+
for (var t = l.length; t;) {
|
|
58
|
+
for (d = l, l = []; ++f < t;) d && d[f].run();
|
|
59
|
+
f = -1, t = l.length;
|
|
60
|
+
}
|
|
61
|
+
d = null, u = !1, c(e);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
n.nextTick = function(e) {
|
|
65
|
+
var t = Array(arguments.length - 1);
|
|
66
|
+
if (arguments.length > 1) for (var n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
|
|
67
|
+
l.push(new h(e, t)), l.length === 1 && !u && s(m);
|
|
68
|
+
};
|
|
69
|
+
function h(e, t) {
|
|
70
|
+
this.fun = e, this.array = t;
|
|
71
|
+
}
|
|
72
|
+
h.prototype.run = function() {
|
|
73
|
+
this.fun.apply(null, this.array);
|
|
74
|
+
}, n.title = "browser", n.browser = !0, n.env = {}, n.argv = [], n.version = "", n.versions = {};
|
|
75
|
+
function g() {}
|
|
76
|
+
n.on = g, n.addListener = g, n.once = g, n.off = g, n.removeListener = g, n.removeAllListeners = g, n.emit = g, n.prependListener = g, n.prependOnceListener = g, n.listeners = function(e) {
|
|
77
|
+
return [];
|
|
78
|
+
}, n.binding = function(e) {
|
|
79
|
+
throw Error("process.binding is not supported");
|
|
80
|
+
}, n.cwd = function() {
|
|
81
|
+
return "/";
|
|
82
|
+
}, n.chdir = function(e) {
|
|
83
|
+
throw Error("process.chdir is not supported");
|
|
84
|
+
}, n.umask = function() {
|
|
85
|
+
return 0;
|
|
86
|
+
};
|
|
87
|
+
}));
|
|
88
|
+
//#endregion
|
|
89
|
+
export default t();
|
|
90
|
+
export { t as require_browser };
|
|
@@ -35,19 +35,17 @@ function C() {
|
|
|
35
35
|
e.value = !0;
|
|
36
36
|
}, t), e;
|
|
37
37
|
}
|
|
38
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
39
38
|
function w(e) {
|
|
40
39
|
let t = C();
|
|
41
40
|
return l(() => (t.value, !!e()));
|
|
42
41
|
}
|
|
43
42
|
var T = Symbol("vueuse-ssr-width");
|
|
44
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
45
43
|
function E() {
|
|
46
44
|
let t = d() ? e(T, null) : null;
|
|
47
45
|
return typeof t == "number" ? t : void 0;
|
|
48
46
|
}
|
|
49
47
|
function D(e, t = {}) {
|
|
50
|
-
let { window: n = b, ssrWidth: i =
|
|
48
|
+
let { window: n = b, ssrWidth: i = E() } = t, a = w(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = h(typeof i == "number"), s = h(), c = h(!1);
|
|
51
49
|
return y(() => {
|
|
52
50
|
if (o.value) {
|
|
53
51
|
o.value = !a.value;
|
|
@@ -63,7 +61,7 @@ function D(e, t = {}) {
|
|
|
63
61
|
c.value = e.matches;
|
|
64
62
|
}, { passive: !0 }), l(() => c.value);
|
|
65
63
|
}
|
|
66
|
-
var O = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, k = "__vueuse_ssr_handlers__", A =
|
|
64
|
+
var O = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, k = "__vueuse_ssr_handlers__", A = j();
|
|
67
65
|
function j() {
|
|
68
66
|
return k in O || (O[k] = O[k] || {}), O[k];
|
|
69
67
|
}
|
|
@@ -207,7 +205,7 @@ function z(e = {}) {
|
|
|
207
205
|
})), y = l(() => _.value === "auto" ? g.value : _.value), S = M("updateHTMLAttrs", (e, t, n) => {
|
|
208
206
|
let r = typeof e == "string" ? i == null ? void 0 : i.document.querySelector(e) : x(e);
|
|
209
207
|
if (!r) return;
|
|
210
|
-
let a =
|
|
208
|
+
let a = new Set(), o = new Set(), s = null;
|
|
211
209
|
if (t === "class") {
|
|
212
210
|
let e = n.split(/\s/g);
|
|
213
211
|
Object.values(m).flatMap((e) => (e || "").split(/\s/g)).filter(Boolean).forEach((t) => {
|