@omnia/tooling-vue 8.0.11-vnext → 8.0.13-vnext

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.
@@ -63,14 +63,21 @@ import wc0c73f6d6c7f34688a93368434caaa389 from '../../../client/fx/ux/oxide/btn/
63
63
  import wcbeb97ee8f2a94d1b86980b1736f82e20 from '../../../client/fx/ux/oxide/btntoggle/ButtonToggle';
64
64
  import wcffc99f8d26ae4caf84ece7c13463b6c5 from '../../../client/fx/ux/oxide/card/Card';
65
65
  import wc2ae3cf98c95443a199d44705ad87d994 from '../../../client/fx/ux/oxide/dialog/Dialog';
66
+ import wcd1a4678669114d9293f42409a1080756 from '../../../client/fx/ux/oxide/divider/Divider';
66
67
  import wc1f535ab2cf154914a9bb104aa46d1e2a from '../../../client/fx/ux/oxide/expansionpanel/ExpansionPanels';
67
68
  import wc170e8b8212bd45f5b8009e0efb29d7a3 from '../../../client/fx/ux/oxide/expansionpanel/ExpansionPanel';
68
69
  import wcde8b25f7e81a437d9ee6b104c28b1c25 from '../../../client/fx/ux/oxide/icon/Icon';
69
70
  import wc25d0a8d8f8ac4ff08c468027b5273882 from '../../../client/fx/ux/oxide/layout/Layout';
70
71
  import wc49934d3df84d47c39314cce5bb4340b1 from '../../../client/fx/ux/oxide/list/List';
71
72
  import wc606fb8e73c2a4de59c5a7b96b9b8997b from '../../../client/fx/ux/oxide/list/ListItem';
73
+ import wce688539435a64ccf8569a6e05020ca94 from '../../../client/fx/ux/oxide/menu/Menu';
72
74
  import wcd17d504fd4874d8bb50ab6a946859546 from '../../../client/fx/ux/oxide/navigationdrawer/NavigationDrawer';
75
+ import wcc51213da3caa4607b2fa435ae0c7acbf from '../../../client/fx/ux/oxide/panel/Panel';
76
+ import wc6c9f088f52de491bbe36933530a1880a from '../../../client/fx/ux/oxide/radio/RadioGroup';
77
+ import wca156e0af12b3464082a7e9fd2cdab84a from '../../../client/fx/ux/oxide/radio/Radio';
78
+ import wc807ae5df89a446fbabaf07dd09dda3c1 from '../../../client/fx/ux/oxide/slider/Slider';
73
79
  import wc3241a7ddf0d04b68bf4aab335e2405fb from '../../../client/fx/ux/oxide/spacer/Spacer';
80
+ import wcccd3f88ddd6541fc9865ebdf93fadef9 from '../../../client/fx/ux/oxide/switch/Switch';
74
81
  import wc3ae18994ae5546dc945347d58432108d from '../../../client/fx/ux/oxide/tab/Tabs';
75
82
  import wc07776976fab941de8e169e6e903fb4fe from '../../../client/fx/ux/oxide/tab/Tab';
76
83
  import wc7b543325ab85489eb1401d7bfdf6f5fc from '../../../client/fx/ux/oxide/text/Text';
