@fkui/vue 6.19.1 → 6.20.0
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/cjs/index.cjs.js +147 -173
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/esm/index.esm.js +147 -173
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/types/index.d.ts +30 -317
- package/package.json +5 -5
package/dist/esm/index.esm.js
CHANGED
|
@@ -19,8 +19,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
|
19
19
|
* If badge should be inverted.
|
|
20
20
|
*/
|
|
21
21
|
inverted: {
|
|
22
|
-
type: Boolean
|
|
23
|
-
default: false
|
|
22
|
+
type: Boolean
|
|
24
23
|
}
|
|
25
24
|
},
|
|
26
25
|
setup(__props) {
|
|
@@ -2042,7 +2041,7 @@ function useInflight(fn2) {
|
|
|
2042
2041
|
fn: wrapper
|
|
2043
2042
|
};
|
|
2044
2043
|
}
|
|
2045
|
-
const _hoisted_1$$ = ["disabled"];
|
|
2044
|
+
const _hoisted_1$$ = ["type", "disabled"];
|
|
2046
2045
|
const _hoisted_2$L = {
|
|
2047
2046
|
key: 1,
|
|
2048
2047
|
class: "spinner--before"
|
|
@@ -2097,6 +2096,14 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
2097
2096
|
type: String,
|
|
2098
2097
|
default: void 0
|
|
2099
2098
|
},
|
|
2099
|
+
/**
|
|
2100
|
+
* Icon library to use.
|
|
2101
|
+
*/
|
|
2102
|
+
iconLibrary: {
|
|
2103
|
+
type: String,
|
|
2104
|
+
required: false,
|
|
2105
|
+
default: "f"
|
|
2106
|
+
},
|
|
2100
2107
|
/**
|
|
2101
2108
|
* Tertiary button style, used in conjunction with button variant `tertiary`.
|
|
2102
2109
|
* Can be one of:
|
|
@@ -2116,16 +2123,14 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
2116
2123
|
* Used in conjunction with button variant `tertiary`.
|
|
2117
2124
|
*/
|
|
2118
2125
|
alignText: {
|
|
2119
|
-
type: Boolean
|
|
2120
|
-
default: false
|
|
2126
|
+
type: Boolean
|
|
2121
2127
|
},
|
|
2122
2128
|
/**
|
|
2123
2129
|
*
|
|
2124
2130
|
* Enable full width on mobile for sizes `small` and `medium`, always active for button size `large`.
|
|
2125
2131
|
*/
|
|
2126
2132
|
mobileFullWidth: {
|
|
2127
|
-
type: Boolean
|
|
2128
|
-
default: false
|
|
2133
|
+
type: Boolean
|
|
2129
2134
|
},
|
|
2130
2135
|
/**
|
|
2131
2136
|
* The default behavior of the button. Possible values are:
|
|
@@ -2142,6 +2147,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
2142
2147
|
}
|
|
2143
2148
|
},
|
|
2144
2149
|
setup(__props) {
|
|
2150
|
+
const props = __props;
|
|
2145
2151
|
const originalAttrs = useAttrs();
|
|
2146
2152
|
const {
|
|
2147
2153
|
inflight,
|
|
@@ -2151,7 +2157,6 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
2151
2157
|
...originalAttrs,
|
|
2152
2158
|
onClick
|
|
2153
2159
|
};
|
|
2154
|
-
const props = __props;
|
|
2155
2160
|
const hasIconLeft = computed(() => {
|
|
2156
2161
|
return Boolean(props.iconLeft);
|
|
2157
2162
|
});
|
|
@@ -2182,7 +2187,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
2182
2187
|
});
|
|
2183
2188
|
return (_ctx, _cache) => {
|
|
2184
2189
|
return openBlock(), createElementBlock("button", mergeProps({
|
|
2185
|
-
type:
|
|
2190
|
+
type: __props.type,
|
|
2186
2191
|
class: buttonClass.value,
|
|
2187
2192
|
disabled: unref(inflight)
|
|
2188
2193
|
}, attrs), [hasIconLeft.value ? (openBlock(), createElementBlock(Fragment, {
|
|
@@ -2194,8 +2199,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
2194
2199
|
})) : props.iconLeft ? (openBlock(), createBlock(unref(FIcon), {
|
|
2195
2200
|
key: 1,
|
|
2196
2201
|
class: "button__icon",
|
|
2197
|
-
name: props.iconLeft
|
|
2198
|
-
|
|
2202
|
+
name: props.iconLeft,
|
|
2203
|
+
library: props.iconLibrary
|
|
2204
|
+
}, null, 8, ["name", "library"])) : createCommentVNode("", true)], 64)) : createCommentVNode("", true), _cache[0] || (_cache[0] = createTextVNode()), !hasIcon.value ? (openBlock(), createElementBlock("span", _hoisted_2$L, [unref(inflight) ? (openBlock(), createBlock(unref(FIcon), {
|
|
2199
2205
|
key: 0,
|
|
2200
2206
|
name: "circle-notch-solid",
|
|
2201
2207
|
class: "button__icon button__spinner"
|
|
@@ -2208,8 +2214,9 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
|
2208
2214
|
})) : props.iconRight ? (openBlock(), createBlock(unref(FIcon), {
|
|
2209
2215
|
key: 1,
|
|
2210
2216
|
class: "button__icon",
|
|
2211
|
-
name: props.iconRight
|
|
2212
|
-
|
|
2217
|
+
name: props.iconRight,
|
|
2218
|
+
library: props.iconLibrary
|
|
2219
|
+
}, null, 8, ["name", "library"])) : createCommentVNode("", true)], 64)) : createCommentVNode("", true), _cache[3] || (_cache[3] = createTextVNode()), !hasIcon.value ? (openBlock(), createElementBlock("span", _hoisted_3$B)) : createCommentVNode("", true)], 16, _hoisted_1$$);
|
|
2213
2220
|
};
|
|
2214
2221
|
}
|
|
2215
2222
|
});
|
|
@@ -4734,8 +4741,7 @@ const _sfc_main$1k = defineComponent({
|
|
|
4734
4741
|
*/
|
|
4735
4742
|
isOpen: {
|
|
4736
4743
|
type: Boolean,
|
|
4737
|
-
required: false
|
|
4738
|
-
default: false
|
|
4744
|
+
required: false
|
|
4739
4745
|
},
|
|
4740
4746
|
/**
|
|
4741
4747
|
* The aria-label attribute text for the top right close button.
|
|
@@ -4750,8 +4756,7 @@ const _sfc_main$1k = defineComponent({
|
|
|
4750
4756
|
*/
|
|
4751
4757
|
fullscreen: {
|
|
4752
4758
|
type: Boolean,
|
|
4753
|
-
required: false
|
|
4754
|
-
default: false
|
|
4759
|
+
required: false
|
|
4755
4760
|
},
|
|
4756
4761
|
/**
|
|
4757
4762
|
* The type of modal. 'information', 'warning' and 'error' is valid.
|
|
@@ -4996,16 +5001,14 @@ const _sfc_main$1j = defineComponent({
|
|
|
4996
5001
|
*/
|
|
4997
5002
|
fullscreen: {
|
|
4998
5003
|
type: Boolean,
|
|
4999
|
-
required: false
|
|
5000
|
-
default: false
|
|
5004
|
+
required: false
|
|
5001
5005
|
},
|
|
5002
5006
|
/**
|
|
5003
5007
|
* Prop for opening modal
|
|
5004
5008
|
*/
|
|
5005
5009
|
isOpen: {
|
|
5006
5010
|
type: Boolean,
|
|
5007
|
-
required: false
|
|
5008
|
-
default: false
|
|
5011
|
+
required: false
|
|
5009
5012
|
},
|
|
5010
5013
|
/**
|
|
5011
5014
|
* Simple text content
|
|
@@ -5160,15 +5163,13 @@ const _sfc_main$1i = defineComponent({
|
|
|
5160
5163
|
* stacked on top of each other when breakpoint is small (aka mobile).
|
|
5161
5164
|
*/
|
|
5162
5165
|
collapse: {
|
|
5163
|
-
type: Boolean
|
|
5164
|
-
default: false
|
|
5166
|
+
type: Boolean
|
|
5165
5167
|
},
|
|
5166
5168
|
/**
|
|
5167
5169
|
* If set the IFlexItems will wrap when out of space
|
|
5168
5170
|
*/
|
|
5169
5171
|
wrap: {
|
|
5170
|
-
type: Boolean
|
|
5171
|
-
default: false
|
|
5172
|
+
type: Boolean
|
|
5172
5173
|
},
|
|
5173
5174
|
/**
|
|
5174
5175
|
* Set how IFlexItems should float.
|
|
@@ -5220,15 +5221,13 @@ const _sfc_main$1h = defineComponent({
|
|
|
5220
5221
|
* If set this item will grow to its largest possible size.
|
|
5221
5222
|
*/
|
|
5222
5223
|
grow: {
|
|
5223
|
-
type: Boolean
|
|
5224
|
-
default: false
|
|
5224
|
+
type: Boolean
|
|
5225
5225
|
},
|
|
5226
5226
|
/**
|
|
5227
5227
|
* If set this item will shrink to its smallest possible size.
|
|
5228
5228
|
*/
|
|
5229
5229
|
shrink: {
|
|
5230
|
-
type: Boolean
|
|
5231
|
-
default: false
|
|
5230
|
+
type: Boolean
|
|
5232
5231
|
},
|
|
5233
5232
|
/**
|
|
5234
5233
|
* Vertical positioning of content.
|
|
@@ -5296,8 +5295,7 @@ const _sfc_main$1g = defineComponent({
|
|
|
5296
5295
|
*/
|
|
5297
5296
|
bullets: {
|
|
5298
5297
|
type: Boolean,
|
|
5299
|
-
required: false
|
|
5300
|
-
default: false
|
|
5298
|
+
required: false
|
|
5301
5299
|
},
|
|
5302
5300
|
/**
|
|
5303
5301
|
* Optional callback for performing actions before navigation.
|
|
@@ -5519,6 +5517,7 @@ const _sfc_main$1f = defineComponent({
|
|
|
5519
5517
|
*
|
|
5520
5518
|
* `componentCount`: number of registered components
|
|
5521
5519
|
*/
|
|
5520
|
+
/* eslint-disable-next-line vue/no-unused-properties -- one-way binding, we ignore whatever the consumer sets this to */
|
|
5522
5521
|
modelValue: {
|
|
5523
5522
|
type: Object,
|
|
5524
5523
|
required: false,
|
|
@@ -5535,8 +5534,7 @@ const _sfc_main$1f = defineComponent({
|
|
|
5535
5534
|
*/
|
|
5536
5535
|
stopPropagation: {
|
|
5537
5536
|
type: Boolean,
|
|
5538
|
-
required: false
|
|
5539
|
-
default: false
|
|
5537
|
+
required: false
|
|
5540
5538
|
}
|
|
5541
5539
|
},
|
|
5542
5540
|
emits: [
|
|
@@ -5653,6 +5651,7 @@ const _sfc_main$1e = defineComponent({
|
|
|
5653
5651
|
useErrorList: {
|
|
5654
5652
|
type: Boolean,
|
|
5655
5653
|
required: false,
|
|
5654
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
5656
5655
|
default: true
|
|
5657
5656
|
},
|
|
5658
5657
|
/**
|
|
@@ -5661,6 +5660,7 @@ const _sfc_main$1e = defineComponent({
|
|
|
5661
5660
|
errorListBullets: {
|
|
5662
5661
|
type: Boolean,
|
|
5663
5662
|
required: false,
|
|
5663
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
5664
5664
|
default: true
|
|
5665
5665
|
},
|
|
5666
5666
|
/**
|
|
@@ -5793,6 +5793,7 @@ const _sfc_main$1d = defineComponent({
|
|
|
5793
5793
|
fullscreen: {
|
|
5794
5794
|
type: Boolean,
|
|
5795
5795
|
required: false,
|
|
5796
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
5796
5797
|
default: true
|
|
5797
5798
|
},
|
|
5798
5799
|
/**
|
|
@@ -5802,6 +5803,7 @@ const _sfc_main$1d = defineComponent({
|
|
|
5802
5803
|
isOpen: {
|
|
5803
5804
|
type: Boolean,
|
|
5804
5805
|
required: false,
|
|
5806
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
5805
5807
|
default: true
|
|
5806
5808
|
},
|
|
5807
5809
|
/**
|
|
@@ -5837,6 +5839,7 @@ const _sfc_main$1d = defineComponent({
|
|
|
5837
5839
|
useErrorList: {
|
|
5838
5840
|
type: Boolean,
|
|
5839
5841
|
required: false,
|
|
5842
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
5840
5843
|
default: true
|
|
5841
5844
|
},
|
|
5842
5845
|
/**
|
|
@@ -5911,6 +5914,7 @@ const _sfc_main$1d = defineComponent({
|
|
|
5911
5914
|
* Event that is dispatched when escape is pressed or when the cancel or close buttons are clicked.
|
|
5912
5915
|
* In most use cases the isOpen prop should be set to false when this event is triggered.
|
|
5913
5916
|
*/
|
|
5917
|
+
/* eslint-disable-next-line @typescript-eslint/no-explicit-any -- technical debt, should use generics */
|
|
5914
5918
|
close(_payload) {
|
|
5915
5919
|
return true;
|
|
5916
5920
|
},
|
|
@@ -5918,6 +5922,7 @@ const _sfc_main$1d = defineComponent({
|
|
|
5918
5922
|
* Event that is dispatched when the submit button is is clicked.
|
|
5919
5923
|
* The event payload is the data that has been submitted.
|
|
5920
5924
|
*/
|
|
5925
|
+
/* eslint-disable-next-line @typescript-eslint/no-explicit-any -- technical debt, should use generics */
|
|
5921
5926
|
submit(_payload) {
|
|
5922
5927
|
return true;
|
|
5923
5928
|
}
|
|
@@ -7032,6 +7037,7 @@ const ErrorPlugin = {
|
|
|
7032
7037
|
const _sfc_main$1c = defineComponent({
|
|
7033
7038
|
name: "FErrorPage",
|
|
7034
7039
|
props: {
|
|
7040
|
+
/* eslint-disable-next-line vue/no-unused-properties -- simplifies extending this component, the consumer might display the error */
|
|
7035
7041
|
payload: {
|
|
7036
7042
|
type: Object,
|
|
7037
7043
|
required: false,
|
|
@@ -7314,16 +7320,14 @@ const _sfc_main$1a = defineComponent({
|
|
|
7314
7320
|
*/
|
|
7315
7321
|
yearSelector: {
|
|
7316
7322
|
type: Boolean,
|
|
7317
|
-
required: false
|
|
7318
|
-
default: false
|
|
7323
|
+
required: false
|
|
7319
7324
|
},
|
|
7320
7325
|
/**
|
|
7321
7326
|
* Displays the year selector as open when enabled.
|
|
7322
7327
|
*/
|
|
7323
7328
|
yearSelectorOpen: {
|
|
7324
7329
|
type: Boolean,
|
|
7325
|
-
required: false
|
|
7326
|
-
default: false
|
|
7330
|
+
required: false
|
|
7327
7331
|
},
|
|
7328
7332
|
/**
|
|
7329
7333
|
* Optional id (generated by default).
|
|
@@ -7536,8 +7540,7 @@ const _sfc_main$19 = defineComponent({
|
|
|
7536
7540
|
*/
|
|
7537
7541
|
hideWeekNumbers: {
|
|
7538
7542
|
type: Boolean,
|
|
7539
|
-
required: false
|
|
7540
|
-
default: false
|
|
7543
|
+
required: false
|
|
7541
7544
|
}
|
|
7542
7545
|
},
|
|
7543
7546
|
data() {
|
|
@@ -7754,7 +7757,6 @@ const _sfc_main$18 = defineComponent({
|
|
|
7754
7757
|
}
|
|
7755
7758
|
},
|
|
7756
7759
|
emits: [
|
|
7757
|
-
"change",
|
|
7758
7760
|
/**
|
|
7759
7761
|
* `click` event.
|
|
7760
7762
|
* @type {string}
|
|
@@ -8317,8 +8319,7 @@ const _sfc_main$17 = defineComponent({
|
|
|
8317
8319
|
*/
|
|
8318
8320
|
yearSelector: {
|
|
8319
8321
|
type: Boolean,
|
|
8320
|
-
required: false
|
|
8321
|
-
default: false
|
|
8322
|
+
required: false
|
|
8322
8323
|
},
|
|
8323
8324
|
/**
|
|
8324
8325
|
* Optional id (generated by default).
|
|
@@ -8513,31 +8514,22 @@ const _sfc_main$16 = defineComponent({
|
|
|
8513
8514
|
enabled: {
|
|
8514
8515
|
type: Boolean,
|
|
8515
8516
|
required: false,
|
|
8517
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
8516
8518
|
default: true
|
|
8517
8519
|
},
|
|
8518
|
-
/**
|
|
8519
|
-
* Set to `true` if day is focused.
|
|
8520
|
-
*/
|
|
8521
|
-
focused: {
|
|
8522
|
-
type: Boolean,
|
|
8523
|
-
required: false,
|
|
8524
|
-
default: false
|
|
8525
|
-
},
|
|
8526
8520
|
/**
|
|
8527
8521
|
* Set to `true` if day is selected.
|
|
8528
8522
|
*/
|
|
8529
8523
|
selected: {
|
|
8530
8524
|
type: Boolean,
|
|
8531
|
-
required: false
|
|
8532
|
-
default: false
|
|
8525
|
+
required: false
|
|
8533
8526
|
},
|
|
8534
8527
|
/**
|
|
8535
8528
|
* Set to `true` if day should be highlighted.
|
|
8536
8529
|
*/
|
|
8537
8530
|
highlight: {
|
|
8538
8531
|
type: Boolean,
|
|
8539
|
-
required: false
|
|
8540
|
-
default: false
|
|
8532
|
+
required: false
|
|
8541
8533
|
}
|
|
8542
8534
|
},
|
|
8543
8535
|
computed: {
|
|
@@ -8624,6 +8616,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
8624
8616
|
}
|
|
8625
8617
|
},
|
|
8626
8618
|
setup(__props) {
|
|
8619
|
+
const props = __props;
|
|
8627
8620
|
const {
|
|
8628
8621
|
hasSlot: hasSlot2
|
|
8629
8622
|
} = useSlotUtils();
|
|
@@ -8633,7 +8626,6 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
8633
8626
|
const hasHeaderSlot = computed(() => hasSlot2("header"));
|
|
8634
8627
|
const hasFooterSlot = computed(() => hasSlot2("footer"));
|
|
8635
8628
|
const cardClass = computed(() => `card card--${hasError.value ? "error" : "default"}`);
|
|
8636
|
-
const props = __props;
|
|
8637
8629
|
onMounted(() => isMounted.value = true);
|
|
8638
8630
|
function onValidity({
|
|
8639
8631
|
detail
|
|
@@ -9103,6 +9095,7 @@ const _sfc_main$13 = defineComponent({
|
|
|
9103
9095
|
keyboardTrap: {
|
|
9104
9096
|
type: Boolean,
|
|
9105
9097
|
required: false,
|
|
9098
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
9106
9099
|
default: true
|
|
9107
9100
|
},
|
|
9108
9101
|
/**
|
|
@@ -9119,6 +9112,7 @@ const _sfc_main$13 = defineComponent({
|
|
|
9119
9112
|
setFocus: {
|
|
9120
9113
|
type: Boolean,
|
|
9121
9114
|
required: false,
|
|
9115
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
9122
9116
|
default: true
|
|
9123
9117
|
}
|
|
9124
9118
|
},
|
|
@@ -9790,7 +9784,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
9790
9784
|
}
|
|
9791
9785
|
}
|
|
9792
9786
|
return (_ctx, _cache) => {
|
|
9793
|
-
return
|
|
9787
|
+
return __props.isOpen ? (openBlock(), createBlock(Teleport, {
|
|
9794
9788
|
key: 0,
|
|
9795
9789
|
to: teleportTarget.value,
|
|
9796
9790
|
disabled: teleportDisabled
|
|
@@ -9898,8 +9892,7 @@ const _sfc_main$10 = defineComponent({
|
|
|
9898
9892
|
*/
|
|
9899
9893
|
enableKeyboardNavigation: {
|
|
9900
9894
|
type: Boolean,
|
|
9901
|
-
required: false
|
|
9902
|
-
default: false
|
|
9895
|
+
required: false
|
|
9903
9896
|
},
|
|
9904
9897
|
/**
|
|
9905
9898
|
* Unique accessible name for navigation landmark.
|
|
@@ -10156,14 +10149,14 @@ const _sfc_main$$ = defineComponent({
|
|
|
10156
10149
|
*/
|
|
10157
10150
|
animate: {
|
|
10158
10151
|
type: Boolean,
|
|
10152
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
10159
10153
|
default: true
|
|
10160
10154
|
},
|
|
10161
10155
|
/**
|
|
10162
10156
|
* Use v-show instead of v-if when hiding content.
|
|
10163
10157
|
*/
|
|
10164
10158
|
useVShow: {
|
|
10165
|
-
type: Boolean
|
|
10166
|
-
default: false
|
|
10159
|
+
type: Boolean
|
|
10167
10160
|
},
|
|
10168
10161
|
/**
|
|
10169
10162
|
* Toggle expanded/collapsed state
|
|
@@ -10175,6 +10168,7 @@ const _sfc_main$$ = defineComponent({
|
|
|
10175
10168
|
/* Toggle opacity in animation */
|
|
10176
10169
|
opacity: {
|
|
10177
10170
|
type: Boolean,
|
|
10171
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
10178
10172
|
default: true
|
|
10179
10173
|
},
|
|
10180
10174
|
/**
|
|
@@ -10659,22 +10653,22 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
|
10659
10653
|
});
|
|
10660
10654
|
return (_ctx, _cache) => {
|
|
10661
10655
|
return openBlock(), createElementBlock("div", _hoisted_1$J, [createVNode(unref(_sfc_main$11), {
|
|
10662
|
-
"is-open":
|
|
10663
|
-
anchor:
|
|
10664
|
-
"num-of-items":
|
|
10656
|
+
"is-open": __props.isOpen,
|
|
10657
|
+
anchor: __props.inputNode,
|
|
10658
|
+
"num-of-items": __props.options.length,
|
|
10665
10659
|
"active-element": activeElement.value,
|
|
10666
10660
|
class: "combobox__listbox",
|
|
10667
10661
|
onClose: onListboxClose
|
|
10668
10662
|
}, {
|
|
10669
10663
|
default: withCtx(() => [createElementVNode("ul", {
|
|
10670
|
-
id:
|
|
10664
|
+
id: __props.id,
|
|
10671
10665
|
ref: "listbox",
|
|
10672
10666
|
role: "listbox",
|
|
10673
10667
|
"aria-label": "Förslag",
|
|
10674
10668
|
class: "combobox__listbox__list"
|
|
10675
|
-
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
10669
|
+
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (item) => {
|
|
10676
10670
|
return openBlock(), createElementBlock("li", {
|
|
10677
|
-
id: isOptionActive(item) ?
|
|
10671
|
+
id: isOptionActive(item) ? __props.activeOptionId : void 0,
|
|
10678
10672
|
key: item,
|
|
10679
10673
|
role: "option",
|
|
10680
10674
|
"aria-selected": isOptionActive(item) ? "true" : void 0,
|
|
@@ -10696,8 +10690,8 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
|
10696
10690
|
setup(__props, {
|
|
10697
10691
|
emit: __emit
|
|
10698
10692
|
}) {
|
|
10699
|
-
const $t2 = useTranslate();
|
|
10700
10693
|
const emit = __emit;
|
|
10694
|
+
const $t2 = useTranslate();
|
|
10701
10695
|
const ariaLabel = $t2("fkui.combobox.toggle", "Öppna förslagen");
|
|
10702
10696
|
return (_ctx, _cache) => {
|
|
10703
10697
|
return openBlock(), createElementBlock("button", {
|
|
@@ -11104,6 +11098,7 @@ const _sfc_main$W = defineComponent({
|
|
|
11104
11098
|
/**
|
|
11105
11099
|
* The CSS classes for the label, description and error-message slot.
|
|
11106
11100
|
*/
|
|
11101
|
+
/* eslint-disable-next-line vue/no-unused-properties -- false positive, it is used by `labelClasses(this)` */
|
|
11107
11102
|
labelClass: {
|
|
11108
11103
|
type: String,
|
|
11109
11104
|
required: false,
|
|
@@ -11112,6 +11107,7 @@ const _sfc_main$W = defineComponent({
|
|
|
11112
11107
|
/**
|
|
11113
11108
|
* The CSS classes for the default slot.
|
|
11114
11109
|
*/
|
|
11110
|
+
/* eslint-disable-next-line vue/no-unused-properties -- false positive, it is used by `contentClasses(this)` */
|
|
11115
11111
|
contentClass: {
|
|
11116
11112
|
type: String,
|
|
11117
11113
|
required: false,
|
|
@@ -11130,8 +11126,7 @@ const _sfc_main$W = defineComponent({
|
|
|
11130
11126
|
*/
|
|
11131
11127
|
chip: {
|
|
11132
11128
|
type: Boolean,
|
|
11133
|
-
required: false
|
|
11134
|
-
default: false
|
|
11129
|
+
required: false
|
|
11135
11130
|
},
|
|
11136
11131
|
/**
|
|
11137
11132
|
* Displays a box with border around radiobuttons and checkboxes.
|
|
@@ -11383,8 +11378,7 @@ const _sfc_main$V = defineComponent({
|
|
|
11383
11378
|
*/
|
|
11384
11379
|
disabled: {
|
|
11385
11380
|
type: Boolean,
|
|
11386
|
-
required: false
|
|
11387
|
-
default: false
|
|
11381
|
+
required: false
|
|
11388
11382
|
},
|
|
11389
11383
|
/**
|
|
11390
11384
|
* The id for the input id attribute.
|
|
@@ -11982,13 +11976,6 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
11982
11976
|
required: false,
|
|
11983
11977
|
default: void 0
|
|
11984
11978
|
},
|
|
11985
|
-
/**
|
|
11986
|
-
* If `true` the primary button in the modals will be placed to the right side instead of to the left.
|
|
11987
|
-
*/
|
|
11988
|
-
primaryButtonRight: {
|
|
11989
|
-
type: Boolean,
|
|
11990
|
-
default: false
|
|
11991
|
-
},
|
|
11992
11979
|
/**
|
|
11993
11980
|
* If given, this function is called before the [[submit]] event is emitted.
|
|
11994
11981
|
* See <f-validation-form> `beforeSubmit` props for more info.
|
|
@@ -12048,6 +12035,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
12048
12035
|
setup(__props, {
|
|
12049
12036
|
emit: __emit
|
|
12050
12037
|
}) {
|
|
12038
|
+
const props = __props;
|
|
12039
|
+
const emit = __emit;
|
|
12051
12040
|
const $t2 = useTranslate();
|
|
12052
12041
|
const slots = useSlots();
|
|
12053
12042
|
const result = ref([]);
|
|
@@ -12059,8 +12048,6 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
12059
12048
|
const isConfirmModalOpen = ref(false);
|
|
12060
12049
|
const callbackAfterItemAdd = ref(() => ({}));
|
|
12061
12050
|
const callbackBeforeItemDelete = ref(() => ({}));
|
|
12062
|
-
const props = __props;
|
|
12063
|
-
const emit = __emit;
|
|
12064
12051
|
const formModalButtons = computed(() => {
|
|
12065
12052
|
const confirmButtonText = operation.value === Operation.ADD ? (
|
|
12066
12053
|
/** "Save" button in "add new" modal" */
|
|
@@ -12277,8 +12264,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
12277
12264
|
default: () => void 0
|
|
12278
12265
|
},
|
|
12279
12266
|
label: {
|
|
12280
|
-
type: Boolean
|
|
12281
|
-
default: () => void 0
|
|
12267
|
+
type: Boolean
|
|
12282
12268
|
}
|
|
12283
12269
|
},
|
|
12284
12270
|
emits: ["click"],
|
|
@@ -12291,11 +12277,11 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
12291
12277
|
type: "button",
|
|
12292
12278
|
class: "button table__button",
|
|
12293
12279
|
onClick: _cache[0] || (_cache[0] = ($event) => emit("click"))
|
|
12294
|
-
}, [
|
|
12280
|
+
}, [__props.icon ? (openBlock(), createBlock(unref(FIcon), {
|
|
12295
12281
|
key: 0,
|
|
12296
12282
|
class: "button__icon",
|
|
12297
|
-
name:
|
|
12298
|
-
}, null, 8, ["name"])) : createCommentVNode("", true), _cache[1] || (_cache[1] = createTextVNode()), !
|
|
12283
|
+
name: __props.icon
|
|
12284
|
+
}, null, 8, ["name"])) : createCommentVNode("", true), _cache[1] || (_cache[1] = createTextVNode()), !__props.label ? (openBlock(), createElementBlock("span", _hoisted_1$C, [renderSlot(_ctx.$slots, "default")])) : renderSlot(_ctx.$slots, "default", {
|
|
12299
12285
|
key: 2
|
|
12300
12286
|
})]);
|
|
12301
12287
|
};
|
|
@@ -12327,8 +12313,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
12327
12313
|
* Determines if an icon should be displayed on the button.
|
|
12328
12314
|
*/
|
|
12329
12315
|
icon: {
|
|
12330
|
-
type: Boolean
|
|
12331
|
-
default: false
|
|
12316
|
+
type: Boolean
|
|
12332
12317
|
},
|
|
12333
12318
|
/**
|
|
12334
12319
|
* The item that the action will be performed on.
|
|
@@ -12342,8 +12327,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
12342
12327
|
* If false, the button will use a visually hidden text for accessibility.
|
|
12343
12328
|
*/
|
|
12344
12329
|
label: {
|
|
12345
|
-
type: Boolean
|
|
12346
|
-
default: false
|
|
12330
|
+
type: Boolean
|
|
12347
12331
|
}
|
|
12348
12332
|
},
|
|
12349
12333
|
setup(__props) {
|
|
@@ -12501,6 +12485,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12501
12485
|
*/
|
|
12502
12486
|
visible: {
|
|
12503
12487
|
type: Boolean,
|
|
12488
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
12504
12489
|
default: true
|
|
12505
12490
|
},
|
|
12506
12491
|
/**
|
|
@@ -12509,8 +12494,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12509
12494
|
*/
|
|
12510
12495
|
rowHeader: {
|
|
12511
12496
|
type: Boolean,
|
|
12512
|
-
required: false
|
|
12513
|
-
default: false
|
|
12497
|
+
required: false
|
|
12514
12498
|
},
|
|
12515
12499
|
/**
|
|
12516
12500
|
* Text to show in column header. In order to force newlines use `\n`.
|
|
@@ -12534,8 +12518,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12534
12518
|
*/
|
|
12535
12519
|
shrink: {
|
|
12536
12520
|
type: Boolean,
|
|
12537
|
-
required: false
|
|
12538
|
-
default: false
|
|
12521
|
+
required: false
|
|
12539
12522
|
},
|
|
12540
12523
|
/**
|
|
12541
12524
|
* Set this column to expand as large as possible.
|
|
@@ -12546,8 +12529,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12546
12529
|
*/
|
|
12547
12530
|
expand: {
|
|
12548
12531
|
type: Boolean,
|
|
12549
|
-
required: false
|
|
12550
|
-
default: false
|
|
12532
|
+
required: false
|
|
12551
12533
|
},
|
|
12552
12534
|
/**
|
|
12553
12535
|
* Type of data the rows contains.
|
|
@@ -12572,6 +12554,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12572
12554
|
}
|
|
12573
12555
|
},
|
|
12574
12556
|
setup(__props) {
|
|
12557
|
+
const props = __props;
|
|
12575
12558
|
const {
|
|
12576
12559
|
renderColumns,
|
|
12577
12560
|
setVisibilityColumn: setVisibilityColumn2,
|
|
@@ -12581,7 +12564,6 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
12581
12564
|
const isHeader = ref(false);
|
|
12582
12565
|
const id = ElementIdService.generateElementId("column");
|
|
12583
12566
|
const el = useTemplateRef("element");
|
|
12584
|
-
const props = __props;
|
|
12585
12567
|
const classes = computed(() => {
|
|
12586
12568
|
return ["table__column", `table__column--${props.type}`];
|
|
12587
12569
|
});
|
|
@@ -12765,8 +12747,7 @@ const _sfc_main$O = defineComponent({
|
|
|
12765
12747
|
*/
|
|
12766
12748
|
inline: {
|
|
12767
12749
|
type: Boolean,
|
|
12768
|
-
required: false
|
|
12769
|
-
default: false
|
|
12750
|
+
required: false
|
|
12770
12751
|
},
|
|
12771
12752
|
/**
|
|
12772
12753
|
* The value for the input.
|
|
@@ -13006,8 +12987,7 @@ const _sfc_main$N = defineComponent({
|
|
|
13006
12987
|
*/
|
|
13007
12988
|
inline: {
|
|
13008
12989
|
type: Boolean,
|
|
13009
|
-
required: false
|
|
13010
|
-
default: false
|
|
12990
|
+
required: false
|
|
13011
12991
|
},
|
|
13012
12992
|
/**
|
|
13013
12993
|
* The value for the input.
|
|
@@ -13102,8 +13082,7 @@ const _sfc_main$N = defineComponent({
|
|
|
13102
13082
|
*/
|
|
13103
13083
|
disabled: {
|
|
13104
13084
|
type: Boolean,
|
|
13105
|
-
required: false
|
|
13106
|
-
default: false
|
|
13085
|
+
required: false
|
|
13107
13086
|
}
|
|
13108
13087
|
},
|
|
13109
13088
|
emits: [
|
|
@@ -13474,8 +13453,7 @@ const _sfc_main$M = defineComponent({
|
|
|
13474
13453
|
default: 80
|
|
13475
13454
|
},
|
|
13476
13455
|
extendedValidation: {
|
|
13477
|
-
type: Boolean
|
|
13478
|
-
default: false
|
|
13456
|
+
type: Boolean
|
|
13479
13457
|
},
|
|
13480
13458
|
/**
|
|
13481
13459
|
* The error message to be displayed on paste
|
|
@@ -13639,8 +13617,7 @@ const _sfc_main$L = defineComponent({
|
|
|
13639
13617
|
default: 80
|
|
13640
13618
|
},
|
|
13641
13619
|
extendedValidation: {
|
|
13642
|
-
type: Boolean
|
|
13643
|
-
default: false
|
|
13620
|
+
type: Boolean
|
|
13644
13621
|
}
|
|
13645
13622
|
},
|
|
13646
13623
|
emits: [
|
|
@@ -13753,11 +13730,13 @@ const _sfc_main$K = defineComponent({
|
|
|
13753
13730
|
extends: FTextField,
|
|
13754
13731
|
mixins: [TranslationMixin],
|
|
13755
13732
|
props: {
|
|
13733
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
13756
13734
|
formatter: {
|
|
13757
13735
|
type: Function,
|
|
13758
13736
|
required: false,
|
|
13759
13737
|
default: formatNumber$1
|
|
13760
13738
|
},
|
|
13739
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
13761
13740
|
parser: {
|
|
13762
13741
|
type: Function,
|
|
13763
13742
|
required: false,
|
|
@@ -13819,7 +13798,6 @@ const _sfc_main$J = defineComponent({
|
|
|
13819
13798
|
* @type {string | number}
|
|
13820
13799
|
*/
|
|
13821
13800
|
"change",
|
|
13822
|
-
"update",
|
|
13823
13801
|
/**
|
|
13824
13802
|
* V-model event.
|
|
13825
13803
|
*
|
|
@@ -13919,6 +13897,7 @@ const _sfc_main$I = defineComponent({
|
|
|
13919
13897
|
extends: FTextField,
|
|
13920
13898
|
mixins: [TranslationMixin],
|
|
13921
13899
|
props: {
|
|
13900
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
13922
13901
|
parser: {
|
|
13923
13902
|
type: Function,
|
|
13924
13903
|
required: false,
|
|
@@ -13948,6 +13927,7 @@ const _sfc_main$H = defineComponent({
|
|
|
13948
13927
|
extends: FTextField,
|
|
13949
13928
|
mixins: [TranslationMixin],
|
|
13950
13929
|
props: {
|
|
13930
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
13951
13931
|
formatter: {
|
|
13952
13932
|
type: Function,
|
|
13953
13933
|
required: false,
|
|
@@ -13980,6 +13960,7 @@ const _sfc_main$G = defineComponent({
|
|
|
13980
13960
|
extends: FTextField,
|
|
13981
13961
|
mixins: [TranslationMixin],
|
|
13982
13962
|
props: {
|
|
13963
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
13983
13964
|
formatter: {
|
|
13984
13965
|
type: Function,
|
|
13985
13966
|
required: false,
|
|
@@ -14014,16 +13995,19 @@ const _sfc_main$F = defineComponent({
|
|
|
14014
13995
|
/**
|
|
14015
13996
|
* The number of decimals to format number as.
|
|
14016
13997
|
*/
|
|
13998
|
+
/* eslint-disable-next-line vue/no-unused-properties -- technical debt */
|
|
14017
13999
|
decimals: {
|
|
14018
14000
|
type: Number,
|
|
14019
14001
|
required: false,
|
|
14020
14002
|
default: void 0
|
|
14021
14003
|
},
|
|
14004
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
14022
14005
|
formatter: {
|
|
14023
14006
|
type: Function,
|
|
14024
14007
|
required: false,
|
|
14025
14008
|
default: defaultFormatter$1
|
|
14026
14009
|
},
|
|
14010
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
14027
14011
|
parser: {
|
|
14028
14012
|
type: Function,
|
|
14029
14013
|
required: false,
|
|
@@ -14048,11 +14032,13 @@ const _sfc_main$E = defineComponent({
|
|
|
14048
14032
|
extends: FTextField,
|
|
14049
14033
|
mixins: [TranslationMixin],
|
|
14050
14034
|
props: {
|
|
14035
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
14051
14036
|
formatter: {
|
|
14052
14037
|
type: Function,
|
|
14053
14038
|
required: false,
|
|
14054
14039
|
default: formatPersonnummer$1
|
|
14055
14040
|
},
|
|
14041
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
14056
14042
|
parser: {
|
|
14057
14043
|
type: Function,
|
|
14058
14044
|
required: false,
|
|
@@ -14088,6 +14074,7 @@ const _sfc_main$D = defineComponent({
|
|
|
14088
14074
|
extends: FTextField,
|
|
14089
14075
|
mixins: [TranslationMixin],
|
|
14090
14076
|
props: {
|
|
14077
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
14091
14078
|
formatter: {
|
|
14092
14079
|
type: Function,
|
|
14093
14080
|
required: false,
|
|
@@ -14120,6 +14107,7 @@ const _sfc_main$C = defineComponent({
|
|
|
14120
14107
|
extends: FTextField,
|
|
14121
14108
|
mixins: [TranslationMixin],
|
|
14122
14109
|
props: {
|
|
14110
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
14123
14111
|
formatter: {
|
|
14124
14112
|
type: Function,
|
|
14125
14113
|
required: false,
|
|
@@ -14165,11 +14153,13 @@ const _sfc_main$B = defineComponent({
|
|
|
14165
14153
|
required: false,
|
|
14166
14154
|
default: void 0
|
|
14167
14155
|
},
|
|
14156
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
14168
14157
|
formatter: {
|
|
14169
14158
|
type: Function,
|
|
14170
14159
|
required: false,
|
|
14171
14160
|
default: defaultFormatter
|
|
14172
14161
|
},
|
|
14162
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
14173
14163
|
parser: {
|
|
14174
14164
|
type: Function,
|
|
14175
14165
|
required: false,
|
|
@@ -14205,6 +14195,7 @@ const _sfc_main$A = defineComponent({
|
|
|
14205
14195
|
extends: FTextField,
|
|
14206
14196
|
mixins: [TranslationMixin],
|
|
14207
14197
|
props: {
|
|
14198
|
+
/* eslint-disable-next-line vue/no-unused-properties -- used by FTextField (extended) */
|
|
14208
14199
|
formatter: {
|
|
14209
14200
|
type: Function,
|
|
14210
14201
|
required: false,
|
|
@@ -14354,6 +14345,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14354
14345
|
showSort: {
|
|
14355
14346
|
type: Boolean,
|
|
14356
14347
|
required: false,
|
|
14348
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
14357
14349
|
default: true
|
|
14358
14350
|
},
|
|
14359
14351
|
/**
|
|
@@ -14362,6 +14354,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14362
14354
|
showFilter: {
|
|
14363
14355
|
type: Boolean,
|
|
14364
14356
|
required: false,
|
|
14357
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
14365
14358
|
default: true
|
|
14366
14359
|
},
|
|
14367
14360
|
/**
|
|
@@ -14379,6 +14372,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14379
14372
|
defaultSortAscending: {
|
|
14380
14373
|
type: Boolean,
|
|
14381
14374
|
required: false,
|
|
14375
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
14382
14376
|
default: () => true
|
|
14383
14377
|
},
|
|
14384
14378
|
/**
|
|
@@ -14395,6 +14389,8 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14395
14389
|
setup(__props, {
|
|
14396
14390
|
emit: __emit
|
|
14397
14391
|
}) {
|
|
14392
|
+
const props = __props;
|
|
14393
|
+
const emit = __emit;
|
|
14398
14394
|
const $t2 = useTranslate();
|
|
14399
14395
|
const searchField = useTemplateRef("search-field");
|
|
14400
14396
|
const useDefaultSortOrder = ref(true);
|
|
@@ -14413,8 +14409,6 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
14413
14409
|
};
|
|
14414
14410
|
let tableCallbackSortableColumns = () => {
|
|
14415
14411
|
};
|
|
14416
|
-
const props = __props;
|
|
14417
|
-
const emit = __emit;
|
|
14418
14412
|
const showClearButton = computed(() => {
|
|
14419
14413
|
return searchString.value.length > 0;
|
|
14420
14414
|
});
|
|
@@ -14656,8 +14650,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
14656
14650
|
* When enabled alternating rows will use a different background color.
|
|
14657
14651
|
*/
|
|
14658
14652
|
striped: {
|
|
14659
|
-
type: Boolean
|
|
14660
|
-
default: false
|
|
14653
|
+
type: Boolean
|
|
14661
14654
|
},
|
|
14662
14655
|
/**
|
|
14663
14656
|
* Enable scrolling inside table.
|
|
@@ -14679,6 +14672,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
14679
14672
|
}
|
|
14680
14673
|
},
|
|
14681
14674
|
setup(__props) {
|
|
14675
|
+
const props = __props;
|
|
14682
14676
|
const $t2 = useTranslate();
|
|
14683
14677
|
const {
|
|
14684
14678
|
hasSlot: hasSlot2
|
|
@@ -14690,7 +14684,6 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
14690
14684
|
} = FSortFilterDatasetInjected();
|
|
14691
14685
|
const internalKey2 = getInternalKey();
|
|
14692
14686
|
const columns = ref([]);
|
|
14693
|
-
const props = __props;
|
|
14694
14687
|
const hasCaption = computed(() => {
|
|
14695
14688
|
return hasSlot2("caption", {}, {
|
|
14696
14689
|
stripClasses: []
|
|
@@ -14937,22 +14930,21 @@ const _sfc_main$x = defineComponent({
|
|
|
14937
14930
|
highlightToday: {
|
|
14938
14931
|
type: Boolean,
|
|
14939
14932
|
required: false,
|
|
14933
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
14940
14934
|
default: true
|
|
14941
14935
|
},
|
|
14942
14936
|
/**
|
|
14943
14937
|
* Always display inline.
|
|
14944
14938
|
*/
|
|
14945
14939
|
alwaysInline: {
|
|
14946
|
-
type: Boolean
|
|
14947
|
-
default: false
|
|
14940
|
+
type: Boolean
|
|
14948
14941
|
},
|
|
14949
14942
|
/**
|
|
14950
14943
|
* Includes a year selector when enabled.
|
|
14951
14944
|
*/
|
|
14952
14945
|
yearSelector: {
|
|
14953
14946
|
type: Boolean,
|
|
14954
|
-
required: false
|
|
14955
|
-
default: false
|
|
14947
|
+
required: false
|
|
14956
14948
|
},
|
|
14957
14949
|
/**
|
|
14958
14950
|
* Set responsive width for label section.
|
|
@@ -14983,8 +14975,7 @@ const _sfc_main$x = defineComponent({
|
|
|
14983
14975
|
*/
|
|
14984
14976
|
disabled: {
|
|
14985
14977
|
type: Boolean,
|
|
14986
|
-
required: false
|
|
14987
|
-
default: false
|
|
14978
|
+
required: false
|
|
14988
14979
|
}
|
|
14989
14980
|
},
|
|
14990
14981
|
emits: [
|
|
@@ -15582,7 +15573,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
15582
15573
|
});
|
|
15583
15574
|
return (_ctx, _cache) => {
|
|
15584
15575
|
return openBlock(), createBlock(resolveDynamicComponent(ceTag$2), {
|
|
15585
|
-
layout:
|
|
15576
|
+
layout: __props.layout,
|
|
15586
15577
|
onUpdate: _cache[0] || (_cache[0] = ($event) => emit("update"))
|
|
15587
15578
|
}, {
|
|
15588
15579
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(unref(proxy))))]),
|
|
@@ -15820,8 +15811,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15820
15811
|
__name: "FResizePane.ce",
|
|
15821
15812
|
props: {
|
|
15822
15813
|
disabled: {
|
|
15823
|
-
type: Boolean
|
|
15824
|
-
default: false
|
|
15814
|
+
type: Boolean
|
|
15825
15815
|
},
|
|
15826
15816
|
min: {
|
|
15827
15817
|
default: "0",
|
|
@@ -15836,8 +15826,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15836
15826
|
type: String
|
|
15837
15827
|
},
|
|
15838
15828
|
overlay: {
|
|
15839
|
-
type: Boolean
|
|
15840
|
-
default: false
|
|
15829
|
+
type: Boolean
|
|
15841
15830
|
},
|
|
15842
15831
|
offset: {
|
|
15843
15832
|
default: 0,
|
|
@@ -15850,9 +15839,9 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15850
15839
|
}) {
|
|
15851
15840
|
const props = __props;
|
|
15852
15841
|
const emit = __emit;
|
|
15853
|
-
const root =
|
|
15854
|
-
const content2 =
|
|
15855
|
-
const separator =
|
|
15842
|
+
const root = useTemplateRef("root");
|
|
15843
|
+
const content2 = useTemplateRef("content");
|
|
15844
|
+
const separator = useTemplateRef("separator");
|
|
15856
15845
|
const state = ref({
|
|
15857
15846
|
min: -1,
|
|
15858
15847
|
max: -1,
|
|
@@ -15980,7 +15969,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
15980
15969
|
}
|
|
15981
15970
|
}
|
|
15982
15971
|
return (_ctx, _cache) => {
|
|
15983
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
15972
|
+
return openBlock(), createElementBlock(Fragment, null, [__props.overlay && __props.offset ? (openBlock(), createElementBlock("div", _hoisted_1$s)) : createCommentVNode("", true), _cache[1] || (_cache[1] = createTextVNode()), createElementVNode("div", mergeProps({
|
|
15984
15973
|
ref_key: "root",
|
|
15985
15974
|
ref: root,
|
|
15986
15975
|
class: ["resize", classes.value]
|
|
@@ -16050,6 +16039,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
16050
16039
|
}
|
|
16051
16040
|
},
|
|
16052
16041
|
setup(__props) {
|
|
16042
|
+
const props = __props;
|
|
16053
16043
|
if (!customElements.get(tagName$1)) {
|
|
16054
16044
|
customElements.define(tagName$1, defineCustomElement(FResizePane));
|
|
16055
16045
|
}
|
|
@@ -16108,7 +16098,6 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
16108
16098
|
const disabled = computed(() => anyEnabled.value === false);
|
|
16109
16099
|
const hidden = computed(() => anyVisible.value === false);
|
|
16110
16100
|
const overlay = computed(() => anyOverlay.value === true);
|
|
16111
|
-
const props = __props;
|
|
16112
16101
|
function onResize(event) {
|
|
16113
16102
|
size.value = event.detail[0];
|
|
16114
16103
|
}
|
|
@@ -16152,11 +16141,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
16152
16141
|
setup(__props, {
|
|
16153
16142
|
emit: __emit
|
|
16154
16143
|
}) {
|
|
16144
|
+
const emit = __emit;
|
|
16155
16145
|
const rootElement = useTemplateRef("root");
|
|
16156
16146
|
const {
|
|
16157
16147
|
attachPanel
|
|
16158
16148
|
} = useAreaData(rootElement);
|
|
16159
|
-
const emit = __emit;
|
|
16160
16149
|
const attachClass = computed(() => {
|
|
16161
16150
|
switch (attachPanel.value) {
|
|
16162
16151
|
case "left":
|
|
@@ -16225,7 +16214,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16225
16214
|
return (_ctx, _cache) => {
|
|
16226
16215
|
return visible.value ? (openBlock(), createBlock(resolveDynamicComponent(tagName), {
|
|
16227
16216
|
key: 0,
|
|
16228
|
-
"data-panel-name":
|
|
16217
|
+
"data-panel-name": __props.name,
|
|
16229
16218
|
onClosed: _cache[0] || (_cache[0] = ($event) => onClose())
|
|
16230
16219
|
}, {
|
|
16231
16220
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps({
|
|
@@ -16257,6 +16246,7 @@ const _sfc_main$q = defineComponent({
|
|
|
16257
16246
|
/**
|
|
16258
16247
|
* Current dialogue question
|
|
16259
16248
|
*/
|
|
16249
|
+
/* eslint-disable-next-line vue/no-unused-properties -- one-way binding, we ignore what the consumer sets this to */
|
|
16260
16250
|
modelValue: {
|
|
16261
16251
|
type: Object,
|
|
16262
16252
|
required: true
|
|
@@ -16374,8 +16364,7 @@ const _sfc_main$p = defineComponent({
|
|
|
16374
16364
|
*/
|
|
16375
16365
|
expanded: {
|
|
16376
16366
|
type: Boolean,
|
|
16377
|
-
required: false
|
|
16378
|
-
default: false
|
|
16367
|
+
required: false
|
|
16379
16368
|
},
|
|
16380
16369
|
/**
|
|
16381
16370
|
* Element to render for the header element inside the expandable panel.
|
|
@@ -16514,8 +16503,7 @@ const _sfc_main$o = defineComponent({
|
|
|
16514
16503
|
*/
|
|
16515
16504
|
expanded: {
|
|
16516
16505
|
type: Boolean,
|
|
16517
|
-
required: false
|
|
16518
|
-
default: false
|
|
16506
|
+
required: false
|
|
16519
16507
|
},
|
|
16520
16508
|
/**
|
|
16521
16509
|
* Element to render for the button elmement
|
|
@@ -16546,7 +16534,6 @@ const _sfc_main$o = defineComponent({
|
|
|
16546
16534
|
*/
|
|
16547
16535
|
list: {
|
|
16548
16536
|
type: Boolean,
|
|
16549
|
-
default: false,
|
|
16550
16537
|
required: false
|
|
16551
16538
|
},
|
|
16552
16539
|
/**
|
|
@@ -16778,12 +16765,7 @@ const _sfc_main$m = defineComponent({
|
|
|
16778
16765
|
*/
|
|
16779
16766
|
disabled: {
|
|
16780
16767
|
type: Boolean,
|
|
16781
|
-
required: false
|
|
16782
|
-
default: false
|
|
16783
|
-
},
|
|
16784
|
-
modelValue: {
|
|
16785
|
-
type: Object,
|
|
16786
|
-
default: null
|
|
16768
|
+
required: false
|
|
16787
16769
|
}
|
|
16788
16770
|
},
|
|
16789
16771
|
emits: [
|
|
@@ -16792,8 +16774,7 @@ const _sfc_main$m = defineComponent({
|
|
|
16792
16774
|
*
|
|
16793
16775
|
* @type {FileList}
|
|
16794
16776
|
*/
|
|
16795
|
-
"change"
|
|
16796
|
-
"update:modelValue"
|
|
16777
|
+
"change"
|
|
16797
16778
|
],
|
|
16798
16779
|
computed: {
|
|
16799
16780
|
attrs() {
|
|
@@ -17070,8 +17051,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17070
17051
|
* When enabled hovering over a row will be highlighted.
|
|
17071
17052
|
*/
|
|
17072
17053
|
hover: {
|
|
17073
|
-
type: Boolean
|
|
17074
|
-
default: false
|
|
17054
|
+
type: Boolean
|
|
17075
17055
|
},
|
|
17076
17056
|
/**
|
|
17077
17057
|
* Unique attribute in rows.
|
|
@@ -17105,15 +17085,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17105
17085
|
* or deselected.
|
|
17106
17086
|
*/
|
|
17107
17087
|
selectable: {
|
|
17108
|
-
type: Boolean
|
|
17109
|
-
default: false
|
|
17088
|
+
type: Boolean
|
|
17110
17089
|
},
|
|
17111
17090
|
/**
|
|
17112
17091
|
* When enabled alternating rows will use a different background color.
|
|
17113
17092
|
*/
|
|
17114
17093
|
striped: {
|
|
17115
|
-
type: Boolean
|
|
17116
|
-
default: false
|
|
17094
|
+
type: Boolean
|
|
17117
17095
|
},
|
|
17118
17096
|
/**
|
|
17119
17097
|
* Enable scrolling inside table.
|
|
@@ -17139,6 +17117,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17139
17117
|
showActive: {
|
|
17140
17118
|
type: Boolean,
|
|
17141
17119
|
required: false,
|
|
17120
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
17142
17121
|
default: true
|
|
17143
17122
|
},
|
|
17144
17123
|
/**
|
|
@@ -17163,6 +17142,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17163
17142
|
setup(__props, {
|
|
17164
17143
|
emit: __emit
|
|
17165
17144
|
}) {
|
|
17145
|
+
const props = __props;
|
|
17146
|
+
const emit = __emit;
|
|
17166
17147
|
const $t2 = useTranslate();
|
|
17167
17148
|
const slots = useSlots();
|
|
17168
17149
|
const {
|
|
@@ -17185,8 +17166,6 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
17185
17166
|
const tr = shallowRef([]);
|
|
17186
17167
|
const trAll = shallowRef([]);
|
|
17187
17168
|
const tbodyKey = ref(0);
|
|
17188
|
-
const props = __props;
|
|
17189
|
-
const emit = __emit;
|
|
17190
17169
|
const expandableTable = useExpandableTable(props.expandableAttribute, internalKey2, props.expandableDescribedby, emit, slots);
|
|
17191
17170
|
const {
|
|
17192
17171
|
isExpandableTable,
|
|
@@ -18146,8 +18125,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18146
18125
|
* @see 'select' and 'unselect' events.
|
|
18147
18126
|
*/
|
|
18148
18127
|
selectable: {
|
|
18149
|
-
type: Boolean
|
|
18150
|
-
default: false
|
|
18128
|
+
type: Boolean
|
|
18151
18129
|
},
|
|
18152
18130
|
/**
|
|
18153
18131
|
* Only applies if selectable:true
|
|
@@ -18156,6 +18134,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18156
18134
|
*/
|
|
18157
18135
|
checkbox: {
|
|
18158
18136
|
type: Boolean,
|
|
18137
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
18159
18138
|
default: true
|
|
18160
18139
|
},
|
|
18161
18140
|
/**
|
|
@@ -18186,6 +18165,8 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18186
18165
|
setup(__props, {
|
|
18187
18166
|
emit: __emit
|
|
18188
18167
|
}) {
|
|
18168
|
+
const props = __props;
|
|
18169
|
+
const emit = __emit;
|
|
18189
18170
|
const $t2 = useTranslate();
|
|
18190
18171
|
const slots = useSlots();
|
|
18191
18172
|
const {
|
|
@@ -18195,9 +18176,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18195
18176
|
const internalKey2 = getInternalKey();
|
|
18196
18177
|
const selectedItems = ref([]);
|
|
18197
18178
|
const activeItem = ref(void 0);
|
|
18198
|
-
const ulElement =
|
|
18199
|
-
const props = __props;
|
|
18200
|
-
const emit = __emit;
|
|
18179
|
+
const ulElement = useTemplateRef("ulElement");
|
|
18201
18180
|
const isEmpty2 = computed(() => {
|
|
18202
18181
|
return internalItems.value.length === 0;
|
|
18203
18182
|
});
|
|
@@ -18425,24 +18404,21 @@ const _sfc_main$e = defineComponent({
|
|
|
18425
18404
|
*/
|
|
18426
18405
|
show: {
|
|
18427
18406
|
type: Boolean,
|
|
18428
|
-
required: false
|
|
18429
|
-
default: false
|
|
18407
|
+
required: false
|
|
18430
18408
|
},
|
|
18431
18409
|
/**
|
|
18432
18410
|
* If loader should be displayed as a fullscreen overlay.
|
|
18433
18411
|
*/
|
|
18434
18412
|
overlay: {
|
|
18435
18413
|
type: Boolean,
|
|
18436
|
-
required: false
|
|
18437
|
-
default: false
|
|
18414
|
+
required: false
|
|
18438
18415
|
},
|
|
18439
18416
|
/**
|
|
18440
18417
|
* Delay the loader icon and text by 1 second
|
|
18441
18418
|
*/
|
|
18442
18419
|
delay: {
|
|
18443
18420
|
type: Boolean,
|
|
18444
|
-
required: false
|
|
18445
|
-
default: false
|
|
18421
|
+
required: false
|
|
18446
18422
|
},
|
|
18447
18423
|
/**
|
|
18448
18424
|
* Language used for determining fallback value for the loading text. Useful if loader is displayed before
|
|
@@ -18461,6 +18437,7 @@ const _sfc_main$e = defineComponent({
|
|
|
18461
18437
|
focusOnOverlay: {
|
|
18462
18438
|
type: Boolean,
|
|
18463
18439
|
required: false,
|
|
18440
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
18464
18441
|
default: true
|
|
18465
18442
|
},
|
|
18466
18443
|
/*
|
|
@@ -18698,6 +18675,7 @@ const _sfc_main$c = defineComponent({
|
|
|
18698
18675
|
provideScreenReaderContext: {
|
|
18699
18676
|
type: Boolean,
|
|
18700
18677
|
required: false,
|
|
18678
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
18701
18679
|
default: true
|
|
18702
18680
|
},
|
|
18703
18681
|
/**
|
|
@@ -18873,8 +18851,7 @@ const _sfc_main$b = defineComponent({
|
|
|
18873
18851
|
*/
|
|
18874
18852
|
vertical: {
|
|
18875
18853
|
type: Boolean,
|
|
18876
|
-
required: false
|
|
18877
|
-
default: false
|
|
18854
|
+
required: false
|
|
18878
18855
|
},
|
|
18879
18856
|
/**
|
|
18880
18857
|
* Screen reader text for selected item
|
|
@@ -19725,7 +19702,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19725
19702
|
* Accessible name for this progressbar. Should describe the purpose of this
|
|
19726
19703
|
* progressbar.
|
|
19727
19704
|
*/
|
|
19728
|
-
/* eslint-disable-next-line vue/prop-name-casing -- vue does not allow ariaLabel as a prop as it collides with internal types */
|
|
19705
|
+
/* eslint-disable-next-line vue/prop-name-casing, vue/no-unused-properties -- vue does not allow ariaLabel as a prop as it collides with internal types */
|
|
19729
19706
|
"aria-label": {
|
|
19730
19707
|
type: String,
|
|
19731
19708
|
required: true
|
|
@@ -19775,8 +19752,7 @@ const _sfc_main$4 = defineComponent({
|
|
|
19775
19752
|
*/
|
|
19776
19753
|
disabled: {
|
|
19777
19754
|
type: Boolean,
|
|
19778
|
-
required: false
|
|
19779
|
-
default: false
|
|
19755
|
+
required: false
|
|
19780
19756
|
},
|
|
19781
19757
|
/**
|
|
19782
19758
|
* The id for the input id attribute.
|
|
@@ -20057,15 +20033,13 @@ const _sfc_main$2 = defineComponent({
|
|
|
20057
20033
|
* Specifies that the component should be disabled, i.e. unusable.
|
|
20058
20034
|
*/
|
|
20059
20035
|
disabled: {
|
|
20060
|
-
type: Boolean
|
|
20061
|
-
default: false
|
|
20036
|
+
type: Boolean
|
|
20062
20037
|
},
|
|
20063
20038
|
/**
|
|
20064
20039
|
* Enabling vertical resizing of the textarea
|
|
20065
20040
|
*/
|
|
20066
20041
|
resizable: {
|
|
20067
|
-
type: Boolean
|
|
20068
|
-
default: false
|
|
20042
|
+
type: Boolean
|
|
20069
20043
|
}
|
|
20070
20044
|
},
|
|
20071
20045
|
emits: [
|
|
@@ -20304,8 +20278,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
20304
20278
|
*/
|
|
20305
20279
|
disableInitialFocus: {
|
|
20306
20280
|
type: Boolean,
|
|
20307
|
-
required: false
|
|
20308
|
-
default: false
|
|
20281
|
+
required: false
|
|
20309
20282
|
}
|
|
20310
20283
|
},
|
|
20311
20284
|
emits: [
|
|
@@ -20478,6 +20451,7 @@ const _sfc_main = defineComponent({
|
|
|
20478
20451
|
useErrorList: {
|
|
20479
20452
|
type: Boolean,
|
|
20480
20453
|
required: false,
|
|
20454
|
+
/* eslint-disable-next-line vue/no-boolean-default -- technical debt, boolean attributes should be opt-in not opt-out */
|
|
20481
20455
|
default: true
|
|
20482
20456
|
}
|
|
20483
20457
|
},
|