/** * @typedef {import('./cart').CartData} CartData * @typedef {import('./cart').CartShippingAddress} CartShippingAddress */ /** * @typedef {Object} StoreCart * * @property {Array} cartCoupons An array of coupons applied * to the cart. * @property {Array} cartItems An array of items in the * cart. * @property {number} cartItemsCount The number of items in the * cart. * @property {number} cartItemsWeight The weight of all items in * the cart. * @property {boolean} cartNeedsPayment True when the cart will * require payment. * @property {boolean} cartNeedsShipping True when the cart will * require shipping. * @property {Array} cartItemErrors Item validation errors. * @property {Object} cartTotals Cart and line total * amounts. * @property {boolean} cartIsLoading True when cart data is * being loaded. * @property {Array} cartErrors An array of errors thrown * by the cart. * @property {CartShippingAddress} shippingAddress Shipping address for the * cart. * @property {Array} shippingRates array of selected shipping * rates. * @property {boolean} shippingRatesLoading Whether or not the * shipping rates are * being loaded. * @property {boolean} hasShippingAddress Whether or not the cart * has a shipping address yet. * @property {function(Object):any} receiveCart Dispatcher to receive * updated cart. */ /** * @typedef {Object} StoreCartCoupon * * @property {Array} appliedCoupons Collection of applied coupons from the * API. * @property {boolean} isLoading True when coupon data is being loaded. * @property {Function} applyCoupon Callback for applying a coupon by code. * @property {Function} removeCoupon Callback for removing a coupon by code. * @property {boolean} isApplyingCoupon True when a coupon is being applied. * @property {boolean} isRemovingCoupon True when a coupon is being removed. */ /** * @typedef {Object} StoreCartItemAddToCart * * @property {number} cartQuantity The quantity of the item in the * cart. * @property {boolean} addingToCart Whether the cart item is still * being added or not. * @property {boolean} cartIsLoading Whether the cart is being loaded. * @property {Function} addToCart Callback for adding a cart item. */ /** * @typedef {Object} StoreCartItemQuantity * * @property {number} quantity The quantity of the item in the * cart. * @property {boolean} isPendingDelete Whether the cart item is being * deleted or not. * @property {Function} changeQuantity Callback for changing quantity * of item in cart. * @property {Function} removeItem Callback for removing a cart item. * @property {Object} cartItemQuantityErrors An array of errors thrown by * the cart. */ /** * @typedef {Object} EmitResponseTypes * * @property {string} SUCCESS To indicate a success response. * @property {string} FAIL To indicate a failed response. * @property {string} ERROR To indicate an error response. */ /** * @typedef {Object} NoticeContexts * * @property {string} PAYMENTS Notices for the payments step. * @property {string} EXPRESS_PAYMENTS Notices for the express payments step. */ /* eslint-disable jsdoc/valid-types */ // Enum format below triggers the above rule even though VSCode interprets it fine. /** * @typedef {NoticeContexts['PAYMENTS']|NoticeContexts['EXPRESS_PAYMENTS']} NoticeContextsEnum */ /** * @typedef {Object} EmitSuccessResponse * * @property {EmitResponseTypes['SUCCESS']} type Should have the value of * EmitResponseTypes.SUCCESS. * @property {string} [redirectUrl] If the redirect url should be changed set * this. Note, this is ignored for some * emitters. * @property {Object} [meta] Additional data returned for the success * response. This varies between context * emitters. */ /** * @typedef {Object} EmitFailResponse * * @property {EmitResponseTypes['FAIL']} type Should have the value of * EmitResponseTypes.FAIL * @property {string} message A message to trigger a notice for. * @property {NoticeContextsEnum} [messageContext] What context to display any message in. * @property {Object} [meta] Additional data returned for the fail * response. This varies between context * emitters. */ /** * @typedef {Object} EmitErrorResponse * * @property {EmitResponseTypes['ERROR']} type Should have the value of * EmitResponseTypes.ERROR * @property {string} message A message to trigger a notice for. * @property {boolean} retry If false, then it means an * irrecoverable error so don't allow for * shopper to retry checkout (which may * mean either a different payment or * fixing validation errors). * @property {Object} [validationErrors] If provided, will be set as validation * errors in the validation context. * @property {NoticeContextsEnum} [messageContext] What context to display any message in. * @property {Object} [meta] Additional data returned for the fail * response. This varies between context * emitters. */ /* eslint-enable jsdoc/valid-types */ /** * @typedef {Object} EmitResponseApi * * @property {EmitResponseTypes} responseTypes An object of various response types that can * be used in returned response objects. * @property {NoticeContexts} noticeContexts An object of various notice contexts that can * be used for targeting where a notice appears. * @property {function(Object):boolean} shouldRetry Returns whether the user is allowed to retry * the payment after a failed one. * @property {function(Object):boolean} isSuccessResponse Returns whether the given response is of a * success response type. * @property {function(Object):boolean} isErrorResponse Returns whether the given response is of an * error response type. * @property {function(Object):boolean} isFailResponse Returns whether the given response is of a * fail response type. */ export {}; /** * Internal dependencies */ import { ACTION_TYPES as types } from './action-types'; /** * Action creator for setting a single query-state value for a given context. * * @param {string} context Context for query state being stored. * @param {string} queryKey Key for query item. * @param {*} value The value for the query item. * * @return {Object} The action object. */ export const setQueryValue = ( context, queryKey, value ) => { return { type: types.SET_QUERY_KEY_VALUE, context, queryKey, value, }; }; /** * Action creator for setting query-state for a given context. * * @param {string} context Context for query state being stored. * @param {*} value Query state being stored for the given context. * * @return {Object} The action object. */ export const setValueForQueryContext = ( context, value ) => { return { type: types.SET_QUERY_CONTEXT_VALUE, context, value, }; };
Phụ kiện camera đa dạng, chính hãng, giá tốt
<\/p>\n
Ngu\u1ed3n camera\u00a012V 2A<\/strong><\/p>\n N\u1ebfu kh\u00f4ng c\u00f3 Ngu\u1ed3n c\u1ea5p \u0111i\u1ec7n cho camera h\u1ec7 th\u1ed1ng s\u1ebd kh\u00f4ng th\u1ec3 ho\u1ea1t \u0111\u1ed9ng \u0111\u01b0\u1ee3c<\/p>\n C\u00e1ch \u0111\u1ea5u n\u1ed1i ngu\u1ed3n kh\u00f4ng \u0111\u00fang ,Ngu\u1ed3n kh\u00f4ng \u0111\u1ee7, \u0111\u00fang \u0111i\u1ec7n \u00e1p, kh\u00f4ng \u0111\u1ee7 d\u00f2ng \u0111i\u1ec7n, kh\u00f4ng \u0111\u00fang ch\u1ee7ng lo\u1ea1i… \u0110\u1ec1u \u1ea3nh h\u01b0\u1edfng tr\u1ef1c ti\u1ebfp t\u1edbi h\u1ec7 th\u1ed1ng camera s\u1ebd d\u1eabn \u0111\u1ebfn camera s\u1ebd:<\/p>\n \u0110i\u1ec7n \u00e1p d\u00e2n d\u1ee5ng \u1edf Vi\u1ec7t Nam l\u00e0 220V<\/p>\n Tuy nhi\u00ean khi thi\u1ebft k\u1ebf h\u1ea7u h\u1ebft t\u1ea5t c\u1ea3 c\u00e1c h\u00e3ng camera quan s\u00e1t hi\u1ec7n nay \u0111\u1ec1u s\u1eed d\u1ee5ng ngu\u1ed3n 12V. V\u00ec v\u1eady \u0111\u1ec3 c\u00f3 th\u1ec3 l\u1ef1a ch\u1ecdn cho m\u00ecnh m\u1ed9t s\u1ea3n ph\u1ea9m ngu\u1ed3n t\u1ed1t ph\u00f9 h\u1ee3p cho h\u1ec7 th\u1ed1ng camera c\u1ee7a nh\u00e0\/ doanh nghi\u1ec7p m\u00ecnh, qu\u00fd kh\u00e1ch c\u1ea7n quan t\u00e2m \u0111\u1ebfn m\u1ed9t s\u1ed1 v\u1ea5n \u0111\u1ec1 b\u00ean d\u01b0\u1edbi:<\/p>\n <\/a>\u00a0T\u00ecm hi\u1ec1u Jack BNC cho Camera quan s\u00e1t<\/a><\/p>\n","protected":false},"excerpt":{"rendered":" Ngu\u1ed3n camera 12V l\u00e0 lo\u1ea1i ngu\u1ed3n c\u00f3 d\u00f2ng ph\u00f9 h\u1ee3p nh\u1ea5t cho b\u1ea5t k\u00ec m\u1ed9t s\u1ea3n ph\u1ea9m camera n\u00e0o. H\u1ea7u nh\u01b0 t\u1ea5t c\u1ea3 c\u00e1c lo\u1ea1i camera \u0111\u1ec1u s\u1eed d\u1ee5ng ngu\u1ed3n n\u00e0y n\u00f3 \u0111\u00e1p \u1ee9ng \u0111\u1ee7 v\u1ec1 c\u00f4ng su\u1ed1t ho\u1ea1t \u0111\u1ed9ng max c\u1ee7a s\u1ea3n ph\u1ea9m. Ch\u00ednh v\u00ec th\u1ebf l\u1ef1a ch\u1ecdn ngu\u1ed3n cho 1 h\u1ec7 th\u1ed1ng camera l\u00e0 r\u1ea5t quan tr\u1ecdng.<\/p>\n","protected":false},"author":1,"featured_media":8110,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[111],"tags":[],"class_list":["post-8576","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-kinh-nghiem"],"_links":{"self":[{"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/posts\/8576"}],"collection":[{"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/comments?post=8576"}],"version-history":[{"count":0,"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/posts\/8576\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/media\/8110"}],"wp:attachment":[{"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/media?parent=8576"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/categories?post=8576"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phukiencamera.top\/wp-json\/wp\/v2\/tags?post=8576"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}V\u00ec sao ph\u1ea3i l\u1ef1a chon Ngu\u1ed3n camera 12v<\/a> ph\u00f9 h\u1ee3p.<\/h3>\n
\n
\u0110i\u1ec7n th\u1ebf \u0111\u1ea7u v\u00e0o cho Camera<\/h3>\n
C\u00e1c lo\u1ea1i ngu\u1ed3n Camera quan s\u00e1t ph\u1ed5 bi\u1ebfn<\/h3>\n
\n
\u00a0Ngu\u1ed3n g\u1ed1c:<\/h4>\n
\n
\n
\n
V\u1ecb tr\u00ed l\u1eafp \u0111\u1eb7t<\/h4>\n
\n
C\u00e1ch s\u1eed dung<\/h4>\n
\n
\n