@@ -216,14 +223,21 @@ declare global {
216
223
  "o-btn-toggle": typeof wcbeb97ee8f2a94d1b86980b1736f82e20.propsDefinition & VueComponentBaseProps;
217
224
  "o-card": typeof wcffc99f8d26ae4caf84ece7c13463b6c5.propsDefinition & VueComponentBaseProps;
218
225
  "o-dialog": typeof wc2ae3cf98c95443a199d44705ad87d994.propsDefinition & VueComponentBaseProps;
226
+ "o-divider": typeof wcd1a4678669114d9293f42409a1080756.propsDefinition & VueComponentBaseProps;
219
227
  "o-expansion-panels": typeof wc1f535ab2cf154914a9bb104aa46d1e2a.propsDefinition & VueComponentBaseProps;
220
228
  "o-expansion-panel": typeof wc170e8b8212bd45f5b8009e0efb29d7a3.propsDefinition & VueComponentBaseProps;
221
229
  "o-icon": typeof wcde8b25f7e81a437d9ee6b104c28b1c25.propsDefinition & VueComponentBaseProps;
222
230
  "o-layout": typeof wc25d0a8d8f8ac4ff08c468027b5273882.propsDefinition & VueComponentBaseProps;
223
231
  "o-list": typeof wc49934d3df84d47c39314cce5bb4340b1.propsDefinition & VueComponentBaseProps;
224
232
  "o-list-item": typeof wc606fb8e73c2a4de59c5a7b96b9b8997b.propsDefinition & VueComponentBaseProps;
233
+ "o-menu": typeof wce688539435a64ccf8569a6e05020ca94.propsDefinition & VueComponentBaseProps;
225
234
  "o-navigation-drawer": typeof wcd17d504fd4874d8bb50ab6a946859546.propsDefinition & VueComponentBaseProps;
235
+ "o-panel": typeof wcc51213da3caa4607b2fa435ae0c7acbf.propsDefinition & VueComponentBaseProps;
236
+ "o-radio-group": typeof wc6c9f088f52de491bbe36933530a1880a.propsDefinition & VueComponentBaseProps;
237
+ "o-radio": typeof wca156e0af12b3464082a7e9fd2cdab84a.propsDefinition & VueComponentBaseProps;
238
+ "o-slider": typeof wc807ae5df89a446fbabaf07dd09dda3c1.propsDefinition & VueComponentBaseProps;
226
239
  "o-spacer": typeof wc3241a7ddf0d04b68bf4aab335e2405fb.propsDefinition & VueComponentBaseProps;
240
+ "o-switch": typeof wcccd3f88ddd6541fc9865ebdf93fadef9.propsDefinition & VueComponentBaseProps;
227
241
  "o-tabs": typeof wc3ae18994ae5546dc945347d58432108d.propsDefinition & VueComponentBaseProps;
228
242
  "o-tab": typeof wc07776976fab941de8e169e6e903fb4fe.propsDefinition & VueComponentBaseProps;
229
243
  "o-text": typeof wc7b543325ab85489eb1401d7bfdf6f5fc.propsDefinition & VueComponentBaseProps;
@@ -1600,56 +1600,31 @@ function prefixCssSelector() {
1600
1600
  //exclude: [/.v-tooltip__content/, /.v-menu__content/],
1601
1601
  //exclude: [/.v-select/],
1602
1602
  transform: function (prefix, selector, prefixedSelector) {
1603
- // Only apply html/body rule in omnia page.
1604
- if (selector === "html" || selector === "body") {
1605
- return `${selector}[data-omfx]`;
1606
- }
1607
- // exclude rule .v-application for web component
1608
- if (selector === '.v-application') {
1609
- return 'html .v-application:not([data-omwc])';
1610
- }
1611
- // fix issue <v-menu content-class="v-application"
1612
- if (selector === '.v-menu__content') {
1613
- return 'html div.v-menu__content:not([data-omwc])';
1614
- }
1615
- if (selector.indexOf('.theme--light') === 0
1616
- || selector.indexOf('.theme--dark') === 0
1617
- || selector.indexOf('.v-application--is') > -1
1618
- || selector.indexOf('.v-tooltip__content') > -1
1619
- || selector.indexOf('.v-menu__content') > -1
1620
- || selector.indexOf('.v-dialog__content') > -1) {
1621
- //console.log(selector)
1622
- return `html ${selector}`;
1623
- }
1624
- return `[data-omfx] ${selector}, .v-menu__content ${selector}, .v-tooltip__content ${selector}, .v-dialog__content ${selector}`;
1625
- //// exclude rule .v-application for web component
1626
- //if (selector === '.v-application') {
1627
- // return '.v-application:not([data-omwc])'
1628
- //}
1629
- //// Try to prevent warpper to some special preset like html, body,...etc.
1630
- ////if (selector === "html" || selector === "body") {
1631
- //// return selector;
1632
- ////}
1633
- ////return `[data-omfx] ${selector}, .v-menu__content ${selector}, .v-tooltip__content ${selector}, .v-dialog__content ${selector}`
1634
- //let match = false;
1635
- //applyToSelectors.forEach(value => {
1636
- // if (selector === value) {
1637
- // match = true;
1638
- // return;
1639
- // }
1640
- //})
1641
- //if (match) {
1642
- // return prefixedSelector;
1643
- //}
1644
- //// Need to wrapper to .v-tooltip__content, .v-menu__content and .v-dialog__content also because they render at the level below body.
1645
- //let prefixedClassSelectoreResult = selector;
1646
- //applyToClassSelector.forEach(value => {
1647
- // if (selector === value || (selector.lastIndexOf(value) > -1 && selector.lastIndexOf(value) === selector.length - value.length)) {
1648
- // prefixedClassSelectoreResult = `.v-application ${selector}, .v-menu__content ${selector}, .v-tooltip__content ${selector}, .v-dialog__content ${selector}`
1649
- // return prefixedClassSelectoreResult;
1650
- // }
1651
- //})
1652
- //return prefixedClassSelectoreResult;
1603
+ return selector;
1604
+ // temp comment out prefix rule below to testing with vuetify 3 in omnia page first.
1605
+ // // Only apply html/body rule in omnia page.
1606
+ // if (selector === "html" || selector === "body") {
1607
+ // return `${selector}[data-omfx]`;
1608
+ // }
1609
+ // // exclude rule .v-application for web component
1610
+ // if (selector === '.v-application') {
1611
+ // return 'html .v-application:not([data-omwc])'
1612
+ // }
1613
+ // // fix issue <v-menu content-class="v-application"
1614
+ // if (selector === '.v-menu__content') {
1615
+ // return 'html div.v-menu__content:not([data-omwc])'
1616
+ // }
1617
+ // if (selector.indexOf('.theme--light') === 0
1618
+ // || selector.indexOf('.theme--dark') === 0
1619
+ // || selector.indexOf('.v-application--is') > -1
1620
+ // || selector.indexOf('.v-tooltip__content') > -1
1621
+ // || selector.indexOf('.v-overlay-container') > -1
1622
+ // || selector.indexOf('.v-menu__content') > -1
1623
+ // || selector.indexOf('.v-dialog__content') > -1) {
1624
+ // //console.log(selector)
1625
+ // return `html ${selector}`;
1626
+ // }
1627
+ // return `[data-omfx] ${selector}, .v-menu__content ${selector}, .v-overlay-container ${selector}, .v-tooltip__content ${selector}, .v-dialog__content ${selector}`
1653
1628
  }
1654
1629
  });
1655
1630
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@omnia/tooling-vue",
3
3
  "license": "MIT",
4
- "version": "8.0.11-vnext",
4
+ "version": "8.0.13-vnext",
5
5
  "description": "Used to bundle and serve manifests web component that build on Vue framework.",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -19,8 +19,8 @@
19
19
  ],
20
20
  "author": "Precio Fishbone",
21
21
  "dependencies": {
22
- "@omnia/fx-models": "8.0.11-vnext",
23
- "@omnia/tooling-composers": "8.0.11-vnext",
22
+ "@omnia/fx-models": "8.0.13-vnext",
23
+ "@omnia/tooling-composers": "8.0.13-vnext",
24
24
  "@types/mousetrap": "1.5.34",
25
25
  "@types/node": "18.13.0",
26
26
  "@types/quill": "1.3.6",