qt-ui-kit 1.0.34 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -15128,6 +15128,7 @@ import { jsx as jsx17, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
|
15128
15128
|
function PreviewCard({
|
|
15129
15129
|
eventID,
|
|
15130
15130
|
onSelected,
|
|
15131
|
+
unSelectable,
|
|
15131
15132
|
onChecked,
|
|
15132
15133
|
service,
|
|
15133
15134
|
subjectLine,
|
|
@@ -15156,6 +15157,9 @@ function PreviewCard({
|
|
|
15156
15157
|
}
|
|
15157
15158
|
}
|
|
15158
15159
|
function toggleSelected() {
|
|
15160
|
+
if (unSelectable) {
|
|
15161
|
+
return;
|
|
15162
|
+
}
|
|
15159
15163
|
setSelected(!selected);
|
|
15160
15164
|
if (onSelected) {
|
|
15161
15165
|
onSelected(eventID);
|