@hulkapps/app-manager-vue 1.0.2 → 2.0.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.
Files changed (75) hide show
  1. package/dist/app-manager-vue.esm.js +39044 -15119
  2. package/dist/app-manager-vue.min.js +9 -2
  3. package/dist/app-manager-vue.ssr.js +37559 -15018
  4. package/dist/hulkapps-app-manager.css +13284 -0
  5. package/dist/hulkapps-app-manager.min.css +1 -0
  6. package/package.json +9 -4
  7. package/src/components/Marketing/Banners.vue +43 -40
  8. package/src/components/Plans/AppManagerPlan.vue +518 -0
  9. package/src/components/Plans/PlanBanners.vue +50 -0
  10. package/src/components/Plans/YearlyPlanPromotion.vue +40 -0
  11. package/src/components/polaris-vue/src/components/PActionList/PActionList.vue +68 -0
  12. package/src/components/polaris-vue/src/components/PActionList/components/PActionListItem/PActionListItem.vue +91 -0
  13. package/src/components/polaris-vue/src/components/PActionList/components/PActionListSection/PActionListSection.vue +68 -0
  14. package/src/components/polaris-vue/src/components/PActionMenu/PActionMenu.vue +54 -0
  15. package/src/components/polaris-vue/src/components/PActionMenu/components/PActionMenuActions/PActionMenuActions.vue +197 -0
  16. package/src/components/polaris-vue/src/components/PActionMenu/components/PActionMenuMenuAction/PActionMenuMenuAction.vue +97 -0
  17. package/src/components/polaris-vue/src/components/PActionMenu/components/PActionMenuMenuGroup/PActionMenuMenuGroup.vue +54 -0
  18. package/src/components/polaris-vue/src/components/PActionMenu/components/PActionMenuRollupActions/PActionMenuRollupActions.vue +43 -0
  19. package/src/components/polaris-vue/src/components/PAvatar/PAvatar.vue +104 -0
  20. package/src/components/polaris-vue/src/components/PBadge/PBadge.vue +86 -0
  21. package/src/components/polaris-vue/src/components/PBanner/PBanner.vue +132 -0
  22. package/src/components/polaris-vue/src/components/PBreadcrumbs/PBreadcrumbs.vue +99 -0
  23. package/src/components/polaris-vue/src/components/PButton/PButton.vue +396 -0
  24. package/src/components/polaris-vue/src/components/PButton/components/PButtonsFrom/PButtonsFrom.vue +47 -0
  25. package/src/components/polaris-vue/src/components/PButton/components/PUnstyledButton/PUnstyledButton.vue +340 -0
  26. package/src/components/polaris-vue/src/components/PButtonGroup/PButtonGroup.vue +76 -0
  27. package/src/components/polaris-vue/src/components/PButtonGroup/components/PButtonGroupItem/PButtonGroupItem.vue +11 -0
  28. package/src/components/polaris-vue/src/components/PCaption/PCaption.vue +29 -0
  29. package/src/components/polaris-vue/src/components/PCard/PCard.vue +118 -0
  30. package/src/components/polaris-vue/src/components/PCard/components/PCardFooter/PCardFooter.vue +11 -0
  31. package/src/components/polaris-vue/src/components/PCard/components/PCardHeader/PCardHeader.vue +69 -0
  32. package/src/components/polaris-vue/src/components/PCard/components/PCardSection/PCardSection.vue +54 -0
  33. package/src/components/polaris-vue/src/components/PCard/components/PCardSubsection/PCardSubsection.vue +12 -0
  34. package/src/components/polaris-vue/src/components/PConnected/PConnected.vue +44 -0
  35. package/src/components/polaris-vue/src/components/PConnected/components/PConnectedItem/PConnectedItem.vue +41 -0
  36. package/src/components/polaris-vue/src/components/PDataTable/PDataTable.vue +541 -0
  37. package/src/components/polaris-vue/src/components/PDataTable/components/PDataTableCell/PDataTableCell.vue +213 -0
  38. package/src/components/polaris-vue/src/components/PDataTable/components/PDataTableCellNew/PDataTableCellNew.vue +162 -0
  39. package/src/components/polaris-vue/src/components/PDataTable/components/PDataTableCol/PDataTableCol.vue +75 -0
  40. package/src/components/polaris-vue/src/components/PDataTable/components/PDataTableRow/PDataTableRow.vue +15 -0
  41. package/src/components/polaris-vue/src/components/PDisplayText/PDisplayText.vue +56 -0
  42. package/src/components/polaris-vue/src/components/PEmptyState/PEmptyState.vue +154 -0
  43. package/src/components/polaris-vue/src/components/PFieldError/PFieldError.vue +41 -0
  44. package/src/components/polaris-vue/src/components/PFilter/PFilter.vue +252 -0
  45. package/src/components/polaris-vue/src/components/PFilter/components/PFilterItem/PFilterItem.vue +11 -0
  46. package/src/components/polaris-vue/src/components/PFilter/components/PFilterItemWrapper/PFilterItemWrapper.vue +32 -0
  47. package/src/components/polaris-vue/src/components/PHeading/PHeading.vue +33 -0
  48. package/src/components/polaris-vue/src/components/PIcon/PIcon.vue +121 -0
  49. package/src/components/polaris-vue/src/components/PIcon/ShopifyIcons.vue +217 -0
  50. package/src/components/polaris-vue/src/components/PImage/PImage.vue +49 -0
  51. package/src/components/polaris-vue/src/components/PLayout/PLayout.vue +42 -0
  52. package/src/components/polaris-vue/src/components/PLayout/components/PLayoutSection/PLayoutSection.vue +55 -0
  53. package/src/components/polaris-vue/src/components/PLink/PLink.vue +90 -0
  54. package/src/components/polaris-vue/src/components/POptionalTag/POptionalTag.vue +23 -0
  55. package/src/components/polaris-vue/src/components/PPage/PPage.vue +136 -0
  56. package/src/components/polaris-vue/src/components/PPage/components/PPageHeader/PPageHeader.vue +191 -0
  57. package/src/components/polaris-vue/src/components/PPage/components/PPageHeaderTitle/PPageHeaderTitle.vue +63 -0
  58. package/src/components/polaris-vue/src/components/PPagination/PPagination.vue +119 -0
  59. package/src/components/polaris-vue/src/components/PPopover/PPopover.vue +298 -0
  60. package/src/components/polaris-vue/src/components/PPopover/components/PPopoverOverlay/PPopoverOverlay.vue +66 -0
  61. package/src/components/polaris-vue/src/components/PPopover/components/PPositionedOverlay/PPositionedOverlay.vue +289 -0
  62. package/src/components/polaris-vue/src/components/PSpinner/PSpinner.vue +60 -0
  63. package/src/components/polaris-vue/src/components/PStack/PStack.vue +84 -0
  64. package/src/components/polaris-vue/src/components/PStack/components/PStackItem/PStackItem.vue +49 -0
  65. package/src/components/polaris-vue/src/components/PSubheading/PSubheading.vue +36 -0
  66. package/src/components/polaris-vue/src/components/PTag/PTag.vue +89 -0
  67. package/src/components/polaris-vue/src/components/PTextContainer/PTextContainer.vue +41 -0
  68. package/src/components/polaris-vue/src/components/PTextField/PTextField.vue +229 -0
  69. package/src/components/polaris-vue/src/components/PTextField/components/PFieldResizer/PFieldResizer.vue +79 -0
  70. package/src/components/polaris-vue/src/components/PTextField/components/PInput/PInput.vue +473 -0
  71. package/src/components/polaris-vue/src/components/PTextField/components/PSpinner/PSpinner.vue +47 -0
  72. package/src/components/polaris-vue/src/components/PTextStyle/PTextStyle.vue +60 -0
  73. package/src/components/polaris-vue/src/components/PThumbnail/PThumbnail.vue +71 -0
  74. package/src/components/polaris-vue/src/components/PToggle/PToggle.vue +81 -0
  75. package/src/components/polaris-vue/src/components/PUnstyledLink/PUnstyledLink.vue +67 -0
