@ai-table/state 0.5.0 → 0.5.2
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/fesm2022/ai-table-state.mjs +3 -3
- package/fesm2022/ai-table-state.mjs.map +1 -1
- package/index.d.ts +3 -3
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2510,7 +2510,7 @@ const EditFieldPropertyItem = (aiTable, actions, references) => ({
|
|
|
2510
2510
|
origin: origin,
|
|
2511
2511
|
position
|
|
2512
2512
|
});
|
|
2513
|
-
if (popoverRef
|
|
2513
|
+
if (popoverRef) {
|
|
2514
2514
|
popoverRef.componentInstance.setField.subscribe(({ fieldOptions }) => {
|
|
2515
2515
|
updateFieldAndValues(aiTable, references, actions, fieldOptions);
|
|
2516
2516
|
});
|
|
@@ -2615,7 +2615,7 @@ const AddFieldBeforeItem = (aiTable, actions, references) => {
|
|
|
2615
2615
|
origin: origin,
|
|
2616
2616
|
position
|
|
2617
2617
|
});
|
|
2618
|
-
if (popoverRef
|
|
2618
|
+
if (popoverRef) {
|
|
2619
2619
|
popoverRef.componentInstance.addField.subscribe((fieldValue) => {
|
|
2620
2620
|
const fieldOptions = {
|
|
2621
2621
|
beforeItemId: targetFieldId,
|
|
@@ -2658,7 +2658,7 @@ const AddFieldAfterItem = (aiTable, actions, references) => {
|
|
|
2658
2658
|
origin: origin,
|
|
2659
2659
|
position
|
|
2660
2660
|
});
|
|
2661
|
-
if (popoverRef
|
|
2661
|
+
if (popoverRef) {
|
|
2662
2662
|
popoverRef.componentInstance.addField.subscribe((fieldValue) => {
|
|
2663
2663
|
const fieldOptions = {
|
|
2664
2664
|
afterItemId: targetFieldId,
|