@myissue/vue-website-page-builder 3.5.7 → 3.5.8
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/services/PageBuilderService.d.ts +19 -12
- package/dist/style.css +1 -1
- package/dist/vue-website-page-builder.js +8392 -8110
- package/dist/vue-website-page-builder.umd.cjs +94 -94
- package/package.json +1 -1
- /package/dist/Components/PageBuilder/EditorMenu/Editables/{Margin.vue.d.ts → MarginControl.vue.d.ts} +0 -0
- /package/dist/Components/PageBuilder/EditorMenu/Editables/{Padding.vue.d.ts → PaddingControl.vue.d.ts} +0 -0
|
@@ -262,64 +262,71 @@ export declare class PageBuilderService {
|
|
|
262
262
|
* @param {string} [userSelectedFontStyle] - The selected font style class.
|
|
263
263
|
*/
|
|
264
264
|
handleFontStyle(userSelectedFontStyle?: string): void;
|
|
265
|
+
/**
|
|
266
|
+
* Removes every class that appears in any of the given arrays from the currently
|
|
267
|
+
* selected element. Used to strip conflicting shorthand/directional padding or
|
|
268
|
+
* margin classes before applying a new value (e.g. remove pbx-py-* when setting
|
|
269
|
+
* pbx-pt-*, so the shorthand never silently overrides the directional value).
|
|
270
|
+
*/
|
|
271
|
+
private purgeConflictingClasses;
|
|
265
272
|
/**
|
|
266
273
|
* Handles changes to the vertical padding of the selected element.
|
|
267
|
-
*
|
|
274
|
+
* py-* shorthand: also clear individual pt-* and pb-* so they don't override.
|
|
268
275
|
*/
|
|
269
276
|
handleVerticalPadding(userSelectedVerticalPadding?: string): void;
|
|
270
277
|
/**
|
|
271
278
|
* Handles changes to the horizontal padding of the selected element.
|
|
272
|
-
*
|
|
279
|
+
* px-* shorthand: also clear individual pl-* and pr-* so they don't override.
|
|
273
280
|
*/
|
|
274
281
|
handleHorizontalPadding(userSelectedHorizontalPadding?: string): void;
|
|
275
282
|
/**
|
|
276
283
|
* Handles changes to the top padding of the selected element.
|
|
277
|
-
*
|
|
284
|
+
* pt-*: also clear py-* shorthand which also sets padding-top.
|
|
278
285
|
*/
|
|
279
286
|
handleTopPadding(userSelectedTopPadding?: string): void;
|
|
280
287
|
/**
|
|
281
288
|
* Handles changes to the right padding of the selected element.
|
|
282
|
-
*
|
|
289
|
+
* pr-*: also clear px-* shorthand which also sets padding-right.
|
|
283
290
|
*/
|
|
284
291
|
handleRightPadding(userSelectedRightPadding?: string): void;
|
|
285
292
|
/**
|
|
286
293
|
* Handles changes to the bottom padding of the selected element.
|
|
287
|
-
*
|
|
294
|
+
* pb-*: also clear py-* shorthand which also sets padding-bottom.
|
|
288
295
|
*/
|
|
289
296
|
handleBottomPadding(userSelectedBottomPadding?: string): void;
|
|
290
297
|
/**
|
|
291
298
|
* Handles changes to the left padding of the selected element.
|
|
292
|
-
*
|
|
299
|
+
* pl-*: also clear px-* shorthand which also sets padding-left.
|
|
293
300
|
*/
|
|
294
301
|
handleLeftPadding(userSelectedLeftPadding?: string): void;
|
|
295
302
|
/**
|
|
296
303
|
* Handles changes to the vertical margin of the selected element.
|
|
297
|
-
*
|
|
304
|
+
* my-* shorthand: also clear individual mt-* and mb-*.
|
|
298
305
|
*/
|
|
299
306
|
handleVerticalMargin(userSelectedVerticalMargin?: string): void;
|
|
300
307
|
/**
|
|
301
308
|
* Handles changes to the horizontal margin of the selected element.
|
|
302
|
-
*
|
|
309
|
+
* mx-* shorthand: also clear individual ml-* and mr-*.
|
|
303
310
|
*/
|
|
304
311
|
handleHorizontalMargin(userSelectedHorizontalMargin?: string): void;
|
|
305
312
|
/**
|
|
306
313
|
* Handles changes to the top margin of the selected element.
|
|
307
|
-
*
|
|
314
|
+
* mt-*: also clear my-* shorthand.
|
|
308
315
|
*/
|
|
309
316
|
handleTopMargin(userSelectedTopMargin?: string): void;
|
|
310
317
|
/**
|
|
311
318
|
* Handles changes to the right margin of the selected element.
|
|
312
|
-
*
|
|
319
|
+
* mr-*: also clear mx-* shorthand.
|
|
313
320
|
*/
|
|
314
321
|
handleRightMargin(userSelectedRightMargin?: string): void;
|
|
315
322
|
/**
|
|
316
323
|
* Handles changes to the bottom margin of the selected element.
|
|
317
|
-
*
|
|
324
|
+
* mb-*: also clear my-* shorthand.
|
|
318
325
|
*/
|
|
319
326
|
handleBottomMargin(userSelectedBottomMargin?: string): void;
|
|
320
327
|
/**
|
|
321
328
|
* Handles changes to the left margin of the selected element.
|
|
322
|
-
*
|
|
329
|
+
* ml-*: also clear mx-* shorthand.
|
|
323
330
|
*/
|
|
324
331
|
handleLeftMargin(userSelectedLeftMargin?: string): void;
|
|
325
332
|
/**
|