@valaxyjs/devtools 0.23.2 → 0.23.4
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/client/assets/{about-2IeCGvZh.js → about-DiLpHjPS.js} +1 -1
- package/dist/client/assets/{categories-DSPVH7DO.js → categories-MXISoQaf.js} +1 -1
- package/dist/client/assets/{en-Crh6PWFl.js → en-BB5iiffm.js} +3 -1
- package/dist/client/assets/{index-Bu5CF1lM.css → index-CJU8Ji_S.css} +2 -2
- package/dist/client/assets/{index-CsPJs7Eh.js → index-Ch5EOJMr.js} +1349 -177
- package/dist/client/assets/{index-BdIkTsGx.js → index-CzS8OdaC.js} +354 -100
- package/dist/client/assets/{migration-BGdmmslF.js → migration-D4i7vW_8.js} +8 -5
- package/dist/client/assets/{splitpanes.es-D2L3Pnei.js → splitpanes.es-DWSQbq7A.js} +769 -30
- package/dist/client/assets/{tags-BaE6PzFa.js → tags--Vns4Is9.js} +1 -1
- package/dist/client/assets/{zh-CN-DRUGIcOM.js → zh-CN-C2F6UN5K.js} +3 -1
- package/dist/client/index.html +2 -2
- package/dist/index.mjs +9 -3
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ah as getKeyValue, m as mergeProps, ai as isFunction$1, aj as toCapitalCase, ak as service_default, al as config_default, B as BaseStyle, am as isString$1, an as toFlatCase, ao as resolve, ap as isObject$1, aq as isEmpty, ar as PrimeVueService, as as isArray$1, c as css$1, N as getAttribute, at as removeClass, au as getHeight, av as getWidth, P as getOuterWidth, aw as getOuterHeight, ax as getOffset, ay as addClass, az as createElement, aA as useId, i as isNotEmpty, L as findSingle, aB as isElement, a as createElementBlock, o as openBlock, b as createBaseVNode, d as renderSlot, A as createTextVNode, t as toDisplayString, j as resolveComponent, r as resolveDirective, w as withDirectives, l as createBlock, q as withCtx, e as createCommentVNode, n as normalizeClass, V as resolveDynamicComponent, aC as useSlots, v as ref, aa as computed, x as watch, a7 as onMounted, aD as onBeforeUnmount, aE as provide, aF as inject, aG as getCurrentInstance, U as normalizeStyle, z as unref, aH as h, aI as nextTick } from './index-CzS8OdaC.js';
|
|
2
2
|
|
|
3
3
|
// src/classnames/index.ts
|
|
4
4
|
function cn(...args) {
|
|
@@ -231,8 +231,8 @@ var BaseDirective = {
|
|
|
231
231
|
|
|
232
232
|
// layer order
|
|
233
233
|
if (!config_default.isStyleNameLoaded('layer-order')) {
|
|
234
|
-
var _instance$$
|
|
235
|
-
var layerOrder = (_instance$$
|
|
234
|
+
var _instance$$style0, _instance$$style0$get;
|
|
235
|
+
var layerOrder = (_instance$$style0 = instance.$style) === null || _instance$$style0 === void 0 || (_instance$$style0$get = _instance$$style0.getLayerOrderThemeCSS) === null || _instance$$style0$get === void 0 ? void 0 : _instance$$style0$get.call(_instance$$style0);
|
|
236
236
|
BaseStyle.load(layerOrder, _objectSpread$2({
|
|
237
237
|
name: 'layer-order',
|
|
238
238
|
first: true
|
|
@@ -245,10 +245,10 @@ var BaseDirective = {
|
|
|
245
245
|
var useStyleOptions = arguments.length > 1 ? arguments[1] : undefined;
|
|
246
246
|
var preset = instance.preset();
|
|
247
247
|
if (preset && instance.$attrSelector) {
|
|
248
|
-
var _instance$$
|
|
249
|
-
var _ref7 = ((_instance$$
|
|
248
|
+
var _instance$$style1, _instance$$style1$get, _instance$$style10;
|
|
249
|
+
var _ref7 = ((_instance$$style1 = instance.$style) === null || _instance$$style1 === void 0 || (_instance$$style1$get = _instance$$style1.getPresetTheme) === null || _instance$$style1$get === void 0 ? void 0 : _instance$$style1$get.call(_instance$$style1, preset, "[".concat(instance.$attrSelector, "]"))) || {},
|
|
250
250
|
css = _ref7.css;
|
|
251
|
-
var scopedStyle = (_instance$$
|
|
251
|
+
var scopedStyle = (_instance$$style10 = instance.$style) === null || _instance$$style10 === void 0 ? void 0 : _instance$$style10.load(css, _objectSpread$2({
|
|
252
252
|
name: "".concat(instance.$attrSelector, "-").concat(instance.$style.name)
|
|
253
253
|
}, useStyleOptions));
|
|
254
254
|
instance.scopedStyleEl = scopedStyle.el;
|
|
@@ -467,7 +467,27 @@ var BaseDirective = {
|
|
|
467
467
|
|
|
468
468
|
/* Injected with object hook! */
|
|
469
469
|
|
|
470
|
-
var style$2=
|
|
470
|
+
var style$2=css$1`
|
|
471
|
+
.p-ink {
|
|
472
|
+
display: block;
|
|
473
|
+
position: absolute;
|
|
474
|
+
background: dt('ripple.background');
|
|
475
|
+
border-radius: 100%;
|
|
476
|
+
transform: scale(0);
|
|
477
|
+
pointer-events: none;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.p-ink-active {
|
|
481
|
+
animation: ripple 0.4s linear;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
@keyframes ripple {
|
|
485
|
+
100% {
|
|
486
|
+
opacity: 0;
|
|
487
|
+
transform: scale(2.5);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
`;/* Injected with object hook! */
|
|
471
491
|
|
|
472
492
|
var classes$2 = {
|
|
473
493
|
root: 'p-ink'
|
|
@@ -828,10 +848,10 @@ var script$5 = {
|
|
|
828
848
|
}
|
|
829
849
|
},
|
|
830
850
|
_loadScopedThemeStyles: function _loadScopedThemeStyles(preset) {
|
|
831
|
-
var _this$$
|
|
832
|
-
var _ref5 = ((_this$$
|
|
851
|
+
var _this$$style0, _this$$style0$getPres, _this$$style1;
|
|
852
|
+
var _ref5 = ((_this$$style0 = this.$style) === null || _this$$style0 === void 0 || (_this$$style0$getPres = _this$$style0.getPresetTheme) === null || _this$$style0$getPres === void 0 ? void 0 : _this$$style0$getPres.call(_this$$style0, preset, "[".concat(this.$attrSelector, "]"))) || {},
|
|
833
853
|
css = _ref5.css;
|
|
834
|
-
var scopedStyle = (_this$$
|
|
854
|
+
var scopedStyle = (_this$$style1 = this.$style) === null || _this$$style1 === void 0 ? void 0 : _this$$style1.load(css, _objectSpread$1({
|
|
835
855
|
name: "".concat(this.$attrSelector, "-").concat(this.$style.name)
|
|
836
856
|
}, this.$styleOptions));
|
|
837
857
|
this.scopedStyleEl = scopedStyle.el;
|
|
@@ -1012,9 +1032,9 @@ var script$5 = {
|
|
|
1012
1032
|
$inProps: function $inProps() {
|
|
1013
1033
|
var _this$$$vnode;
|
|
1014
1034
|
var nodePropKeys = Object.keys(((_this$$$vnode = this.$.vnode) === null || _this$$$vnode === void 0 ? void 0 : _this$$$vnode.props) || {});
|
|
1015
|
-
return Object.fromEntries(Object.entries(this.$props).filter(function (
|
|
1016
|
-
var
|
|
1017
|
-
k =
|
|
1035
|
+
return Object.fromEntries(Object.entries(this.$props).filter(function (_ref0) {
|
|
1036
|
+
var _ref1 = _slicedToArray(_ref0, 1),
|
|
1037
|
+
k = _ref1[0];
|
|
1018
1038
|
return nodePropKeys === null || nodePropKeys === void 0 ? void 0 : nodePropKeys.includes(k);
|
|
1019
1039
|
}));
|
|
1020
1040
|
},
|
|
@@ -1060,14 +1080,14 @@ var script$5 = {
|
|
|
1060
1080
|
};
|
|
1061
1081
|
},
|
|
1062
1082
|
$_attrsPT: function $_attrsPT() {
|
|
1063
|
-
return Object.entries(this.$attrs || {}).filter(function (
|
|
1064
|
-
var
|
|
1065
|
-
key =
|
|
1083
|
+
return Object.entries(this.$attrs || {}).filter(function (_ref10) {
|
|
1084
|
+
var _ref11 = _slicedToArray(_ref10, 1),
|
|
1085
|
+
key = _ref11[0];
|
|
1066
1086
|
return key === null || key === void 0 ? void 0 : key.startsWith('pt:');
|
|
1067
|
-
}).reduce(function (result,
|
|
1068
|
-
var
|
|
1069
|
-
key =
|
|
1070
|
-
value =
|
|
1087
|
+
}).reduce(function (result, _ref12) {
|
|
1088
|
+
var _ref13 = _slicedToArray(_ref12, 2),
|
|
1089
|
+
key = _ref13[0],
|
|
1090
|
+
value = _ref13[1];
|
|
1071
1091
|
var _key$split = key.split(':'),
|
|
1072
1092
|
_key$split2 = _toArray(_key$split),
|
|
1073
1093
|
rest = _key$split2.slice(1);
|
|
@@ -1079,14 +1099,14 @@ var script$5 = {
|
|
|
1079
1099
|
}, {});
|
|
1080
1100
|
},
|
|
1081
1101
|
$_attrsWithoutPT: function $_attrsWithoutPT() {
|
|
1082
|
-
return Object.entries(this.$attrs || {}).filter(function (
|
|
1083
|
-
var
|
|
1084
|
-
key =
|
|
1102
|
+
return Object.entries(this.$attrs || {}).filter(function (_ref14) {
|
|
1103
|
+
var _ref15 = _slicedToArray(_ref14, 1),
|
|
1104
|
+
key = _ref15[0];
|
|
1085
1105
|
return !(key !== null && key !== void 0 && key.startsWith('pt:'));
|
|
1086
|
-
}).reduce(function (acc,
|
|
1087
|
-
var
|
|
1088
|
-
key =
|
|
1089
|
-
value =
|
|
1106
|
+
}).reduce(function (acc, _ref16) {
|
|
1107
|
+
var _ref17 = _slicedToArray(_ref16, 2),
|
|
1108
|
+
key = _ref17[0],
|
|
1109
|
+
value = _ref17[1];
|
|
1090
1110
|
acc[key] = value;
|
|
1091
1111
|
return acc;
|
|
1092
1112
|
}, {});
|
|
@@ -5006,7 +5026,82 @@ script$3.render = render$2;
|
|
|
5006
5026
|
|
|
5007
5027
|
/* Injected with object hook! */
|
|
5008
5028
|
|
|
5009
|
-
var style$1=
|
|
5029
|
+
var style$1=css$1`
|
|
5030
|
+
.p-badge {
|
|
5031
|
+
display: inline-flex;
|
|
5032
|
+
border-radius: dt('badge.border.radius');
|
|
5033
|
+
align-items: center;
|
|
5034
|
+
justify-content: center;
|
|
5035
|
+
padding: dt('badge.padding');
|
|
5036
|
+
background: dt('badge.primary.background');
|
|
5037
|
+
color: dt('badge.primary.color');
|
|
5038
|
+
font-size: dt('badge.font.size');
|
|
5039
|
+
font-weight: dt('badge.font.weight');
|
|
5040
|
+
min-width: dt('badge.min.width');
|
|
5041
|
+
height: dt('badge.height');
|
|
5042
|
+
}
|
|
5043
|
+
|
|
5044
|
+
.p-badge-dot {
|
|
5045
|
+
width: dt('badge.dot.size');
|
|
5046
|
+
min-width: dt('badge.dot.size');
|
|
5047
|
+
height: dt('badge.dot.size');
|
|
5048
|
+
border-radius: 50%;
|
|
5049
|
+
padding: 0;
|
|
5050
|
+
}
|
|
5051
|
+
|
|
5052
|
+
.p-badge-circle {
|
|
5053
|
+
padding: 0;
|
|
5054
|
+
border-radius: 50%;
|
|
5055
|
+
}
|
|
5056
|
+
|
|
5057
|
+
.p-badge-secondary {
|
|
5058
|
+
background: dt('badge.secondary.background');
|
|
5059
|
+
color: dt('badge.secondary.color');
|
|
5060
|
+
}
|
|
5061
|
+
|
|
5062
|
+
.p-badge-success {
|
|
5063
|
+
background: dt('badge.success.background');
|
|
5064
|
+
color: dt('badge.success.color');
|
|
5065
|
+
}
|
|
5066
|
+
|
|
5067
|
+
.p-badge-info {
|
|
5068
|
+
background: dt('badge.info.background');
|
|
5069
|
+
color: dt('badge.info.color');
|
|
5070
|
+
}
|
|
5071
|
+
|
|
5072
|
+
.p-badge-warn {
|
|
5073
|
+
background: dt('badge.warn.background');
|
|
5074
|
+
color: dt('badge.warn.color');
|
|
5075
|
+
}
|
|
5076
|
+
|
|
5077
|
+
.p-badge-danger {
|
|
5078
|
+
background: dt('badge.danger.background');
|
|
5079
|
+
color: dt('badge.danger.color');
|
|
5080
|
+
}
|
|
5081
|
+
|
|
5082
|
+
.p-badge-contrast {
|
|
5083
|
+
background: dt('badge.contrast.background');
|
|
5084
|
+
color: dt('badge.contrast.color');
|
|
5085
|
+
}
|
|
5086
|
+
|
|
5087
|
+
.p-badge-sm {
|
|
5088
|
+
font-size: dt('badge.sm.font.size');
|
|
5089
|
+
min-width: dt('badge.sm.min.width');
|
|
5090
|
+
height: dt('badge.sm.height');
|
|
5091
|
+
}
|
|
5092
|
+
|
|
5093
|
+
.p-badge-lg {
|
|
5094
|
+
font-size: dt('badge.lg.font.size');
|
|
5095
|
+
min-width: dt('badge.lg.min.width');
|
|
5096
|
+
height: dt('badge.lg.height');
|
|
5097
|
+
}
|
|
5098
|
+
|
|
5099
|
+
.p-badge-xl {
|
|
5100
|
+
font-size: dt('badge.xl.font.size');
|
|
5101
|
+
min-width: dt('badge.xl.min.width');
|
|
5102
|
+
height: dt('badge.xl.height');
|
|
5103
|
+
}
|
|
5104
|
+
`;/* Injected with object hook! */
|
|
5010
5105
|
|
|
5011
5106
|
var classes$1 = {
|
|
5012
5107
|
root: function root(_ref) {
|
|
@@ -5095,7 +5190,651 @@ script$2.render = render$1;
|
|
|
5095
5190
|
|
|
5096
5191
|
/* Injected with object hook! */
|
|
5097
5192
|
|
|
5098
|
-
var style=({dt:o})=>`\n.p-button {\n display: inline-flex;\n cursor: pointer;\n user-select: none;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n position: relative;\n color: ${o("button.primary.color")};\n background: ${o("button.primary.background")};\n border: 1px solid ${o("button.primary.border.color")};\n padding: ${o("button.padding.y")} ${o("button.padding.x")};\n font-size: 1rem;\n font-family: inherit;\n font-feature-settings: inherit;\n transition: background ${o("button.transition.duration")}, color ${o("button.transition.duration")}, border-color ${o("button.transition.duration")},\n outline-color ${o("button.transition.duration")}, box-shadow ${o("button.transition.duration")};\n border-radius: ${o("button.border.radius")};\n outline-color: transparent;\n gap: ${o("button.gap")};\n}\n\n.p-button:disabled {\n cursor: default;\n}\n\n.p-button-icon-right {\n order: 1;\n}\n\n.p-button-icon-right:dir(rtl) {\n order: -1;\n}\n\n.p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {\n order: 1;\n}\n\n.p-button-icon-bottom {\n order: 2;\n}\n\n.p-button-icon-only {\n width: ${o("button.icon.only.width")};\n padding-inline-start: 0;\n padding-inline-end: 0;\n gap: 0;\n}\n\n.p-button-icon-only.p-button-rounded {\n border-radius: 50%;\n height: ${o("button.icon.only.width")};\n}\n\n.p-button-icon-only .p-button-label {\n visibility: hidden;\n width: 0;\n}\n\n.p-button-sm {\n font-size: ${o("button.sm.font.size")};\n padding: ${o("button.sm.padding.y")} ${o("button.sm.padding.x")};\n}\n\n.p-button-sm .p-button-icon {\n font-size: ${o("button.sm.font.size")};\n}\n\n.p-button-sm.p-button-icon-only {\n width: ${o("button.sm.icon.only.width")};\n}\n\n.p-button-sm.p-button-icon-only.p-button-rounded {\n height: ${o("button.sm.icon.only.width")};\n}\n\n.p-button-lg {\n font-size: ${o("button.lg.font.size")};\n padding: ${o("button.lg.padding.y")} ${o("button.lg.padding.x")};\n}\n\n.p-button-lg .p-button-icon {\n font-size: ${o("button.lg.font.size")};\n}\n\n.p-button-lg.p-button-icon-only {\n width: ${o("button.lg.icon.only.width")};\n}\n\n.p-button-lg.p-button-icon-only.p-button-rounded {\n height: ${o("button.lg.icon.only.width")};\n}\n\n.p-button-vertical {\n flex-direction: column;\n}\n\n.p-button-label {\n font-weight: ${o("button.label.font.weight")};\n}\n\n.p-button-fluid {\n width: 100%;\n}\n\n.p-button-fluid.p-button-icon-only {\n width: ${o("button.icon.only.width")};\n}\n\n.p-button:not(:disabled):hover {\n background: ${o("button.primary.hover.background")};\n border: 1px solid ${o("button.primary.hover.border.color")};\n color: ${o("button.primary.hover.color")};\n}\n\n.p-button:not(:disabled):active {\n background: ${o("button.primary.active.background")};\n border: 1px solid ${o("button.primary.active.border.color")};\n color: ${o("button.primary.active.color")};\n}\n\n.p-button:focus-visible {\n box-shadow: ${o("button.primary.focus.ring.shadow")};\n outline: ${o("button.focus.ring.width")} ${o("button.focus.ring.style")} ${o("button.primary.focus.ring.color")};\n outline-offset: ${o("button.focus.ring.offset")};\n}\n\n.p-button .p-badge {\n min-width: ${o("button.badge.size")};\n height: ${o("button.badge.size")};\n line-height: ${o("button.badge.size")};\n}\n\n.p-button-raised {\n box-shadow: ${o("button.raised.shadow")};\n}\n\n.p-button-rounded {\n border-radius: ${o("button.rounded.border.radius")};\n}\n\n.p-button-secondary {\n background: ${o("button.secondary.background")};\n border: 1px solid ${o("button.secondary.border.color")};\n color: ${o("button.secondary.color")};\n}\n\n.p-button-secondary:not(:disabled):hover {\n background: ${o("button.secondary.hover.background")};\n border: 1px solid ${o("button.secondary.hover.border.color")};\n color: ${o("button.secondary.hover.color")};\n}\n\n.p-button-secondary:not(:disabled):active {\n background: ${o("button.secondary.active.background")};\n border: 1px solid ${o("button.secondary.active.border.color")};\n color: ${o("button.secondary.active.color")};\n}\n\n.p-button-secondary:focus-visible {\n outline-color: ${o("button.secondary.focus.ring.color")};\n box-shadow: ${o("button.secondary.focus.ring.shadow")};\n}\n\n.p-button-success {\n background: ${o("button.success.background")};\n border: 1px solid ${o("button.success.border.color")};\n color: ${o("button.success.color")};\n}\n\n.p-button-success:not(:disabled):hover {\n background: ${o("button.success.hover.background")};\n border: 1px solid ${o("button.success.hover.border.color")};\n color: ${o("button.success.hover.color")};\n}\n\n.p-button-success:not(:disabled):active {\n background: ${o("button.success.active.background")};\n border: 1px solid ${o("button.success.active.border.color")};\n color: ${o("button.success.active.color")};\n}\n\n.p-button-success:focus-visible {\n outline-color: ${o("button.success.focus.ring.color")};\n box-shadow: ${o("button.success.focus.ring.shadow")};\n}\n\n.p-button-info {\n background: ${o("button.info.background")};\n border: 1px solid ${o("button.info.border.color")};\n color: ${o("button.info.color")};\n}\n\n.p-button-info:not(:disabled):hover {\n background: ${o("button.info.hover.background")};\n border: 1px solid ${o("button.info.hover.border.color")};\n color: ${o("button.info.hover.color")};\n}\n\n.p-button-info:not(:disabled):active {\n background: ${o("button.info.active.background")};\n border: 1px solid ${o("button.info.active.border.color")};\n color: ${o("button.info.active.color")};\n}\n\n.p-button-info:focus-visible {\n outline-color: ${o("button.info.focus.ring.color")};\n box-shadow: ${o("button.info.focus.ring.shadow")};\n}\n\n.p-button-warn {\n background: ${o("button.warn.background")};\n border: 1px solid ${o("button.warn.border.color")};\n color: ${o("button.warn.color")};\n}\n\n.p-button-warn:not(:disabled):hover {\n background: ${o("button.warn.hover.background")};\n border: 1px solid ${o("button.warn.hover.border.color")};\n color: ${o("button.warn.hover.color")};\n}\n\n.p-button-warn:not(:disabled):active {\n background: ${o("button.warn.active.background")};\n border: 1px solid ${o("button.warn.active.border.color")};\n color: ${o("button.warn.active.color")};\n}\n\n.p-button-warn:focus-visible {\n outline-color: ${o("button.warn.focus.ring.color")};\n box-shadow: ${o("button.warn.focus.ring.shadow")};\n}\n\n.p-button-help {\n background: ${o("button.help.background")};\n border: 1px solid ${o("button.help.border.color")};\n color: ${o("button.help.color")};\n}\n\n.p-button-help:not(:disabled):hover {\n background: ${o("button.help.hover.background")};\n border: 1px solid ${o("button.help.hover.border.color")};\n color: ${o("button.help.hover.color")};\n}\n\n.p-button-help:not(:disabled):active {\n background: ${o("button.help.active.background")};\n border: 1px solid ${o("button.help.active.border.color")};\n color: ${o("button.help.active.color")};\n}\n\n.p-button-help:focus-visible {\n outline-color: ${o("button.help.focus.ring.color")};\n box-shadow: ${o("button.help.focus.ring.shadow")};\n}\n\n.p-button-danger {\n background: ${o("button.danger.background")};\n border: 1px solid ${o("button.danger.border.color")};\n color: ${o("button.danger.color")};\n}\n\n.p-button-danger:not(:disabled):hover {\n background: ${o("button.danger.hover.background")};\n border: 1px solid ${o("button.danger.hover.border.color")};\n color: ${o("button.danger.hover.color")};\n}\n\n.p-button-danger:not(:disabled):active {\n background: ${o("button.danger.active.background")};\n border: 1px solid ${o("button.danger.active.border.color")};\n color: ${o("button.danger.active.color")};\n}\n\n.p-button-danger:focus-visible {\n outline-color: ${o("button.danger.focus.ring.color")};\n box-shadow: ${o("button.danger.focus.ring.shadow")};\n}\n\n.p-button-contrast {\n background: ${o("button.contrast.background")};\n border: 1px solid ${o("button.contrast.border.color")};\n color: ${o("button.contrast.color")};\n}\n\n.p-button-contrast:not(:disabled):hover {\n background: ${o("button.contrast.hover.background")};\n border: 1px solid ${o("button.contrast.hover.border.color")};\n color: ${o("button.contrast.hover.color")};\n}\n\n.p-button-contrast:not(:disabled):active {\n background: ${o("button.contrast.active.background")};\n border: 1px solid ${o("button.contrast.active.border.color")};\n color: ${o("button.contrast.active.color")};\n}\n\n.p-button-contrast:focus-visible {\n outline-color: ${o("button.contrast.focus.ring.color")};\n box-shadow: ${o("button.contrast.focus.ring.shadow")};\n}\n\n.p-button-outlined {\n background: transparent;\n border-color: ${o("button.outlined.primary.border.color")};\n color: ${o("button.outlined.primary.color")};\n}\n\n.p-button-outlined:not(:disabled):hover {\n background: ${o("button.outlined.primary.hover.background")};\n border-color: ${o("button.outlined.primary.border.color")};\n color: ${o("button.outlined.primary.color")};\n}\n\n.p-button-outlined:not(:disabled):active {\n background: ${o("button.outlined.primary.active.background")};\n border-color: ${o("button.outlined.primary.border.color")};\n color: ${o("button.outlined.primary.color")};\n}\n\n.p-button-outlined.p-button-secondary {\n border-color: ${o("button.outlined.secondary.border.color")};\n color: ${o("button.outlined.secondary.color")};\n}\n\n.p-button-outlined.p-button-secondary:not(:disabled):hover {\n background: ${o("button.outlined.secondary.hover.background")};\n border-color: ${o("button.outlined.secondary.border.color")};\n color: ${o("button.outlined.secondary.color")};\n}\n\n.p-button-outlined.p-button-secondary:not(:disabled):active {\n background: ${o("button.outlined.secondary.active.background")};\n border-color: ${o("button.outlined.secondary.border.color")};\n color: ${o("button.outlined.secondary.color")};\n}\n\n.p-button-outlined.p-button-success {\n border-color: ${o("button.outlined.success.border.color")};\n color: ${o("button.outlined.success.color")};\n}\n\n.p-button-outlined.p-button-success:not(:disabled):hover {\n background: ${o("button.outlined.success.hover.background")};\n border-color: ${o("button.outlined.success.border.color")};\n color: ${o("button.outlined.success.color")};\n}\n\n.p-button-outlined.p-button-success:not(:disabled):active {\n background: ${o("button.outlined.success.active.background")};\n border-color: ${o("button.outlined.success.border.color")};\n color: ${o("button.outlined.success.color")};\n}\n\n.p-button-outlined.p-button-info {\n border-color: ${o("button.outlined.info.border.color")};\n color: ${o("button.outlined.info.color")};\n}\n\n.p-button-outlined.p-button-info:not(:disabled):hover {\n background: ${o("button.outlined.info.hover.background")};\n border-color: ${o("button.outlined.info.border.color")};\n color: ${o("button.outlined.info.color")};\n}\n\n.p-button-outlined.p-button-info:not(:disabled):active {\n background: ${o("button.outlined.info.active.background")};\n border-color: ${o("button.outlined.info.border.color")};\n color: ${o("button.outlined.info.color")};\n}\n\n.p-button-outlined.p-button-warn {\n border-color: ${o("button.outlined.warn.border.color")};\n color: ${o("button.outlined.warn.color")};\n}\n\n.p-button-outlined.p-button-warn:not(:disabled):hover {\n background: ${o("button.outlined.warn.hover.background")};\n border-color: ${o("button.outlined.warn.border.color")};\n color: ${o("button.outlined.warn.color")};\n}\n\n.p-button-outlined.p-button-warn:not(:disabled):active {\n background: ${o("button.outlined.warn.active.background")};\n border-color: ${o("button.outlined.warn.border.color")};\n color: ${o("button.outlined.warn.color")};\n}\n\n.p-button-outlined.p-button-help {\n border-color: ${o("button.outlined.help.border.color")};\n color: ${o("button.outlined.help.color")};\n}\n\n.p-button-outlined.p-button-help:not(:disabled):hover {\n background: ${o("button.outlined.help.hover.background")};\n border-color: ${o("button.outlined.help.border.color")};\n color: ${o("button.outlined.help.color")};\n}\n\n.p-button-outlined.p-button-help:not(:disabled):active {\n background: ${o("button.outlined.help.active.background")};\n border-color: ${o("button.outlined.help.border.color")};\n color: ${o("button.outlined.help.color")};\n}\n\n.p-button-outlined.p-button-danger {\n border-color: ${o("button.outlined.danger.border.color")};\n color: ${o("button.outlined.danger.color")};\n}\n\n.p-button-outlined.p-button-danger:not(:disabled):hover {\n background: ${o("button.outlined.danger.hover.background")};\n border-color: ${o("button.outlined.danger.border.color")};\n color: ${o("button.outlined.danger.color")};\n}\n\n.p-button-outlined.p-button-danger:not(:disabled):active {\n background: ${o("button.outlined.danger.active.background")};\n border-color: ${o("button.outlined.danger.border.color")};\n color: ${o("button.outlined.danger.color")};\n}\n\n.p-button-outlined.p-button-contrast {\n border-color: ${o("button.outlined.contrast.border.color")};\n color: ${o("button.outlined.contrast.color")};\n}\n\n.p-button-outlined.p-button-contrast:not(:disabled):hover {\n background: ${o("button.outlined.contrast.hover.background")};\n border-color: ${o("button.outlined.contrast.border.color")};\n color: ${o("button.outlined.contrast.color")};\n}\n\n.p-button-outlined.p-button-contrast:not(:disabled):active {\n background: ${o("button.outlined.contrast.active.background")};\n border-color: ${o("button.outlined.contrast.border.color")};\n color: ${o("button.outlined.contrast.color")};\n}\n\n.p-button-outlined.p-button-plain {\n border-color: ${o("button.outlined.plain.border.color")};\n color: ${o("button.outlined.plain.color")};\n}\n\n.p-button-outlined.p-button-plain:not(:disabled):hover {\n background: ${o("button.outlined.plain.hover.background")};\n border-color: ${o("button.outlined.plain.border.color")};\n color: ${o("button.outlined.plain.color")};\n}\n\n.p-button-outlined.p-button-plain:not(:disabled):active {\n background: ${o("button.outlined.plain.active.background")};\n border-color: ${o("button.outlined.plain.border.color")};\n color: ${o("button.outlined.plain.color")};\n}\n\n.p-button-text {\n background: transparent;\n border-color: transparent;\n color: ${o("button.text.primary.color")};\n}\n\n.p-button-text:not(:disabled):hover {\n background: ${o("button.text.primary.hover.background")};\n border-color: transparent;\n color: ${o("button.text.primary.color")};\n}\n\n.p-button-text:not(:disabled):active {\n background: ${o("button.text.primary.active.background")};\n border-color: transparent;\n color: ${o("button.text.primary.color")};\n}\n\n.p-button-text.p-button-secondary {\n background: transparent;\n border-color: transparent;\n color: ${o("button.text.secondary.color")};\n}\n\n.p-button-text.p-button-secondary:not(:disabled):hover {\n background: ${o("button.text.secondary.hover.background")};\n border-color: transparent;\n color: ${o("button.text.secondary.color")};\n}\n\n.p-button-text.p-button-secondary:not(:disabled):active {\n background: ${o("button.text.secondary.active.background")};\n border-color: transparent;\n color: ${o("button.text.secondary.color")};\n}\n\n.p-button-text.p-button-success {\n background: transparent;\n border-color: transparent;\n color: ${o("button.text.success.color")};\n}\n\n.p-button-text.p-button-success:not(:disabled):hover {\n background: ${o("button.text.success.hover.background")};\n border-color: transparent;\n color: ${o("button.text.success.color")};\n}\n\n.p-button-text.p-button-success:not(:disabled):active {\n background: ${o("button.text.success.active.background")};\n border-color: transparent;\n color: ${o("button.text.success.color")};\n}\n\n.p-button-text.p-button-info {\n background: transparent;\n border-color: transparent;\n color: ${o("button.text.info.color")};\n}\n\n.p-button-text.p-button-info:not(:disabled):hover {\n background: ${o("button.text.info.hover.background")};\n border-color: transparent;\n color: ${o("button.text.info.color")};\n}\n\n.p-button-text.p-button-info:not(:disabled):active {\n background: ${o("button.text.info.active.background")};\n border-color: transparent;\n color: ${o("button.text.info.color")};\n}\n\n.p-button-text.p-button-warn {\n background: transparent;\n border-color: transparent;\n color: ${o("button.text.warn.color")};\n}\n\n.p-button-text.p-button-warn:not(:disabled):hover {\n background: ${o("button.text.warn.hover.background")};\n border-color: transparent;\n color: ${o("button.text.warn.color")};\n}\n\n.p-button-text.p-button-warn:not(:disabled):active {\n background: ${o("button.text.warn.active.background")};\n border-color: transparent;\n color: ${o("button.text.warn.color")};\n}\n\n.p-button-text.p-button-help {\n background: transparent;\n border-color: transparent;\n color: ${o("button.text.help.color")};\n}\n\n.p-button-text.p-button-help:not(:disabled):hover {\n background: ${o("button.text.help.hover.background")};\n border-color: transparent;\n color: ${o("button.text.help.color")};\n}\n\n.p-button-text.p-button-help:not(:disabled):active {\n background: ${o("button.text.help.active.background")};\n border-color: transparent;\n color: ${o("button.text.help.color")};\n}\n\n.p-button-text.p-button-danger {\n background: transparent;\n border-color: transparent;\n color: ${o("button.text.danger.color")};\n}\n\n.p-button-text.p-button-danger:not(:disabled):hover {\n background: ${o("button.text.danger.hover.background")};\n border-color: transparent;\n color: ${o("button.text.danger.color")};\n}\n\n.p-button-text.p-button-danger:not(:disabled):active {\n background: ${o("button.text.danger.active.background")};\n border-color: transparent;\n color: ${o("button.text.danger.color")};\n}\n\n.p-button-text.p-button-contrast {\n background: transparent;\n border-color: transparent;\n color: ${o("button.text.contrast.color")};\n}\n\n.p-button-text.p-button-contrast:not(:disabled):hover {\n background: ${o("button.text.contrast.hover.background")};\n border-color: transparent;\n color: ${o("button.text.contrast.color")};\n}\n\n.p-button-text.p-button-contrast:not(:disabled):active {\n background: ${o("button.text.contrast.active.background")};\n border-color: transparent;\n color: ${o("button.text.contrast.color")};\n}\n\n.p-button-text.p-button-plain {\n background: transparent;\n border-color: transparent;\n color: ${o("button.text.plain.color")};\n}\n\n.p-button-text.p-button-plain:not(:disabled):hover {\n background: ${o("button.text.plain.hover.background")};\n border-color: transparent;\n color: ${o("button.text.plain.color")};\n}\n\n.p-button-text.p-button-plain:not(:disabled):active {\n background: ${o("button.text.plain.active.background")};\n border-color: transparent;\n color: ${o("button.text.plain.color")};\n}\n\n.p-button-link {\n background: transparent;\n border-color: transparent;\n color: ${o("button.link.color")};\n}\n\n.p-button-link:not(:disabled):hover {\n background: transparent;\n border-color: transparent;\n color: ${o("button.link.hover.color")};\n}\n\n.p-button-link:not(:disabled):hover .p-button-label {\n text-decoration: underline;\n}\n\n.p-button-link:not(:disabled):active {\n background: transparent;\n border-color: transparent;\n color: ${o("button.link.active.color")};\n}\n`;/* Injected with object hook! */
|
|
5193
|
+
var style=css$1`
|
|
5194
|
+
.p-button {
|
|
5195
|
+
display: inline-flex;
|
|
5196
|
+
cursor: pointer;
|
|
5197
|
+
user-select: none;
|
|
5198
|
+
align-items: center;
|
|
5199
|
+
justify-content: center;
|
|
5200
|
+
overflow: hidden;
|
|
5201
|
+
position: relative;
|
|
5202
|
+
color: dt('button.primary.color');
|
|
5203
|
+
background: dt('button.primary.background');
|
|
5204
|
+
border: 1px solid dt('button.primary.border.color');
|
|
5205
|
+
padding: dt('button.padding.y') dt('button.padding.x');
|
|
5206
|
+
font-size: 1rem;
|
|
5207
|
+
font-family: inherit;
|
|
5208
|
+
font-feature-settings: inherit;
|
|
5209
|
+
transition:
|
|
5210
|
+
background dt('button.transition.duration'),
|
|
5211
|
+
color dt('button.transition.duration'),
|
|
5212
|
+
border-color dt('button.transition.duration'),
|
|
5213
|
+
outline-color dt('button.transition.duration'),
|
|
5214
|
+
box-shadow dt('button.transition.duration');
|
|
5215
|
+
border-radius: dt('button.border.radius');
|
|
5216
|
+
outline-color: transparent;
|
|
5217
|
+
gap: dt('button.gap');
|
|
5218
|
+
}
|
|
5219
|
+
|
|
5220
|
+
.p-button:disabled {
|
|
5221
|
+
cursor: default;
|
|
5222
|
+
}
|
|
5223
|
+
|
|
5224
|
+
.p-button-icon-right {
|
|
5225
|
+
order: 1;
|
|
5226
|
+
}
|
|
5227
|
+
|
|
5228
|
+
.p-button-icon-right:dir(rtl) {
|
|
5229
|
+
order: -1;
|
|
5230
|
+
}
|
|
5231
|
+
|
|
5232
|
+
.p-button:not(.p-button-vertical) .p-button-icon:not(.p-button-icon-right):dir(rtl) {
|
|
5233
|
+
order: 1;
|
|
5234
|
+
}
|
|
5235
|
+
|
|
5236
|
+
.p-button-icon-bottom {
|
|
5237
|
+
order: 2;
|
|
5238
|
+
}
|
|
5239
|
+
|
|
5240
|
+
.p-button-icon-only {
|
|
5241
|
+
width: dt('button.icon.only.width');
|
|
5242
|
+
padding-inline-start: 0;
|
|
5243
|
+
padding-inline-end: 0;
|
|
5244
|
+
gap: 0;
|
|
5245
|
+
}
|
|
5246
|
+
|
|
5247
|
+
.p-button-icon-only.p-button-rounded {
|
|
5248
|
+
border-radius: 50%;
|
|
5249
|
+
height: dt('button.icon.only.width');
|
|
5250
|
+
}
|
|
5251
|
+
|
|
5252
|
+
.p-button-icon-only .p-button-label {
|
|
5253
|
+
visibility: hidden;
|
|
5254
|
+
width: 0;
|
|
5255
|
+
}
|
|
5256
|
+
|
|
5257
|
+
.p-button-sm {
|
|
5258
|
+
font-size: dt('button.sm.font.size');
|
|
5259
|
+
padding: dt('button.sm.padding.y') dt('button.sm.padding.x');
|
|
5260
|
+
}
|
|
5261
|
+
|
|
5262
|
+
.p-button-sm .p-button-icon {
|
|
5263
|
+
font-size: dt('button.sm.font.size');
|
|
5264
|
+
}
|
|
5265
|
+
|
|
5266
|
+
.p-button-sm.p-button-icon-only {
|
|
5267
|
+
width: dt('button.sm.icon.only.width');
|
|
5268
|
+
}
|
|
5269
|
+
|
|
5270
|
+
.p-button-sm.p-button-icon-only.p-button-rounded {
|
|
5271
|
+
height: dt('button.sm.icon.only.width');
|
|
5272
|
+
}
|
|
5273
|
+
|
|
5274
|
+
.p-button-lg {
|
|
5275
|
+
font-size: dt('button.lg.font.size');
|
|
5276
|
+
padding: dt('button.lg.padding.y') dt('button.lg.padding.x');
|
|
5277
|
+
}
|
|
5278
|
+
|
|
5279
|
+
.p-button-lg .p-button-icon {
|
|
5280
|
+
font-size: dt('button.lg.font.size');
|
|
5281
|
+
}
|
|
5282
|
+
|
|
5283
|
+
.p-button-lg.p-button-icon-only {
|
|
5284
|
+
width: dt('button.lg.icon.only.width');
|
|
5285
|
+
}
|
|
5286
|
+
|
|
5287
|
+
.p-button-lg.p-button-icon-only.p-button-rounded {
|
|
5288
|
+
height: dt('button.lg.icon.only.width');
|
|
5289
|
+
}
|
|
5290
|
+
|
|
5291
|
+
.p-button-vertical {
|
|
5292
|
+
flex-direction: column;
|
|
5293
|
+
}
|
|
5294
|
+
|
|
5295
|
+
.p-button-label {
|
|
5296
|
+
font-weight: dt('button.label.font.weight');
|
|
5297
|
+
}
|
|
5298
|
+
|
|
5299
|
+
.p-button-fluid {
|
|
5300
|
+
width: 100%;
|
|
5301
|
+
}
|
|
5302
|
+
|
|
5303
|
+
.p-button-fluid.p-button-icon-only {
|
|
5304
|
+
width: dt('button.icon.only.width');
|
|
5305
|
+
}
|
|
5306
|
+
|
|
5307
|
+
.p-button:not(:disabled):hover {
|
|
5308
|
+
background: dt('button.primary.hover.background');
|
|
5309
|
+
border: 1px solid dt('button.primary.hover.border.color');
|
|
5310
|
+
color: dt('button.primary.hover.color');
|
|
5311
|
+
}
|
|
5312
|
+
|
|
5313
|
+
.p-button:not(:disabled):active {
|
|
5314
|
+
background: dt('button.primary.active.background');
|
|
5315
|
+
border: 1px solid dt('button.primary.active.border.color');
|
|
5316
|
+
color: dt('button.primary.active.color');
|
|
5317
|
+
}
|
|
5318
|
+
|
|
5319
|
+
.p-button:focus-visible {
|
|
5320
|
+
box-shadow: dt('button.primary.focus.ring.shadow');
|
|
5321
|
+
outline: dt('button.focus.ring.width') dt('button.focus.ring.style') dt('button.primary.focus.ring.color');
|
|
5322
|
+
outline-offset: dt('button.focus.ring.offset');
|
|
5323
|
+
}
|
|
5324
|
+
|
|
5325
|
+
.p-button .p-badge {
|
|
5326
|
+
min-width: dt('button.badge.size');
|
|
5327
|
+
height: dt('button.badge.size');
|
|
5328
|
+
line-height: dt('button.badge.size');
|
|
5329
|
+
}
|
|
5330
|
+
|
|
5331
|
+
.p-button-raised {
|
|
5332
|
+
box-shadow: dt('button.raised.shadow');
|
|
5333
|
+
}
|
|
5334
|
+
|
|
5335
|
+
.p-button-rounded {
|
|
5336
|
+
border-radius: dt('button.rounded.border.radius');
|
|
5337
|
+
}
|
|
5338
|
+
|
|
5339
|
+
.p-button-secondary {
|
|
5340
|
+
background: dt('button.secondary.background');
|
|
5341
|
+
border: 1px solid dt('button.secondary.border.color');
|
|
5342
|
+
color: dt('button.secondary.color');
|
|
5343
|
+
}
|
|
5344
|
+
|
|
5345
|
+
.p-button-secondary:not(:disabled):hover {
|
|
5346
|
+
background: dt('button.secondary.hover.background');
|
|
5347
|
+
border: 1px solid dt('button.secondary.hover.border.color');
|
|
5348
|
+
color: dt('button.secondary.hover.color');
|
|
5349
|
+
}
|
|
5350
|
+
|
|
5351
|
+
.p-button-secondary:not(:disabled):active {
|
|
5352
|
+
background: dt('button.secondary.active.background');
|
|
5353
|
+
border: 1px solid dt('button.secondary.active.border.color');
|
|
5354
|
+
color: dt('button.secondary.active.color');
|
|
5355
|
+
}
|
|
5356
|
+
|
|
5357
|
+
.p-button-secondary:focus-visible {
|
|
5358
|
+
outline-color: dt('button.secondary.focus.ring.color');
|
|
5359
|
+
box-shadow: dt('button.secondary.focus.ring.shadow');
|
|
5360
|
+
}
|
|
5361
|
+
|
|
5362
|
+
.p-button-success {
|
|
5363
|
+
background: dt('button.success.background');
|
|
5364
|
+
border: 1px solid dt('button.success.border.color');
|
|
5365
|
+
color: dt('button.success.color');
|
|
5366
|
+
}
|
|
5367
|
+
|
|
5368
|
+
.p-button-success:not(:disabled):hover {
|
|
5369
|
+
background: dt('button.success.hover.background');
|
|
5370
|
+
border: 1px solid dt('button.success.hover.border.color');
|
|
5371
|
+
color: dt('button.success.hover.color');
|
|
5372
|
+
}
|
|
5373
|
+
|
|
5374
|
+
.p-button-success:not(:disabled):active {
|
|
5375
|
+
background: dt('button.success.active.background');
|
|
5376
|
+
border: 1px solid dt('button.success.active.border.color');
|
|
5377
|
+
color: dt('button.success.active.color');
|
|
5378
|
+
}
|
|
5379
|
+
|
|
5380
|
+
.p-button-success:focus-visible {
|
|
5381
|
+
outline-color: dt('button.success.focus.ring.color');
|
|
5382
|
+
box-shadow: dt('button.success.focus.ring.shadow');
|
|
5383
|
+
}
|
|
5384
|
+
|
|
5385
|
+
.p-button-info {
|
|
5386
|
+
background: dt('button.info.background');
|
|
5387
|
+
border: 1px solid dt('button.info.border.color');
|
|
5388
|
+
color: dt('button.info.color');
|
|
5389
|
+
}
|
|
5390
|
+
|
|
5391
|
+
.p-button-info:not(:disabled):hover {
|
|
5392
|
+
background: dt('button.info.hover.background');
|
|
5393
|
+
border: 1px solid dt('button.info.hover.border.color');
|
|
5394
|
+
color: dt('button.info.hover.color');
|
|
5395
|
+
}
|
|
5396
|
+
|
|
5397
|
+
.p-button-info:not(:disabled):active {
|
|
5398
|
+
background: dt('button.info.active.background');
|
|
5399
|
+
border: 1px solid dt('button.info.active.border.color');
|
|
5400
|
+
color: dt('button.info.active.color');
|
|
5401
|
+
}
|
|
5402
|
+
|
|
5403
|
+
.p-button-info:focus-visible {
|
|
5404
|
+
outline-color: dt('button.info.focus.ring.color');
|
|
5405
|
+
box-shadow: dt('button.info.focus.ring.shadow');
|
|
5406
|
+
}
|
|
5407
|
+
|
|
5408
|
+
.p-button-warn {
|
|
5409
|
+
background: dt('button.warn.background');
|
|
5410
|
+
border: 1px solid dt('button.warn.border.color');
|
|
5411
|
+
color: dt('button.warn.color');
|
|
5412
|
+
}
|
|
5413
|
+
|
|
5414
|
+
.p-button-warn:not(:disabled):hover {
|
|
5415
|
+
background: dt('button.warn.hover.background');
|
|
5416
|
+
border: 1px solid dt('button.warn.hover.border.color');
|
|
5417
|
+
color: dt('button.warn.hover.color');
|
|
5418
|
+
}
|
|
5419
|
+
|
|
5420
|
+
.p-button-warn:not(:disabled):active {
|
|
5421
|
+
background: dt('button.warn.active.background');
|
|
5422
|
+
border: 1px solid dt('button.warn.active.border.color');
|
|
5423
|
+
color: dt('button.warn.active.color');
|
|
5424
|
+
}
|
|
5425
|
+
|
|
5426
|
+
.p-button-warn:focus-visible {
|
|
5427
|
+
outline-color: dt('button.warn.focus.ring.color');
|
|
5428
|
+
box-shadow: dt('button.warn.focus.ring.shadow');
|
|
5429
|
+
}
|
|
5430
|
+
|
|
5431
|
+
.p-button-help {
|
|
5432
|
+
background: dt('button.help.background');
|
|
5433
|
+
border: 1px solid dt('button.help.border.color');
|
|
5434
|
+
color: dt('button.help.color');
|
|
5435
|
+
}
|
|
5436
|
+
|
|
5437
|
+
.p-button-help:not(:disabled):hover {
|
|
5438
|
+
background: dt('button.help.hover.background');
|
|
5439
|
+
border: 1px solid dt('button.help.hover.border.color');
|
|
5440
|
+
color: dt('button.help.hover.color');
|
|
5441
|
+
}
|
|
5442
|
+
|
|
5443
|
+
.p-button-help:not(:disabled):active {
|
|
5444
|
+
background: dt('button.help.active.background');
|
|
5445
|
+
border: 1px solid dt('button.help.active.border.color');
|
|
5446
|
+
color: dt('button.help.active.color');
|
|
5447
|
+
}
|
|
5448
|
+
|
|
5449
|
+
.p-button-help:focus-visible {
|
|
5450
|
+
outline-color: dt('button.help.focus.ring.color');
|
|
5451
|
+
box-shadow: dt('button.help.focus.ring.shadow');
|
|
5452
|
+
}
|
|
5453
|
+
|
|
5454
|
+
.p-button-danger {
|
|
5455
|
+
background: dt('button.danger.background');
|
|
5456
|
+
border: 1px solid dt('button.danger.border.color');
|
|
5457
|
+
color: dt('button.danger.color');
|
|
5458
|
+
}
|
|
5459
|
+
|
|
5460
|
+
.p-button-danger:not(:disabled):hover {
|
|
5461
|
+
background: dt('button.danger.hover.background');
|
|
5462
|
+
border: 1px solid dt('button.danger.hover.border.color');
|
|
5463
|
+
color: dt('button.danger.hover.color');
|
|
5464
|
+
}
|
|
5465
|
+
|
|
5466
|
+
.p-button-danger:not(:disabled):active {
|
|
5467
|
+
background: dt('button.danger.active.background');
|
|
5468
|
+
border: 1px solid dt('button.danger.active.border.color');
|
|
5469
|
+
color: dt('button.danger.active.color');
|
|
5470
|
+
}
|
|
5471
|
+
|
|
5472
|
+
.p-button-danger:focus-visible {
|
|
5473
|
+
outline-color: dt('button.danger.focus.ring.color');
|
|
5474
|
+
box-shadow: dt('button.danger.focus.ring.shadow');
|
|
5475
|
+
}
|
|
5476
|
+
|
|
5477
|
+
.p-button-contrast {
|
|
5478
|
+
background: dt('button.contrast.background');
|
|
5479
|
+
border: 1px solid dt('button.contrast.border.color');
|
|
5480
|
+
color: dt('button.contrast.color');
|
|
5481
|
+
}
|
|
5482
|
+
|
|
5483
|
+
.p-button-contrast:not(:disabled):hover {
|
|
5484
|
+
background: dt('button.contrast.hover.background');
|
|
5485
|
+
border: 1px solid dt('button.contrast.hover.border.color');
|
|
5486
|
+
color: dt('button.contrast.hover.color');
|
|
5487
|
+
}
|
|
5488
|
+
|
|
5489
|
+
.p-button-contrast:not(:disabled):active {
|
|
5490
|
+
background: dt('button.contrast.active.background');
|
|
5491
|
+
border: 1px solid dt('button.contrast.active.border.color');
|
|
5492
|
+
color: dt('button.contrast.active.color');
|
|
5493
|
+
}
|
|
5494
|
+
|
|
5495
|
+
.p-button-contrast:focus-visible {
|
|
5496
|
+
outline-color: dt('button.contrast.focus.ring.color');
|
|
5497
|
+
box-shadow: dt('button.contrast.focus.ring.shadow');
|
|
5498
|
+
}
|
|
5499
|
+
|
|
5500
|
+
.p-button-outlined {
|
|
5501
|
+
background: transparent;
|
|
5502
|
+
border-color: dt('button.outlined.primary.border.color');
|
|
5503
|
+
color: dt('button.outlined.primary.color');
|
|
5504
|
+
}
|
|
5505
|
+
|
|
5506
|
+
.p-button-outlined:not(:disabled):hover {
|
|
5507
|
+
background: dt('button.outlined.primary.hover.background');
|
|
5508
|
+
border-color: dt('button.outlined.primary.border.color');
|
|
5509
|
+
color: dt('button.outlined.primary.color');
|
|
5510
|
+
}
|
|
5511
|
+
|
|
5512
|
+
.p-button-outlined:not(:disabled):active {
|
|
5513
|
+
background: dt('button.outlined.primary.active.background');
|
|
5514
|
+
border-color: dt('button.outlined.primary.border.color');
|
|
5515
|
+
color: dt('button.outlined.primary.color');
|
|
5516
|
+
}
|
|
5517
|
+
|
|
5518
|
+
.p-button-outlined.p-button-secondary {
|
|
5519
|
+
border-color: dt('button.outlined.secondary.border.color');
|
|
5520
|
+
color: dt('button.outlined.secondary.color');
|
|
5521
|
+
}
|
|
5522
|
+
|
|
5523
|
+
.p-button-outlined.p-button-secondary:not(:disabled):hover {
|
|
5524
|
+
background: dt('button.outlined.secondary.hover.background');
|
|
5525
|
+
border-color: dt('button.outlined.secondary.border.color');
|
|
5526
|
+
color: dt('button.outlined.secondary.color');
|
|
5527
|
+
}
|
|
5528
|
+
|
|
5529
|
+
.p-button-outlined.p-button-secondary:not(:disabled):active {
|
|
5530
|
+
background: dt('button.outlined.secondary.active.background');
|
|
5531
|
+
border-color: dt('button.outlined.secondary.border.color');
|
|
5532
|
+
color: dt('button.outlined.secondary.color');
|
|
5533
|
+
}
|
|
5534
|
+
|
|
5535
|
+
.p-button-outlined.p-button-success {
|
|
5536
|
+
border-color: dt('button.outlined.success.border.color');
|
|
5537
|
+
color: dt('button.outlined.success.color');
|
|
5538
|
+
}
|
|
5539
|
+
|
|
5540
|
+
.p-button-outlined.p-button-success:not(:disabled):hover {
|
|
5541
|
+
background: dt('button.outlined.success.hover.background');
|
|
5542
|
+
border-color: dt('button.outlined.success.border.color');
|
|
5543
|
+
color: dt('button.outlined.success.color');
|
|
5544
|
+
}
|
|
5545
|
+
|
|
5546
|
+
.p-button-outlined.p-button-success:not(:disabled):active {
|
|
5547
|
+
background: dt('button.outlined.success.active.background');
|
|
5548
|
+
border-color: dt('button.outlined.success.border.color');
|
|
5549
|
+
color: dt('button.outlined.success.color');
|
|
5550
|
+
}
|
|
5551
|
+
|
|
5552
|
+
.p-button-outlined.p-button-info {
|
|
5553
|
+
border-color: dt('button.outlined.info.border.color');
|
|
5554
|
+
color: dt('button.outlined.info.color');
|
|
5555
|
+
}
|
|
5556
|
+
|
|
5557
|
+
.p-button-outlined.p-button-info:not(:disabled):hover {
|
|
5558
|
+
background: dt('button.outlined.info.hover.background');
|
|
5559
|
+
border-color: dt('button.outlined.info.border.color');
|
|
5560
|
+
color: dt('button.outlined.info.color');
|
|
5561
|
+
}
|
|
5562
|
+
|
|
5563
|
+
.p-button-outlined.p-button-info:not(:disabled):active {
|
|
5564
|
+
background: dt('button.outlined.info.active.background');
|
|
5565
|
+
border-color: dt('button.outlined.info.border.color');
|
|
5566
|
+
color: dt('button.outlined.info.color');
|
|
5567
|
+
}
|
|
5568
|
+
|
|
5569
|
+
.p-button-outlined.p-button-warn {
|
|
5570
|
+
border-color: dt('button.outlined.warn.border.color');
|
|
5571
|
+
color: dt('button.outlined.warn.color');
|
|
5572
|
+
}
|
|
5573
|
+
|
|
5574
|
+
.p-button-outlined.p-button-warn:not(:disabled):hover {
|
|
5575
|
+
background: dt('button.outlined.warn.hover.background');
|
|
5576
|
+
border-color: dt('button.outlined.warn.border.color');
|
|
5577
|
+
color: dt('button.outlined.warn.color');
|
|
5578
|
+
}
|
|
5579
|
+
|
|
5580
|
+
.p-button-outlined.p-button-warn:not(:disabled):active {
|
|
5581
|
+
background: dt('button.outlined.warn.active.background');
|
|
5582
|
+
border-color: dt('button.outlined.warn.border.color');
|
|
5583
|
+
color: dt('button.outlined.warn.color');
|
|
5584
|
+
}
|
|
5585
|
+
|
|
5586
|
+
.p-button-outlined.p-button-help {
|
|
5587
|
+
border-color: dt('button.outlined.help.border.color');
|
|
5588
|
+
color: dt('button.outlined.help.color');
|
|
5589
|
+
}
|
|
5590
|
+
|
|
5591
|
+
.p-button-outlined.p-button-help:not(:disabled):hover {
|
|
5592
|
+
background: dt('button.outlined.help.hover.background');
|
|
5593
|
+
border-color: dt('button.outlined.help.border.color');
|
|
5594
|
+
color: dt('button.outlined.help.color');
|
|
5595
|
+
}
|
|
5596
|
+
|
|
5597
|
+
.p-button-outlined.p-button-help:not(:disabled):active {
|
|
5598
|
+
background: dt('button.outlined.help.active.background');
|
|
5599
|
+
border-color: dt('button.outlined.help.border.color');
|
|
5600
|
+
color: dt('button.outlined.help.color');
|
|
5601
|
+
}
|
|
5602
|
+
|
|
5603
|
+
.p-button-outlined.p-button-danger {
|
|
5604
|
+
border-color: dt('button.outlined.danger.border.color');
|
|
5605
|
+
color: dt('button.outlined.danger.color');
|
|
5606
|
+
}
|
|
5607
|
+
|
|
5608
|
+
.p-button-outlined.p-button-danger:not(:disabled):hover {
|
|
5609
|
+
background: dt('button.outlined.danger.hover.background');
|
|
5610
|
+
border-color: dt('button.outlined.danger.border.color');
|
|
5611
|
+
color: dt('button.outlined.danger.color');
|
|
5612
|
+
}
|
|
5613
|
+
|
|
5614
|
+
.p-button-outlined.p-button-danger:not(:disabled):active {
|
|
5615
|
+
background: dt('button.outlined.danger.active.background');
|
|
5616
|
+
border-color: dt('button.outlined.danger.border.color');
|
|
5617
|
+
color: dt('button.outlined.danger.color');
|
|
5618
|
+
}
|
|
5619
|
+
|
|
5620
|
+
.p-button-outlined.p-button-contrast {
|
|
5621
|
+
border-color: dt('button.outlined.contrast.border.color');
|
|
5622
|
+
color: dt('button.outlined.contrast.color');
|
|
5623
|
+
}
|
|
5624
|
+
|
|
5625
|
+
.p-button-outlined.p-button-contrast:not(:disabled):hover {
|
|
5626
|
+
background: dt('button.outlined.contrast.hover.background');
|
|
5627
|
+
border-color: dt('button.outlined.contrast.border.color');
|
|
5628
|
+
color: dt('button.outlined.contrast.color');
|
|
5629
|
+
}
|
|
5630
|
+
|
|
5631
|
+
.p-button-outlined.p-button-contrast:not(:disabled):active {
|
|
5632
|
+
background: dt('button.outlined.contrast.active.background');
|
|
5633
|
+
border-color: dt('button.outlined.contrast.border.color');
|
|
5634
|
+
color: dt('button.outlined.contrast.color');
|
|
5635
|
+
}
|
|
5636
|
+
|
|
5637
|
+
.p-button-outlined.p-button-plain {
|
|
5638
|
+
border-color: dt('button.outlined.plain.border.color');
|
|
5639
|
+
color: dt('button.outlined.plain.color');
|
|
5640
|
+
}
|
|
5641
|
+
|
|
5642
|
+
.p-button-outlined.p-button-plain:not(:disabled):hover {
|
|
5643
|
+
background: dt('button.outlined.plain.hover.background');
|
|
5644
|
+
border-color: dt('button.outlined.plain.border.color');
|
|
5645
|
+
color: dt('button.outlined.plain.color');
|
|
5646
|
+
}
|
|
5647
|
+
|
|
5648
|
+
.p-button-outlined.p-button-plain:not(:disabled):active {
|
|
5649
|
+
background: dt('button.outlined.plain.active.background');
|
|
5650
|
+
border-color: dt('button.outlined.plain.border.color');
|
|
5651
|
+
color: dt('button.outlined.plain.color');
|
|
5652
|
+
}
|
|
5653
|
+
|
|
5654
|
+
.p-button-text {
|
|
5655
|
+
background: transparent;
|
|
5656
|
+
border-color: transparent;
|
|
5657
|
+
color: dt('button.text.primary.color');
|
|
5658
|
+
}
|
|
5659
|
+
|
|
5660
|
+
.p-button-text:not(:disabled):hover {
|
|
5661
|
+
background: dt('button.text.primary.hover.background');
|
|
5662
|
+
border-color: transparent;
|
|
5663
|
+
color: dt('button.text.primary.color');
|
|
5664
|
+
}
|
|
5665
|
+
|
|
5666
|
+
.p-button-text:not(:disabled):active {
|
|
5667
|
+
background: dt('button.text.primary.active.background');
|
|
5668
|
+
border-color: transparent;
|
|
5669
|
+
color: dt('button.text.primary.color');
|
|
5670
|
+
}
|
|
5671
|
+
|
|
5672
|
+
.p-button-text.p-button-secondary {
|
|
5673
|
+
background: transparent;
|
|
5674
|
+
border-color: transparent;
|
|
5675
|
+
color: dt('button.text.secondary.color');
|
|
5676
|
+
}
|
|
5677
|
+
|
|
5678
|
+
.p-button-text.p-button-secondary:not(:disabled):hover {
|
|
5679
|
+
background: dt('button.text.secondary.hover.background');
|
|
5680
|
+
border-color: transparent;
|
|
5681
|
+
color: dt('button.text.secondary.color');
|
|
5682
|
+
}
|
|
5683
|
+
|
|
5684
|
+
.p-button-text.p-button-secondary:not(:disabled):active {
|
|
5685
|
+
background: dt('button.text.secondary.active.background');
|
|
5686
|
+
border-color: transparent;
|
|
5687
|
+
color: dt('button.text.secondary.color');
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5690
|
+
.p-button-text.p-button-success {
|
|
5691
|
+
background: transparent;
|
|
5692
|
+
border-color: transparent;
|
|
5693
|
+
color: dt('button.text.success.color');
|
|
5694
|
+
}
|
|
5695
|
+
|
|
5696
|
+
.p-button-text.p-button-success:not(:disabled):hover {
|
|
5697
|
+
background: dt('button.text.success.hover.background');
|
|
5698
|
+
border-color: transparent;
|
|
5699
|
+
color: dt('button.text.success.color');
|
|
5700
|
+
}
|
|
5701
|
+
|
|
5702
|
+
.p-button-text.p-button-success:not(:disabled):active {
|
|
5703
|
+
background: dt('button.text.success.active.background');
|
|
5704
|
+
border-color: transparent;
|
|
5705
|
+
color: dt('button.text.success.color');
|
|
5706
|
+
}
|
|
5707
|
+
|
|
5708
|
+
.p-button-text.p-button-info {
|
|
5709
|
+
background: transparent;
|
|
5710
|
+
border-color: transparent;
|
|
5711
|
+
color: dt('button.text.info.color');
|
|
5712
|
+
}
|
|
5713
|
+
|
|
5714
|
+
.p-button-text.p-button-info:not(:disabled):hover {
|
|
5715
|
+
background: dt('button.text.info.hover.background');
|
|
5716
|
+
border-color: transparent;
|
|
5717
|
+
color: dt('button.text.info.color');
|
|
5718
|
+
}
|
|
5719
|
+
|
|
5720
|
+
.p-button-text.p-button-info:not(:disabled):active {
|
|
5721
|
+
background: dt('button.text.info.active.background');
|
|
5722
|
+
border-color: transparent;
|
|
5723
|
+
color: dt('button.text.info.color');
|
|
5724
|
+
}
|
|
5725
|
+
|
|
5726
|
+
.p-button-text.p-button-warn {
|
|
5727
|
+
background: transparent;
|
|
5728
|
+
border-color: transparent;
|
|
5729
|
+
color: dt('button.text.warn.color');
|
|
5730
|
+
}
|
|
5731
|
+
|
|
5732
|
+
.p-button-text.p-button-warn:not(:disabled):hover {
|
|
5733
|
+
background: dt('button.text.warn.hover.background');
|
|
5734
|
+
border-color: transparent;
|
|
5735
|
+
color: dt('button.text.warn.color');
|
|
5736
|
+
}
|
|
5737
|
+
|
|
5738
|
+
.p-button-text.p-button-warn:not(:disabled):active {
|
|
5739
|
+
background: dt('button.text.warn.active.background');
|
|
5740
|
+
border-color: transparent;
|
|
5741
|
+
color: dt('button.text.warn.color');
|
|
5742
|
+
}
|
|
5743
|
+
|
|
5744
|
+
.p-button-text.p-button-help {
|
|
5745
|
+
background: transparent;
|
|
5746
|
+
border-color: transparent;
|
|
5747
|
+
color: dt('button.text.help.color');
|
|
5748
|
+
}
|
|
5749
|
+
|
|
5750
|
+
.p-button-text.p-button-help:not(:disabled):hover {
|
|
5751
|
+
background: dt('button.text.help.hover.background');
|
|
5752
|
+
border-color: transparent;
|
|
5753
|
+
color: dt('button.text.help.color');
|
|
5754
|
+
}
|
|
5755
|
+
|
|
5756
|
+
.p-button-text.p-button-help:not(:disabled):active {
|
|
5757
|
+
background: dt('button.text.help.active.background');
|
|
5758
|
+
border-color: transparent;
|
|
5759
|
+
color: dt('button.text.help.color');
|
|
5760
|
+
}
|
|
5761
|
+
|
|
5762
|
+
.p-button-text.p-button-danger {
|
|
5763
|
+
background: transparent;
|
|
5764
|
+
border-color: transparent;
|
|
5765
|
+
color: dt('button.text.danger.color');
|
|
5766
|
+
}
|
|
5767
|
+
|
|
5768
|
+
.p-button-text.p-button-danger:not(:disabled):hover {
|
|
5769
|
+
background: dt('button.text.danger.hover.background');
|
|
5770
|
+
border-color: transparent;
|
|
5771
|
+
color: dt('button.text.danger.color');
|
|
5772
|
+
}
|
|
5773
|
+
|
|
5774
|
+
.p-button-text.p-button-danger:not(:disabled):active {
|
|
5775
|
+
background: dt('button.text.danger.active.background');
|
|
5776
|
+
border-color: transparent;
|
|
5777
|
+
color: dt('button.text.danger.color');
|
|
5778
|
+
}
|
|
5779
|
+
|
|
5780
|
+
.p-button-text.p-button-contrast {
|
|
5781
|
+
background: transparent;
|
|
5782
|
+
border-color: transparent;
|
|
5783
|
+
color: dt('button.text.contrast.color');
|
|
5784
|
+
}
|
|
5785
|
+
|
|
5786
|
+
.p-button-text.p-button-contrast:not(:disabled):hover {
|
|
5787
|
+
background: dt('button.text.contrast.hover.background');
|
|
5788
|
+
border-color: transparent;
|
|
5789
|
+
color: dt('button.text.contrast.color');
|
|
5790
|
+
}
|
|
5791
|
+
|
|
5792
|
+
.p-button-text.p-button-contrast:not(:disabled):active {
|
|
5793
|
+
background: dt('button.text.contrast.active.background');
|
|
5794
|
+
border-color: transparent;
|
|
5795
|
+
color: dt('button.text.contrast.color');
|
|
5796
|
+
}
|
|
5797
|
+
|
|
5798
|
+
.p-button-text.p-button-plain {
|
|
5799
|
+
background: transparent;
|
|
5800
|
+
border-color: transparent;
|
|
5801
|
+
color: dt('button.text.plain.color');
|
|
5802
|
+
}
|
|
5803
|
+
|
|
5804
|
+
.p-button-text.p-button-plain:not(:disabled):hover {
|
|
5805
|
+
background: dt('button.text.plain.hover.background');
|
|
5806
|
+
border-color: transparent;
|
|
5807
|
+
color: dt('button.text.plain.color');
|
|
5808
|
+
}
|
|
5809
|
+
|
|
5810
|
+
.p-button-text.p-button-plain:not(:disabled):active {
|
|
5811
|
+
background: dt('button.text.plain.active.background');
|
|
5812
|
+
border-color: transparent;
|
|
5813
|
+
color: dt('button.text.plain.color');
|
|
5814
|
+
}
|
|
5815
|
+
|
|
5816
|
+
.p-button-link {
|
|
5817
|
+
background: transparent;
|
|
5818
|
+
border-color: transparent;
|
|
5819
|
+
color: dt('button.link.color');
|
|
5820
|
+
}
|
|
5821
|
+
|
|
5822
|
+
.p-button-link:not(:disabled):hover {
|
|
5823
|
+
background: transparent;
|
|
5824
|
+
border-color: transparent;
|
|
5825
|
+
color: dt('button.link.hover.color');
|
|
5826
|
+
}
|
|
5827
|
+
|
|
5828
|
+
.p-button-link:not(:disabled):hover .p-button-label {
|
|
5829
|
+
text-decoration: underline;
|
|
5830
|
+
}
|
|
5831
|
+
|
|
5832
|
+
.p-button-link:not(:disabled):active {
|
|
5833
|
+
background: transparent;
|
|
5834
|
+
border-color: transparent;
|
|
5835
|
+
color: dt('button.link.active.color');
|
|
5836
|
+
}
|
|
5837
|
+
`;/* Injected with object hook! */
|
|
5099
5838
|
|
|
5100
5839
|
function _typeof$1(o) { "@babel/helpers - typeof"; return _typeof$1 = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof$1(o); }
|
|
5101
5840
|
function _defineProperty$1(e, r, t) { return (r = _toPropertyKey$1(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: true, configurable: true, writable: true }) : e[r] = t, e; }
|
|
@@ -5411,7 +6150,7 @@ const Pe = {
|
|
|
5411
6150
|
K(I(e)), d("resize", { event: e }, true);
|
|
5412
6151
|
}));
|
|
5413
6152
|
}, P = (e) => {
|
|
5414
|
-
c.value.dragging && d("resized", { event: e }, true), c.value.mouseDown = false, c.value.activeSplitter = null, setTimeout(() => {
|
|
6153
|
+
c.value.dragging && (window.getSelection().removeAllRanges(), d("resized", { event: e }, true)), c.value.mouseDown = false, c.value.activeSplitter = null, setTimeout(() => {
|
|
5415
6154
|
c.value.dragging = false, O();
|
|
5416
6155
|
}, 100);
|
|
5417
6156
|
}, A = (e, n) => {
|