@7365admin1/layer-common 4.0.3-staging.231 → 4.0.3-staging.232
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.
|
@@ -5,9 +5,16 @@
|
|
|
5
5
|
{{ isEditing ? "Edit Plan" : "Create New Plan" }}
|
|
6
6
|
</v-card-title>
|
|
7
7
|
|
|
8
|
-
<!--
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
<!--
|
|
9
|
+
Form Content. The FORM sits INSIDE the body, not around it. The body is
|
|
10
|
+
what scrolls; a `v-form` wrapped around body + footer is an unshrinkable
|
|
11
|
+
flex item, so a long applications list pushed the footer past the card's
|
|
12
|
+
capped height and Save became unreachable. Same shape as
|
|
13
|
+
`AccessCardAddForm`. Submit is fired from the footer button by hand
|
|
14
|
+
because the button now lives outside the form element.
|
|
15
|
+
-->
|
|
16
|
+
<v-card-text class="screen-modal__body px-6 pt-4">
|
|
17
|
+
<v-form ref="formRef" @submit.prevent="submit">
|
|
11
18
|
<!-- Plan Details Section -->
|
|
12
19
|
<div class="plan-form__section">Plan Details</div>
|
|
13
20
|
|
|
@@ -196,24 +203,24 @@
|
|
|
196
203
|
>
|
|
197
204
|
{{ errors.pricing }}
|
|
198
205
|
</v-alert>
|
|
199
|
-
</v-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
</v-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
</v-
|
|
214
|
-
</v-
|
|
215
|
-
</v-
|
|
216
|
-
</v-
|
|
206
|
+
</v-form>
|
|
207
|
+
</v-card-text>
|
|
208
|
+
|
|
209
|
+
<!-- Footer Buttons -->
|
|
210
|
+
<v-card-actions class="screen-modal__footer">
|
|
211
|
+
<v-row no-gutters>
|
|
212
|
+
<v-col cols="6" class="pr-2">
|
|
213
|
+
<v-btn block variant="outlined" class="text-none screen-btn-ghost" @click="$emit('cancel')">
|
|
214
|
+
Cancel
|
|
215
|
+
</v-btn>
|
|
216
|
+
</v-col>
|
|
217
|
+
<v-col cols="6" class="pl-2">
|
|
218
|
+
<v-btn block variant="flat" class="text-none screen-btn-primary" @click="submit">
|
|
219
|
+
{{ isEditing ? "Save Changes" : "Create Plan" }}
|
|
220
|
+
</v-btn>
|
|
221
|
+
</v-col>
|
|
222
|
+
</v-row>
|
|
223
|
+
</v-card-actions>
|
|
217
224
|
</v-card>
|
|
218
225
|
</template>
|
|
219
226
|
|
|
@@ -181,15 +181,20 @@
|
|
|
181
181
|
</v-data-table>
|
|
182
182
|
</AppCard>
|
|
183
183
|
|
|
184
|
-
<!--
|
|
184
|
+
<!--
|
|
185
|
+
Create / Edit Dialog. The form component renders its OWN `.screen-modal`
|
|
186
|
+
card, so it has to be the dialog's DIRECT child: Vuetify only makes
|
|
187
|
+
`.v-overlay__content > .v-card` a capped flex column. Wrapping it in a
|
|
188
|
+
second `v-card` handed that treatment to the wrapper and left the real
|
|
189
|
+
card a plain `overflow: hidden` block - it grew past the viewport and
|
|
190
|
+
clipped its own Cancel/Save footer, with no scrollbar to reach it.
|
|
191
|
+
-->
|
|
185
192
|
<v-dialog v-model="showModal" max-width="600px" persistent>
|
|
186
|
-
<
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
/>
|
|
192
|
-
</v-card>
|
|
193
|
+
<CreateSubscriptionPlan
|
|
194
|
+
:initial-plan="editingPlan"
|
|
195
|
+
@cancel="closeModal"
|
|
196
|
+
@submit="handleSubmit"
|
|
197
|
+
/>
|
|
193
198
|
</v-dialog>
|
|
194
199
|
|
|
195
200
|
<Snackbar v-model="messageSnackbar" :text="message" :color="messageColor" />
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@7365admin1/layer-common",
|
|
3
3
|
"license": "MIT",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "4.0.3-staging.
|
|
5
|
+
"version": "4.0.3-staging.232",
|
|
6
6
|
"author": "7365admin1",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",
|