@pisell/private-materials 3.3.94 → 3.3.96
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/booking/info/model.js +5 -0
- package/es/components/eftposPay/component/step/index.d.ts +0 -1
- package/es/components/index.js +2 -2
- package/es/index.d.ts +1 -1
- package/es/index.js +2 -2
- package/lib/components/booking/info/model.js +3 -0
- package/lib/components/eftposPay/component/step/index.d.ts +0 -1
- package/lib/components/index.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/package.json +4 -4
- package/es/components/index.d.ts +0 -20
- package/lib/components/index.d.ts +0 -20
|
@@ -67,6 +67,11 @@ var _miniRedux = miniRedux({
|
|
|
67
67
|
},
|
|
68
68
|
setActiveCartId: function setActiveCartId(state, payload) {
|
|
69
69
|
state.setGlobalState(payload);
|
|
70
|
+
},
|
|
71
|
+
setAddons: function setAddons(state, payload) {
|
|
72
|
+
state.setGlobalState({
|
|
73
|
+
addons: _objectSpread(_objectSpread({}, state.addons), payload)
|
|
74
|
+
});
|
|
70
75
|
}
|
|
71
76
|
},
|
|
72
77
|
reducers: {
|
package/es/components/index.js
CHANGED
|
@@ -15,6 +15,6 @@ import WorkspaceListDetail from "./workSpaceListDetail/";
|
|
|
15
15
|
import WorkspaceList from "./workSpaceList";
|
|
16
16
|
import PisellSelectCustomerModal from "./pisellSelectCustomerModal";
|
|
17
17
|
import SubTotal from "./subTotal";
|
|
18
|
-
import StepController from "./stepController";
|
|
19
18
|
import EditBookingModal from "./booking/editBookingModal";
|
|
20
|
-
|
|
19
|
+
import StepController from "./stepController";
|
|
20
|
+
export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, EditBookingModal, StepController };
|
package/es/index.d.ts
CHANGED
|
@@ -43,5 +43,5 @@ export { default as AppointmentBooking } from './components/appointmentBooking';
|
|
|
43
43
|
export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
|
|
44
44
|
export { default as TicketBooking } from './components/ticketBooking';
|
|
45
45
|
export { default as SubTotal } from './components/subTotal';
|
|
46
|
-
export { default as StepController } from './components/stepController';
|
|
47
46
|
export { default as EditBookingModal } from './components/booking/editBookingModal';
|
|
47
|
+
export { default as StepController } from './components/stepController';
|
package/es/index.js
CHANGED
|
@@ -47,5 +47,5 @@ export { default as AppointmentBooking } from "./components/appointmentBooking";
|
|
|
47
47
|
export { default as AppointmentDeposit } from "./components/appointmentBooking/deposit";
|
|
48
48
|
export { default as TicketBooking } from "./components/ticketBooking";
|
|
49
49
|
export { default as SubTotal } from "./components/subTotal";
|
|
50
|
-
export { default as
|
|
51
|
-
export { default as
|
|
50
|
+
export { default as EditBookingModal } from "./components/booking/editBookingModal";
|
|
51
|
+
export { default as StepController } from "./components/stepController";
|
|
@@ -79,6 +79,9 @@ var { Provider, Context } = (0, import_utils.miniRedux)({
|
|
|
79
79
|
},
|
|
80
80
|
setActiveCartId(state, payload) {
|
|
81
81
|
state.setGlobalState(payload);
|
|
82
|
+
},
|
|
83
|
+
setAddons(state, payload) {
|
|
84
|
+
state.setGlobalState({ addons: { ...state.addons, ...payload } });
|
|
82
85
|
}
|
|
83
86
|
},
|
|
84
87
|
reducers: {
|
package/lib/components/index.js
CHANGED
|
@@ -67,8 +67,8 @@ var import_workSpaceListDetail = __toESM(require("./workSpaceListDetail/"));
|
|
|
67
67
|
var import_workSpaceList = __toESM(require("./workSpaceList"));
|
|
68
68
|
var import_pisellSelectCustomerModal = __toESM(require("./pisellSelectCustomerModal"));
|
|
69
69
|
var import_subTotal = __toESM(require("./subTotal"));
|
|
70
|
-
var import_stepController = __toESM(require("./stepController"));
|
|
71
70
|
var import_editBookingModal = __toESM(require("./booking/editBookingModal"));
|
|
71
|
+
var import_stepController = __toESM(require("./stepController"));
|
|
72
72
|
// Annotate the CommonJS export names for ESM import in node:
|
|
73
73
|
0 && (module.exports = {
|
|
74
74
|
Booking,
|
package/lib/index.d.ts
CHANGED
|
@@ -43,5 +43,5 @@ export { default as AppointmentBooking } from './components/appointmentBooking';
|
|
|
43
43
|
export { default as AppointmentDeposit } from './components/appointmentBooking/deposit';
|
|
44
44
|
export { default as TicketBooking } from './components/ticketBooking';
|
|
45
45
|
export { default as SubTotal } from './components/subTotal';
|
|
46
|
-
export { default as StepController } from './components/stepController';
|
|
47
46
|
export { default as EditBookingModal } from './components/booking/editBookingModal';
|
|
47
|
+
export { default as StepController } from './components/stepController';
|
package/lib/index.js
CHANGED
|
@@ -124,8 +124,8 @@ var import_appointmentBooking = __toESM(require("./components/appointmentBooking
|
|
|
124
124
|
var import_deposit2 = __toESM(require("./components/appointmentBooking/deposit"));
|
|
125
125
|
var import_ticketBooking = __toESM(require("./components/ticketBooking"));
|
|
126
126
|
var import_subTotal = __toESM(require("./components/subTotal"));
|
|
127
|
-
var import_stepController = __toESM(require("./components/stepController"));
|
|
128
127
|
var import_editBookingModal = __toESM(require("./components/booking/editBookingModal"));
|
|
128
|
+
var import_stepController = __toESM(require("./components/stepController"));
|
|
129
129
|
import_dayjs.default.extend(import_weekday.default);
|
|
130
130
|
import_dayjs.default.extend(import_localeData.default);
|
|
131
131
|
// Annotate the CommonJS export names for ESM import in node:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/private-materials",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.96",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"rc-virtual-list": "^3.11.3",
|
|
61
61
|
"decimal.js": "^10.4.3",
|
|
62
62
|
"@pisell/utils": "3.0.0",
|
|
63
|
-
"@pisell/materials": "3.3.
|
|
64
|
-
"@pisell/
|
|
65
|
-
"@pisell/
|
|
63
|
+
"@pisell/materials": "3.3.35",
|
|
64
|
+
"@pisell/icon": "0.0.11",
|
|
65
|
+
"@pisell/date-picker": "3.0.4"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
68
|
"react": "^18.0.0",
|
package/es/components/index.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import Login from './login';
|
|
2
|
-
import BookingInfo from './booking/info/index';
|
|
3
|
-
import Booking from './booking';
|
|
4
|
-
import BookingNotes from './booking/notes';
|
|
5
|
-
import BookingAddons from './booking/addons';
|
|
6
|
-
import BookingForms from './booking/forms';
|
|
7
|
-
import Schedules from './schedules';
|
|
8
|
-
import ProductExtension from './productExtension';
|
|
9
|
-
import RuleSetting from './ruleSetting';
|
|
10
|
-
import TaxSelect from './taxSelect';
|
|
11
|
-
import ToCPay from './pay/toC';
|
|
12
|
-
import Wallet from './wallet';
|
|
13
|
-
import WalletList from './walletList';
|
|
14
|
-
import WorkspaceListDetail from './workSpaceListDetail/';
|
|
15
|
-
import WorkspaceList from './workSpaceList';
|
|
16
|
-
import PisellSelectCustomerModal from './pisellSelectCustomerModal';
|
|
17
|
-
import SubTotal from './subTotal';
|
|
18
|
-
import StepController from './stepController';
|
|
19
|
-
import EditBookingModal from './booking/editBookingModal';
|
|
20
|
-
export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, StepController, EditBookingModal };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import Login from './login';
|
|
2
|
-
import BookingInfo from './booking/info/index';
|
|
3
|
-
import Booking from './booking';
|
|
4
|
-
import BookingNotes from './booking/notes';
|
|
5
|
-
import BookingAddons from './booking/addons';
|
|
6
|
-
import BookingForms from './booking/forms';
|
|
7
|
-
import Schedules from './schedules';
|
|
8
|
-
import ProductExtension from './productExtension';
|
|
9
|
-
import RuleSetting from './ruleSetting';
|
|
10
|
-
import TaxSelect from './taxSelect';
|
|
11
|
-
import ToCPay from './pay/toC';
|
|
12
|
-
import Wallet from './wallet';
|
|
13
|
-
import WalletList from './walletList';
|
|
14
|
-
import WorkspaceListDetail from './workSpaceListDetail/';
|
|
15
|
-
import WorkspaceList from './workSpaceList';
|
|
16
|
-
import PisellSelectCustomerModal from './pisellSelectCustomerModal';
|
|
17
|
-
import SubTotal from './subTotal';
|
|
18
|
-
import StepController from './stepController';
|
|
19
|
-
import EditBookingModal from './booking/editBookingModal';
|
|
20
|
-
export { Login, BookingInfo, Booking, BookingNotes, BookingAddons, BookingForms, Schedules, ProductExtension, RuleSetting, TaxSelect, ToCPay, PisellSelectCustomerModal, Wallet, WalletList, WorkspaceList, WorkspaceListDetail, SubTotal, StepController, EditBookingModal };
|