seat-editor 3.3.45 → 3.3.46
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/app/constant.d.ts +1 -3
- package/dist/app/constant.js +3 -3
- package/dist/app/only-view/constant.d.ts +288 -30
- package/dist/app/only-view/constant.js +7227 -912
- package/dist/app/only-view/page.jsx +7 -7
- package/dist/features/view-only-2/index.jsx +1 -1
- package/dist/features/view-only-3/index.jsx +6 -2
- package/package.json +1 -1
|
@@ -189,7 +189,7 @@ const TouchScrollDetect = () => {
|
|
|
189
189
|
-
|
|
190
190
|
</button>
|
|
191
191
|
</div>
|
|
192
|
-
<LayerView refs={refLayer} statusKey="
|
|
192
|
+
<LayerView refs={refLayer} statusKey="is_late" privilegedTags={[
|
|
193
193
|
{
|
|
194
194
|
key: "table",
|
|
195
195
|
items: ["text", "icon"],
|
|
@@ -202,13 +202,13 @@ const TouchScrollDetect = () => {
|
|
|
202
202
|
handleSelectTable(component);
|
|
203
203
|
}} dragTableBlockKey={[
|
|
204
204
|
{
|
|
205
|
-
key: "
|
|
206
|
-
value:
|
|
205
|
+
key: "code",
|
|
206
|
+
value: "V1",
|
|
207
207
|
},
|
|
208
|
-
{
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
}
|
|
208
|
+
// {
|
|
209
|
+
// key: "rsvp",
|
|
210
|
+
// value: 1
|
|
211
|
+
// }
|
|
212
212
|
]} tableMatchKey={[
|
|
213
213
|
{
|
|
214
214
|
key: 0,
|
|
@@ -324,7 +324,7 @@ const LayerView = (props) => {
|
|
|
324
324
|
: !((_a = props === null || props === void 0 ? void 0 : props.dragTableBlockKey) === null || _a === void 0 ? void 0 : _a.some((_) => {
|
|
325
325
|
const dataRaw = originalData({ id: ghostId, type: "find" });
|
|
326
326
|
return _.value === (dataRaw === null || dataRaw === void 0 ? void 0 : dataRaw[_.key]);
|
|
327
|
-
}))) &&
|
|
327
|
+
}))) && ((actionPrivileged === null || actionPrivileged === void 0 ? void 0 : actionPrivileged.move) && (actionPrivileged === null || actionPrivileged === void 0 ? void 0 : actionPrivileged.switch));
|
|
328
328
|
if (ghostAttributes) {
|
|
329
329
|
Object.keys(ghostAttributes).forEach((key) => {
|
|
330
330
|
ghost.setAttribute(key, ghostAttributes[key]);
|
|
@@ -300,7 +300,7 @@ const LayerView = (props) => {
|
|
|
300
300
|
return { x: transformed.x, y: transformed.y };
|
|
301
301
|
};
|
|
302
302
|
const handlePointerDown = (e) => {
|
|
303
|
-
var _a;
|
|
303
|
+
var _a, _b;
|
|
304
304
|
const svg = svgRef.current;
|
|
305
305
|
if (!e.isPrimary)
|
|
306
306
|
return;
|
|
@@ -325,7 +325,11 @@ const LayerView = (props) => {
|
|
|
325
325
|
: !((_a = props === null || props === void 0 ? void 0 : props.dragTableBlockKey) === null || _a === void 0 ? void 0 : _a.some((_) => {
|
|
326
326
|
const dataRaw = originalData({ id: ghostId, type: "find" });
|
|
327
327
|
return _.value === (dataRaw === null || dataRaw === void 0 ? void 0 : dataRaw[_.key]);
|
|
328
|
-
}))) &&
|
|
328
|
+
}))) && ((actionPrivileged === null || actionPrivileged === void 0 ? void 0 : actionPrivileged.move) && (actionPrivileged === null || actionPrivileged === void 0 ? void 0 : actionPrivileged.switch));
|
|
329
|
+
console.log({ allowedDrag }, !((_b = props === null || props === void 0 ? void 0 : props.dragTableBlockKey) === null || _b === void 0 ? void 0 : _b.some((_) => {
|
|
330
|
+
const dataRaw = originalData({ id: ghostId, type: "find" });
|
|
331
|
+
return _.value === (dataRaw === null || dataRaw === void 0 ? void 0 : dataRaw[_.key]);
|
|
332
|
+
})), ((actionPrivileged === null || actionPrivileged === void 0 ? void 0 : actionPrivileged.move) && (actionPrivileged === null || actionPrivileged === void 0 ? void 0 : actionPrivileged.switch)));
|
|
329
333
|
if (ghostAttributes) {
|
|
330
334
|
Object.keys(ghostAttributes).forEach((key) => {
|
|
331
335
|
ghost.setAttribute(key, ghostAttributes[key]);
|