Skip to content

Commit

Permalink
Import SparkForm
Browse files Browse the repository at this point in the history
  • Loading branch information
PHLAK committed Oct 30, 2024
1 parent 2b187a9 commit 0fd5bbc
Show file tree
Hide file tree
Showing 26 changed files with 51 additions and 2 deletions.
1 change: 1 addition & 0 deletions resources/assets/js/auth/register-stripe.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import register from './../mixins/register.js';
import plans from './../mixins/plans.js';
import vat from './../mixins/vat.js';
import stripe from './../mixins/stripe.js';
import SparkForm from '../forms/form.js';

export default {
/**
Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/kiosk/add-discount.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../forms/form.js';

function kioskAddDiscountForm () {
return {
type: 'amount',
Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/kiosk/announcements.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../forms/form.js';

var announcementsCreateForm = function () {
return {
body: '',
Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/kiosk/users.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../forms/form.js';

export default {
props: ['user'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/mixins/subscriptions.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../forms/form.js';

/*
* This mixin is used by most of the subscription related screens to select plans
* and send subscription plan changes to the server. This contains helpers for
Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/api/create-token.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['availableAbilities'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/api/tokens.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['tokens', 'availableAbilities'],

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team', 'billableType'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/payment-method/redeem-coupon.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team', 'billableType'],

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team', 'billableType'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/payment-method/update-vat-id.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team', 'billableType'],

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/profile/update-profile-photo.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user'],

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user'],

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/security/update-password.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
/**
* The component's data.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team', 'billableType'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/subscription/subscribe-stripe.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team', 'plans', 'billableType'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/teams/create-team.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
/**
* The component's data.
Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/teams/current-teams.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'teams'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/teams/send-invitation.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team', 'billableType', 'defaultRole'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/teams/team-members.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/teams/update-team-name.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team'],

Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/settings/teams/update-team-photo.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from '../../forms/form.js';

export default {
props: ['user', 'team'],

Expand Down
4 changes: 2 additions & 2 deletions resources/assets/js/spark-bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ if ($('#spark-app').length > 0) {
Vue.mixin(mixin);

/**
* Format the given date.
*/
* Format the given date.
*/
Vue.filter('date', value => {
return moment.utc(value).local().format('MMMM Do, YYYY')
});
Expand Down
2 changes: 2 additions & 0 deletions resources/assets/js/spark.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import SparkForm from './forms/form.js';

/**
* Export the root Spark application.
*/
Expand Down

0 comments on commit 0fd5bbc

Please sign in to comment.