@@ -0,0 +1,81 @@
1
+ <template>
2
+ <div :class="propsClass">
3
+ <label class="switch" :style="label ? 'margin-right:3px' : ''">
4
+ <input type="checkbox" :id="id" :value="value" :checked="disabled ? false : checked" :disabled="disabled"
5
+ @change="onChange">
6
+ <span class="slider round"></span>
7
+ </label>
8
+ <!--
9
+ @slot Label
10
+ @type String
11
+ -->
12
+ <slot v-if="$slots.label" name="label"/>
13
+ <template v-else>{{ label }}</template>
14
+ </div>
15
+ </template>
16
+
17
+ <script>
18
+
19
+ /**
20
+ * <br/>
21
+ * <h4 style="font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue,
22
+ * sans-serif;">The `p-toggle` component provides users the ability to choose between two distinct values. These are
23
+ * very similar to a switch, or on/off switch, though aesthetically different than a checkbox.</h4>
24
+ */
25
+ export default {
26
+ name: 'PToggle',
27
+ props: {
28
+ /**
29
+ * Label of toggle.
30
+ */
31
+ label: {
32
+ type: String,
33
+ default: null,
34
+ },
35
+ /**
36
+ * ID of toggle.
37
+ */
38
+ id: {
39
+ type: [String, Number],
40
+ default: `PolarisTextField${new Date().getUTCMilliseconds()}`,
41
+ },
42
+ /**
43
+ * propsClass of toggle.
44
+ */
45
+ propsClass: {
46
+ type: String,
47
+ default: null,
48
+ },
49
+ /**
50
+ * Value of toggle.
51
+ */
52
+ value: {
53
+ type: [String, Boolean, Number],
54
+ },
55
+ /**
56
+ * Set true for disable.
57
+ */
58
+ disabled: {
59
+ type: Boolean,
60
+ default: false,
61
+ },
62
+ /**
63
+ * Defined if toggle enabled/disabled.
64
+ */
65
+ checked: {
66
+ type: Boolean,
67
+ default: false,
68
+ },
69
+ },
70
+ methods: {
71
+ onChange(e) {
72
+ const target = e.target || e.srcElement;
73
+ /**
74
+ * On change event handler
75
+ * @param e
76
+ */
77
+ this.$emit('change', {checked: target.checked, value: target.value});
78
+ },
79
+ },
80
+ }
81
+ </script>
@@ -0,0 +1,67 @@
1
+ <template>
2
+ <component
3
+ :is="(to ? 'router-link' : 'a')"
4
+ :href="url"
5
+ :to="to"
6
+ :target="target"
7
+ :rel="rel"
8
+ :download="download"
9
+ v-bind="$attrs"
10
+ v-on="$listeners"
11
+ >
12
+ <!-- @slot The content to display inside the link -->
13
+ <slot/>
14
+ </component>
15
+ </template>
16
+
17
+ <script>
18
+ /**
19
+ * <br/>
20
+ * <h4 style="font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue,
21
+ * sans-serif;">UnstyledLink take users to another place, and usually appear within or directly following a sentence.
22
+ * Similar to Link.
23
+ * </h4>
24
+ */
25
+ export default {
26
+ name: 'PUnstyledLink',
27
+ props: {
28
+ /**
29
+ * Set to for router link
30
+ */
31
+ to: {
32
+ type: [String, Object],
33
+ default: null,
34
+ },
35
+ /**
36
+ * Set url for URL
37
+ */
38
+ url: {
39
+ type: String,
40
+ delay: undefined,
41
+ },
42
+ /**
43
+ * Set true for open URL in new tab
44
+ */
45
+ external: {
46
+ type: Boolean,
47
+ default: false,
48
+ },
49
+ /**
50
+ * Makes the browser download the url instead of opening it. Provides a hint for the downloaded filename
51
+ * if it is a string value
52
+ */
53
+ download: {
54
+ type: [Boolean, String],
55
+ default: false,
56
+ },
57
+ },
58
+ computed: {
59
+ target() {
60
+ return this.external ? '_blank' : undefined;
61
+ },
62
+ rel() {
63
+ return this.external ? 'noopener noreferrer' : undefined;
64
+ },
65
+ },
66
+ }
67
+ </script>